[KDE/Mac] OSX/CI: konversation still fails to run properly

Marko Käning mk-lists at email.de
Mon Feb 23 21:02:51 UTC 2015


Hi Jeremy,

On 23 Feb 2015, at 18:37 , Jeremy Whiting <jpwhiting at kde.org> wrote:
> Yeah, that seems to be because the dbus files are wrong on OSX looking here it looks like the /usr/local/share/dbus-1/services/org.kde.kglobalaccel.service file has Exec=/usr/local/bin/kglobalaccel5 but kglobalaccel5 is a .app and is in /Applications/KDE/kglobalaccel5.app instead of in /usr/local/bin. If we update the .service file to point to the right place it should work. Not sure how we can make that "fixed" for all the various .service files we install in different frameworks, but that is probably the solution.
> 
> In fact I just tested. I changed manually the kglobalaccel.service file to have Exec=/Applications/KDE/kglobalaccel5.app/Contents/MacOS/kglobalaccel5 and it launched kglobalaccel5 just fine, gave no warnings on the terminal, and left kglobalaccel5 in the dock (that should probably be changed to not appear I guess).
> 
> As to how to make these changes permanent when building the .services files with cmake I'm not sure, how was that done with kde4 based macports stuff?

this is really odd, I tried to follow your recipe to make kglobalaccel work, but it wouldn’t start
the app when running konversation.

Yes, it was/is also here on the OSX/CI system pointing to the wrong install location.

Manually starting it and running konversation via the right path to its app package would indeed
let it appear in the dock and allow konversation to find it properly without spitting out any warning.

BUT when I then close konversation it crashes reproducibly  - see below!!! :-(

And again, there is this QCocoaMenuItem stuff in involved...

Any ideas?

Greets,
Marko


---
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007f84facbcbf0

VM Regions Near 0x7f84facbcbf0:
    CG shared images       00000001c871f000-00000001c8727000 [   32K] r--/r-- SM=SHM  
--> 
    MALLOC_TINY            00007f888bc00000-00007f888bd00000 [ 1024K] rw-/rwx SM=PRV  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libQt5Core_debug.5.dylib      	0x000000010f88d25c QByteArray::size() const + 12 (qbytearray.h:429)
1   libQt5Core_debug.5.dylib      	0x000000010f88ce99 operator==(QByteArray const&, QByteArray const&) + 25 (qbytearray.h:556)
2   libQt5Core_debug.5.dylib      	0x000000010fbfd250 QList<QByteArray>::indexOf(QByteArray const&, int) const + 208 (qlist.h:895)
3   libQt5Core_debug.5.dylib      	0x000000010fbf86ff QObject::property(char const*) const + 255 (qobject.cpp:3852)
4   libqcocoa_debug.dylib         	0x0000000114b7a717 QCocoaMenuItem::~QCocoaMenuItem() + 87 (qcocoamenuitem.mm:109)
5   libqcocoa_debug.dylib         	0x0000000114b7a955 QCocoaMenuItem::~QCocoaMenuItem() + 21 (qcocoamenuitem.mm:118)
6   libqcocoa_debug.dylib         	0x0000000114b7a979 QCocoaMenuItem::~QCocoaMenuItem() + 25 (qcocoamenuitem.mm:108)
7   libQt5Widgets_debug.5.dylib   	0x000000010dfb74ca QMenu::actionEvent(QActionEvent*) + 1626 (qmenu.cpp:3053)
8   libQt5Widgets_debug.5.dylib   	0x000000010ddff607 QWidget::event(QEvent*) + 4887 (qwidget.cpp:8317)
9   libQt5Widgets_debug.5.dylib   	0x000000010dfb4843 QMenu::event(QEvent*) + 1571 (qmenu.cpp:2523)
10  libQt5Widgets_debug.5.dylib   	0x000000010dda1b4f QApplicationPrivate::notify_helper(QObject*, QEvent*) + 399 (qapplication.cpp:3499)
11  libQt5Widgets_debug.5.dylib   	0x000000010dda6ecd QApplication::notify(QObject*, QEvent*) + 15309 (qapplication.cpp:3464)
12  libQt5Core_debug.5.dylib      	0x000000010fb9fdb9 QCoreApplication::notifyInternal(QObject*, QEvent*) + 201 (qcoreapplication.cpp:935)
13  libQt5Widgets_debug.5.dylib   	0x000000010dd8203a QCoreApplication::sendEvent(QObject*, QEvent*) + 90 (qcoreapplication.h:237)
14  libQt5Widgets_debug.5.dylib   	0x000000010ddf1344 QWidget::removeAction(QAction*) + 180 (qwidget.cpp:3034)
15  libQt5Widgets_debug.5.dylib   	0x000000010dd93f10 QAction::~QAction() + 128 (qaction.cpp:579)
16  libQt5Widgets_debug.5.dylib   	0x000000010de0b971 QWidgetAction::~QWidgetAction() + 305 (qwidgetaction.cpp:130)
17  libKF5WidgetsAddons.5.dylib   	0x000000010d954a6a KSelectAction::~KSelectAction() + 122
18  libKF5WidgetsAddons.5.dylib   	0x000000010d954a85 KSelectAction::~KSelectAction() + 21
19  libKF5WidgetsAddons.5.dylib   	0x000000010d954aa9 KSelectAction::~KSelectAction() + 25
20  libQt5Core_debug.5.dylib      	0x000000010fbee67b QObjectPrivate::deleteChildren() + 235 (qobject.cpp:1937)
21  libQt5Widgets_debug.5.dylib   	0x000000010ddec981 QWidget::~QWidget() + 1937 (qwidget.cpp:1490)
22  libQt5Widgets_debug.5.dylib   	0x000000010df79075 QMainWindow::~QMainWindow() + 21 (qmainwindow.cpp:388)
23  libKF5XmlGui.5.dylib          	0x000000010cd71d74 KMainWindow::~KMainWindow() + 196
24  libKF5XmlGui.5.dylib          	0x000000010cdbe3b2 KXmlGuiWindow::~KXmlGuiWindow() + 162
25                                                    0x000000010b9c2b2f MainWindow::~MainWindow() + 47
26                                                    0x000000010b9c2b60 MainWindow::~MainWindow() + 32
27                                                    0x000000010b9c2c29 MainWindow::~MainWindow() + 25
28  libQt5Core_debug.5.dylib      	0x000000010fbef34e qDeleteInEventHandler(QObject*) + 46 (qobject.cpp:4347)
29  libQt5Core_debug.5.dylib      	0x000000010fbeeeb2 QObject::event(QEvent*) + 354 (qobject.cpp:1233)
30  libQt5Widgets_debug.5.dylib   	0x000000010ddff99c QWidget::event(QEvent*) + 5804 (qwidget.cpp:8371)
31  libQt5Widgets_debug.5.dylib   	0x000000010df7b818 QMainWindow::event(QEvent*) + 1944 (qmainwindow.cpp:1499)
32  libKF5XmlGui.5.dylib          	0x000000010cd74168 KMainWindow::event(QEvent*) + 1352
33  libKF5XmlGui.5.dylib          	0x000000010cdbe57a KXmlGuiWindow::event(QEvent*) + 42
34                                                    0x000000010b9c3811 MainWindow::event(QEvent*) + 817



More information about the kde-mac mailing list