Bug 187550

Summary: Kget crashes when trying to restore from the tray
Product: [Applications] kget Reporter: Viktor Erdélyi <verdelyi>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED UPSTREAM    
Severity: crash CC: notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Viktor Erdélyi 2009-03-18 20:53:04 UTC
Version:           4.2.1 (?) (using KDE 4.2.1)
OS:                Linux
Installed from:    Fedora RPMs

I started it, it started in the tray. When I wanted to see the window, it crashed:

QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
kget(17008) KDynamicJobTracker::unregisterJob: Tried to unregister a kio job that hasn't been registered.
KCrash: Application 'kget' crashing...
sock_file=/home/user/.kde/socket-sierravista.nyetwork/kdeinit4__0

(the above info is what I got when starting it from the console)
Comment 1 Lukas Appelhans 2009-03-19 13:44:13 UTC
Please attach a backtrace...: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks

Lukas
Comment 2 Viktor Erdélyi 2009-03-19 22:22:38 UTC
Here you are. I don't know why it says it isn't useful, it's much better than the previous "no debug symbols found" messages. Thanks for the link btw.

==========================================================
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

[Thread debugging using libthread_db enabled]
[New Thread 0x7f0252748800 (LWP 5224)]
[New Thread 0x7f024acef950 (LWP 5227)]
0x00000032a80a7f81 in nanosleep () from /lib64/libc.so.6
Current language:  auto; currently c
[Current thread is 1 (Thread 0x7f0252748800 (LWP 5224))]

Thread 2 (Thread 0x7f024acef950 (LWP 5227)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00000033f725b697 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00000033f7251189 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00000033f725a6d2 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000032a8c073da in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00000032a80e62bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f0252748800 (LWP 5224)):
#0  0x00000032a80a7f81 in nanosleep () from /lib64/libc.so.6
#1  0x00000032a80a7da7 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00000033f9c6731f in KCrash::startDrKonqi (argv=0x7fff5a77fc38, argc=17) at /usr/src/debug/kdelibs-4.2.1/kdeui/util/kcrash.cpp:412
#3  0x00000033f9c67c7a in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kdelibs-4.2.1/kdeui/util/kcrash.cpp:337
#4  <signal handler called>
#5  0x0000000000ee0d68 in ?? () from /usr/lib64/kde4/plugins/styles/libpolyester.so
#6  0x00000033f7c7aab0 in QCommonStyle::drawControl () from /usr/lib64/libQtGui.so.4
#7  0x00000033f7d1c5ac in QWindowsStyle::drawControl () from /usr/lib64/libQtGui.so.4
#8  0x0000000000ef801c in ?? () from /usr/lib64/kde4/plugins/styles/libpolyester.so
#9  0x0000000000431844 in TransfersViewDelegate::paint (this=0x26a9930, painter=0x7fff5a7834c0, option=@0x7fff5a782ec0, index=<value optimized out>)
    at /usr/src/debug/kdenetwork-4.2.1/kget/ui/transfersviewdelegate.cpp:361
