Bug 300035

Summary: Update Information Crash
Product: [Unmaintained] plasma4 Reporter: Duncan Clough <duncan.clough+kde>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: a4a43959, dg, franck.wiatrowski, gilbertd+kde, ken20001
Priority: NOR    
Version: 4.8.90 (beta2)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Duncan Clough 2012-05-14 21:29:30 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
  I right clicked on the lightbulb icon to close it, at which point it crashed
- Unusual behavior I noticed:
 The update information window is a black bar across my screen.  If I maximise it, I can see some text about the flashplugin-installer having failed, but that appears to be working.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5e8d6a27c0 (LWP 1969))]

Thread 5 (Thread 0x7f5e65ef3700 (LWP 1973)):
#0  0x00007f5e811722e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5e81172559 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5e81136729 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5e81136f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5e81137124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5e8a157426 in QEventDispatcherGlib::processEvents (this=0x7f5e600008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f5e8a126c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5e8a126ed7 in QEventLoop::exec (this=0x7f5e65ef2cd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5e8a025fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f5e8a1069ff in QInotifyFileSystemWatcherEngine::run (this=0x26bd540) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f5e8a028fcb in QThreadPrivate::start (arg=0x26bd540) at thread/qthread_unix.cpp:298
#11 0x00007f5e7e430b74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#12 0x00007f5e81a3be9a in start_thread (arg=0x7f5e65ef3700) at pthread_create.c:308
#13 0x00007f5e8cf854bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5e64a1f700 (LWP 1974)):
#0  0x00007f5e81a3f05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f5e58000a80) at pthread_mutex_unlock.c:290
#2  0x00007f5e81172591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5e8113712e in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5e8a157426 in QEventDispatcherGlib::processEvents (this=0x7f5e580008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f5e8a126c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5e8a126ed7 in QEventLoop::exec (this=0x7f5e64a1ecd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f5e8a025fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f5e8a1069ff in QInotifyFileSystemWatcherEngine::run (this=0x26e43b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5e8a028fcb in QThreadPrivate::start (arg=0x26e43b0) at thread/qthread_unix.cpp:298
#10 0x00007f5e7e430b74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#11 0x00007f5e81a3be9a in start_thread (arg=0x7f5e64a1f700) at pthread_create.c:308
#12 0x00007f5e8cf854bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5e5fadb700 (LWP 1975)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5e86f0b222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f5e86f0b259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f5e7e430b74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f5e81a3be9a in start_thread (arg=0x7f5e5fadb700) at pthread_create.c:308
#5  0x00007f5e8cf854bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5e5d133700 (LWP 1977)):
#0  0x00007f5e8cf79b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5e81136ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5e8113745a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5e5dc1d2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f5e811589a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5e7e430b74 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f5e81a3be9a in start_thread (arg=0x7f5e5d133700) at pthread_create.c:308
#7  0x00007f5e8cf854bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5e8d6a27c0 (LWP 1969)):
[KCrash Handler]
#6  QWidgetPrivate::nearestGraphicsProxyWidget (origin=<optimized out>) at kernel/qwidget.cpp:5884
#7  0x00007f5e89513348 in screenGeometry (widget=0x3fbdee0) at kernel/qwidget_p.h:599
#8  QDesktopWidget::screenGeometry (this=0x1ddc1a0, widget=0x3fbdee0) at kernel/qdesktopwidget.cpp:55
#9  0x00007f5e898f5018 in popupGeometry (widget=0x3fbdee0, this=<optimized out>) at widgets/qmenu.cpp:202
#10 QMenuPrivate::popupGeometry (this=<optimized out>, widget=0x3fbdee0) at widgets/qmenu.cpp:196
#11 0x00007f5e898f8251 in QMenuPrivate::updateActionRects (this=0x40387c0) at widgets/qmenu.cpp:243
#12 0x00007f5e898f85f2 in QMenu::popup (this=0x4032790, p=..., atAction=0x0) at widgets/qmenu.cpp:1834
#13 0x00007f5e6ef5de8c in SystemTray::DBusSystemTrayWidget::showContextMenu (this=0x3ffae90, job=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/protocols/dbussystemtray/dbussystemtraywidget.cpp:130
#14 0x00007f5e8a13c281 in QMetaObject::activate (sender=0x4036d70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff31aaa400) at kernel/qobject.cpp:3547
#15 0x00007f5e8a82e822 in KJob::result (this=<optimized out>, _t1=0x4036d70) at ./kjob.moc:208
#16 0x00007f5e8a82e860 in KJob::emitResult (this=0x4036d70) at ../../kdecore/jobs/kjob.cpp:318
#17 0x00007f5e6e925dac in StatusNotifierItemJob::contextMenuReady (this=0x4036d70, menu=0x4032790) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemjob.cpp:53
#18 0x00007f5e8a13c281 in QMetaObject::activate (sender=0x40109e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff31aaa5b0) at kernel/qobject.cpp:3547
#19 0x00007f5e6e921dbf in StatusNotifierItemSource::contextMenuReady (this=<optimized out>, _t1=0x4032790) at ./statusnotifieritemsource.moc:123
#20 0x00007f5e6e924d15 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./statusnotifieritemsource.moc:65
#21 StatusNotifierItemSource::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./statusnotifieritemsource.moc:58
#22 0x00007f5e8a13c281 in QMetaObject::activate (sender=0x4039160, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00007f5e822b279c in DBusMenuImporter::slotMenuAboutToShow() () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#24 0x00007f5e8a13c281 in QMetaObject::activate (sender=0x4032790, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#25 0x00007f5e8a12ff01 in QMetaMethod::invoke (this=0x7fff31aaadb0, object=0x4032790, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#26 0x00007f5e8a132210 in QMetaObject::invokeMethod (obj=0x4032790, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#27 0x00007f5e822b15a1 in DBusMenuImporter::updateMenu() () from /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2
#28 0x00007f5e6e9219bb in StatusNotifierItemSource::contextMenu (this=0x40109e0, x=26, y=865) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemsource.cpp:466
#29 0x00007f5e6e926f0f in StatusNotifierItemJob::start (this=0x4036d70) at ../../../../../plasma/generic/dataengines/statusnotifieritem/statusnotifieritemjob.cpp:43
#30 0x00007f5e8a141446 in QObject::event (this=0x4036d70, e=<optimized out>) at kernel/qobject.cpp:1195
#31 0x00007f5e894aa894 in notify_helper (e=0x410fe30, receiver=0x4036d70, this=0x1d370b0) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0x1d370b0, receiver=0x4036d70, e=0x410fe30) at kernel/qapplication.cpp:4531
#33 0x00007f5e894af713 in QApplication::notify (this=0x1cdd1d0, receiver=0x4036d70, e=0x410fe30) at kernel/qapplication.cpp:4420
#34 0x00007f5e8ae04b46 in KApplication::notify (this=0x1cdd1d0, receiver=0x4036d70, event=0x410fe30) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f5e8a127e9c in QCoreApplication::notifyInternal (this=0x1cdd1d0, receiver=0x4036d70, event=0x410fe30) at kernel/qcoreapplication.cpp:876
#36 0x00007f5e8a12bc6a in sendEvent (event=0x410fe30, receiver=0x4036d70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c3e1f0) at kernel/qcoreapplication.cpp:1500
#38 0x00007f5e8a156f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#40 0x00007f5e81136c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f5e81137060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f5e81137124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f5e8a1573bf in QEventDispatcherGlib::processEvents (this=0x1c3fad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007f5e89552d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f5e8a126c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f5e8a126ed7 in QEventLoop::exec (this=0x7fff31aabea0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f5e8a12bf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#48 0x00007f5e8d291a13 in kdemain (argc=1, argv=0x7fff31aac288) at ../../../../plasma/desktop/shell/main.cpp:120
#49 0x00007f5e8ceb476d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff31aac288, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff31aac278) at libc-start.c:226
#50 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-16 21:32:02 UTC
*** Bug 300167 has been marked as a duplicate of this bug. ***
Comment 2 Donatas Glodenis 2012-06-15 20:48:53 UTC
Sorry, I changed status from "Unconfirmed" to "New" for the wrong bug... Please change this one back to how it was.
Comment 3 Dave Gilbert 2012-06-24 12:40:06 UTC
I've also seen the bar appear as a black bar across the screen; today it didn't but I'm not sure if that's because it's fixed in 4.8.90.x or whether it's because I'm running on fbdev rather than Radeon today.
Comment 4 Duncan Clough 2012-06-24 12:50:35 UTC
I fixed the "black bar" issue by removing: /var/lib/update-notifier/user.d/data-downloads-failed

