[kdelibs] [Bug 333777] New: KDE crash after using xrandr to extend to 3 screens with nvidia optimus

jbachtel at bericotechnologies.com jbachtel at bericotechnologies.com
Wed Apr 23 16:52:26 BST 2014


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

            Bug ID: 333777
           Summary: KDE crash after using xrandr to extend to 3 screens
                    with nvidia optimus
    Classification: Unclassified
           Product: kdelibs
           Version: 4.12.4
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: kded
          Assignee: unassigned-bugs at kde.org
          Reporter: jbachtel at bericotechnologies.com

Application: kded4 (4.12.4)
KDE Platform Version: 4.12.4
Qt Version: 4.8.5
Operating System: Linux 3.13.10-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

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

xrandr --setprovideroutputsource Intel NVIDIA-0
xrandr --output DP-0 --auto --panning 3840x1080+0+0/1920x1080+0+0 --output
VGA-0 --panning 3840x1080+1920+0/1920x1080+1920+0 --output LVDS1 --auto
--right-of VGA-0

(enables Intel card piping to laptop screen, spans desktop to all 3 monitors)

- Unusual behavior I noticed:

KDE doesn't grok the left monitor's existence. The background for that screen
is black, there's no process bar along the bottom, KDE spans the desktop across
the right monitor (on NVidia) and the laptop display (Intel)

$ xrandr -q
Screen 0: minimum 8 x 8, current 5760 x 1080, maximum 16384 x 16384
VGA-0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y
axis) 510mm x 287mm panning 3840x1080+1920+0 tracking 1920x1080+1920+0 border
0/0/0/0
   1920x1080      60.0*+
   1680x1050      60.0  
   1440x900       59.9  
   1360x765       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1280x720       60.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3     56.2  
   640x480        75.0     72.8     59.9  
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x
287mm panning 3840x1080+0+0 tracking 1920x1080+0+0 border 0/0/0/0
   1920x1080      60.0*+
   1680x1050      60.0  
   1440x900       59.9  
   1360x765       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1280x720       60.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3     56.2  
   640x480        75.0     72.8     59.9  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1920x1080+3840+0 (normal left inverted right x axis y axis)
344mm x 193mm
   1920x1080      60.0*+   50.0  
   1400x1050      60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
  1280x1024 (0x48)  108.0MHz
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1024x768 (0x4a)   65.0MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x4b)   40.0MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x4c)   36.0MHz
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0x4d)   25.2MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f612d0868c0 (LWP 2581))]

