Bug 283388 - plasma-netbook crashed after return from standby
Summary: plasma-netbook crashed after return from standby
Status: RESOLVED WORKSFORME
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.7.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-05 13:16 UTC by Dennis Schridde
Modified: 2012-09-07 11:34 UTC (History)
2 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 Dennis Schridde 2011-10-05 13:16:20 UTC
Application: plasma-netbook (0.2)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

Started computer from standby, typed in screenlock password and right after that plasma-netbook was reported as crashed

-- Backtrace:
Application: Plasma-Netbook-Umgebung (plasma-netbook), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7728a20 (LWP 1695))]

Thread 4 (Thread 0xb56fbb70 (LWP 1768)):
#0  0x00505b66 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libc.so.6
#1  0x004d7f28 in pthread_mutex_unlock (mutex=0x9278704) at forward.c:184
#2  0x057eb87f in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x057ec637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x057ecc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x05087b37 in QEventDispatcherGlib::processEvents (this=0x91d0a10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x050581dd in QEventLoop::processEvents (this=0xb56fb2a0, flags=...) at kernel/qeventloop.cpp:149
#7  0x05058421 in QEventLoop::exec (this=0xb56fb2a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x04f5b90b in QThread::exec (this=0x9277a98) at thread/qthread.cpp:498
#9  0x05038e2d in QInotifyFileSystemWatcherEngine::run (this=0x9277a98) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x04f5e7b3 in QThreadPrivate::start (arg=0x9277a98) at thread/qthread_unix.cpp:331
#11 0x02bedd31 in start_thread (arg=0xb56fbb70) at pthread_create.c:304
#12 0x004ca0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xaf3d6b70 (LWP 1921)):
#0  0x057eb830 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x057ec637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x057ecc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05087b37 in QEventDispatcherGlib::processEvents (this=0x958ad30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x050581dd in QEventLoop::processEvents (this=0xaf3d62a0, flags=...) at kernel/qeventloop.cpp:149
#5  0x05058421 in QEventLoop::exec (this=0xaf3d62a0, flags=...) at kernel/qeventloop.cpp:201
#6  0x04f5b90b in QThread::exec (this=0x95d93e8) at thread/qthread.cpp:498
#7  0x05038e2d in QInotifyFileSystemWatcherEngine::run (this=0x95d93e8) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x04f5e7b3 in QThreadPrivate::start (arg=0x95d93e8) at thread/qthread_unix.cpp:331
#9  0x02bedd31 in start_thread (arg=0xaf3d6b70) at pthread_create.c:304
#10 0x004ca0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xac81db70 (LWP 2129)):
#0  0x0060e416 in __kernel_vsyscall ()
#1  0x004bb40e in __GI___poll (fds=0x9b61980, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x057fb34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x057ec896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x057ecf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0494acea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x058135f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x02bedd31 in start_thread (arg=0xac81db70) at pthread_create.c:304
#8  0x004ca0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7728a20 (LWP 1695)):
[KCrash Handler]
#7  0x042a589e in QGraphicsItem::setOpacity (this=0x9aca4f8, opacity=-nan(0x8000000000000)) at graphicsview/qgraphicsitem.cpp:2710
#8  0x006a8b36 in Plasma::FadeAnimation::updateState (this=0x9ea71e0, newState=QAbstractAnimation::Running, oldState=QAbstractAnimation::Stopped) at ../../plasma/animations/fade.cpp:70
#9  0x04f41f61 in QAbstractAnimationPrivate::setState (this=0x9ea7770, newState=QAbstractAnimation::Running) at animation/qabstractanimation.cpp:417
#10 0x031d8e26 in InterfaceItem::showItem (this=0x9e84510, widget=0x9aca4f0, show=true) at ../../applet/interfaceitem.cpp:195
#11 0x031d9ca6 in InterfaceItem::connectionStateChanged (this=0x9e84510, state=Solid::Control::NetworkInterfaceNm09::Activated) at ../../applet/interfaceitem.cpp:436
#12 0x031d9bca in InterfaceItem::handleConnectionStateChange (this=0x9e84510, new_state=100, old_state=70, reason=0) at ../../applet/interfaceitem.cpp:377
#13 0x031cb067 in InterfaceItem::qt_metacall (this=0x9e84510, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8b10e0) at moc_interfaceitem.cpp:122
#14 0x031cb24e in WirelessInterfaceItem::qt_metacall (this=0x9e84510, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbf8b10e0) at moc_wirelessinterfaceitem.cpp:69
#15 0x0505fb7d in metacall (argv=0xbf8b10e0, idx=50, cl=QMetaObject::InvokeMetaMethod, object=0x9e84510) at kernel/qmetaobject.cpp:237
#16 QMetaObject::metacall (object=0x9e84510, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbf8b10e0) at kernel/qmetaobject.cpp:232
#17 0x0506ea6a in QMetaObject::activate (sender=0x9944ac0, m=0x35b6c1c, local_signal_index=3, argv=0xbf8b10e0) at kernel/qobject.cpp:3278
#18 0x035aa8e5 in Solid::Control::NetworkInterfaceNm09::connectionStateChanged (this=0x9944ac0, _t1=100, _t2=70, _t3=0) at ./networkinterface.moc:167
#19 0x035aa97e in Solid::Control::NetworkInterfaceNm09::qt_metacall (this=0x9944ac0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf8b1240) at ./networkinterface.moc:135
#20 0x035ae4a2 in Solid::Control::WirelessNetworkInterfaceNm09::qt_metacall (this=0x9944ac0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8b1240) at ./wirelessnetworkinterface.moc:106
#21 0x0505fb7d in metacall (argv=0xbf8b1240, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9944ac0) at kernel/qmetaobject.cpp:237
#22 QMetaObject::metacall (object=0x9944ac0, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf8b1240) at kernel/qmetaobject.cpp:232
#23 0x0506ea6a in QMetaObject::activate (sender=0x9e75188, m=0x3631c64, local_signal_index=2, argv=0xbf8b1240) at kernel/qobject.cpp:3278
#24 0x036138d5 in NMNetworkInterface::connectionStateChanged (this=0x9e75188, _t1=100, _t2=70, _t3=0) at ./networkinterface.moc:190
#25 0x03614f45 in NMNetworkInterface::stateChanged (this=0x9e75188, new_state=100, old_state=70, reason=0) at ../../../../solidcontrolfuture/solid/networkmanager-0.9/networkinterface.cpp:278
#26 0x0361500f in NMNetworkInterface::qt_metacall (this=0x9e75188, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8b1430) at ./networkinterface.moc:124
#27 0x0360ad92 in NMWirelessNetworkInterface::qt_metacall (this=0x9e75188, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbf8b1430) at moc_wirelessnetworkinterface.cpp:89
#28 0x0505fb7d in metacall (argv=0xbf8b1430, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9e75188) at kernel/qmetaobject.cpp:237
#29 QMetaObject::metacall (object=0x9e75188, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf8b1430) at kernel/qmetaobject.cpp:232
#30 0x0506ea6a in QMetaObject::activate (sender=0x9e76acc, m=0x3632b38, local_signal_index=0, argv=0xbf8b1430) at kernel/qobject.cpp:3278
#31 0x03622165 in OrgFreedesktopNetworkManagerDeviceInterface::StateChanged (this=0x9e76acc, _t1=100, _t2=70, _t3=0) at ./nm-deviceinterface.moc:149
#32 0x0362220a in OrgFreedesktopNetworkManagerDeviceInterface::qt_metacall (this=0x9e76acc, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8b164c) at ./nm-deviceinterface.moc:99
#33 0x00592d87 in QDBusConnectionPrivate::deliverCall (this=0x95dbac0, object=0x9e76acc, msg=..., metaTypes=..., slotIdx=-1081405928) at qdbusintegrator.cpp:942
#34 0x0059cc26 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9937418, object=0x9e76acc) at qdbusintegrator_p.h:103
#35 0x05071b52 in QObject::event (this=0x9e76acc, e=0x9937418) at kernel/qobject.cpp:1217
#36 0x03c47d54 in notify_helper (e=0x9937418, receiver=0x9e76acc, this=0x8f9a0b8) at kernel/qapplication.cpp:4486
#37 QApplicationPrivate::notify_helper (this=0x8f9a0b8, receiver=0x9e76acc, e=0x9937418) at kernel/qapplication.cpp:4458
#38 0x03c4d103 in QApplication::notify (this=0x9937418, receiver=0x9e76acc, e=0x9937418) at kernel/qapplication.cpp:3886
#39 0x00f17721 in KApplication::notify (this=0x8f86958, receiver=0x9e76acc, event=0x9937418) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x0505919e in QCoreApplication::notifyInternal (this=0x8f86958, receiver=0x9e76acc, event=0x9937418) at kernel/qcoreapplication.cpp:787
#41 0x0505cf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8f632e0) at kernel/qcoreapplication.cpp:1428
#43 0x0505d0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#44 0x050876a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x8f87a28) at kernel/qeventdispatcher_glib.cpp:277
#46 0x057ec25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x057ec990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x057ecc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x05087ada in QEventDispatcherGlib::processEvents (this=0x8f64248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#50 0x03cffe3a in QGuiEventDispatcherGlib::processEvents (this=0x8f64248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x050581dd in QEventLoop::processEvents (this=0xbf8b1ce4, flags=...) at kernel/qeventloop.cpp:149
#52 0x05058421 in QEventLoop::exec (this=0xbf8b1ce4, flags=...) at kernel/qeventloop.cpp:201
#53 0x0505d19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0x03c458f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#55 0x001b0079 in kdemain (argc=2, argv=0xbf8b1f34) at ../../../../plasma/netbook/shell/main.cpp:79
#56 0x0804850b in main (argc=2, argv=0xbf8b1f34) at plasma-netbook_dummy.cpp:3