When I opened the file it had one line that was thousands of characters long with the failure message in all languages.
Comment 5 Dave Gilbert 2012-06-24 13:28:49 UTC
Ah right, in that case it sounds the same as what I filed as bug 302441.
But it's going to be hard to track down, there seems to be 3 separate issues here:

  1) For some it renders as a big black bar rather than the text
  2) It doesn't wrap a big message on the display
  3) Whatever created that error didn't get it's internationalisation right. (looks like it was /usr/lib/update-notifier/package-data-downloader from Ubuntu's update-notifier-common).

So 3 looks like an ubuntu specific issue but 1 and 2 look like KDEisms ?

Dave
Comment 6 Dave Gilbert 2012-06-24 13:43:27 UTC
*** Bug 302441 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2012-07-17 10:15:23 UTC
Dave: if there are 3 different issues maybe those should be in 3 different reports, the distribution specific ones should be reported downstream ASAP.
Please do not forget to increment the version number to the latest version this is reproducible with.
Comment 8 Dave Gilbert 2012-07-17 11:18:19 UTC
Hi Myriam,
  Possibly you're right - (1) has fixed itself for me in the last few weeks, it's difficult for me to know what update has fixed it.

(3) I'd have to check is somehow repeatable.

However, (2) seems the solid bug that's still happening - i.e. with something to display, the notifier isn't formatting it sensibly, and ending up with a vast window.
Comment 9 Myriam Schweingruber 2012-09-05 07:23:19 UTC
(In reply to comment #8)
> Hi Myriam,
>   Possibly you're right - (1) has fixed itself for me in the last few weeks,
> it's difficult for me to know what update has fixed it.
> 
> (3) I'd have to check is somehow repeatable.
> 
> However, (2) seems the solid bug that's still happening - i.e. with
> something to display, the notifier isn't formatting it sensibly, and ending
> up with a vast window.

Then please report that separately, as it is not the same issue.
Comment 10 Myriam Schweingruber 2012-10-01 01:05:24 UTC
*** Bug 307021 has been marked as a duplicate of this bug. ***
Comment 11 Martin Flöser 2013-06-04 12:35:16 UTC
*** Bug 317621 has been marked as a duplicate of this bug. ***