Bug 228916

Summary: ksysguard crash when adding partition usage sensor for external ext3 partition
Product: [Unmaintained] ksysguard Reporter: Jelte <jelte>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jelte 2010-02-28 17:39:00 UTC
Application that crashed: ksysguard
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
KSysguard crashes 3 out of 3 times when adding the Used space (integer) sensor for an ext3 partition on an external hard disk (mounted as /dev/sdb1 on /media/31cffc73-a517-464a-b160-4d339a755354 type ext3 (rw,nosuid,nodev,uhelper=devkit) )

 -- Backtrace:
Application: Systeemmonitor (ksysguard), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  strlen () at ../sysdeps/x86_64/strlen.S:31
#6  0x00007fa0079b9378 in qstrlen (str=0xffffffff <Address 0xffffffff out of bounds>, size=-1) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:68
#7  QString::fromUtf8 (str=0xffffffff <Address 0xffffffff out of bounds>, size=-1) at tools/qstring.cpp:3701
#8  0x00007fa00a9a52f7 in KSGRD::SensorFloatInfo::unit (this=0x23c14a0, id=100, answerlist=...) at ../../../ksysguard/gui/ksgrd/SensorClient.h:186
#9  FancyPlotter::answerReceived (this=0x23c14a0, id=100, answerlist=...) at ../../../ksysguard/gui/SensorDisplayLib/FancyPlotter.cc:532
#10 0x00007fa009ce47cb in KSGRD::SensorAgent::processAnswer (this=0x16be3d0, buf=<value optimized out>, buflen=<value optimized out>) at ../../../../ksysguard/gui/ksgrd/SensorAgent.cc:184
#11 0x00007fa009ceb5ee in KSGRD::SensorShellAgent::msgRcvd (this=0x16be3d0) at ../../../../ksysguard/gui/ksgrd/SensorShellAgent.cc:91
#12 0x00007fa009cec9d8 in KSGRD::SensorShellAgent::qt_metacall (this=0x16be3d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff089c7e30) at ./SensorShellAgent.moc:72
#13 0x00007fa007a6cddc in QMetaObject::activate (sender=0x16bc670, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#14 0x00007fa0079fbc95 in QProcessPrivate::_q_canReadStandardOutput (this=0x167bb40) at io/qprocess.cpp:564
#15 0x00007fa0079fed39 in QProcess::qt_metacall (this=0x16bc670, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff089c8030) at .moc/release-shared/moc_qprocess.cpp:101
#16 0x00007fa0080a3c88 in KProcess::qt_metacall (this=0x0, _c=4294967295, _id=-1, _a=0x1) at ./kprocess.moc:63
#17 0x00007fa007a6cddc in QMetaObject::activate (sender=0x16c4d80, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#18 0x00007fa007aa2e9e in QSocketNotifier::activated (this=0x0, _t1=24) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#19 0x00007fa007a71773 in QSocketNotifier::event (this=0x16c4d80, e=0x7fff089c8570) at kernel/qsocketnotifier.cpp:316
#20 0x00007fa0085e8efc in QApplicationPrivate::notify_helper (this=0x14eced0, receiver=0x16c4d80, e=0x7fff089c8570) at kernel/qapplication.cpp:4056
#21 0x00007fa0085f01ce in QApplication::notify (this=0x14ece30, receiver=0x16c4d80, e=0x7fff089c8570) at kernel/qapplication.cpp:4021
#22 0x00007fa009466ab6 in KApplication::notify (this=0x14ece30, receiver=0x16c4d80, event=0x7fff089c8570) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007fa007a57c2c in QCoreApplication::notifyInternal (this=0x14ece30, receiver=0x16c4d80, event=0x7fff089c8570) at kernel/qcoreapplication.cpp:610
#24 0x00007fa007a8042a in QCoreApplication::sendEvent (source=0x14f0ab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 socketNotifierSourceDispatch (source=0x14f0ab0) at kernel/qeventdispatcher_glib.cpp:110
#26 0x00007fa0045bdbce in g_main_dispatch (context=0x14ef920) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#27 IA__g_main_context_dispatch (context=0x14ef920) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#28 0x00007fa0045c1598 in g_main_context_iterate (context=0x14ef920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#29 0x00007fa0045c16c0 in IA__g_main_context_iteration (context=0x14ef920, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#30 0x00007fa007a801a6 in QEventDispatcherGlib::processEvents (this=0x14d3d20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007fa00867d4be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007fa007a56532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007fa007a56904 in QEventLoop::exec (this=0x7fff089c87d0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007fa007a58ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x00007fa00a9dd173 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../ksysguard/gui/ksysguard.cc:579
#36 0x00007fa00a61cabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff089c8d58) at libc-start.c:220
#37 0x0000000000400689 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 Jelte 2010-02-28 17:40:57 UTC
Second backtrace:

Application that crashed: ksysguard
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
<Vertel ons,in detail, wat u aan het doen was toen het programma crashte.>

 -- Backtrace:
Application: Systeemmonitor (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007f0031a87130 in QByteArray::nulTerminated (this=0x1d456f8) at tools/qbytearray.cpp:1418
#6  0x00007f0031a871f1 in QByteArray::toDouble (this=<value optimized out>, ok=0x0) at tools/qbytearray.cpp:3393
#7  0x00007f0025ee0347 in KSGRD::SensorFloatInfo::max (this=0x1f942f0, id=100, answerlist=...) at ../../../ksysguard/gui/ksgrd/SensorClient.h:181
#8  FancyPlotter::answerReceived (this=0x1f942f0, id=100, answerlist=...) at ../../../ksysguard/gui/SensorDisplayLib/FancyPlotter.cc:533
#9  0x00007f0025a3e7cb in KSGRD::SensorAgent::processAnswer (this=0x19e03d0, buf=<value optimized out>, buflen=<value optimized out>) at ../../../../ksysguard/gui/ksgrd/SensorAgent.cc:184
#10 0x00007f0025a455ee in KSGRD::SensorShellAgent::msgRcvd (this=0x19e03d0) at ../../../../ksysguard/gui/ksgrd/SensorShellAgent.cc:91
#11 0x00007f0025a469d8 in KSGRD::SensorShellAgent::qt_metacall (this=0x19e03d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91a92ad0) at ./SensorShellAgent.moc:72
#12 0x00007f0031b7dddc in QMetaObject::activate (sender=0x19f4ba0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#13 0x00007f0031b0cc95 in QProcessPrivate::_q_canReadStandardOutput (this=0x19f6b20) at io/qprocess.cpp:564
#14 0x00007f0031b0fd39 in QProcess::qt_metacall (this=0x19f4ba0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91a92cd0) at .moc/release-shared/moc_qprocess.cpp:101
#15 0x00007f003167fc88 in KProcess::qt_metacall (this=0x7fff91a92540, _c=30693112, _id=73, _a=0x0) at ./kprocess.moc:63
#16 0x00007f0031b7dddc in QMetaObject::activate (sender=0x19f6d50, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#17 0x00007f0031bb3e9e in QSocketNotifier::activated (this=0x7fff91a92540, _t1=19) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#18 0x00007f0031b82773 in QSocketNotifier::event (this=0x19f6d50, e=0x7fff91a93210) at kernel/qsocketnotifier.cpp:316
#19 0x00007f002fb18efc in QApplicationPrivate::notify_helper (this=0x18bec00, receiver=0x19f6d50, e=0x7fff91a93210) at kernel/qapplication.cpp:4056
#20 0x00007f002fb201ce in QApplication::notify (this=0x18beb30, receiver=0x19f6d50, e=0x7fff91a93210) at kernel/qapplication.cpp:4021
#21 0x00007f003074fab6 in KApplication::notify (this=0x18beb30, receiver=0x19f6d50, event=0x7fff91a93210) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f0031b68c2c in QCoreApplication::notifyInternal (this=0x18beb30, receiver=0x19f6d50, event=0x7fff91a93210) at kernel/qcoreapplication.cpp:610
#23 0x00007f0031b9142a in QCoreApplication::sendEvent (source=0x18c2690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#24 socketNotifierSourceDispatch (source=0x18c2690) at kernel/qeventdispatcher_glib.cpp:110
#25 0x00007f002ea49bce in g_main_dispatch (context=0x18c1520) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x18c1520) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#27 0x00007f002ea4d598 in g_main_context_iterate (context=0x18c1520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#28 0x00007f002ea4d6c0 in IA__g_main_context_iteration (context=0x18c1520, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#29 0x00007f0031b911a6 in QEventDispatcherGlib::processEvents (this=0x1838040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f002fbad4be in QGuiEventDispatcherGlib::processEvents (this=0x7fff91a92540, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f0031b67532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f0031b67904 in QEventLoop::exec (this=0x7fff91a93470, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f0031b69ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x00007f0025f18173 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../ksysguard/gui/ksysguard.cc:579
#35 0x0000000000406da8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a299 "0") at ../../kinit/kinit.cpp:677
#36 0x0000000000407aa0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1169
#37 0x0000000000407f51 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1362
#38 0x0000000000408bb2 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1793
Comment 2 Jelte 2010-02-28 17:41:34 UTC
Third backtrace:

Application that crashed: ksysguard
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
<Vertel ons,in detail, wat u aan het doen was toen het programma crashte.>

 -- Backtrace:
Application: Systeemmonitor (ksysguard), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x00007f56638b2130 in QByteArray::nulTerminated (this=0xcb93e8) at tools/qbytearray.cpp:1418
#6  0x00007f56638b21f1 in QByteArray::toDouble (this=<value optimized out>, ok=0x0) at tools/qbytearray.cpp:3393
#7  0x00007f56668e1347 in KSGRD::SensorFloatInfo::max (this=0xcbac30, id=100, answerlist=...) at ../../../ksysguard/gui/ksgrd/SensorClient.h:181
#8  FancyPlotter::answerReceived (this=0xcbac30, id=100, answerlist=...) at ../../../ksysguard/gui/SensorDisplayLib/FancyPlotter.cc:533
#9  0x00007f5665c207cb in KSGRD::SensorAgent::processAnswer (this=0x951b00, buf=<value optimized out>, buflen=<value optimized out>) at ../../../../ksysguard/gui/ksgrd/SensorAgent.cc:184
#10 0x00007f5665c275ee in KSGRD::SensorShellAgent::msgRcvd (this=0x951b00) at ../../../../ksysguard/gui/ksgrd/SensorShellAgent.cc:91
#11 0x00007f5665c289d8 in KSGRD::SensorShellAgent::qt_metacall (this=0x951b00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2ca94a80) at ./SensorShellAgent.moc:72
#12 0x00007f56639a8ddc in QMetaObject::activate (sender=0x983140, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#13 0x00007f5663937c95 in QProcessPrivate::_q_canReadStandardOutput (this=0x981000) at io/qprocess.cpp:564
#14 0x00007f566393ad39 in QProcess::qt_metacall (this=0x983140, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2ca94c80) at .moc/release-shared/moc_qprocess.cpp:101
#15 0x00007f5663fdfc88 in KProcess::qt_metacall (this=0x7fff2ca944f0, _c=13341672, _id=73, _a=0x0) at ./kprocess.moc:63
#16 0x00007f56639a8ddc in QMetaObject::activate (sender=0x990530, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#17 0x00007f56639dee9e in QSocketNotifier::activated (this=0x7fff2ca944f0, _t1=24) at .moc/release-shared/moc_qsocketnotifier.cpp:83
#18 0x00007f56639ad773 in QSocketNotifier::event (this=0x990530, e=0x7fff2ca951c0) at kernel/qsocketnotifier.cpp:316
#19 0x00007f5664524efc in QApplicationPrivate::notify_helper (this=0x837ed0, receiver=0x990530, e=0x7fff2ca951c0) at kernel/qapplication.cpp:4056
#20 0x00007f566452c1ce in QApplication::notify (this=0x837e30, receiver=0x990530, e=0x7fff2ca951c0) at kernel/qapplication.cpp:4021
#21 0x00007f56653a2ab6 in KApplication::notify (this=0x837e30, receiver=0x990530, event=0x7fff2ca951c0) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007f5663993c2c in QCoreApplication::notifyInternal (this=0x837e30, receiver=0x990530, event=0x7fff2ca951c0) at kernel/qcoreapplication.cpp:610
#23 0x00007f56639bc42a in QCoreApplication::sendEvent (source=0x83bab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#24 socketNotifierSourceDispatch (source=0x83bab0) at kernel/qeventdispatcher_glib.cpp:110
#25 0x00007f56604f9bce in g_main_dispatch (context=0x83a920) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x83a920) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#27 0x00007f56604fd598 in g_main_context_iterate (context=0x83a920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#28 0x00007f56604fd6c0 in IA__g_main_context_iteration (context=0x83a920, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#29 0x00007f56639bc1a6 in QEventDispatcherGlib::processEvents (this=0x81ed20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f56645b94be in QGuiEventDispatcherGlib::processEvents (this=0x7fff2ca944f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f5663992532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f5663992904 in QEventLoop::exec (this=0x7fff2ca95420, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f5663994ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x00007f5666919173 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../ksysguard/gui/ksysguard.cc:579
#35 0x00007f5666558abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff2ca959a8) at libc-start.c:220
#36 0x0000000000400689 in _start () at ../sysdeps/x86_64/elf/start.S:113
Comment 3 Christoph Feck 2010-10-11 14:26:11 UTC

*** This bug has been marked as a duplicate of bug 227567 ***