Bug 339105 - Crash on CTRL+P (print)
Summary: Crash on CTRL+P (print)
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.99.900
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-15 21:30 UTC by Elias Probst
Modified: 2017-02-12 23:56 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-15 21:30:28 UTC
Running KF5/Konsole from git master, up-to-date as of the time of this report.
Qt 5.4.0 alpha

Konsole crashes as soon as CTRL+P is used.

Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1894bad800 (LWP 9255))]

Thread 4 (Thread 0x7f1881973700 (LWP 9256)):
#0  0x00007f189469063d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f188ef701f2 in poll (__timeout=-1, __nfds=1, __fds=0x7f1881972cd0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0xeefef0, cond=cond@entry=0xeeff30, 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  0x00007f188ef71df7 in xcb_wait_for_event (c=0xeefef0) at /var/tmp/portage/x11-libs/libxcb-1.10/work/libxcb-1.10/src/xcb_in.c:622
#4  0x00007f188389d329 in QXcbEventReader::run (this=0xee9ae0) at qxcbconnection.cpp:1094
#5  0x00007f189159920f in QThreadPrivate::start (arg=0xee9ae0) at thread/qthread_unix.cpp:345
#6  0x00007f188cf48023 in start_thread (arg=0x7f1881973700) at pthread_create.c:309
#7  0x00007f1894699cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f186e29d700 (LWP 9391)):
#0  0x00007f189469063d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1889386891 in poll (__timeout=-1, __nfds=2, __fds=0x7f18680008c0) at /usr/include/bits/poll2.h:46
#2  poll_func (ufds=0x7f18680008c0, nfds=2, timeout=-1, userdata=0x1618170) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/thread-mainloop.c:71
#3  0x00007f18893782fc in pa_mainloop_poll (m=m@entry=0x1618060) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/mainloop.c:851
#4  0x00007f188937896e in pa_mainloop_iterate (m=m@entry=0x1618060, 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  0x00007f1889378a20 in pa_mainloop_run (m=0x1618060, retval=retval@entry=0x0) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/mainloop.c:951
#6  0x00007f1889386843 in thread (userdata=0x1759d30) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulse/thread-mainloop.c:90
#7  0x00007f188552f9b8 in internal_thread_func (userdata=0x1618220) at /var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/pulsecore/thread-posix.c:83
#8  0x00007f188cf48023 in start_thread (arg=0x7f186e29d700) at pthread_create.c:309
#9  0x00007f1894699cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f1862bf9700 (LWP 11265)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f189159a2b3 in wait (time=18446744073709551615, this=0x19747e0) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=this@entry=0x1974360, mutex=mutex@entry=0x1974358, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f189223220d in QFileInfoGatherer::run (this=0x1974348) at dialogs/qfileinfogatherer.cpp:217
#4  0x00007f189159920f in QThreadPrivate::start (arg=0x1974348) at thread/qthread_unix.cpp:345
#5  0x00007f188cf48023 in start_thread (arg=0x7f1862bf9700) at pthread_create.c:309
#6  0x00007f1894699cfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1894bad800 (LWP 9255)):
[KCrash Handler]
#6  0x00007f18917a1412 in QObjectData::dynamicMetaObject (this=<optimized out>) at kernel/qobject.cpp:193
#7  0x00007f18921fccda in QDialog::setVisible (this=0x196f090, visible=<optimized out>) at dialogs/qdialog.cpp:721
#8  0x00007f18921fc4b1 in QDialog::exec (this=0x196f090) at dialogs/qdialog.cpp:541
#9  0x00007f189432d56a in Konsole::SessionController::print_screen (this=0x12ac110) at /var/tmp/portage/kde-base/konsole-9999/work/konsole-9999/src/SessionController.cpp:1406
#10 0x00007f1894362dca in Konsole::SessionController::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/konsole-9999/work/konsole-9999_build/src/moc_SessionController.cpp:343
#11 0x00007f18917a3451 in QMetaObject::activate (sender=sender@entry=0xf8f6a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff41b214e0) at kernel/qobject.cpp:3707
#12 0x00007f18917a3a77 in QMetaObject::activate (sender=sender@entry=0xf8f6a0, m=m@entry=0x7f18924fa560 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff41b214e0) at kernel/qobject.cpp:3573
#13 0x00007f189202a152 in QAction::triggered (this=this@entry=0xf8f6a0, _t1=false) at .moc/moc_qaction.cpp:360
#14 0x00007f189202c638 in QAction::activate (this=0xf8f6a0, event=<optimized out>) at kernel/qaction.cpp:1175
#15 0x00007f189202c754 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1103
#16 0x00007f189203353c in QApplicationPrivate::notify_helper (this=this@entry=0xed8db0, receiver=receiver@entry=0xf8f6a0, e=e@entry=0x7fff41b217b0) at kernel/qapplication.cpp:3729
#17 0x00007f1892038540 in QApplication::notify (this=0x7fff41b21e80, receiver=0xf8f6a0, e=0x7fff41b217b0) at kernel/qapplication.cpp:3512
#18 0x00007f1891773b05 in QCoreApplication::notifyInternal (this=0x7fff41b21e80, receiver=0xf8f6a0, event=event@entry=0x7fff41b217b0) at kernel/qcoreapplication.cpp:940
#19 0x00007f1891ad2f31 in sendEvent (event=0x7fff41b217b0, receiver=<optimized out>) at /usr/include/qt5/QtCore/qcoreapplication.h:236
#20 QShortcutMap::dispatchEvent (this=this@entry=0xed8e90, e=e@entry=0x7fff41b21a80) at kernel/qshortcutmap.cpp:689
#21 0x00007f1891ad304c in QShortcutMap::tryShortcutEvent (this=0xed8e90, o=<optimized out>, e=e@entry=0x7fff41b21a80) at kernel/qshortcutmap.cpp:360
#22 0x00007f1892038297 in QApplication::notify (this=0x7fff41b21e80, receiver=0xfe1140, e=0x7fff41b21a80) at kernel/qapplication.cpp:3155
#23 0x00007f1891773b05 in QCoreApplication::notifyInternal (this=0x7fff41b21e80, receiver=receiver@entry=0xfe1140, event=event@entry=0x7fff41b21a80) at kernel/qcoreapplication.cpp:940
#24 0x00007f1891aa6f4b in sendSpontaneousEvent (event=0x7fff41b21a80, receiver=0xfe1140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:239
#25 QGuiApplicationPrivate::processKeyEvent (e=0x18fc470) at kernel/qguiapplication.cpp:1883
#26 0x00007f1891aab2f5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x18fc470) at kernel/qguiapplication.cpp:1587
#27 0x00007f1891a91d68 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:579
#28 0x00007f18838c49c0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:78
#29 0x00007f188b737884 in g_main_dispatch (context=0x7f187c001e00) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3064
#30 g_main_context_dispatch (context=context@entry=0x7f187c001e00) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3663
#31 0x00007f188b737ac8 in g_main_context_iterate (context=context@entry=0x7f187c001e00, 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
#32 0x00007f188b737b6c in g_main_context_iteration (context=0x7f187c001e00, may_block=1) at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/glib/gmain.c:3795
#33 0x00007f18917cac0c in QEventDispatcherGlib::processEvents (this=0xf11550, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#34 0x00007f1891771a4b in QEventLoop::exec (this=this@entry=0x7fff41b21d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#35 0x00007f1891779096 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1193
#36 0x00007f1891aa245c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1515
#37 0x00007f189202fd25 in QApplication::exec () at kernel/qapplication.cpp:2964
#38 0x00007f189497d6d7 in kdemain (argc=1, argv=0x7fff41b21fc8) at /var/tmp/portage/kde-base/konsole-9999/work/konsole-9999/src/main.cpp:84
#39 0x00007f18945d2e75 in __libc_start_main (main=0x400860 <main(int, char**)>, argc=1, argv=0x7fff41b21fc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff41b21fb8) at libc-start.c:285
#40 0x0000000000400891 in _start ()
Comment 1 Kurt Hindenburg 2014-09-17 13:31:58 UTC
It works here w/ Qt 5.3.2
Comment 2 Elias Probst 2014-09-17 14:53:16 UTC
(In reply to Kurt Hindenburg from comment #1)
> It works here w/ Qt 5.3.2

I believe I also saw this only happening since upgrading to Qt 5.4.0 alpha.