Bug 361481 - Attach tmux, type command and press enter, crash.
Summary: Attach tmux, type command and press enter, crash.
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 15.08.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-07 01:59 UTC by Dan Stahlke
Modified: 2018-12-02 03:46 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 Dan Stahlke 2016-04-07 01:59:24 UTC
Application: konsole (15.08.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-34-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
Opened Konsole.  Did "tmux -2 attach".  Typed a command and pressed enter.  Crashed as soon as "enter" pressed.

This happens maybe 10% of the time.  Always on the first "enter" after attaching tmux.

On a side note, Konsole crashes every time I close my laptop lid because of QTBUG-42985.  That's why I have to restart and "tmux -2 attach" so often.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb6e3be7840 (LWP 2319))]

Thread 2 (Thread 0x7fb6cfc3f700 (LWP 2320)):
#0  0x00007fb6e36c188d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb6dc240bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb6dc24274f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb6d1b66a39 in QXcbEventReader::run (this=0x235bc70) at qxcbconnection.cpp:1105
#4  0x00007fb6e00d02be in QThreadPrivate::start (arg=0x235bc70) at thread/qthread_unix.cpp:337
#5  0x00007fb6dbc146aa in start_thread (arg=0x7fb6cfc3f700) at pthread_create.c:333
#6  0x00007fb6e36cce9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb6e3be7840 (LWP 2319)):
[KCrash Handler]
#6  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:962
#8  QWidget::d_func (this=0x0) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:121
#9  QWidgetBackingStore::markDirtyOnScreen (this=0x23997c0, region=..., widget=0x2606b70, topLevelOffset=...) at kernel/qwidgetbackingstore.cpp:688
#10 0x00007fb6e0b8dd47 in QWidgetPrivate::scrollRect (this=this@entry=0x25bd3d0, rect=..., dx=dx@entry=0, dy=dy@entry=-14) at kernel/qwidgetbackingstore.cpp:918
#11 0x00007fb6e0bab34e in QWidgetPrivate::scroll_sys (this=this@entry=0x25bd3d0, dx=dx@entry=0, dy=dy@entry=-14, r=...) at kernel/qwidget.cpp:10675
#12 0x00007fb6e0bab792 in QWidget::scroll (this=0x2606b70, dx=0, dy=-14, r=...) at kernel/qwidget.cpp:10670
#13 0x00007fb6e3351c35 in Konsole::TerminalDisplay::scrollImage(int, QRect const&) () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#14 0x00007fb6e3359c0a in Konsole::TerminalDisplay::updateImage() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#15 0x00007fb6e02e0617 in QtPrivate::QSlotObjectBase::call (a=0x7fffcef301f0, r=0x2606b70, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x261efb0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3702
#17 0x00007fb6e02e0617 in QtPrivate::QSlotObjectBase::call (a=0x7fffcef302f0, r=0x261efb0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#18 QMetaObject::activate (sender=0x251e0e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3702
#19 0x00007fb6e32f126e in Konsole::Emulation::showBulk() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.15
#20 0x00007fb6e02e0617 in QtPrivate::QSlotObjectBase::call (a=0x7fffcef30400, r=0x251e0e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#21 QMetaObject::activate (sender=sender@entry=0x251e130, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3702
#22 0x00007fb6e02e0f87 in QMetaObject::activate (sender=sender@entry=0x251e130, m=m@entry=0x7fb6e04e37c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#23 0x00007fb6e0359b10 in QTimer::timeout (this=this@entry=0x251e130) at .moc/moc_qtimer.cpp:192
#24 0x00007fb6e02ed178 in QTimer::timerEvent (this=0x251e130, e=<optimized out>) at kernel/qtimer.cpp:247
#25 0x00007fb6e02e1603 in QObject::event (this=0x251e130, e=<optimized out>) at kernel/qobject.cpp:1267
#26 0x00007fb6e0b7db8c in QApplicationPrivate::notify_helper (this=this@entry=0x234d3f0, receiver=receiver@entry=0x251e130, e=e@entry=0x7fffcef30730) at kernel/qapplication.cpp:3720
#27 0x00007fb6e0b83230 in QApplication::notify (this=0x7fffcef30ab0, receiver=0x251e130, e=0x7fffcef30730) at kernel/qapplication.cpp:3503
#28 0x00007fb6e02aff1b in QCoreApplication::notifyInternal (this=0x7fffcef30ab0, receiver=0x251e130, event=event@entry=0x7fffcef30730) at kernel/qcoreapplication.cpp:935
#29 0x00007fb6e030609d in QCoreApplication::sendEvent (event=0x7fffcef30730, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#30 QTimerInfoList::activateTimers (this=0x2378ef0) at kernel/qtimerinfo_unix.cpp:635
#31 0x00007fb6e03065a1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#32 0x00007fb6db4ddff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fb6db4de250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fb6db4de2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fb6e030727f in QEventDispatcherGlib::processEvents (this=0x237cab0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#36 0x00007fb6e02ad75a in QEventLoop::exec (this=this@entry=0x7fffcef30970, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007fb6e02b52cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#38 0x00007fb6e39b1bdb in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_konsole.so
#39 0x00007fb6e35e6a40 in __libc_start_main (main=0x400730 <main>, argc=1, argv=0x7fffcef30bf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcef30be8) at libc-start.c:289
#40 0x0000000000400769 in _start ()

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:55:07 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:40:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-12-02 03:46:54 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!