Bug 382105

Summary: Power devil crash dès la sortie de veille
Product: [Plasma] Powerdevil Reporter: kristof <kristof>
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kristof 2017-07-07 18:28:04 UTC
Application: org_kde_powerdevil ()

Qt Version: 5.6.1
Frameworks Version: 5.35.0
Operating System: Linux 4.8.0-58-generic x86_64
Distribution: Linux Mint 18.2 Sonya

-- Information about the crash:
<Indiquez-nous en détails ce que vous faisiez lors du plantage de l'application.>

The crash can be reproduced sometimes.

-- 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 0x7f35b46fd940 (LWP 2636))]

Thread 5 (Thread 0x7f359cac0700 (LWP 2726)):
#0  0x00007f35b2d2670d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35ad8f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35ad8f0712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f359d5aa9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f35ad916bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f35aea6a6ba in start_thread (arg=0x7f359cac0700) at pthread_create.c:333
#6  0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f359d2c1700 (LWP 2725)):
#0  0x00007f35ad8f03f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f35ad8f049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35ad8f04d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35ad916bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35aea6a6ba in start_thread (arg=0x7f359d2c1700) at pthread_create.c:333
#5  0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f359e8ef700 (LWP 2723)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f35b2d26702 in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007f35ad8f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35ad8f049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35b364e37b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f35b35f6ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f35b341f9e4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f35b4811515 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f35b3424808 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f35aea6a6ba in start_thread (arg=0x7f359e8ef700) at pthread_create.c:333
#10 0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f359f96e700 (LWP 2712)):
#0  0x00007f35b2d2670d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35b0b4cc62 in poll (__timeout=-1, __nfds=1, __fds=0x7f359f96db80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x1a7bdf0, cond=cond@entry=0x1a7be30, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f35b0b4e8d7 in xcb_wait_for_event (c=0x1a7bdf0) at ../../src/xcb_in.c:693
#4  0x00007f35a1ecfd29 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007f35b3424808 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f35aea6a6ba in start_thread (arg=0x7f359f96e700) at pthread_create.c:333
#7  0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f35b46fd940 (LWP 2636)):
[KCrash Handler]
#6  0x00007f35b4262563 in ?? () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#7  0x00007f35b425a104 in PowerDevil::Core::onResumingFromIdle() () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#8  0x00007f35b425cb26 in PowerDevil::Core::loadProfile(bool) () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#9  0x00007f35b425f9f8 in PowerDevil::Core::onAcAdapterStateChanged(PowerDevil::BackendInterface::AcAdapterState) () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#10 0x00007f35b427e98b in ?? () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#11 0x00007f35b3625b71 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f35b427d7be in PowerDevil::BackendInterface::acAdapterStateChanged(PowerDevil::BackendInterface::AcAdapterState) () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#13 0x00007f359decdab2 in PowerDevilUPowerBackend::slotPropertyChanged() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#14 0x00007f359dede194 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#15 0x00007f359dede6a5 in PowerDevilUPowerBackend::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#16 0x00007f35b481d013 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#17 0x00007f35b3626719 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f35b35f914a in QCoreApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f35b35f92a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f35b35fb16a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f35b364df53 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f35ad8f0197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f35ad8f03f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f35ad8f049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f35b364e35f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f35b35f6ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f35b35ff6bc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000000000404e6b in ?? ()
#29 0x00007f35b2c4b830 in __libc_start_main (main=0x404de0, argc=1, argv=0x7ffe8deedf68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe8deedf58) at ../csu/libc-start.c:291
#30 0x0000000000404ec9 in _start ()

Rapporter à https://bugs.kde.org/
Comment 1 kristof 2017-07-07 18:29:12 UTC
Application: org_kde_powerdevil ()

Qt Version: 5.6.1
Frameworks Version: 5.35.0
Operating System: Linux 4.8.0-58-generic x86_64
Distribution: Linux Mint 18.2 Sonya

-- Information about the crash:
<Indiquez-nous en détails ce que vous faisiez lors du plantage de l'application.>

The crash can be reproduced sometimes.

-- 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 0x7f35b46fd940 (LWP 2636))]

Thread 5 (Thread 0x7f359cac0700 (LWP 2726)):
#0  0x00007f35b2d2670d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35ad8f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35ad8f0712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f359d5aa9d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f35ad916bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f35aea6a6ba in start_thread (arg=0x7f359cac0700) at pthread_create.c:333
#6  0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f359d2c1700 (LWP 2725)):
#0  0x00007f35ad8f03f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f35ad8f049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f35ad8f04d9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35ad916bb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35aea6a6ba in start_thread (arg=0x7f359d2c1700) at pthread_create.c:333
#5  0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f359e8ef700 (LWP 2723)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f35b2d26702 in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007f35ad8f038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f35ad8f049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f35b364e37b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f35b35f6ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f35b341f9e4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f35b4811515 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f35b3424808 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f35aea6a6ba in start_thread (arg=0x7f359e8ef700) at pthread_create.c:333
#10 0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f359f96e700 (LWP 2712)):
#0  0x00007f35b2d2670d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f35b0b4cc62 in poll (__timeout=-1, __nfds=1, __fds=0x7f359f96db80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x1a7bdf0, cond=cond@entry=0x1a7be30, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f35b0b4e8d7 in xcb_wait_for_event (c=0x1a7bdf0) at ../../src/xcb_in.c:693
#4  0x00007f35a1ecfd29 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#5  0x00007f35b3424808 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f35aea6a6ba in start_thread (arg=0x7f359f96e700) at pthread_create.c:333
#7  0x00007f35b2d323dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f35b46fd940 (LWP 2636)):
[KCrash Handler]
#6  0x00007f35b4262563 in ?? () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#7  0x00007f35b425a104 in PowerDevil::Core::onResumingFromIdle() () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#8  0x00007f35b425cb26 in PowerDevil::Core::loadProfile(bool) () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#9  0x00007f35b425f9f8 in PowerDevil::Core::onAcAdapterStateChanged(PowerDevil::BackendInterface::AcAdapterState) () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#10 0x00007f35b427e98b in ?? () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#11 0x00007f35b3625b71 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f35b427d7be in PowerDevil::BackendInterface::acAdapterStateChanged(PowerDevil::BackendInterface::AcAdapterState) () from /usr/lib/x86_64-linux-gnu/libpowerdevilcore.so.2
#13 0x00007f359decdab2 in PowerDevilUPowerBackend::slotPropertyChanged() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#14 0x00007f359dede194 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#15 0x00007f359dede6a5 in PowerDevilUPowerBackend::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#16 0x00007f35b481d013 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#17 0x00007f35b3626719 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f35b35f914a in QCoreApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f35b35f92a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f35b35fb16a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f35b364df53 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f35ad8f0197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f35ad8f03f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f35ad8f049c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f35b364e35f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f35b35f6ffa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f35b35ff6bc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000000000404e6b in ?? ()
#29 0x00007f35b2c4b830 in __libc_start_main (main=0x404de0, argc=1, argv=0x7ffe8deedf68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe8deedf58) at ../csu/libc-start.c:291
#30 0x0000000000404ec9 in _start ()

Rapporter à https://bugs.kde.org/
Comment 2 kristof 2017-07-10 21:45:35 UTC
Le problème se produit à priori lorsque le portable est sur batterie
Comment 3 Kai Uwe Broulik 2018-05-02 06:46:46 UTC

*** This bug has been marked as a duplicate of bug 345618 ***