https://bugs.kde.org/show_bug.cgi?id=413319
Bug ID: 413319 Summary: Power Devil crash after returning from sleep Product: kde Version: unspecified Platform: unspecified OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: julius.schwartzenb...@gmail.com Target Milestone: --- Application: org_kde_powerdevil () Qt Version: 5.9.5 Frameworks Version: 5.44.0 Operating System: Linux 5.0.0-31-generic x86_64 Distribution: Ubuntu 18.04.3 LTS -- Information about the crash: There was a power outage. My notebook was running on its battery. The status was odd as first the battery indicator went down properly but later it jumped back to 100%. Possibly an issue with the notebook or its battery, I never had to use it before. After while I came back when the power was back on. The notebook had gone to "sleep". I resumed it and then was greeted with this crash. -- Backtrace: Application: org_kde_powerdevil (org_kde_powerdevil), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7ff5242de840 (LWP 1144))] Thread 5 (Thread 0x7ff50c88d700 (LWP 1168)): #0 0x00007ff521630bf9 in __GI___poll (fds=0x556d26fc9db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff51c6125c9 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x556d26fc9db0, timeout=<optimized out>, context=0x556d26fc7cd0) at ../../../../glib/gmain.c:4203 #2 g_main_context_iterate (context=0x556d26fc7cd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3897 #3 0x00007ff51c612962 in g_main_loop_run (loop=0x556d26fc7e10) at ../../../../glib/gmain.c:4098 #4 0x00007ff50dc330e6 in gdbus_shared_thread_func (user_data=0x556d26fc9f50) at ../../../../gio/gdbusprivate.c:275 #5 0x00007ff51c63a195 in g_thread_proxy (data=0x556d26fb4ca0) at ../../../../glib/gthread.c:784 #6 0x00007ff51e6cd6db in start_thread (arg=0x7ff50c88d700) at pthread_create.c:463 #7 0x00007ff52163d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7ff50d08e700 (LWP 1167)): #0 g_poll (fds=fds@entry=0x556d26fb1260, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../../../../glib/gpoll.c:124 #1 0x00007ff51c6125c9 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x556d26fb1260, timeout=<optimized out>, context=0x556d26fb4760) at ../../../../glib/gmain.c:4203 #2 g_main_context_iterate (context=context@entry=0x556d26fb4760, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3897 #3 0x00007ff51c6126dc in g_main_context_iteration (context=0x556d26fb4760, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963 #4 0x00007ff51c612721 in glib_worker_main (data=<optimized out>) at ../../../../glib/gmain.c:5772 #5 0x00007ff51c63a195 in g_thread_proxy (data=0x556d26fb4c00) at ../../../../glib/gthread.c:784 #6 0x00007ff51e6cd6db in start_thread (arg=0x7ff50d08e700) at pthread_create.c:463 #7 0x00007ff52163d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ff50ef94700 (LWP 1162)): #0 0x00007ff52162c0b4 in __GI___libc_read (fd=7, buf=buf@entry=0x7ff50ef93b20, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:27 #1 0x00007ff51c6572d0 in read (__nbytes=16, __buf=0x7ff50ef93b20, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44 #2 g_wakeup_acknowledge (wakeup=0x556d26f9bcb0) at ../../../../glib/gwakeup.c:210 #3 0x00007ff51c6120b7 in g_main_context_check (context=context@entry=0x7ff500000bf0, max_priority=2147483647, fds=fds@entry=0x7ff500012fe0, n_fds=n_fds@entry=1) at ../../../../glib/gmain.c:3680 #4 0x00007ff51c612570 in g_main_context_iterate (context=context@entry=0x7ff500000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3899 #5 0x00007ff51c6126dc in g_main_context_iteration (context=0x7ff500000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963 #6 0x00007ff521f7999b in QEventDispatcherGlib::processEvents (this=0x7ff500000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #7 0x00007ff521f1e9fa in QEventLoop::exec (this=this@entry=0x7ff50ef93d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #8 0x00007ff521d3d23a in QThread::exec (this=this@entry=0x7ff522669d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515 #9 0x00007ff5223f6d45 in QDBusConnectionManager::run (this=0x7ff522669d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #10 0x00007ff521d4217d in QThreadPrivate::start (arg=0x7ff522669d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368 #11 0x00007ff51e6cd6db in start_thread (arg=0x7ff50ef94700) at pthread_create.c:463 #12 0x00007ff52163d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ff5103e6700 (LWP 1151)): #0 0x00007ff521630bf9 in __GI___poll (fds=fds@entry=0x7ff5103e5c68, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff51f21d747 in poll (__timeout=-1, __nfds=1, __fds=0x7ff5103e5c68) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0x556d26f54400, cond=cond@entry=0x556d26f54440, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:479 #3 0x00007ff51f21f36a in xcb_wait_for_event (c=0x556d26f54400) at ../../src/xcb_in.c:697 #4 0x00007ff512b695e9 in QXcbEventReader::run (this=0x556d26f67a90) at qxcbconnection.cpp:1330 #5 0x00007ff521d4217d in QThreadPrivate::start (arg=0x556d26f67a90) at thread/qthread_unix.cpp:368 #6 0x00007ff51e6cd6db in start_thread (arg=0x7ff5103e6700) at pthread_create.c:463 #7 0x00007ff52163d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ff5242de840 (LWP 1144)): [KCrash Handler] #6 std::__invoke_impl<void, void (PowerDevil::Action::* const&)(), PowerDevil::Action* const&> (__t=<optimized out>, __f=<optimized out>) at /usr/include/c++/7/bits/invoke.h:73 #7 std::__invoke<void (PowerDevil::Action::* const&)(), PowerDevil::Action* const&> (__fn=<synthetic pointer>: <optimized out>) at /usr/include/c++/7/bits/invoke.h:95 #8 std::_Mem_fn_base<void (PowerDevil::Action::*)(), true>::operator()<PowerDevil::Action* const&> (this=<synthetic pointer>) at /usr/include/c++/7/functional:175 #9 std::for_each<QSet<PowerDevil::Action*>::const_iterator, std::_Mem_fn<void (PowerDevil::Action::*)()> > (__f=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:3884 #10 PowerDevil::Core::onResumingFromIdle (this=0x7ff50000c240) at ./daemon/powerdevilcore.cpp:837 #11 0x00007ff523cc7a08 in PowerDevil::Core::loadProfile (this=this@entry=0x7ff50000c240, force=force@entry=false) at ./daemon/powerdevilcore.cpp:354 #12 0x00007ff523ccab33 in PowerDevil::Core::onAcAdapterStateChanged (this=0x7ff50000c240, state=PowerDevil::BackendInterface::Plugged) at ./daemon/powerdevilcore.cpp:632 #13 0x00007ff523cea05b in PowerDevil::Core::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/daemon/powerdevilcore_autogen/EWIEGA46WW/moc_powerdevilcore.cpp:229 #14 0x00007ff521f4f645 in QMetaObject::activate (sender=sender@entry=0x556d26fa7910, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcdedf1360) at kernel/qobject.cpp:3767 #15 0x00007ff521f4fd17 in QMetaObject::activate (sender=sender@entry=0x556d26fa7910, m=m@entry=0x7ff523efc840 <PowerDevil::BackendInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcdedf1360) at kernel/qobject.cpp:3629 #16 0x00007ff523ce8e1e in PowerDevil::BackendInterface::acAdapterStateChanged (this=this@entry=0x556d26fa7910, _t1=<optimized out>, _t1@entry=PowerDevil::BackendInterface::Plugged) at ./obj-x86_64-linux-gnu/daemon/powerdevilcore_autogen/EWIEGA46WW/moc_powerdevilbackendinterface.cpp:249 #17 0x00007ff523cc10bb in PowerDevil::BackendInterface::setAcAdapterState (this=this@entry=0x556d26fa7910, state=state@entry=PowerDevil::BackendInterface::Plugged) at ./daemon/powerdevilbackendinterface.cpp:142 #18 0x00007ff4ff5aacb2 in PowerDevilUPowerBackend::slotPropertyChanged (this=0x556d26fa7910) at ./daemon/backends/upower/powerdevilupowerbackend.cpp:679 #19 0x00007ff4ff5aadb9 in PowerDevilUPowerBackend::onPropertiesChanged (this=<optimized out>, ifaceName=..., changedProps=..., invalidatedProps=...) at ./daemon/backends/upower/powerdevilupowerbackend.cpp:691 #20 0x00007ff4ff5bca04 in PowerDevilUPowerBackend::qt_static_metacall (_o=_o@entry=0x556d26fa7910, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=12, _a=_a@entry=0x7ffcdedf1510) at ./obj-x86_64-linux-gnu/daemon/backends/powerdevilupowerbackend_autogen/ABOJKECN2B/moc_powerdevilupowerbackend.cpp:144 #21 0x00007ff4ff5bcfa5 in PowerDevilUPowerBackend::qt_metacall (this=0x556d26fa7910, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7ffcdedf1510) at ./obj-x86_64-linux-gnu/daemon/backends/powerdevilupowerbackend_autogen/ABOJKECN2B/moc_powerdevilupowerbackend.cpp:204 #22 0x00007ff5224020f8 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:998 #23 0x00007ff521f501b2 in QObject::event (this=0x556d26fa7910, e=<optimized out>) at kernel/qobject.cpp:1247 #24 0x00007ff521f2085a in doNotify (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1099 #25 QCoreApplication::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1085 #26 0x00007ff521f209c8 in QCoreApplication::notifyInternal2 (receiver=0x556d26fa7910, event=event@entry=0x7ff500028550) at kernel/qcoreapplication.cpp:1024 #27 0x00007ff521f2313d in QCoreApplication::sendEvent (event=0x7ff500028550, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233 #28 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x556d26f443a0) at kernel/qcoreapplication.cpp:1699 #29 0x00007ff521f236c8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1553 #30 0x00007ff521f7a353 in postEventSourceDispatch (s=s@entry=0x556d26f49e70) at kernel/qeventdispatcher_glib.cpp:276 #31 0x00007ff51c612417 in g_main_dispatch (context=0x7ff508004ff0) at ../../../../glib/gmain.c:3176 #32 g_main_context_dispatch (context=context@entry=0x7ff508004ff0) at ../../../../glib/gmain.c:3829 #33 0x00007ff51c612650 in g_main_context_iterate (context=context@entry=0x7ff508004ff0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3902 #34 0x00007ff51c6126dc in g_main_context_iteration (context=0x7ff508004ff0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963 #35 0x00007ff521f7997f in QEventDispatcherGlib::processEvents (this=0x556d26f93370, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #36 0x00007ff521f1e9fa in QEventLoop::exec (this=this@entry=0x7ffcdedf1970, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #37 0x00007ff521f27aa4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297 #38 0x0000556d259c5c73 in main (argc=<optimized out>, argv=<optimized out>) at ./daemon/powerdevilapp.cpp:206 Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.