Bug 327075 - Automatic Report after crash
Summary: Automatic Report after crash
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: 1.0.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords: drkonqi
: 328174 333380 333839 337939 340492 340631 343792 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-03 11:30 UTC by karsten.bier
Modified: 2016-02-01 23:58 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.2


Attachments
New crash information added by DrKonqi (7.91 KB, text/plain)
2014-03-08 09:13 UTC, auxsvr
Details
New crash information added by DrKonqi (9.48 KB, text/plain)
2014-04-17 11:35 UTC, Saikrishna
Details
New crash information added by DrKonqi (8.85 KB, text/plain)
2014-07-08 17:18 UTC, Andres Nogueiras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description karsten.bier 2013-11-03 11:30:00 UTC
Application: kded4 (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Booting up my system which automatically starts KDE, current kubuntu

- Unusual behavior I noticed:
the graphical display requesting a LUKS password/passphrase did not appear, i got a simple text message instead.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f038e3667c0 (LWP 1925))]

Thread 5 (Thread 0x7f0373564700 (LWP 1929)):
#0  0x00007fff0a927942 in clock_gettime ()
#1  0x00007f038bbed96d in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f038cf2b757 in do_gettime (frac=0x7f0373563b40, sec=0x7f0373563b38) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f038d004fe5 in updateCurrentTime (this=0x7f036c002860) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f036c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00007f038d00382c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f0373563bf4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f038d0038d5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0388cd7d4d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f0388cd85c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f0388cd87ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f038d003a76 in QEventDispatcherGlib::processEvents (this=0x7f036c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f038cfd55ef in QEventLoop::processEvents (this=this@entry=0x7f0373563db0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f038cfd58e5 in QEventLoop::exec (this=this@entry=0x7f0373563db0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f038ced488f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x00007f038ced6f2f in QThreadPrivate::start (arg=0x1a113e0) at thread/qthread_unix.cpp:338
#16 0x00007f03893b3f6e in start_thread (arg=0x7f0373564700) at pthread_create.c:311
#17 0x00007f038bbd89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f0362db5700 (LWP 1955)):
#0  0x00007f0388cd7d91 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0388cd85c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0388cd87ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f038d003a76 in QEventDispatcherGlib::processEvents (this=0x7f03500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f038cfd55ef in QEventLoop::processEvents (this=this@entry=0x7f0362db4d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f038cfd58e5 in QEventLoop::exec (this=this@entry=0x7f0362db4d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f038ced488f in QThread::exec (this=this@entry=0x1959e80) at thread/qthread.cpp:542
#7  0x00007f038cfb6d13 in QInotifyFileSystemWatcherEngine::run (this=0x1959e80) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f038ced6f2f in QThreadPrivate::start (arg=0x1959e80) at thread/qthread_unix.cpp:338
#9  0x00007f03893b3f6e in start_thread (arg=0x7f0362db5700) at pthread_create.c:311
#10 0x00007f038bbd89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f03623ae700 (LWP 1964)):
#0  0x00007f038bbca6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0388d17670 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0388cd81cc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0388cd863b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0388cd87ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f038d003a76 in QEventDispatcherGlib::processEvents (this=0x7f03440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f038cfd55ef in QEventLoop::processEvents (this=this@entry=0x7f03623add70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f038cfd58e5 in QEventLoop::exec (this=this@entry=0x7f03623add70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f038ced488f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f0370b70fd7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#10 0x00007f038ced6f2f in QThreadPrivate::start (arg=0x1a3dfa0) at thread/qthread_unix.cpp:338
#11 0x00007f03893b3f6e in start_thread (arg=0x7f03623ae700) at pthread_create.c:311
#12 0x00007f038bbd89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0360bc5700 (LWP 1965)):
#0  0x00007f0388d180ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0388d18399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0388cd7f3b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0388cd8612 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0388cd87ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f038d003a76 in QEventDispatcherGlib::processEvents (this=0x7f03480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f038cfd55ef in QEventLoop::processEvents (this=this@entry=0x7f0360bc4db0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f038cfd58e5 in QEventLoop::exec (this=this@entry=0x7f0360bc4db0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f038ced488f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f038ced6f2f in QThreadPrivate::start (arg=0x1958250) at thread/qthread_unix.cpp:338
#10 0x00007f03893b3f6e in start_thread (arg=0x7f0360bc5700) at pthread_create.c:311
#11 0x00007f038bbd89cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f038e3667c0 (LWP 1925)):
[KCrash Handler]
#6  KScreen::Mode::size (this=this@entry=0x0) at /build/buildd/libkscreen-1.0.1/src/mode.cpp:83
#7  0x00007f0371e95f99 in Generator::biggestOutput (this=this@entry=0x1967070, outputs=...) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:402
#8  0x00007f0371e97be0 in Generator::laptop (this=0x1967070, outputs=...) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:303
#9  0x00007f0371e9843d in Generator::idealConfig (this=0x1967070) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:84
#10 0x00007f0371e90297 in KScreenDaemon::applyIdealConfig (this=this@entry=0x1962160) at /build/buildd/kscreen-1.0.1/kded/daemon.cpp:118
#11 0x00007f0371e904ce in KScreenDaemon::applyConfig (this=0x1962160) at /build/buildd/kscreen-1.0.1/kded/daemon.cpp:98
#12 0x00007f038cfeaa58 in QMetaObject::activate (sender=0x1967070, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#13 0x00007f038cfeaa58 in QMetaObject::activate (sender=sender@entry=0x19673b0, m=m@entry=0x7f037209eb40 <Device::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#14 0x00007f0371e98f54 in ready (this=0x19673b0) at /build/buildd/kscreen-1.0.1/obj-x86_64-linux-gnu/kded/device.moc:113
#15 Device::setReady (this=this@entry=0x19673b0) at /build/buildd/kscreen-1.0.1/kded/device.cpp:80
#16 0x00007f0371e99f2e in setReady (this=0x19673b0) at /build/buildd/kscreen-1.0.1/kded/device.cpp:148
#17 fetchIsDocked (this=0x19673b0) at /build/buildd/kscreen-1.0.1/kded/device.cpp:157
#18 Device::isLidClosedFetched (this=0x19673b0, watcher=0x1b38bf0) at /build/buildd/kscreen-1.0.1/kded/device.cpp:152
#19 0x00007f038cfeaa58 in QMetaObject::activate (sender=0x1b38bf0, m=m@entry=0x7f038a5b3640 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff0a8ee190) at kernel/qobject.cpp:3539
#20 0x00007f038a394b8f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x1b38bf0) at .moc/release-shared/moc_qdbuspendingcall.cpp:106
#21 0x00007f038cfeedce in QObject::event (this=0x1b38bf0, e=<optimized out>) at kernel/qobject.cpp:1194
#22 0x00007f038c373dfc in QApplicationPrivate::notify_helper (this=this@entry=0x17a4120, receiver=receiver@entry=0x1b38bf0, e=e@entry=0x1c5d210) at kernel/qapplication.cpp:4567
#23 0x00007f038c37a470 in QApplication::notify (this=this@entry=0x7fff0a8ee8f0, receiver=receiver@entry=0x1b38bf0, e=e@entry=0x1c5d210) at kernel/qapplication.cpp:4353
#24 0x00007f038dd54a6a in KApplication::notify (this=0x7fff0a8ee8f0, receiver=0x1b38bf0, event=0x1c5d210) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f038cfd68bd in QCoreApplication::notifyInternal (this=0x7fff0a8ee8f0, receiver=receiver@entry=0x1b38bf0, event=event@entry=0x1c5d210) at kernel/qcoreapplication.cpp:946
#26 0x00007f038cfd9e1f in sendEvent (event=0x1c5d210, receiver=0x1b38bf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x170a150) at kernel/qcoreapplication.cpp:1570
#28 0x00007f038cfda2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#29 0x00007f038d004073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x17a5600) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f0388cd83b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f0388cd8708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f0388cd87ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f038d003a55 in QEventDispatcherGlib::processEvents (this=0x170c670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f038c4159d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f038cfd55ef in QEventLoop::processEvents (this=this@entry=0x7fff0a8ee7c0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f038cfd58e5 in QEventLoop::exec (this=this@entry=0x7fff0a8ee7c0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f038cfdae5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x00007f038c37234c in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x00007f0378e6d95b in kdemain (argc=1, argv=0x1772b10) at ../../kded/kded.cpp:925
#41 0x00000000004083f5 in launch (argc=argc@entry=1, _name=_name@entry=0x40b007 "kded4", args=<optimized out>, args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40ae96 "0") at ../../kinit/kinit.cpp:738
#42 0x00000000004059a6 in main (argc=4, argv=<optimized out>, envp=0x7fff0a8ef050) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-11-28 12:20:46 UTC
*** Bug 328174 has been marked as a duplicate of this bug. ***
Comment 2 auxsvr 2014-03-08 09:13:35 UTC
Created attachment 85473 [details]
New crash information added by DrKonqi

