Bug 355585 - Disabled primary monitor (laptop) using xrandr.
Summary: Disabled primary monitor (laptop) using xrandr.
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-19 12:22 UTC by a.key
Modified: 2015-11-19 13:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description a.key 2015-11-19 12:22:38 UTC
Application: kdeinit5 ()

Qt Version: 5.5.1
Operating System: Linux 4.2.6-300.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I executed the below:
xrandr --output eDP1 --off

which disables the laptop's display while the other two external monitors stay connected.

Due to numerous issues with kscreen I have previously disabled kscreend from startup services and configured/enabled all monitors first using:
xrandr --output eDP1 --auto --primary && xrandr --output DP2-1 --auto --right-of eDP1 && xrandr --output DP2-2 --auto --right-of DP2-1

-- Backtrace:
Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb24c32f8c0 (LWP 3007))]

Thread 8 (Thread 0x7fb22d1ca700 (LWP 3010)):
#0  0x00007fb24912dfdd in poll () at /lib64/libc.so.6
#1  0x00007fb248305272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fb248306ee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fb22f35cda9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fb249d363ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fb21cb43700 (LWP 3016)):
#0  0x00007fb24912dfdd in poll () at /lib64/libc.so.6
#1  0x00007fb2475a216c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fb2475a227c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fb2475a22b9 in glib_worker_main () at /lib64/libglib-2.0.so.0
#4  0x00007fb2475c8835 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fb217fff700 (LWP 3017)):
#0  0x00007fb24912dfdd in poll () at /lib64/libc.so.6
#1  0x00007fb2475a216c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fb2475a24f2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007fb220dce336 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
#4  0x00007fb2475c8835 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fb20ffff700 (LWP 3026)):
#0  0x00007fb249129bbd in read () at /lib64/libc.so.6
#1  0x00007fb2475e5390 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007fb2475a1c64 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007fb2475a2110 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fb2475a227c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fb249f6df0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fb249f14f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fb249d31424 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007fb249d363ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fb20edee700 (LWP 3036)):
#0  0x00007fb2475e6719 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007fb2475a1bbc in g_main_context_check () at /lib64/libglib-2.0.so.0
#2  0x00007fb2475a2110 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fb2475a227c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fb249f6df0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fb249f14f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fb249d31424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fb2268103c7 in KCupsConnection::run() () at /lib64/libkcupslib.so
#8  0x00007fb249d363ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb20e5ed700 (LWP 3037)):
#0  0x00007fb2475a1b98 in g_main_context_check () at /lib64/libglib-2.0.so.0
#1  0x00007fb2475a2110 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fb2475a227c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fb249f6df0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007fb249f14f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fb249d31424 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007fb249d363ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#8  0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb1fffff700 (LWP 3204)):
#0  0x00007fb24c1ee66b in _dl_update_slotinfo () at /lib64/ld-linux-x86-64.so.2
#1  0x00007fb24c1ee69c in update_get_addr () at /lib64/ld-linux-x86-64.so.2
#2  0x00007fb249d35312 in QThreadData::current(bool) () at /lib64/libQt5Core.so.5
#3  0x00007fb249f6d46a in postEventSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#4  0x00007fb2475a170d in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#5  0x00007fb2475a209b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#6  0x00007fb2475a227c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#7  0x00007fb249f6df0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#8  0x00007fb249f14f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#9  0x00007fb249d31424 in QThread::exec() () at /lib64/libQt5Core.so.5
#10 0x00007fb249d363ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#11 0x00007fb24877460a in start_thread () at /lib64/libpthread.so.0
#12 0x00007fb249139a7d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb24c32f8c0 (LWP 3007)):
[KCrash Handler]
#5  0x00007fb22f36d55c in QXcbScreen::mapFromNative(QPoint const&) const () at /lib64/libQt5XcbQpa.so.5
#6  0x00007fb22f3759aa in QXcbWindow::handleEnterNotifyEvent(xcb_enter_notify_event_t const*) () at /lib64/libQt5XcbQpa.so.5
#7  0x00007fb22f35eafd in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5
#8  0x00007fb22f35f433 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5
#9  0x00007fb249f471b1 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#10 0x00007fb24abfd41c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007fb24ac028e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007fb249f1777b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#13 0x00007fb249f19b76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#14 0x00007fb249f6dae3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#15 0x00007fb2475a1e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#16 0x00007fb2475a21d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#17 0x00007fb2475a227c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#18 0x00007fb249f6deef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#19 0x00007fb249f14f0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#20 0x00007fb249f1cfec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#21 0x00007fb22f81eee6 in kdemain () at /lib64/libkdeinit5_kded5.so
#22 0x00005555f7bba770 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#23 0x00005555f7bb7a62 in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2015-11-19 13:43:38 UTC
Crashes in QXcbScreen from Qt library. Those are still being investigated, see e.g. https://bugreports.qt.io/browse/QTBUG-42985