[kdelibs] [Bug 318936] New: kded segfault when returning from idle

Cliff Ingham inghamn at gmail.com
Fri Apr 26 17:09:49 BST 2013


https://bugs.kde.org/show_bug.cgi?id=318936

            Bug ID: 318936
           Summary: kded segfault when returning from idle
    Classification: Unclassified
           Product: kdelibs
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kded
          Assignee: unassigned-bugs at kde.org
          Reporter: inghamn at gmail.com

Waking the computer up from idle causes a segfault.  The screensaver is just
set to show a blank screen.  This is on a dual-monitor setup, using NVidia
driver.

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

Thread 5 (Thread 0x7fdf5b654700 (LWP 5197)):
#0  0x00007fdf8374bb0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdf7423716c in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#2  0x00007fdf73072b27 in ?? () from
/usr/lib/nvidia-313-updates/tls/libnvidia-tls.so.313.30
#3  0x00007fdf808d36cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdf80894d3c in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdf80895175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fdf808956ba in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fdf5b9444f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#8  0x00007fdf808b8eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fdf742381b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#10 0x00007fdf80f69f8e in start_thread (arg=0x7fdf5b654700) at
pthread_create.c:311
#11 0x00007fdf83759e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fdf5ac47700 (LWP 5198)):
#0  0x00007fdf8374bb0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdf7423716c in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#2  0x00007fdf73072b27 in ?? () from
/usr/lib/nvidia-313-updates/tls/libnvidia-tls.so.313.30
#3  0x00007fdf808d36cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdf80894d3c in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdf80895175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fdf80895304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fdf84b7f036 in QEventDispatcherGlib::processEvents
(this=0x7fdf400008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007fdf84b4f38f in QEventLoop::processEvents
(this=this at entry=0x7fdf5ac46cc0, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fdf84b4f618 in QEventLoop::exec (this=this at entry=0x7fdf5ac46cc0,
flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fdf84a51410 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#11 0x00007fdf66aa46e5 in KCupsConnection::run() () from
/usr/lib/libkcupslib.so
#12 0x00007fdf84a53bec in QThreadPrivate::start (arg=0x154de90) at
thread/qthread_unix.cpp:338
#13 0x00007fdf742381b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#14 0x00007fdf80f69f8e in start_thread (arg=0x7fdf5ac47700) at
pthread_create.c:311
#15 0x00007fdf83759e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fdf5a446700 (LWP 5199)):
#0  __lll_unlock_wake () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:371
#1  0x00007fdf80f6d119 in _L_unlock_571 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007fdf80f6d085 in __pthread_mutex_unlock_usercnt (mutex=0x7fdf74496e20,
decr=<optimized out>) at pthread_mutex_unlock.c:52
#3  0x00007fdf7423215a in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#4  0x00007fdf74237196 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#5  0x00007fdf73072b27 in ?? () from
/usr/lib/nvidia-313-updates/tls/libnvidia-tls.so.313.30
#6  0x00007fdf808d36cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fdf80894d3c in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fdf80895175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fdf80895304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fdf84b7f036 in QEventDispatcherGlib::processEvents
(this=0x7fdf3c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007fdf84b4f38f in QEventLoop::processEvents
(this=this at entry=0x7fdf5a445d00, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fdf84b4f618 in QEventLoop::exec (this=this at entry=0x7fdf5a445d00,
flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fdf84a51410 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#14 0x00007fdf84a53bec in QThreadPrivate::start (arg=0x1610c50) at
thread/qthread_unix.cpp:338
#15 0x00007fdf742381b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#16 0x00007fdf80f69f8e in start_thread (arg=0x7fdf5a446700) at
pthread_create.c:311
#17 0x00007fdf83759e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fdf59c45700 (LWP 5200)):
#0  0x00007fdf8374d3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdf808951dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdf80895304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdf84b7f036 in QEventDispatcherGlib::processEvents
(this=0x7fdf340008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdf84b4f38f in QEventLoop::processEvents
(this=this at entry=0x7fdf59c44cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdf84b4f618 in QEventLoop::exec (this=this at entry=0x7fdf59c44cd0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdf84a51410 in QThread::exec (this=this at entry=0x1556740) at
thread/qthread.cpp:542
#7  0x00007fdf84b30edf in QInotifyFileSystemWatcherEngine::run (this=0x1556740)
at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fdf84a53bec in QThreadPrivate::start (arg=0x1556740) at
thread/qthread_unix.cpp:338
#9  0x00007fdf742381b4 in ?? () from /usr/lib/nvidia-313-updates/libGL.so.1
#10 0x00007fdf80f69f8e in start_thread (arg=0x7fdf59c45700) at
pthread_create.c:311
#11 0x00007fdf83759e1d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fdf85ee17c0 (LWP 5181)):
[KCrash Handler]
#6  KScreen::Output::id (this=this at entry=0x0) at
/build/buildd/libkscreen-0.0.81/src/output.cpp:104
#7  0x00007fdf687affbc in Generator::extendToRight (this=this at entry=0x14c79a0,
outputs=...) at /build/buildd/kscreen-0.0.81/kded/generator.cpp:313
#8  0x00007fdf687b1f94 in Generator::idealConfig (this=0x14c79a0) at
/build/buildd/kscreen-0.0.81/kded/generator.cpp:83
#9  0x00007fdf687aa4f6 in KScreenDaemon::applyIdealConfig
(this=this at entry=0x149ccb0) at /build/buildd/kscreen-0.0.81/kded/daemon.cpp:110
#10 0x00007fdf687aa77d in KScreenDaemon::applyConfig (this=0x149ccb0) at
/build/buildd/kscreen-0.0.81/kded/daemon.cpp:90
#11 0x00007fdf84b650ef in QMetaObject::activate (sender=sender at entry=0x14fe2e0,
m=m at entry=0x7fdf687a0b60 <KScreen::Output::staticMetaObject>,
local_signal_index=local_signal_index at entry=4, argv=argv at entry=0x0) at
kernel/qobject.cpp:3539
#12 0x00007fdf6859aa83 in KScreen::Output::isConnectedChanged
(this=this at entry=0x14fe2e0) at
/build/buildd/libkscreen-0.0.81/obj-x86_64-linux-gnu/src/output.moc:253
#13 0x00007fdf6859aaa3 in KScreen::Output::setConnected
(this=this at entry=0x14fe2e0, connected=<optimized out>) at
/build/buildd/libkscreen-0.0.81/src/output.cpp:308
#14 0x00007fdf681684d2 in XRandROutput::updateKScreenOutput
(this=this at entry=0x150d750, output=0x14fe2e0) at
/build/buildd/libkscreen-0.0.81/backends/xrandr/xrandroutput.cpp:265
#15 0x00007fdf68163469 in XRandRConfig::updateKScreenConfig (this=0x150d7d0,
config=0x13a58b0) at
/build/buildd/libkscreen-0.0.81/backends/xrandr/xrandrconfig.cpp:107
#16 0x00007fdf68599d4c in KScreen::ConfigMonitor::Private::updateConfigs
(this=0x14c04f0) at /build/buildd/libkscreen-0.0.81/src/configmonitor.cpp:46
#17 0x00007fdf68599d9d in KScreen::ConfigMonitor::notifyUpdate (this=0x1515290)
at /build/buildd/libkscreen-0.0.81/src/configmonitor.cpp:89
#18 0x00007fdf68160f22 in XRandR::updateOutput (this=<optimized out>,
output=584) at /build/buildd/libkscreen-0.0.81/backends/xrandr/xrandr.cpp:116
#19 0x00007fdf84b650ef in QMetaObject::activate (sender=sender at entry=0x14b24f0,
m=m at entry=0x7fdf6836c980 <XRandRX11Helper::staticMetaObject>,
local_signal_index=local_signal_index at entry=2, argv=argv at entry=0x7fffcf892ce0)
at kernel/qobject.cpp:3539
#20 0x00007fdf68161f52 in XRandRX11Helper::outputChanged
(this=this at entry=0x14b24f0, _t1=584) at
/build/buildd/libkscreen-0.0.81/obj-x86_64-linux-gnu/backends/xrandr/xrandrx11helper.moc:120
#21 0x00007fdf681624d5 in XRandRX11Helper::x11Event (this=0x14b24f0,
event=0x7fffcf892e30) at
/build/buildd/libkscreen-0.0.81/backends/xrandr/xrandrx11helper.cpp:140
#22 0x00007fdf858f897d in publicX11Event (e=0x7fffcf892e30, this=<optimized
out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#23 KSystemEventFilterPrivate::filterEvent (this=0x14fa390,
message=0x7fffcf892e30) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#24 0x00007fdf84b4311e in QAbstractEventDispatcher::filterEvent (this=0x0,
message=0x0, message at entry=0x7fffcf892e30) at
kernel/qabstracteventdispatcher.cpp:539
#25 0x00007fdf83f9c028 in x11EventSourceDispatch (s=0x129c400, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#26 0x00007fdf80894f05 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fdf80895248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fdf80895304 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fdf84b7f016 in QEventDispatcherGlib::processEvents (this=0x10ad670,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007fdf83f9c1ae in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007fdf84b4f38f in QEventLoop::processEvents
(this=this at entry=0x7fffcf893200, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007fdf84b4f618 in QEventLoop::exec (this=this at entry=0x7fffcf893200,
flags=...) at kernel/qeventloop.cpp:204
#33 0x00007fdf84b54cf6 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#34 0x00007fdf83ef4ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#35 0x00007fdf6ef01050 in kdemain (argc=1, argv=0x1294ec0) at
../../kded/kded.cpp:924
#36 0x00000000004084ea in launch (argc=argc at entry=1, _name=_name at entry=0x40b167
"kded4", args=args at entry=0x0, cwd=cwd at entry=0x0, envc=envc at entry=0,
envs=<optimized out>, envs at entry=0x0, reset_env=reset_env at entry=false,
tty=tty at entry=0x0, avoid_loops=avoid_loops at entry=false,
startup_id_str=startup_id_str at entry=0x40aff6 "0") at ../../kinit/kinit.cpp:738
#37 0x0000000000405b69 in main (argc=4, argv=<optimized out>,
envp=0x7fffcf893e80) at ../../kinit/kinit.cpp:1853




Reproducible: Always

Steps to Reproduce:
1. Let machine turn the monitors off
2. Move the mouse to wake it up
3. kded segfault



Dual monitors.  Nvidia driver.  Ubuntu 13.04

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list