Thread 6 (Thread 0x7f6122176700 (LWP 2585)):
#0  0x00000039978ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000399a4495b4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f611c0029c0, timeout=-1, context=0x7f611c0009a0) at gmain.c:4007
#2  g_main_context_iterate (context=context at entry=0x7f611c0009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3708
#3  0x000000399a4496dc in g_main_context_iteration (context=0x7f611c0009a0,
may_block=1) at gmain.c:3774
#4  0x00000039a31b2ec6 in QEventDispatcherGlib::processEvents
(this=0x7f611c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00000039a3182edf in QEventLoop::processEvents
(this=this at entry=0x7f6122175d10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000039a318322d in QEventLoop::exec (this=this at entry=0x7f6122175d10,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00000039a3079baf in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:536
#8  0x00000039a307c3af in QThreadPrivate::start (arg=0x24db4b0) at
thread/qthread_unix.cpp:338
#9  0x0000003998407f33 in start_thread (arg=0x7f6122176700) at
pthread_create.c:309
#10 0x00000039978f4ded in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f611912c700 (LWP 2594)):
#0  0x000000399840e87d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000399a4897b0 in read (__nbytes=16, __buf=0x7f611912bab0,
__fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f611c001fb0) at gwakeup.c:212
#3  0x000000399a44909c in g_main_context_check
(context=context at entry=0x7f61140009a0, max_priority=2147483647,
fds=fds at entry=0x7f61140029b0, n_fds=n_fds at entry=1) at gmain.c:3514
#4  0x000000399a449533 in g_main_context_iterate
(context=context at entry=0x7f61140009a0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3710
#5  0x000000399a4496dc in g_main_context_iteration (context=0x7f61140009a0,
may_block=1) at gmain.c:3774
#6  0x00000039a31b2ec6 in QEventDispatcherGlib::processEvents
(this=0x7f61140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x00000039a3182edf in QEventLoop::processEvents
(this=this at entry=0x7f611912bcc0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000039a318322d in QEventLoop::exec (this=this at entry=0x7f611912bcc0,
flags=...) at kernel/qeventloop.cpp:204
#9  0x00000039a3079baf in QThread::exec (this=this at entry=0x2632d50) at
thread/qthread.cpp:536
#10 0x00000039a3163863 in QInotifyFileSystemWatcherEngine::run (this=0x2632d50)
at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00000039a307c3af in QThreadPrivate::start (arg=0x2632d50) at
thread/qthread_unix.cpp:338
#12 0x0000003998407f33 in start_thread (arg=0x7f611912c700) at
pthread_create.c:309
#13 0x00000039978f4ded in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f60feb7b700 (LWP 2667)):
#0  0x00000039978ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000399a4495b4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f60e40010c0, timeout=-1, context=0x2749bf0) at gmain.c:4007
#2  g_main_context_iterate (context=0x2749bf0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3708
#3  0x000000399a449a3a in g_main_loop_run (loop=0x2749b80) at gmain.c:3907
#4  0x0000003a030d0376 in gdbus_shared_thread_func (user_data=0x2749bc0) at
gdbusprivate.c:278
#5  0x000000399a46ea45 in g_thread_proxy (data=0x2711c50) at gthread.c:798
#6  0x0000003998407f33 in start_thread (arg=0x7f60feb7b700) at
pthread_create.c:309
#7  0x00000039978f4ded in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f60fe16e700 (LWP 2668)):
#0  0x00000039978ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000399a4495b4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f60d8003c60, timeout=-1, context=0x7f60d80009a0) at gmain.c:4007
#2  g_main_context_iterate (context=context at entry=0x7f60d80009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3708
#3  0x000000399a4496dc in g_main_context_iteration (context=0x7f60d80009a0,
may_block=1) at gmain.c:3774
#4  0x00000039a31b2ec6 in QEventDispatcherGlib::processEvents
(this=0x7f60d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00000039a3182edf in QEventLoop::processEvents
(this=this at entry=0x7f60fe16dcd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000039a318322d in QEventLoop::exec (this=this at entry=0x7f60fe16dcd0,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00000039a3079baf in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:536
#8  0x00007f61201abb47 in KCupsConnection::run() () from /lib64/libkcupslib.so
#9  0x00000039a307c3af in QThreadPrivate::start (arg=0x2602960) at
thread/qthread_unix.cpp:338
#10 0x0000003998407f33 in start_thread (arg=0x7f60fe16e700) at
pthread_create.c:309
#11 0x00000039978f4ded in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f60fd96d700 (LWP 2669)):
#0  0x00000039978ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000399a4495b4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7f60dc0021c0, timeout=-1, context=0x7f60dc0009a0) at gmain.c:4007
#2  g_main_context_iterate (context=context at entry=0x7f60dc0009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3708
#3  0x000000399a4496dc in g_main_context_iteration (context=0x7f60dc0009a0,
may_block=1) at gmain.c:3774
#4  0x00000039a31b2ec6 in QEventDispatcherGlib::processEvents
(this=0x7f60dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00000039a3182edf in QEventLoop::processEvents
(this=this at entry=0x7f60fd96cd10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000039a318322d in QEventLoop::exec (this=this at entry=0x7f60fd96cd10,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00000039a3079baf in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:536
#8  0x00000039a307c3af in QThreadPrivate::start (arg=0x260ed30) at
thread/qthread_unix.cpp:338
#9  0x0000003998407f33 in start_thread (arg=0x7f60fd96d700) at
pthread_create.c:309
#10 0x00000039978f4ded in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f612d0868c0 (LWP 2581)):
[KCrash Handler]
#6  XRandROutput::update (this=this at entry=0x0,
primary=primary at entry=XRandROutput::NoChange) at
/usr/src/debug/libkscreen-1.0.2/backends/xrandr/xrandroutput.cpp:130
#7  0x00007f61207f92d6 in XRandR::updateCrtc (this=<optimized out>,
crtc=<optimized out>) at
/usr/src/debug/libkscreen-1.0.2/backends/xrandr/xrandr.cpp:135
#8  0x00000039a3198cf8 in QMetaObject::activate (sender=sender at entry=0x2607740,
m=m at entry=0x7f6120a098c0 <XRandRX11Helper::staticMetaObject>,
local_signal_index=<optimized out>, argv=0x7fffe90e24d0) at
kernel/qobject.cpp:3547
#9  0x00007f61207fa7f4 in outputChanged (_t1=<optimized out>, this=<optimized
out>) at
/usr/src/debug/libkscreen-1.0.2/x86_64-redhat-linux-gnu/backends/xrandr/xrandrx11helper.moc:119
#10 XRandRX11Helper::x11Event (this=0x2607740, event=0x7fffe90e25e0) at
/usr/src/debug/libkscreen-1.0.2/backends/xrandr/xrandrx11helper.cpp:147
#11 0x00000034d1872adc in publicX11Event (e=0x7fffe90e25e0, this=<optimized
out>) at /usr/src/debug/kdelibs-4.12.4/kdeui/kernel/ksystemeventfilter.cpp:43
#12 KSystemEventFilterPrivate::filterEvent (this=0x24da8e0,
message=0x7fffe90e25e0) at
/usr/src/debug/kdelibs-4.12.4/kdeui/kernel/ksystemeventfilter.cpp:102
#13 0x00000039a3175a3e in QAbstractEventDispatcher::filterEvent (this=0x0,
message=0x0, message at entry=0x7fffe90e25e0) at
kernel/qabstracteventdispatcher.cpp:542
#14 0x000000302446bb0e in x11EventSourceDispatch (s=s at entry=0x237be00,
callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:145
#15 0x000000399a4492a6 in g_main_dispatch (context=0x237ab60) at gmain.c:3066
#16 g_main_context_dispatch (context=context at entry=0x237ab60) at gmain.c:3642
#17 0x000000399a449628 in g_main_context_iterate
(context=context at entry=0x237ab60, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at gmain.c:3713
#18 0x000000399a4496dc in g_main_context_iteration (context=0x237ab60,
may_block=1) at gmain.c:3774
#19 0x00000039a31b2ec6 in QEventDispatcherGlib::processEvents (this=0x2346e80,
flags=...) at kernel/qeventdispatcher_glib.cpp:427
#20 0x000000302446bca6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#21 0x00000039a3182edf in QEventLoop::processEvents
(this=this at entry=0x7fffe90e29d0, flags=...) at kernel/qeventloop.cpp:149
#22 0x00000039a318322d in QEventLoop::exec (this=this at entry=0x7fffe90e29d0,
flags=...) at kernel/qeventloop.cpp:204
#23 0x00000039a3188749 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1221
#24 0x00000030243c83fc in QApplication::exec () at kernel/qapplication.cpp:3823
#25 0x00000034ce00af0b in kdemain (argc=1, argv=0x7fffe90e2c58) at
/usr/src/debug/kdelibs-4.12.4/kded/kded.cpp:925
#26 0x0000003997821d65 in __libc_start_main (main=0x4007e0 <main(int, char**)>,
argc=1, argv=0x7fffe90e2c58, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffe90e2c48) at libc-start.c:285
#27 0x0000000000400811 in _start ()

Reported using DrKonqi

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



More information about the Unassigned-bugs mailing list