Bug 192492

Summary: System monitor crashed moment after being started
Product: [Unmaintained] ksysguard Reporter: michal
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, johnflux, moritz.ulmer, paduom+dev, w.richard1
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description michal 2009-05-12 22:53:14 UTC
Version:           4 (using 4.2.2 (KDE 4.2.2), PLD-Linux)
Compiler:          i686-pld-linux-gcc
OS:                Linux (i686) release 2.6.27.13-1

Just moment after being started - it crashed. I did not click it single time.

Application: System Monitor (ksysguard), signal SIGSEGV
[Current thread is 1 (Thread 0xb60d5920 (LWP 7806))]

Thread 2 (Thread 0xb4736b90 (LWP 7807)):
#0  0xb7f6d430 in __kernel_vsyscall ()
#1  0xb7e734e1 in select () from /lib/libc.so.6
#2  0xb740e3df in ?? () from /usr/lib/libQtCore.so.4
#3  0xb734960a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6859fff in start_thread (arg=0x0) at pthread_create.c:297
#5  0xb6859f1a in __free_tcb (pd=0x0) at pthread_create.c:216
#6  0xb7e7a18e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb60d5920 (LWP 7806)):
[KCrash Handler]
#6  QList (l=<value optimized out>, this=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:111
#7  QForeachContainer (l=<value optimized out>, this=<value optimized out>) at /usr/include/qt4/QtCore/qglobal.h:2048
#8  KSysGuard::Processes::deleteProcess (l=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.2.2/libs/ksysguard/processcore/processes.cpp:330
#9  KSysGuard::Processes::processesUpdated (l=<value optimized out>, this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.2.2/libs/ksysguard/processcore/processes.cpp:315
#10 0xb7acdcfd in KSysGuard::Processes::qt_metacall (this=0x8169ca0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb8af48)
    at /usr/src/debug/kdebase-workspace-4.2.2/build/libs/ksysguard/processcore/processes.moc:91
#11 0xb7443799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb7444394 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0xb7ad324d in KSysGuard::AbstractProcesses::processesUpdated (this=0x8169c90) at /usr/src/debug/kdebase-workspace-4.2.2/build/libs/ksysguard/processcore/processes_base_p.moc:78
#14 0xb7ad0781 in KSysGuard::ProcessesLocal::updateAllProcesses (this=0x8169c90) at /usr/src/debug/kdebase-workspace-4.2.2/libs/ksysguard/processcore/processes_local_p.h:57
#15 0xb7acbbae in KSysGuard::Processes::updateAllProcesses (this=0x8169ca0, updateDurationMS=2000) at /usr/src/debug/kdebase-workspace-4.2.2/libs/ksysguard/processcore/processes.cpp:290
#16 0xb7d90662 in ProcessModel::update (this=0x8169990, updateDurationMS=2000) at /usr/src/debug/kdebase-workspace-4.2.2/libs/ksysguard/processui/ProcessModel.cc:223
#17 0xb7d83e48 in KSysGuardProcessList::updateList (this=0x814cfb8) at /usr/src/debug/kdebase-workspace-4.2.2/libs/ksysguard/processui/ksysguardprocesslist.cpp:687
#18 0xb7d8ca3b in KSysGuardProcessList::qt_metacall (this=0x814cfb8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfb8b0a8)
    at /usr/src/debug/kdebase-workspace-4.2.2/build/libs/ksysguard/processui/ksysguardprocesslist.moc:145