Reported using DrKonqi
Comment 1 Thijs 2012-01-02 16:55:12 UTC
Looks like a solid bug to me. Probably solved, but not quite sure. CC'ing Lamarque.
Comment 2 Lamarque V. Souza 2012-01-02 18:15:06 UTC
Clearly there is an overflow in the m_targetOpacity qreal used in FadeAnimation, I just do not understand why it happens. It is probably some kind of compiler bug or some compiler optimisation that mutated the 0.0 into nan.

Which compiler are you using (g++ -v)?
Comment 3 Dennis Schridde 2012-01-02 18:43:37 UTC
(In reply to comment #2)
> Which compiler are you using (g++ -v)?
I installed from official Ubuntu packages - so I have no idea which compiler they used to build this package. Maybe that information can be deduced from their repositories or build-services?
Comment 4 Lamarque V. Souza 2012-01-03 03:39:07 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Which compiler are you using (g++ -v)?
> I installed from official Ubuntu packages - so I have no idea which compiler
> they used to build this package. Maybe that information can be deduced from
> their repositories or build-services?

Probably not. Are you able to compile Plasma NM yourself in your computer? I can send you some patches to try to prevent this problem, but since I do not know exactly what is causing it it is a shot in the dark.
Comment 5 Dennis Schridde 2012-01-03 19:22:07 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Which compiler are you using (g++ -v)?
> > I installed from official Ubuntu packages - so I have no idea which compiler
> > they used to build this package. Maybe that information can be deduced from
> > their repositories or build-services?
> 
> Probably not. Are you able to compile Plasma NM yourself in your computer? I
> can send you some patches to try to prevent this problem, but since I do not
> know exactly what is causing it it is a shot in the dark.
The machine is a netbook - compiling would take quite long. And I currently cannot recall the crash happening recently, so maybe it was fixed already - maybe implicitly?
Comment 6 Lamarque V. Souza 2012-01-03 19:35:48 UTC
(In reply to comment #5)
> The machine is a netbook - compiling would take quite long. And I currently
> cannot recall the crash happening recently, so maybe it was fixed already -
> maybe implicitly?

Maybe, I cannot guarantee the problem will not happen again since I could not reproduced it to figure out what is really causing it.
Comment 7 Lamarque V. Souza 2012-08-30 02:18:27 UTC
Can you try upgrading to plasma-widget-menubar to version  0.1.18 from http://packages.ubuntu.com/quantal/i386/plasma-widget-menubar?

It looks like it can solve this crash:
https://bugs.launchpad.net/ubuntu/+source/plasma-widget-menubar/+bug/998630
Comment 8 Dennis Schridde 2012-08-30 11:52:25 UTC
(In reply to comment #7)
> Can you try upgrading to plasma-widget-menubar to version  0.1.18
Yes, that appears to have solved the problem. I will come back to you, should it crash again.
Comment 9 Myriam Schweingruber 2012-09-07 11:34:22 UTC
Closing for now, please feel free to reopen if you can reproduce it later.