[konsole] [Bug 410582] New: Kosnsole with two tabs crashes when you press ctrl+d

Patrick Silva bugzilla_noreply at kde.org
Sun Aug 4 19:19:27 BST 2019


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

            Bug ID: 410582
           Summary: Kosnsole with two tabs crashes when you press ctrl+d
           Product: konsole
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: bugseforuns at gmx.com
  Target Milestone: ---

Application: konsole (19.07.90)

Qt Version: 5.13.0
Frameworks Version: 5.60.0
Operating System: Linux 5.2.5-arch1-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

1. Open konsole
2. press ctrl+shift+t to open a new tab
2. set the second tab to readonly: "View" menu > check "Read-only"
3. switch to the first tab, open "Edit" menu > hover over "Copy input to" >
select "All tabs in current window"
4. press Ctrl-D

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f124db48800 (LWP 25384))]

Thread 4 (Thread 0x7f1244eda700 (LWP 25388)):
#0  0x00007f1251b6e415 in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007f12451d4ebc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f12451d4ab8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f1251b6857f in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f12547460e3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f124736c700 (LWP 25387)):
#0  0x00007f124f566479 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f124f5b536c in g_main_context_prepare () at
/usr/lib/libglib-2.0.so.0
#2  0x00007f124f5b59a6 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f124f5b5b51 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#4  0x00007f1252fc39bc in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7f1240000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f1252f6a5ec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7f124736bd70, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f1252d9d2f5 in QThread::exec() (this=this at entry=0x7f1252549080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f12524c5b37 in QDBusConnectionManager::run() (this=0x7f1252549080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f1252d9e520 in QThreadPrivate::start(void*) (arg=0x7f1252549080
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:360
#9  0x00007f1251b6857f in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f12547460e3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f124cd2e700 (LWP 25386)):
#0  0x00007f125473b667 in poll () at /usr/lib/libc.so.6
#1  0x00007f1251d8f630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1251d912db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f124d6f2049 in QXcbEventQueue::run() (this=0x55bc20374670) at
qxcbeventqueue.cpp:228
#4  0x00007f1252d9e520 in QThreadPrivate::start(void*) (arg=0x55bc20374670) at
thread/qthread_unix.cpp:360
#5  0x00007f1251b6857f in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f12547460e3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f124db48800 (LWP 25384)):
[KCrash Handler]
#6  0x00007f125396ac0e in QWidget::testAttribute(Qt::WidgetAttribute) const
(attribute=<optimized out>, this=<optimized out>) at
../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:873
#7  0x00007f125396ac0e in QWidget::isEnabled() const (this=0x0) at
../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:770
#8  0x00007f125396ac0e in QWidget::setFocus(Qt::FocusReason) (this=0x0,
reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:6517
#9  0x00007f1252f97b70 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff283890c0, r=0x55bc2047aa10, this=0x55bc204925a0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#10 0x00007f1252f97b70 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x55bc20403ec0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3787
#11 0x00007f1254533163 in
Konsole::TabbedViewContainer::activeViewChanged(Konsole::TerminalDisplay*)
(this=this at entry=0x55bc20403ec0, _t1=<optimized out>) at
/usr/src/debug/build/src/konsoleprivate_autogen/EWIEGA46WW/moc_ViewContainer.cpp:273
#12 0x00007f12545e392d in Konsole::TabbedViewContainer::currentTabChanged(int)
(index=0, this=0x55bc20403ec0) at
/usr/src/debug/konsole-19.07.90/src/ViewContainer.cpp:514
#13 0x00007f12545e392d in Konsole::TabbedViewContainer::currentTabChanged(int)
(this=0x55bc20403ec0, index=0) at
/usr/src/debug/konsole-19.07.90/src/ViewContainer.cpp:509
#14 0x00007f1252f97b70 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff28389210, r=0x55bc20403ec0, this=0x55bc20483200) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#15 0x00007f1252f97b70 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x55bc20403ec0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3787
#16 0x00007f1253b0934f in QTabWidget::currentChanged(int) (this=<optimized
out>, _t1=<optimized out>) at .moc/moc_qtabwidget.cpp:326
#17 0x00007f1253b0b92a in QTabWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at widgets/qtabwidget.h:175
#18 0x00007f1252f97a11 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x55bc2047cf40, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3807
#19 0x00007f1253ae92af in QTabBar::currentChanged(int)
(this=this at entry=0x55bc2047cf40, _t1=<optimized out>, _t1 at entry=0) at
.moc/moc_qtabbar.cpp:338
#20 0x00007f1253aeda61 in QTabBar::setCurrentIndex(int)
(this=this at entry=0x55bc2047cf40, index=0) at widgets/qtabbar.cpp:1383
#21 0x00007f1253af114c in QTabBar::removeTab(int) (this=0x55bc2047cf40,
index=index at entry=0) at widgets/qtabbar.cpp:1079
#22 0x00007f1253b0a12a in QTabWidgetPrivate::_q_removeTab(int) (this=<optimized
out>, index=0) at widgets/qtabwidget.cpp:763
#23 0x00007f1253b0b89e in QTabWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at widgets/qtabwidget.h:175
#24 0x00007f1252f97a11 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x55bc2047a940, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3807
#25 0x00007f1253ae6d82 in QStackedWidget::widgetRemoved(int) (this=<optimized
out>, _t1=<optimized out>) at .moc/moc_qstackedwidget.cpp:226
#26 0x00007f1253ae707e in QStackedWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at .moc/moc_qstackedwidget.cpp:102
#27 0x00007f1252f97a11 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x55bc2047a880, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3807
#28 0x00007f125395387f in QStackedLayout::widgetRemoved(int)
(this=this at entry=0x55bc2047a880, _t1=<optimized out>, _t1 at entry=0) at
.moc/moc_qstackedlayout.cpp:220
#29 0x00007f12539544bd in QStackedLayout::takeAt(int) (this=0x55bc2047a880,
index=0) at kernel/qstackedlayout.cpp:280
#30 0x00007f125394ef1e in QLayout::removeWidget(QWidget*) (this=0x55bc2047a880,
widget=0x55bc2083b2f0) at kernel/qlayout.cpp:1393
#31 0x00007f12545e123e in Konsole::TabbedViewContainer::viewDestroyed(QObject*)
(this=0x55bc20403ec0, view=0x55bc2083b2f0) at
/usr/src/debug/konsole-19.07.90/src/ViewContainer.cpp:397
#32 0x00007f1252f97b70 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7fff28389900, r=0x55bc20403ec0, this=0x55bc20825c20) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#33 0x00007f1252f97b70 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x55bc2083b2f0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3787
#34 0x00007f1252f980c0 in QObject::destroyed(QObject*)
(this=this at entry=0x55bc2083b2f0, _t1=<optimized out>, _t1 at entry=0x55bc2083b2f0)
at .moc/moc_qobject.cpp:219
#35 0x00007f125396c33c in QWidget::~QWidget() (this=0x55bc2083b2f0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1674
#36 0x00007f125453a0b2 in Konsole::ViewSplitter::~ViewSplitter()
(this=0x55bc2083b2f0, __in_chrg=<optimized out>) at
/usr/src/debug/build/src/konsoleprivate_autogen/EWIEGA46WW/../../../../konsole-19.07.90/src/ViewSplitter.h:53
#37 0x00007f125453a0b2 in Konsole::ViewSplitter::~ViewSplitter()
(this=0x55bc2083b2f0, __in_chrg=<optimized out>) at
/usr/src/debug/build/src/konsoleprivate_autogen/EWIEGA46WW/../../../../konsole-19.07.90/src/ViewSplitter.h:53
#38 0x00007f1252f98261 in QObject::event(QEvent*)
(this=this at entry=0x55bc2083b2f0, e=e at entry=0x55bc206a2be0) at
kernel/qobject.cpp:1251
#39 0x00007f1253970c5b in QWidget::event(QEvent*) (this=0x55bc2083b2f0,
event=0x55bc206a2be0) at kernel/qwidget.cpp:9390
#40 0x00007f125392d4d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this at entry=0x55bc2034ed70, receiver=receiver at entry=0x55bc2083b2f0,
e=e at entry=0x55bc206a2be0) at kernel/qapplication.cpp:3740
#41 0x00007f1253936a21 in QApplication::notify(QObject*, QEvent*)
(this=0x55bc2034eb70, receiver=0x55bc2083b2f0, e=0x55bc206a2be0) at
kernel/qapplication.cpp:3486
#42 0x00007f1252f6b9c2 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55bc2083b2f0, event=0x55bc206a2be0) at
../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#43 0x00007f1252f6e739 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55bc2034e180) at
kernel/qcoreapplication.cpp:1810
#44 0x00007f1252fc43a4 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55bc203b2640) at kernel/qeventdispatcher_glib.cpp:277
#45 0x00007f124f5b3cf4 in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#46 0x00007f124f5b5b11 in  () at /usr/lib/libglib-2.0.so.0
#47 0x00007f124f5b5b51 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#48 0x00007f1252fc39a3 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55bc203b2ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#49 0x00007f1252f6a5ec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7fff28389fc0, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#50 0x00007f1252f72326 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#51 0x00007f12533034ce in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1788
#52 0x00007f125392d446 in QApplication::exec() () at
kernel/qapplication.cpp:2896
#53 0x00007f125483b3f8 in kdemain(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /usr/src/debug/konsole-19.07.90/src/main.cpp:212
#54 0x00007f1254670ee3 in __libc_start_main () at /usr/lib/libc.so.6
#55 0x000055bc1ebda05e in _start ()
[Inferior 1 (process 25384) detached]

Reported using DrKonqi

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


More information about the konsole-devel mailing list