#19 0xb7443799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#20 0xb7444394 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0xb747c0ad in QTimer::timeout() () from /usr/lib/libQtCore.so.4
#22 0xb7448adc in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4
#23 0xb743e0ab in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb6a7f39b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb6a86f0c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb7936595 in KApplication::notify (this=0x80612b8, receiver=0x819e2f8, event=0xbfb8b46c) at /usr/src/debug/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#27 0xb742ec12 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb745b551 in ?? () from /usr/lib/libQtCore.so.4
#29 0xb7458024 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb6406646 in g_main_dispatch (context=<value optimized out>) at gmain.c:1814
#31 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2367
#32 0xb64097f1 in g_main_context_iterate (context=0x8063620, block=1, dispatch=1, self=0x804ef90) at gmain.c:2448
#33 0xb640995f in IA__g_main_context_iteration (context=0x8063620, may_block=1) at gmain.c:2511
#34 0xb7457f90 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6b147e5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb742d4ba in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb742d89a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb742fa36 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb6a7f247 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0xb7f4da47 in kdemain (argc=1, argv=0xbfb8b904) at /usr/src/debug/kdebase-workspace-4.2.2/ksysguard/gui/ksysguard.cc:590
#41 0x080485aa in main (argc=) at /usr/src/debug/kdebase-workspace-4.2.2/build/ksysguard/gui/ksysguard_dummy.cpp:3
Comment 1 Sebastien Martel 2009-07-15 22:50:00 UTC
Are you able to reproduce this crash?  I tried here and can't seem to reproduce it.  Also looked at the code, I can't see why it would crash there.
Comment 2 Moritz Ulmer 2009-09-27 19:51:53 UTC
There were a 6 blocked upgrades in kpackage which had been there for a month (probably from the kde 4.3 launchpad repo).
This happened after updating Kubuntu 9.04 using upgrade-dist in apt-get.
This was the recommended method in installing the packages.

