Bug 378525 - Crash on aborting logout
Summary: Crash on aborting logout
Status: RESOLVED WORKSFORME
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.6.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-07 07:39 UTC by Con Kolivas
Modified: 2020-12-02 06:43 UTC (History)
1 user (show)

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 Con Kolivas 2017-04-07 07:39:11 UTC
Application: konversation (1.6.1)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.10.0-ck1 x86_64
Distribution: Ubuntu 16.10

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

I was logging out of kde and an unsaved file was in kate and I cancelled the shutdown. After that konversation only showed a logfile that I had open instead of any of its channels. I shut down konversation and started it again only to find the logfile only again. When I closed the window a second time it crashed.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f145f6a78c0 (LWP 1832))]

Thread 4 (Thread 0x7f1455a45700 (LWP 1863)):
#0  0x00007f146abd30bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f146741c9d6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f1448002e70, timeout=<optimized out>, context=0x7f1448000990) at ././glib/gmain.c:4228
#2  0x00007f146741c9d6 in g_main_context_iterate (context=context@entry=0x7f1448000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
#3  0x00007f146741caec in g_main_context_iteration (context=0x7f1448000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007f146b80a4ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f14480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f146b7b20fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f1455a44d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f146b5d7d43 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:500
#7  0x00007f146b5dcc68 in QThreadPrivate::start(void*) (arg=0x5620adbc72c0) at thread/qthread_unix.cpp:341
#8  0x00007f14695156ca in start_thread (arg=0x7f1455a45700) at pthread_create.c:333
#9  0x00007f146abdf0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7f14572f3700 (LWP 1855)):
#0  0x00007ffe85d1d931 in  ()
#1  0x00007ffe85d1dbc9 in clock_gettime ()
#2  0x00007f146abed846 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f14572f2a30) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007f146b688726 in qt_clock_gettime (ts=0x7f14572f2a30, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#4  0x00007f146b688726 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#5  0x00007f146b688726 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:165
#6  0x00007f146b808039 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f1450002ed0) at kernel/qtimerinfo_unix.cpp:84
#7  0x00007f146b8085e5 in QTimerInfoList::timerWait(timespec&) (this=0x7f1450002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#8  0x00007f146b80999e in timerSourcePrepareHelper (timeout=0x7f14572f2b04, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#9  0x00007f146b80999e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f14572f2b04) at kernel/qeventdispatcher_glib.cpp:159
#10 0x00007f146741bed9 in g_main_context_prepare (context=context@entry=0x7f1450000990, priority=priority@entry=0x7f14572f2b90) at ././glib/gmain.c:3501
#11 0x00007f146741c8fb in g_main_context_iterate (context=context@entry=0x7f1450000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3909
#12 0x00007f146741caec in g_main_context_iteration (context=0x7f1450000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#13 0x00007f146b80a4ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f14500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#14 0x00007f146b7b20fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f14572f2cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#15 0x00007f146b5d7d43 in QThread::exec() (this=this@entry=0x7f146ba90d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#16 0x00007f146ba1c575 in QDBusConnectionManager::run() (this=0x7f146ba90d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:171
#17 0x00007f146b5dcc68 in QThreadPrivate::start(void*) (arg=0x7f146ba90d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#18 0x00007f14695156ca in start_thread (arg=0x7f14572f3700) at pthread_create.c:333
#19 0x00007f146abdf0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f145cb40700 (LWP 1844)):
#0  0x00007f146abd30bd in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f1467f9cc62 in poll (__timeout=-1, __nfds=1, __fds=0x7f145cb3fc00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007f1467f9cc62 in _xcb_conn_wait (c=c@entry=0x5620adb16690, cond=cond@entry=0x5620adb166d0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007f1467f9e8d7 in xcb_wait_for_event (c=0x5620adb16690) at ../../src/xcb_in.c:693
#4  0x00007f145f097299 in QXcbEventReader::run() (this=0x5620adb20d20) at qxcbconnection.cpp:1325
#5  0x00007f146b5dcc68 in QThreadPrivate::start(void*) (arg=0x5620adb20d20) at thread/qthread_unix.cpp:341
#6  0x00007f14695156ca in start_thread (arg=0x7f145cb40700) at pthread_create.c:333
#7  0x00007f146abdf0af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f145f6a78c0 (LWP 1832)):
[KCrash Handler]
#6  0x00007f146c330420 in QTabWidget::currentIndex() const (this=0x0) at widgets/qtabwidget.cpp:653
#7  0x00005620ab45c1c9 in ViewContainer::closeCurrentView() ()
#8  0x00005620ab526a69 in  ()
#9  0x00007f146b7e1b49 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x5620add2cb10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe85c0bf00) at kernel/qobject.cpp:3730
#10 0x00007f146b7e20f7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5620add2cb10, m=m@entry=0x7f146c67a700 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe85c0bf00) at kernel/qobject.cpp:3595
#11 0x00007f146c279802 in QAbstractButton::clicked(bool) (this=this@entry=0x5620add2cb10, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:307
#12 0x00007f146c279a54 in QAbstractButtonPrivate::emitClicked() (this=0x5620adca36a0) at widgets/qabstractbutton.cpp:404
#13 0x00007f146c27ac17 in QAbstractButtonPrivate::click() (this=0x5620adca36a0) at widgets/qabstractbutton.cpp:397
#14 0x00007f146c27adf4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x5620add2cb10, e=0x7ffe85c0c420) at widgets/qabstractbutton.cpp:1002
#15 0x00007f146c34870a in QToolButton::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:611
#16 0x00007f146c1c0498 in QWidget::event(QEvent*) (this=0x5620add2cb10, event=0x7ffe85c0c420) at kernel/qwidget.cpp:9127
#17 0x00007f146c27c061 in QAbstractButton::event(QEvent*) (this=this@entry=0x5620add2cb10, e=e@entry=0x7ffe85c0c420) at widgets/qabstractbutton.cpp:959
#18 0x00007f146c3487e9 in QToolButton::event(QEvent*) (this=0x5620add2cb10, event=0x7ffe85c0c420) at widgets/qtoolbutton.cpp:977
#19 0x00007f146c17a8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5620add2cb10, e=0x7ffe85c0c420) at kernel/qapplication.cpp:3804
#20 0x00007f146c180c07 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5620add2cb10, e=0x7ffe85c0c420) at kernel/qapplication.cpp:3277
#21 0x00007f146b7b43b0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x5620add2cb10, event=event@entry=0x7ffe85c0c420) at kernel/qcoreapplication.cpp:1015
#22 0x00007f146c17f2d5 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#23 0x00007f146c17f2d5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x5620add2cb10, event=event@entry=0x7ffe85c0c420, alienWidget=alienWidget@entry=0x5620add2cb10, nativeWidget=0x5620adc29a30, buttonDown=buttonDown@entry=0x7f146c6a4cf0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2775
#24 0x00007f146c1daad6 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x5620addb2020, event=event@entry=0x7ffe85c0c830) at kernel/qwidgetwindow.cpp:603
#25 0x00007f146c1dd6d3 in QWidgetWindow::event(QEvent*) (this=0x5620addb2020, event=0x7ffe85c0c830) at kernel/qwidgetwindow.cpp:233
#26 0x00007f146c17a8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5620addb2020, e=0x7ffe85c0c830) at kernel/qapplication.cpp:3804
#27 0x00007f146c17fd4f in QApplication::notify(QObject*, QEvent*) (this=0x7ffe85c0cd20, receiver=0x5620addb2020, e=0x7ffe85c0c830) at kernel/qapplication.cpp:3561
#28 0x00007f146b7b43b0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=receiver@entry=0x5620addb2020, event=event@entry=0x7ffe85c0c830) at kernel/qcoreapplication.cpp:1015
#29 0x00007f146bb925f3 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (event=0x7ffe85c0c830, receiver=0x5620addb2020) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#30 0x00007f146bb925f3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x5620af20e730) at kernel/qguiapplication.cpp:1872
#31 0x00007f146bb93e05 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x5620af20e730) at kernel/qguiapplication.cpp:1656
#32 0x00007f146bb71b2b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:648
#33 0x00007f145f0cd660 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#34 0x00007f146741c7d7 in g_main_dispatch (context=0x7f14580016f0) at ././glib/gmain.c:3203
#35 0x00007f146741c7d7 in g_main_context_dispatch (context=context@entry=0x7f14580016f0) at ././glib/gmain.c:3856
#36 0x00007f146741ca40 in g_main_context_iterate (context=context@entry=0x7f14580016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#37 0x00007f146741caec in g_main_context_iteration (context=0x7f14580016f0, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#38 0x00007f146b80a48f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5620adb53730, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#39 0x00007f146b7b20fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe85c0cbd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#40 0x00007f146b7ba90c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#41 0x00005620ab35ecc2 in main ()

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-02 06:39:15 UTC
Thank you for the report, Con.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 2 Con Kolivas 2020-12-02 06:43:51 UTC
Been a long time since I've seen this so I'm assuming it's been since fixed.