#10 0x00000033f7edd768 in QTreeView::drawRow () from /usr/lib64/libQtGui.so.4
#11 0x00000033f7ee47c6 in QTreeView::drawTree () from /usr/lib64/libQtGui.so.4
#12 0x00000033f7ee51f7 in QTreeView::paintEvent () from /usr/lib64/libQtGui.so.4
#13 0x00000033f79df706 in QWidget::event () from /usr/lib64/libQtGui.so.4
#14 0x00000033f7d77f0b in QFrame::event () from /usr/lib64/libQtGui.so.4
#15 0x00000033f7eaccdd in QAbstractItemView::viewportEvent () from /usr/lib64/libQtGui.so.4
#16 0x00000033f7ee3900 in QTreeView::viewportEvent () from /usr/lib64/libQtGui.so.4
#17 0x00000033f73428f8 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#18 0x00000033f798e7ac in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#19 0x00000033f79969ca in QApplication::notify () from /usr/lib64/libQtGui.so.4
#20 0x00000033f9c04f3b in KApplication::notify (this=0x7fff5a786200, receiver=0x26b5dd0, event=0x7fff5a7840a0) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#21 0x00000033f73435ec in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#22 0x00000033f79e69c5 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#23 0x00000033f79e7137 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#24 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#25 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#26 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#27 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#28 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#29 0x00000033f79e6637 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#30 0x00000033f79e7137 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#31 0x00000033f79e6637 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#32 0x00000033f79e7137 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#33 0x00000033f79e6637 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#34 0x00000033f7b88b62 in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00000033f7b88e62 in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00000033f79ee6ca in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00000033f79feb4b in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#38 0x00000033f7a25c54 in ?? () from /usr/lib64/libQtGui.so.4
#39 0x00000033f463779b in g_main_dispatch () at gmain.c:2144
#40 IA__g_main_context_dispatch (context=0x24796c0) at gmain.c:2697
#41 0x00000033f463af6d in g_main_context_iterate (context=0x24796c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#42 0x00000033f463b12b in IA__g_main_context_iteration (context=0x24796c0, may_block=1) at gmain.c:2841
#43 0x00000033f736ccff in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#44 0x00000033f7a253df in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00000033f7341e92 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#46 0x00000033f734225d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#47 0x00000033f7344524 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#48 0x0000000000454a95 in main (argc=1, argv=0x7fff5a7867d8) at /usr/src/debug/kdenetwork-4.2.1/kget/main.cpp:153
Current language:  auto; currently asm
Current language:  auto; currently c
Comment 3 Viktor Erdélyi 2009-03-19 22:31:35 UTC
Another one from gdb (looking at this, I'm seriously considering an update of my Qt 4.5 rpms)

(gdb) bt
#0  0x00007ffff2c4bd68 in ?? () from /usr/lib64/kde4/plugins/styles/libpolyester.so
#1  0x00000033f7c7aab0 in QCommonStyle::drawControl () from /usr/lib64/libQtGui.so.4
#2  0x00000033f7d1c5ac in QWindowsStyle::drawControl () from /usr/lib64/libQtGui.so.4
#3  0x00007ffff2c6301c in ?? () from /usr/lib64/kde4/plugins/styles/libpolyester.so
#4  0x0000000000431844 in TransfersViewDelegate::paint (this=0x9032e0, painter=0x7fffffffad00, option=@0x7fffffffa700, index=<value optimized out>)
    at /usr/src/debug/kdenetwork-4.2.1/kget/ui/transfersviewdelegate.cpp:361
#5  0x00000033f7edd768 in QTreeView::drawRow () from /usr/lib64/libQtGui.so.4
#6  0x00000033f7ee47c6 in QTreeView::drawTree () from /usr/lib64/libQtGui.so.4
#7  0x00000033f7ee51f7 in QTreeView::paintEvent () from /usr/lib64/libQtGui.so.4
#8  0x00000033f79df706 in QWidget::event () from /usr/lib64/libQtGui.so.4
#9  0x00000033f7d77f0b in QFrame::event () from /usr/lib64/libQtGui.so.4
#10 0x00000033f7eaccdd in QAbstractItemView::viewportEvent () from /usr/lib64/libQtGui.so.4
#11 0x00000033f7ee3900 in QTreeView::viewportEvent () from /usr/lib64/libQtGui.so.4
#12 0x00000033f73428f8 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/libQtCore.so.4
#13 0x00000033f798e7ac in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#14 0x00000033f79969ca in QApplication::notify () from /usr/lib64/libQtGui.so.4
#15 0x00000033f9c04f3b in KApplication::notify (this=0x7fffffffda40, receiver=0x90d030, event=0x7fffffffb8e0)
    at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#16 0x00000033f73435ec in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#17 0x00000033f79e69c5 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#18 0x00000033f79e7137 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#19 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#20 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#21 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#22 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#23 0x00000033f79e7046 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#24 0x00000033f79e6637 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#25 0x00000033f79e7137 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#26 0x00000033f79e6637 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#27 0x00000033f79e7137 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib64/libQtGui.so.4
#28 0x00000033f79e6637 in QWidgetPrivate::drawWidget () from /usr/lib64/libQtGui.so.4
#29 0x00000033f7b88b62 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00000033f7b88e62 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00000033f79ee6ca in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00000033f79feb4b in QApplication::x11ProcessEvent () from /usr/lib64/libQtGui.so.4
#33 0x00000033f7a25c54 in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00000033f463779b in g_main_dispatch () at gmain.c:2144
#35 IA__g_main_context_dispatch (context=0x6d35c0) at gmain.c:2697
#36 0x00000033f463af6d in g_main_context_iterate (context=0x6d35c0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#37 0x00000033f463b12b in IA__g_main_context_iteration (context=0x6d35c0, may_block=1) at gmain.c:2841
#38 0x00000033f736ccff in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#39 0x00000033f7a253df in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00000033f7341e92 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#41 0x00000033f734225d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#42 0x00000033f7344524 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#43 0x0000000000454a95 in main (argc=1, argv=0x7fffffffe018) at /usr/src/debug/kdenetwork-4.2.1/kget/main.cpp:153
Comment 4 Marco Martin 2009-03-19 22:44:41 UTC
it's a problem of the polyester widget style, so not kde one
however i would be happy of a backtrace with the polyester debug symbols installed too :D
Comment 5 Viktor Erdélyi 2009-03-19 22:51:59 UTC
Right, Polyester, I just found it too... here is the backtrace.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff63fd800 (LWP 5937)]
PolyesterStyle::subElementRect (this=0x71d810, se=QStyle::SE_ProgressBarGroove, option=0x7fffffffa3b0, widget=0x0)
    at /usr/src/debug/polyester-1.9.0/style/polyester.cpp:3609