Application: System Monitor (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  QWingedEdge::addEdge (this=0xbfe0f6e8, fi=-1, si=4, bezier=0x98ef1d0, t0=0, t1=-nan(0x8000000000000)) at painting/qpathclipper.cpp:1154
#7  0xb69f2cf4 in QWingedEdge::addBezierEdge (this=0xbfe0f6e8, bezier=0x98ef1d0, vertexA=-1, vertexB=-1, alphaA=0, alphaB=-nan(0x8000000000000), path=0) at painting/qpathclipper.cpp:1341
#8  0xb69f602e in QWingedEdge::intersectAndAdd (this=0xbfe0f6e8) at painting/qpathclipper.cpp:731
#9  0xb69f7b0c in QWingedEdge (this=0xbfe0f6e8, subject=@0xbfe0f7e8, clip=@0xbfe0f7ec) at painting/qpathclipper.cpp:781
#10 0xb69f7e66 in QPathClipper::clip (this=0xbfe0f7e8, operation=QPathClipper::BoolAnd) at painting/qpathclipper.cpp:1761
#11 0xb69eaaca in QPainterPath::intersected (this=0xbfe0f864, p=@0xbfe0f860) at painting/qpainterpath.cpp:3123
#12 0xb69be34d in QOutlineMapper::clipElements (this=0x990e380, elements=0x990e580, types=0x990e478, element_count=5) at painting/qoutlinemapper.cpp:402
#13 0xb69bebb5 in QOutlineMapper::endOutline (this=0x990e380) at painting/qoutlinemapper.cpp:263
#14 0xb69bfcd2 in QOutlineMapper::convertPath (this=0x990e380, path=@0x98ec28c) at painting/qoutlinemapper.cpp:162
#15 0xb6a4e9a3 in QRasterPaintEngine::fill (this=0x9705938, path=@0x98ec28c, brush=@0xbfe0fe68) at painting/qpaintengine_raster.cpp:1836
#16 0xb69e04c2 in QPainter::fillPath (this=0xbfe0ff14, path=@0xbfe0fe6c, brush=@0xbfe0fe68) at painting/qpainter.cpp:3158
#17 0xb4a839f8 in KSignalPlotter::drawBeam (this=0x98bbcd8, p=0xbfe0ff14, boundingBox=@0xbfe0ff04, horizontalScale=6, index=0)
    at /build/buildd/kdebase-workspace-4.3.1/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc:837
#18 0xb4a83c52 in KSignalPlotter::drawBeamToScrollableImage (this=0x98bbcd8, index=0) at /build/buildd/kdebase-workspace-4.3.1/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc:763
#19 0xb4a84afb in KSignalPlotter::addSample (this=0x98bbcd8, sampleBuf=@0x9779f70) at /build/buildd/kdebase-workspace-4.3.1/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc:192
#20 0xb4a5d5e9 in FancyPlotter::timerTick (this=0x9779f10) at /build/buildd/kdebase-workspace-4.3.1/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc:434
#21 0xb4a4f7a6 in KSGRD::SensorDisplay::qt_metacall (this=0x9779f10, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfe10108)
    at /build/buildd/kdebase-workspace-4.3.1/obj-i486-linux-gnu/ksysguard/gui/SensorDisplay.moc:88
#22 0xb4a62dda in FancyPlotter::qt_metacall (this=0x9779f10, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfe10108)
    at /build/buildd/kdebase-workspace-4.3.1/obj-i486-linux-gnu/ksysguard/gui/FancyPlotter.moc:68
#23 0xb7dfc1b8 in QMetaObject::activate (sender=0x98b2304, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#24 0xb7dfce42 in QMetaObject::activate (sender=0x98b2304, m=0xb7ed9904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#25 0xb7e38687 in QTimer::timeout (this=0x98b2304) at .moc/release-shared/moc_qtimer.cpp:128
#26 0xb7e025ce in QTimer::timerEvent (this=0x98b2304, e=0xbfe1058c) at kernel/qtimer.cpp:261
#27 0xb7df716f in QObject::event (this=0x98b2304, e=0xbfe1058c) at kernel/qobject.cpp:1075
#28 0xb68a3d3c in QApplicationPrivate::notify_helper (this=0x966f7c0, receiver=0x98b2304, e=0xbfe1058c) at kernel/qapplication.cpp:4056
#29 0xb68ac03e in QApplication::notify (this=0x966f700, receiver=0x98b2304, e=0xbfe1058c) at kernel/qapplication.cpp:3603
#30 0xb73b485d in KApplication::notify (this=0x966f700, receiver=0x98b2304, event=0xbfe1058c) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#31 0xb7de6bcb in QCoreApplication::notifyInternal (this=0x966f700, receiver=0x98b2304, event=0xbfe1058c) at kernel/qcoreapplication.cpp:610
#32 0xb7e15d51 in QTimerInfoList::activateTimers (this=0x96759bc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#33 0xb7e123a0 in timerSourceDispatch (source=0x9675988) at kernel/qeventdispatcher_glib.cpp:165
#34 0xb6456b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb645a0eb in ?? () from /usr/lib/libglib-2.0.so.0
#36 0xb645a268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0xb7e122f8 in QEventDispatcherGlib::processEvents (this=0x964f738, flags={i = -1075771640}) at kernel/qeventdispatcher_glib.cpp:327
#38 0xb6945a75 in QGuiEventDispatcherGlib::processEvents (this=0x964f738, flags={i = -1075771592}) at kernel/qguieventdispatcher_glib.cpp:202
#39 0xb7de51fa in QEventLoop::processEvents (this=0xbfe107b0, flags={i = -1075771528}) at kernel/qeventloop.cpp:149
#40 0xb7de5642 in QEventLoop::exec (this=0xbfe107b0, flags={i = -1075771464}) at kernel/qeventloop.cpp:201
#41 0xb7de7ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0xb68a3bb7 in QApplication::exec () at kernel/qapplication.cpp:3525
#43 0xb4a9ffa4 in kdemain (argc=1, argv=0x9665d08) at /build/buildd/kdebase-workspace-4.3.1/ksysguard/gui/ksysguard.cc:579
#44 0x0804e27d in launch (argc=1, _name=0x9665ea4 "/usr/bin/ksysguard", args=0x9665eb7 "\001", cwd=0x0, envc=1, envs=0x9665ebb "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x9665ecc "moritz-laptop;1254070751;423849;4451_TIME18145501") at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:677
#45 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1169
#46 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1362
#47 0x0804fbca in main (argc=1, argv=0xbfe11064, envp=0xbfe1106c) at /build/buildd/kde4libs-4.3.1/kinit/kinit.cpp:1793
Comment 3 Dario Andres 2009-09-29 03:38:04 UTC
@moritz89: your crash is a different one, reported at bug 205554. Thanks
Comment 4 John Tapsell 2010-01-13 14:04:53 UTC
I think I fixed this.  Please reopen if it's in 4.4 RC2 or newer.
Comment 5 Jonathan Thomas 2010-02-22 00:10:20 UTC
*** Bug 227954 has been marked as a duplicate of this bug. ***
Comment 6 Richard 2010-02-22 00:27:47 UTC
(In reply to comment #5)
> *** Bug 227954 has been marked as a duplicate of this bug. ***

Hi, i notice this is marked as a "duplicate" and "fixed" would that mean i am missing updated packages?
Comment 7 Dario Andres 2010-02-22 00:57:12 UTC
@Richard: is it fixed in KDE SC 4.4. Your report says you are using KDE SC 4.3.2. Regards