Bug 325225

Summary: crash when selecting sensor for modified tab
Product: [Unmaintained] ksysguard Reporter: spam_detect
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description spam_detect 2013-09-24 08:59:17 UTC
Application: ksysguard (4.8.5 (4.8.5))
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-53-generic x86_64
Distribution: Ubuntu 12.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I added (by dragging) a 2nd sensor to a tab which had only a single column, and a single row. The 2nd sensor replaced the existing one. Right-clicking and selecting properties showed both.

I then added a 2nd column, and then (seeing a row was what I wanted) deleted the2nd column to add a 2nd row instead. The 2nd row appearaed and was empty. Then I right-clicked on the 2nd row and selected the 2nd sensor from the properties. This is when the app crashed, to the best o f my memory.

- Custom settings of the application:
3 tabs, I believe two were default. The 3rd tab is the one described above, that I was modifying when the crash occurred.

-- Backtrace:
Application: System Monitor (ksysguard), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2cb2f58780 (LWP 5843))]

Thread 3 (Thread 0x7f2c9b5f3700 (LWP 5844)):
#0  0x00007f2cb2820313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2ca9c30036 in g_main_context_poll (n_fds=1, fds=0x7f2c940010e0, timeout=-1, context=0x1ac5c00, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1ac5c00, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x1ac5c00, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f2ca9c3049a in g_main_loop_run (loop=0x7f2c940010c0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#5  0x00007f2c9b5f898b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#6  0x00007f2ca9c519e5 in g_thread_proxy (data=0x1acfde0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#7  0x00007f2caa738e9a in start_thread (arg=0x7f2c9b5f3700) at pthread_create.c:308
#8  0x00007f2cb282bccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2c9adf2700 (LWP 5845)):
#0  0x00007f2cb2820313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2ca9c30036 in g_main_context_poll (n_fds=3, fds=0x7f2c8c0010c0, timeout=-1, context=0x7f2c9400eaf0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f2c9400eaf0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x7f2c9400eaf0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f2ca9c3049a in g_main_loop_run (loop=0x7f2c9400eaa0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#5  0x00007f2ca274a406 in gdbus_shared_thread_func (user_data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gio/gdbusprivate.c:277
#6  0x00007f2ca9c519e5 in g_thread_proxy (data=0x7f2c9400c140) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#7  0x00007f2caa738e9a in start_thread (arg=0x7f2c9adf2700) at pthread_create.c:308
#8  0x00007f2cb282bccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2cb2f58780 (LWP 5843)):
[KCrash Handler]
#6  0x00007f2cb2b47a45 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_ksysguard.so
#7  0x00007f2cafd7c3fa in data (arole=13, this=0x7fff9cb28d50) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:402
#8  QStyledItemDelegate::sizeHint (this=0x2388eb0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445
#9  0x00007f2cafd15efb in QTreeView::sizeHintForColumn (this=<optimized out>, column=1) at itemviews/qtreeview.cpp:2772
#10 0x00007f2cafce71ef in QHeaderViewPrivate::resizeSections (this=0x2b69060, globalMode=QHeaderView::Interactive, useGlobalMode=false) at itemviews/qheaderview.cpp:3019
#11 0x00007f2cafce7e11 in executePostedResize (this=0x2b69060) at ../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:230
#12 QHeaderView::visualIndexAt (this=<optimized out>, position=0) at itemviews/qheaderview.cpp:587
#13 0x00007f2cafd12860 in QTreeViewPrivate::startAndEndColumns (this=<optimized out>, rect=...) at itemviews/qtreeview.cpp:3709
#14 0x00007f2cafd17001 in QTreeView::drawTree (this=0x24e7cf0, painter=0x7fff9cb29130, region=...) at itemviews/qtreeview.cpp:1444
#15 0x00007f2cafd17ba0 in QTreeView::paintEvent (this=0x24e7cf0, event=0x7fff9cb29db0) at itemviews/qtreeview.cpp:1275
#16 0x00007f2caf7fd0f6 in QWidget::event (this=0x24e7cf0, event=0x7fff9cb29db0) at kernel/qwidget.cpp:8508
#17 0x00007f2cafbbd3b6 in QFrame::event (this=0x24e7cf0, e=0x7fff9cb29db0) at widgets/qframe.cpp:557
#18 0x00007f2cafcd189b in QAbstractItemView::viewportEvent (this=0x24e7cf0, event=0x7fff9cb29db0) at itemviews/qabstractitemview.cpp:1644
#19 0x00007f2cafd194b5 in QTreeView::viewportEvent (this=0x24e7cf0, event=0x7fff9cb29db0) at itemviews/qtreeview.cpp:1257
#20 0x00007f2cb042a028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x24e8550, event=0x7fff9cb29db0) at kernel/qcoreapplication.cpp:986
#21 0x00007f2caf7ac85f in notify_helper (e=0x7fff9cb29db0, receiver=0x24e8550, this=0x1a53e90) at kernel/qapplication.cpp:4555
#22 QApplicationPrivate::notify_helper (this=0x1a53e90, receiver=0x24e8550, e=0x7fff9cb29db0) at kernel/qapplication.cpp:4531
#23 0x00007f2caf7b1713 in QApplication::notify (this=0x1a48540, receiver=0x24e8550, e=0x7fff9cb29db0) at kernel/qapplication.cpp:4420
#24 0x00007f2cb110c3f6 in KApplication::notify (this=0x1a48540, receiver=0x24e8550, event=0x7fff9cb29db0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f2cb0429e9c in QCoreApplication::notifyInternal (this=0x1a48540, receiver=0x24e8550, event=0x7fff9cb29db0) at kernel/qcoreapplication.cpp:876
#26 0x00007f2caf7f8d96 in sendSpontaneousEvent (event=0x7fff9cb29db0, receiver=0x24e8550) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#27 QWidgetPrivate::drawWidget (this=0x24e8580, pdev=0x260fa00, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x24a1750) at kernel/qwidget.cpp:5585
#28 0x00007f2caf9c9afc in QWidgetBackingStore::sync (this=0x24a1750) at painting/qbackingstore.cpp:1365
#29 0x00007f2caf7efac0 in QWidgetPrivate::syncBackingStore (this=0x24ca820) at kernel/qwidget.cpp:1891
#30 0x00007f2caf7fd60c in QWidget::event (this=0x260fb20, event=0x24a6610) at kernel/qwidget.cpp:8655
#31 0x00007f2caf7ac894 in notify_helper (e=0x24a6610, receiver=0x260fb20, this=0x1a53e90) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0x1a53e90, receiver=0x260fb20, e=0x24a6610) at kernel/qapplication.cpp:4531
#33 0x00007f2caf7b1713 in QApplication::notify (this=0x1a48540, receiver=0x260fb20, e=0x24a6610) at kernel/qapplication.cpp:4420
#34 0x00007f2cb110c3f6 in KApplication::notify (this=0x1a48540, receiver=0x260fb20, event=0x24a6610) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f2cb0429e9c in QCoreApplication::notifyInternal (this=0x1a48540, receiver=0x260fb20, event=0x24a6610) at kernel/qcoreapplication.cpp:876
#36 0x00007f2cb042dc6a in sendEvent (event=0x24a6610, receiver=0x260fb20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a2fff0) at kernel/qcoreapplication.cpp:1500
#38 0x00007f2cb0458f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#40 0x00007f2ca9c2fd53 in g_main_dispatch (context=0x1a52150) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#41 g_main_context_dispatch (context=0x1a52150) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#42 0x00007f2ca9c300a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1a52150, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#43 g_main_context_iterate (context=0x1a52150, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#44 0x00007f2ca9c30164 in g_main_context_iteration (context=0x1a52150, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#45 0x00007f2cb04593bf in QEventDispatcherGlib::processEvents (this=0x1a314b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f2caf854d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f2cb0428c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f2cb0428ed7 in QEventLoop::exec (this=0x7fff9cb2ad20, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f2cb042df67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x00007f2cb2b603d1 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_ksysguard.so
#51 0x00007f2cb275976d in __libc_start_main (main=0x400640, argc=1, ubp_av=0x7fff9cb2b278, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9cb2b268) at libc-start.c:226
#52 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2013-09-24 11:59:58 UTC
I cannot reproduce. When I create the second row, a "Drop Sensors Here" appears, but I cannot right-click it. If you find exact steps to reproduce, please add them.
Comment 2 spam_detect 2013-09-24 17:50:12 UTC
(In reply to comment #1)
> I cannot reproduce. When I create the second row, a "Drop Sensors Here"
> appears, but I cannot right-click it. If you find exact steps to reproduce,
> please add them.

I just tried, and you are correct. I was not able to reproduce this either.

I probably right-clicked the existing, populated, 1st row - not the empty second row. I wasn't taking notes, of course, when this happened, as it wasn't planned.

So I might have right-clicked the 2nd row.

Then I would have selected Properties, and then Sensors.

Sorry I am not sure even if this is what exactly happened. I do know I was trying to add another sensor, and i wanted a new row, but first accidentally added a column and then deleted it, then added a row.

There was already a new 2nd sensor added to the top 1st row, so it had 2 sensors. Somewhere in this process of adding or moving the 2nd sensor from the top row to the empty bottom row, the crash occurred.

I wouldn't rule out even moving another sensor from the list of available ones. I know this isn't the most helpful information, but it's the best I have.

Also, the top (1st row) sensor was temperature, and the one I was adding was from Disk Throughput; probably Read Data (float), as I recall.
Comment 3 spam_detect 2013-09-25 01:24:08 UTC
The KDE version is 4.8.5, running on Ubuntu 12.04.
Comment 4 Andrew Crouthamel 2018-10-29 23:59:49 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-13 14:43:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-29 09:47:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!