Bug 339298 - Crash on first use after (un-)plugging 2nd screen
Summary: Crash on first use after (un-)plugging 2nd screen
Status: RESOLVED UPSTREAM
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: Git (Frameworks 5)
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-22 13:45 UTC by Elias Probst
Modified: 2014-09-22 14:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2014-09-22 13:45:28 UTC
When (dis-)connecting my 2nd screen, Yakuake crashes once I try to open (F12) it afterwards.

My yakuakerc contains:
[Desktop Entry]
DefaultProfile=Shell.profile

[Favorite Profiles]
Favorites=

[Window]
DynamicTabTitles=true
Position=0
Width=50

Yakuake is up-to-date from git (KF5). Using Qt 5.4.0 alpha.

Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6062805800 (LWP 3544))]

Thread 3 (Thread 0x7f6050827700 (LWP 3554)):
#0  0x00007f605e2ff63d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f605b59f1f2 in poll (__timeout=-1, __nfds=1, __fds=0x7f6050826cd0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x1be5240, cond=cond@entry=0x1be5280, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src/xcb_conn.c:447
#3  0x00007f605b5a0df7 in xcb_wait_for_event (c=0x1be5240) at /var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src/xcb_in.c:622
#4  0x00007f6052751329 in QXcbEventReader::run (this=0x1bef2a0) at qxcbconnection.cpp:1094
#5  0x00007f605e97320f in QThreadPrivate::start (arg=0x1bef2a0) at thread/qthread_unix.cpp:345
#6  0x00007f605e008023 in start_thread (arg=0x7f6050827700) at pthread_create.c:309
#7  0x00007f605e308cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f603bdc5700 (LWP 3603)):
#0  0x00007f605e2ff63d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6058634891 in poll (__timeout=-1, __nfds=2, __fds=0x7f6030001530) at /usr/include/bits/poll2.h:46
#2  poll_func (ufds=0x7f6030001530, nfds=2, timeout=-1, userdata=0x227bf80) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/thread-mainloop.c:71
#3  0x00007f60586262fc in pa_mainloop_poll (m=m@entry=0x227be70) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/mainloop.c:851
#4  0x00007f605862696e in pa_mainloop_iterate (m=m@entry=0x227be70, block=block@entry=1, retval=retval@entry=0x0) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/mainloop.c:933
#5  0x00007f6058626a20 in pa_mainloop_run (m=0x227be70, retval=retval@entry=0x0) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/mainloop.c:951
#6  0x00007f6058634843 in thread (userdata=0x23d3470) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/thread-mainloop.c:90
#7  0x00007f60545d89b8 in internal_thread_func (userdata=0x23d81c0) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulsecore/thread-posix.c:83
#8  0x00007f605e008023 in start_thread (arg=0x7f603bdc5700) at pthread_create.c:309
#9  0x00007f605e308cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f6062805800 (LWP 3544)):
[KCrash Handler]
#6  QScreen::handle (this=0x0) at kernel/qscreen.cpp:93
#7  0x00007f6052763d45 in QXcbWindow::QXcbWindow (this=0x2642690, window=0x1cd4a50) at qxcbwindow.cpp:252
#8  0x00007f6052752881 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x1cd4a50) at qxcbintegration.cpp:183
#9  0x00007f605ee87c33 in QWindow::create (this=this@entry=0x1cd4a50) at kernel/qwindow.cpp:520
#10 0x00007f605ee8a748 in QWindow::setVisible (this=this@entry=0x1cd4a50, visible=visible@entry=true) at kernel/qwindow.cpp:455
#11 0x00007f606230fb96 in QWidgetPrivate::show_sys (this=this@entry=0x1c6fa50) at kernel/qwidget.cpp:7860
#12 0x00007f6062316d46 in QWidgetPrivate::show_helper (this=this@entry=0x1c6fa50) at kernel/qwidget.cpp:7789
#13 0x00007f6062318d1a in QWidget::setVisible (this=0x7fff771fda10, visible=<optimized out>) at kernel/qwidget.cpp:8088
#14 0x0000000000428f10 in MainWindow::kwinAssistToggleWindowState (this=this@entry=0x7fff771fda10, visible=visible@entry=false) at /var/tmp/portage/kde-misc/yakuake-9999/work/yakuake-9999/app/mainwindow.cpp:1068
#15 0x0000000000428fca in MainWindow::toggleWindowState (this=0x7fff771fda10) at /var/tmp/portage/kde-misc/yakuake-9999/work/yakuake-9999/app/mainwindow.cpp:1012
#16 0x00007f605eb7d451 in QMetaObject::activate (sender=sender@entry=0x1e1b6c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff771fce10) at kernel/qobject.cpp:3707
#17 0x00007f605eb7da77 in QMetaObject::activate (sender=sender@entry=0x1e1b6c0, m=m@entry=0x7f60627a1560 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff771fce10) at kernel/qobject.cpp:3573
#18 0x00007f60622d1152 in QAction::triggered (this=this@entry=0x1e1b6c0, _t1=false) at .moc/moc_qaction.cpp:360
#19 0x00007f60622d3638 in QAction::activate (this=0x1e1b6c0, event=<optimized out>) at kernel/qaction.cpp:1175
#20 0x00007f6061695361 in trigger (this=0x1e1b6c0) at /usr/include/qt5/QtWidgets/qaction.h:185
#21 KGlobalAccelPrivate::_k_invokeAction (this=0x1e1a4c0, componentUnique=..., actionUnique=..., timestamp=113527319) at /var/tmp/portage/kde-frameworks/kglobalaccel-9999/work/kglobalaccel-9999/src/kglobalaccel.cpp:424
#22 0x00007f605eb7d451 in QMetaObject::activate (sender=0x1e16340, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff771fd020) at kernel/qobject.cpp:3707
#23 0x00007f605eb7da77 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f60618adc20 <OrgKdeKglobalaccelComponentInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff771fd020) at kernel/qobject.cpp:3573
#24 0x00007f60616a5ba9 in OrgKdeKglobalaccelComponentInterface::globalShortcutPressed (this=<optimized out>, _t1=..., _t2=..., _t3=113527319) at /var/tmp/portage/kde-frameworks/kglobalaccel-9999/work/kglobalaccel-9999_build/src/kglobalaccel_component_interface.moc:216
#25 0x00007f60616a626c in OrgKdeKglobalaccelComponentInterface::qt_static_metacall (_o=0x1e16340, _c=<optimized out>, _id=<optimized out>, _a=0x7fff771fd280) at /var/tmp/portage/kde-frameworks/kglobalaccel-9999/work/kglobalaccel-9999_build/src/kglobalaccel_component_interface.moc:116
#26 0x00007f60616a6eff in OrgKdeKglobalaccelComponentInterface::qt_metacall (this=0x1e16340, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff771fd280) at /var/tmp/portage/kde-frameworks/kglobalaccel-9999/work/kglobalaccel-9999_build/src/kglobalaccel_component_interface.moc:173
#27 0x00007f606294504f in QDBusConnectionPrivate::deliverCall (this=0x1c2b990, object=0x1e16340, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:998
#28 0x00007f605eb7e256 in QObject::event (this=0x1e16340, e=<optimized out>) at kernel/qobject.cpp:1249
#29 0x00007f60622da53c in QApplicationPrivate::notify_helper (this=this@entry=0x1bda410, receiver=receiver@entry=0x1e16340, e=e@entry=0x273e270) at kernel/qapplication.cpp:3729
#30 0x00007f60622df540 in QApplication::notify (this=0x7fff771fd9e0, receiver=0x1e16340, e=0x273e270) at kernel/qapplication.cpp:3512
#31 0x00007f605eb4db05 in QCoreApplication::notifyInternal (this=0x7fff771fd9e0, receiver=0x1e16340, event=event@entry=0x273e270) at kernel/qcoreapplication.cpp:940
#32 0x00007f605eb4f967 in sendEvent (event=0x273e270, receiver=<optimized out>) at kernel/qcoreapplication.h:236
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1bd91d0) at kernel/qcoreapplication.cpp:1544
#34 0x00007f605eb4ff98 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1402
#35 0x00007f605eba5793 in postEventSourceDispatch (s=0x1c1cb80) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007f6059731884 in g_main_dispatch (context=0x7f604c001e00) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3064
#37 g_main_context_dispatch (context=context@entry=0x7f604c001e00) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3663
#38 0x00007f6059731ac8 in g_main_context_iterate (context=context@entry=0x7f604c001e00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3734
#39 0x00007f6059731b6c in g_main_context_iteration (context=0x7f604c001e00, may_block=1) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#40 0x00007f605eba4c0c in QEventDispatcherGlib::processEvents (this=0x1c0d030, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#41 0x00007f605eb4ba4b in QEventLoop::exec (this=this@entry=0x7fff771fd8d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#42 0x00007f605eb53096 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1193
#43 0x00007f605ee7c45c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1515
#44 0x00007f60622d6d25 in QApplication::exec () at kernel/qapplication.cpp:2964
#45 0x0000000000421c62 in main (argc=1, argv=<optimized out>) at /var/tmp/portage/kde-misc/yakuake-9999/work/yakuake-9999/app/main.cpp:73