Bug 203382 - ksysguard segfault when opening/closing properties on "network" graph
Summary: ksysguard segfault when opening/closing properties on "network" graph
Status: RESOLVED FIXED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
: 204131 204390 207482 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-11 03:07 UTC by cs
Modified: 2009-09-16 03:12 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cs 2009-08-11 03:07:53 UTC
Application that crashed: ksysguard
Version of the application: 4.3.00 (KDE 4.3.0)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-4.slh.2-sidux-686 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
ksysguard crashes just from looking at the properties on the Network graph, much less changing them. "OK" or "Apply" creates segfault, "Cancel" does not. The other graphs don't produce segfault from this action.
Strace looks like this at crash, with 1023 repeaded  (close)  lines:


read(8, 0x9283010, 4096)                = -1 EAGAIN (Resource temporarily unavailable)                                                       
clock_gettime(CLOCK_MONOTONIC, {819, 882049978}) = 0                                                                                         
--- SIGSEGV (Segmentation fault) @ 0 (0) ---                                                                                                 
rt_sigaction(SIGALRM, {SIG_DFL, [ALRM], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0                                                                
alarm(3)                                = 0                                                                                                  
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0                                                                                 
close(3)                                = 0                                                                                                  
close(4)                                = 0       

<long snip>
                                    close(1023)                             = -1 EBADF (Bad file descriptor)                                                                     
write(2, "KCrash: Application 'ksysguard' "..., 44KCrash: Application 'ksysguard' crashing...                                                
) = 44     

<snip>


 -- Backtrace:
Application: System Monitor (ksysguard), signal: Segmentation fault
[KCrash Handler]
#6  QColor (this=0x1000000) at /usr/include/qt4/QtGui/qcolor.h:259
#7  SensorModelEntry::color (this=0x1000000) at ../../../ksysguard/gui/SensorDisplayLib/SensorModel.cc:95
#8  0xb7fb3db8 in FancyPlotter::applySettings (this=0x86230a0) at ../../../ksysguard/gui/SensorDisplayLib/FancyPlotter.cc:260
#9  0xb7fb4dc3 in FancyPlotter::qt_metacall (this=0x86230a0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbffde408) at ./FancyPlotter.moc:75
#10 0xb73dead3 in QMetaObject::activate (sender=0x8ab2af8, from_signal_index=45, to_signal_index=45, argv=0x0) at kernel/qobject.cpp:3112
#11 0xb73df722 in QMetaObject::activate (sender=0x8ab2af8, m=0xb7ae0524, local_signal_index=9, argv=0x0) at kernel/qobject.cpp:3186
#12 0xb78a39f7 in KDialog::okClicked (this=0x8ab2af8) at ./kdialog.moc:252
#13 0xb78a61e8 in KDialog::slotButtonClicked (this=0x8ab2af8, button=4) at ../../kdeui/dialogs/kdialog.cpp:854
#14 0xb78a8332 in KDialog::qt_metacall (this=0x8ab2af8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbffde5fc) at ./kdialog.moc:184
#15 0xb796d8ea in KPageDialog::qt_metacall (this=0x8ab2af8, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbffde5fc) at ./kpagedialog.moc:64
#16 0xb7fb6baa in FancyPlotterSettings::qt_metacall (this=0x8ab2af8, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbffde5fc) at ./FancyPlotterSettings.moc:68
#17 0xb73dead3 in QMetaObject::activate (sender=0x8ab4ce0, from_signal_index=4, to_signal_index=4, argv=0xbffde5fc) at kernel/qobject.cpp:3112
#18 0xb73df722 in QMetaObject::activate (sender=0x8ab4ce0, m=0xb74b9cf8, local_signal_index=0, argv=0xbffde5fc) at kernel/qobject.cpp:3186
#19 0xb73e2343 in QSignalMapper::mapped (this=0x8ab4ce0, _t1=4) at .moc/release-shared/moc_qsignalmapper.cpp:95
#20 0xb73e2bcd in QSignalMapper::map (this=0x8ab4ce0, sender=0x86d5c40) at kernel/qsignalmapper.cpp:266
#21 0xb73e2dbe in QSignalMapper::map (this=0x8ab4ce0) at kernel/qsignalmapper.cpp:257
#22 0xb73e368b in QSignalMapper::qt_metacall (this=0x8ab4ce0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbffde77c) at .moc/release-shared/moc_qsignalmapper.cpp:81
#23 0xb73dead3 in QMetaObject::activate (sender=0x86d5c40, from_signal_index=29, to_signal_index=30, argv=0xbffde77c) at kernel/qobject.cpp:3112
#24 0xb73def00 in QMetaObject::activate (sender=0x86d5c40, m=0xb722e924, from_local_signal_index=2, to_local_signal_index=3, argv=0xbffde77c) at kernel/qobject.cpp:3206
#25 0xb7047951 in QAbstractButton::clicked (this=0x86d5c40, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#26 0xb6d73329 in QAbstractButtonPrivate::emitClicked (this=0x8ab94b0) at widgets/qabstractbutton.cpp:543
#27 0xb6d74f14 in QAbstractButtonPrivate::click (this=0x8ab94b0) at widgets/qabstractbutton.cpp:536
#28 0xb6d751a6 in QAbstractButton::mouseReleaseEvent (this=0x86d5c40, e=0xbffdee1c) at widgets/qabstractbutton.cpp:1115
#29 0xb6a1b73b in QWidget::event (this=0x86d5c40, event=0xbffdee1c) at kernel/qwidget.cpp:7549
#30 0xb6d731ce in QAbstractButton::event (this=0x86d5c40, e=0xbffdee1c) at widgets/qabstractbutton.cpp:1077
#31 0xb6e1ca00 in QPushButton::event (this=0x86d5c40, e=0xbffdee1c) at widgets/qpushbutton.cpp:662
#32 0xb69c57d4 in QApplicationPrivate::notify_helper (this=0x84a5e38, receiver=0x86d5c40, e=0xbffdee1c) at kernel/qapplication.cpp:4056
#33 0xb69ce2a1 in QApplication::notify (this=0x84a5d80, receiver=0x86d5c40, e=0xbffdee1c) at kernel/qapplication.cpp:3758
#34 0xb793d00d in KApplication::notify (this=0x84a5d80, receiver=0x86d5c40, event=0xbffdee1c) at ../../kdeui/kernel/kapplication.cpp:302
#35 0xb73c996b in QCoreApplication::notifyInternal (this=0x84a5d80, receiver=0x86d5c40, event=0xbffdee1c) at kernel/qcoreapplication.cpp:610
#36 0xb69cd32e in QCoreApplication::sendSpontaneousEvent (receiver=0x86d5c40, event=0xbffdee1c, alienWidget=0x86d5c40, nativeWidget=0x8ab2af8, buttonDown=0xb723baa0, lastMouseReceiver=...)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#37 QApplicationPrivate::sendMouseEvent (receiver=0x86d5c40, event=0xbffdee1c, alienWidget=0x86d5c40, nativeWidget=0x8ab2af8, buttonDown=0xb723baa0, lastMouseReceiver=...)
    at kernel/qapplication.cpp:2924
#38 0xb6a3be55 in QETWidget::translateMouseEvent (this=0x8ab2af8, event=0xbffe03cc) at kernel/qapplication_x11.cpp:4409
#39 0xb6a3b336 in QApplication::x11ProcessEvent (this=0x84a5d80, event=0xbffe03cc) at kernel/qapplication_x11.cpp:3428
#40 0xb6a65842 in x11EventSourceDispatch (s=0x84a9068, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0xb62d9368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb62dc8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb62dca48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb73f47f8 in QEventDispatcherGlib::processEvents (this=0x8490620, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#45 0xb6a64f85 in QGuiEventDispatcherGlib::processEvents (this=0x8490620, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#46 0xb73c7fba in QEventLoop::processEvents (this=0xbffe0630, flags=...) at kernel/qeventloop.cpp:149
#47 0xb73c8402 in QEventLoop::exec (this=0xbffe0630, flags=...) at kernel/qeventloop.cpp:201
#48 0xb73ca859 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0xb69c5657 in QApplication::exec () at kernel/qapplication.cpp:3525
#50 0xb7ff1bb4 in kdemain (argc=1, argv=0xbffe08a4) at ../../../ksysguard/gui/ksysguard.cc:579
#51 0x080485b2 in main (argc=) at ksysguard_dummy.cpp:3

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-11 15:29:31 UTC
The backtrace looks like bug 199032 ( bug 179305 ), but I think it is not the same as it is happening on KDE4.3
Thanks
Comment 2 Dario Andres 2009-08-17 16:41:29 UTC
*** Bug 204131 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-08-19 16:56:47 UTC
*** Bug 204390 has been marked as a duplicate of this bug. ***
Comment 4 John Tapsell 2009-08-27 10:41:31 UTC
This has been fixed.
Comment 5 Dario Andres 2009-09-04 00:55:14 UTC
Bug 206125 seems to be related to this but in 4.3.1, was the fixed backported properly ? Thanks
Comment 6 Dario Andres 2009-09-16 03:12:46 UTC
*** Bug 207482 has been marked as a duplicate of this bug. ***