3609              return QRect(widget->rect());

With other styles, it's ok. With polyester, it crashes IF it has a download running.

PS: I can't find a place to report this for Polyester developers...
Comment 6 Viktor Erdélyi 2009-03-19 22:57:05 UTC
Some more lines of it:

#0  PolyesterStyle::subElementRect (this=0x71d810, se=QStyle::SE_ProgressBarGroove, option=0x7fffffffa3b0, widget=0x0)
    at /usr/src/debug/polyester-1.9.0/style/polyester.cpp:3609
#1  0x00007ffff71199b0 in QCommonStyle::drawControl () from /usr/lib64/libQtGui.so.4
#2  0x00007ffff71baf8c in QWindowsStyle::drawControl () from /usr/lib64/libQtGui.so.4
#3  0x00007ffff12e901c in PolyesterStyle::drawControl (this=0x71d810, element=QStyle::CE_ProgressBarLabel, opt=0x7fffffffa3b0, p=0x7fffffffad00, widget=0x0)
    at /usr/src/debug/polyester-1.9.0/style/drawcontrol.cpp:1742
#4  0x0000000000431844 in TransfersViewDelegate::paint (this=0x7fffef6875e0, painter=0x7fffffffad00, option=@0x7fffffffa700, index=<value optimized out>)
    at /usr/src/debug/kdenetwork-4.2.1/kget/ui/transfersviewdelegate.cpp:361
#5  0x00007ffff737c648 in QTreeView::drawRow () from /usr/lib64/libQtGui.so.4
#6  0x00007ffff73836a6 in QTreeView::drawTree () from /usr/lib64/libQtGui.so.4
#7  0x00007ffff73840d7 in QTreeView::paintEvent () from /usr/lib64/libQtGui.so.4
#8  0x00007ffff6e7e756 in QWidget::event () from /usr/lib64/libQtGui.so.4
The rest looks the same.
Comment 7 Marco Martin 2009-03-20 10:10:29 UTC
Viktor: that problem is solved in the last released version
Comment 8 Viktor Erdélyi 2009-03-21 14:40:34 UTC
What is the last released version? (and where can I get it)