Bug 342928

Summary: Kget crash on start
Product: [Applications] kget Reporter: Tajidin Abd <tajidinabd>
Component: CoreAssignee: KGet authors <kget>
Status: RESOLVED NOT A BUG    
Severity: grave CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tajidin Abd 2015-01-16 18:55:58 UTC
When opening Kget from command line or Gui. Kget immediately crashes. 

Reproducible: Always

Steps to Reproduce:
1. Build Kget-frameworks-git from Archlinux AUR repo  
2. Start program 
3. The program crashes immediately 

Actual Results:  
There was nothing to show that program started. Except when using commandline get various error messages. 

Expected Results:  
For kget to start like it did previously

Application: KGet (kget), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f86ff671840 (LWP 9309))]

Thread 2 (Thread 0x7f86fe165700 (LWP 9310)):
#0  0x00007f870de7544d in poll () from /usr/lib/libc.so.6
#1  0x00007f87097329f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f870973456f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f86ff458389 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#4  0x00007f870e7f0ece in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f870cb59314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f870de7e24d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f86ff671840 (LWP 9309)):
[KCrash Handler]
#5  0x00007f87123c4187 in QCA::init(QCA::MemoryMode, int) () from /usr/lib/libqca.so.2
#6  0x00000000004d851a in MainWindow::MainWindow(bool, bool, bool, QWidget*) ()
#7  0x00000000004da112 in KGetApp::newInstance() ()
#8  0x00007f8712073f0d in ?? () from /usr/lib/libKF5KDELibs4Support.so.5
#9  0x00007f871207403d in ?? () from /usr/lib/libKF5KDELibs4Support.so.5
#10 0x00007f87120743f3 in ?? () from /usr/lib/libKF5KDELibs4Support.so.5
#11 0x00007f87130d5427 in ?? () from /usr/lib/libQt5DBus.so.5
#12 0x00007f87130d9b45 in ?? () from /usr/lib/libQt5DBus.so.5
#13 0x00007f87130da63b in ?? () from /usr/lib/libQt5DBus.so.5
#14 0x00007f87130dc2be in ?? () from /usr/lib/libQt5DBus.so.5
#15 0x00007f870ea0c0ea in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007f870ed07722 in QGuiApplication::event(QEvent*) () from /usr/lib/libQt5Gui.so.5
#17 0x00007f870f2c734c in QApplication::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f870f2c3d5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f870f2c9340 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f870e9db6cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f870e9dd70b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#22 0x00007f870ea328b3 in ?? () from /usr/lib/libQt5Core.so.5
#23 0x00007f870900fa0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007f870900fcf8 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007f870900fdac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007f870ea32ca7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#27 0x00007f870e9d9162 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#28 0x00007f870e9e0b3c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#29 0x000000000045314f in main ()
Comment 1 Christoph Feck 2015-01-16 21:04:10 UTC
Which qca-qt5 are you using? It is currently wonky, because developers cannot agree on proper Qt4 vs. Qt5 detection.
Comment 2 Christoph Feck 2015-01-16 21:05:40 UTC
Seeing the library is "just" called /usr/lib/libqca.so.2 you are linking against the Qt4 version, which of course does not work at runtime.
Comment 3 Tajidin Abd 2015-01-16 21:22:54 UTC
Well i had switched from a git version of qca to more stable version. Kget had been working previously so that does explain like you said Kget its not running