kded4 (4.12.3) on KDE Platform 4.12.3 using Qt 4.8.4

- What I was doing when the application crashed:

Kded was not responding for some reason, after killing it Xorg froze using 100% CPU. kded crashed after restarting kdm and logging in.

-- Backtrace (Reduced):
#6  KScreen::Mode::size (this=0x0) at /usr/src/debug/libkscreen-1.0.2/src/mode.cpp:102
#7  0xaedf2891 in Generator::biggestOutput (this=0x9b77790, outputs=...) at /usr/src/debug/kscreen-1.0.2.1/kded/generator.cpp:474
[...]
#9  0xaedf5141 in Generator::laptop (this=this@entry=0x9b77790, outputs=...) at /usr/src/debug/kscreen-1.0.2.1/kded/generator.cpp:354
#10 0xaedf5ab3 in Generator::idealConfig (this=0x9b77790) at /usr/src/debug/kscreen-1.0.2.1/kded/generator.cpp:88
#11 0xaeded0cf in KScreenDaemon::applyIdealConfig (this=this@entry=0x9c3bbb0) at /usr/src/debug/kscreen-1.0.2.1/kded/daemon.cpp:118
Comment 3 Saikrishna 2014-04-17 11:35:36 UTC
Created attachment 86137 [details]
New crash information added by DrKonqi

kded4 (4.13.0) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed:
I was starting KDE from the command line (sudo service kdm start). Everything seems to have started up correctly, except notifications are not in KDE, but instead in Ubuntu's Unity (so bubbles in the top-right corner appear for notifications).

-- Backtrace (Reduced):
#6  KScreen::Mode::size (this=this@entry=0x0) at /build/buildd/libkscreen-1.0.2/src/mode.cpp:102
#7  0x00007f31823cd249 in Generator::biggestOutput (this=this@entry=0x21f7130, outputs=...) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:474
#8  0x00007f31823cdb90 in Generator::laptop (this=this@entry=0x21f7130, outputs=...) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:354
#9  0x00007f31823cf9eb in Generator::idealConfig (this=0x21f7130) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:88
#10 0x00007f31823c7307 in KScreenDaemon::applyIdealConfig (this=this@entry=0x20acda0) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:118
Comment 4 Jekyll Wu 2014-04-25 02:53:36 UTC
*** Bug 333839 has been marked as a duplicate of this bug. ***
Comment 5 Albert Astals Cid 2014-05-30 09:43:56 UTC
*** Bug 333380 has been marked as a duplicate of this bug. ***
Comment 6 Albert Astals Cid 2014-05-30 09:45:31 UTC
FWIW this is not so hard to reproduce if while starting Plasma (i.e. while the splash screen with icons is there) i switch back and forth a few times between X and a VT.
Comment 7 Andres Nogueiras 2014-07-08 17:18:47 UTC
Created attachment 87647 [details]
New crash information added by DrKonqi

kded4 (4.11.5) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:ç

The laptop was starting, the I log into the KDE wm and the service crashed

-- Backtrace (Reduced):
#6  KScreen::Mode::size (this=this@entry=0x0) at /usr/src/debug/libkscreen-1.0.2/src/mode.cpp:102
#7  0x00007f87b6b415f9 in Generator::biggestOutput (this=this@entry=0x1e8d900, outputs=...) at /usr/src/debug/kscreen-1.0.2.1/kded/generator.cpp:474
#8  0x00007f87b6b41f50 in Generator::laptop (this=this@entry=0x1e8d900, outputs=...) at /usr/src/debug/kscreen-1.0.2.1/kded/generator.cpp:354
#9  0x00007f87b6b43ddb in Generator::idealConfig (this=0x1e8d900) at /usr/src/debug/kscreen-1.0.2.1/kded/generator.cpp:88
#10 0x00007f87b6b3b6b7 in KScreenDaemon::applyIdealConfig (this=this@entry=0x1d404d0) at /usr/src/debug/kscreen-1.0.2.1/kded/daemon.cpp:118
Comment 8 Raúl 2014-07-19 10:27:36 UTC
Bump here with kdelibs 4.13.3 and kscreen 1.0.2 on Debian sid. Same backtrace.
Comment 9 Christoph Feck 2014-08-02 19:58:08 UTC
*** Bug 337939 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2014-10-30 12:48:16 UTC
*** Bug 340492 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2014-11-05 00:01:18 UTC
*** Bug 340631 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2014-11-05 00:02:15 UTC
This should be fixed with the KScreen 1.0.5 release. Can you confirm?
Comment 13 Daniel Vrátil 2015-03-06 15:17:42 UTC
Git commit 9a4f36f6973d6f9d712b6b3b1ff30f868d9910b9 by Dan Vrátil.
Committed on 06/03/2015 at 13:30.
Pushed by dvratil into branch 'Plasma/5.2'.

KDED: Make Generator maximally fool-proof

This change adds lots of checks (and asserts for devs) on validity of
the configs, outputs and modes and makes sure that we never try to
dereference a null pointer from outputs or modes.

Also renames some variables to make the code cleaner and easier to
understand.
Related: bug 326499, bug 326120, bug 33716
FIXED-IN: 5.2.2

M  +183  -84   kded/generator.cpp
M  +9    -7    kded/generator.h

http://commits.kde.org/kscreen/9a4f36f6973d6f9d712b6b3b1ff30f868d9910b9
Comment 14 Sebastian Kügler 2016-02-01 23:58:35 UTC
*** Bug 343792 has been marked as a duplicate of this bug. ***