Bug 392275 - Konversation crashes at shutdown when gedit has unsaved documents
Summary: Konversation crashes at shutdown when gedit has unsaved documents
Status: RESOLVED WORKSFORME
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.7.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-03-24 16:18 UTC by Sylvain
Modified: 2021-01-01 04:39 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 Sylvain 2018-03-24 16:18:34 UTC
Application: konversation (1.7.4)

Qt Version: 5.9.4
Frameworks Version: 5.42.0
Operating System: Linux 4.15.9-200.fc26.x86_64 x86_64
Distribution: "Fedora release 26 (Twenty Six)"

-- Information about the crash:
Here is the context:
gedit is open and has a document open with modifications.
I click on shutdown withing gnome-shell
gedit offers me to cancel the shutdown in order to save the modifications.
Konversation turns to a half-closed state and crashes when I try to look at its window.

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fa3a6dff940 (LWP 3299))]

Thread 5 (Thread 0x7fa3916ba700 (LWP 3606)):
#0  0x00007fa3b19420ed in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa3aaf14150 in read (__nbytes=16, __buf=0x7fa3916b9a50, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007fa3aaf14150 in g_wakeup_acknowledge (wakeup=0x55f966956f40) at gwakeup.c:210
#3  0x00007fa3aaed0088 in g_main_context_check (context=context@entry=0x7fa37c000990, max_priority=2147483647, fds=fds@entry=0x7fa37c0012d0, n_fds=n_fds@entry=1) at gmain.c:3750
#4  0x00007fa3aaed0520 in g_main_context_iterate (context=context@entry=0x7fa37c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3969
#5  0x00007fa3aaed068c in g_main_context_iteration (context=0x7fa37c000990, may_block=1) at gmain.c:4033
#6  0x00007fa3b276ea4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fa3b271c76a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#8  0x00007fa3b256d9aa in QThread::exec() () at /lib64/libQt5Core.so.5
#9  0x00007fa3b2571ec2 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007fa3b053c36d in start_thread (arg=0x7fa3916ba700) at pthread_create.c:456
#11 0x00007fa3b1952b4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7fa3920c2700 (LWP 3602)):
#0  0x00007ffc90b6bac5 in clock_gettime ()
#1  0x00007fa3b1961c36 in __GI___clock_gettime (clock_id=1, tp=0x7fa3920c1980) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fa3b276e2c1 in qt_gettime() () at /lib64/libQt5Core.so.5
#3  0x00007fa3b276ce09 in QTimerInfoList::updateCurrentTime() () at /lib64/libQt5Core.so.5
#4  0x00007fa3b276d205 in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5
#5  0x00007fa3b276e72c in timerSourcePrepareHelper(GTimerSource*, int*) () at /lib64/libQt5Core.so.5
#6  0x00007fa3b276e7ce in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#7  0x00007fa3aaecfad9 in g_main_context_prepare (context=context@entry=0x7fa388000990, priority=priority@entry=0x7fa3920c1af0) at gmain.c:3536
#8  0x00007fa3aaed04ab in g_main_context_iterate (context=context@entry=0x7fa388000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3952
#9  0x00007fa3aaed068c in g_main_context_iteration (context=0x7fa388000990, may_block=1) at gmain.c:4033
#10 0x00007fa3b276ea4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#11 0x00007fa3b271c76a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#12 0x00007fa3b256d9aa in QThread::exec() () at /lib64/libQt5Core.so.5
#13 0x00007fa3b298c659 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#14 0x00007fa3b2571ec2 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#15 0x00007fa3b053c36d in start_thread (arg=0x7fa3920c2700) at pthread_create.c:456
#16 0x00007fa3b1952b4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7fa393b47700 (LWP 3541)):
#0  0x00007fa3b1946a5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa3aaed0579 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa3840010c0, timeout=<optimized out>, context=0x55f9668b8420) at gmain.c:4271
#2  0x00007fa3aaed0579 in g_main_context_iterate (context=0x55f9668b8420, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3967
#3  0x00007fa3aaed0912 in g_main_loop_run (loop=0x55f9668ba310) at gmain.c:4168
#4  0x00007fa3975d7db6 in gdbus_shared_thread_func (user_data=0x55f9668b9d00) at gdbusprivate.c:252
#5  0x00007fa3aaef7516 in g_thread_proxy (data=0x55f966861f70) at gthread.c:784
#6  0x00007fa3b053c36d in start_thread (arg=0x7fa393b47700) at pthread_create.c:456
#7  0x00007fa3b1952b4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7fa394348700 (LWP 3540)):
#0  0x00007fa3b1946a5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa3aaed0579 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa38c0008c0, timeout=<optimized out>, context=0x55f9668aad40) at gmain.c:4271
#2  0x00007fa3aaed0579 in g_main_context_iterate (context=context@entry=0x55f9668aad40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3967
#3  0x00007fa3aaed068c in g_main_context_iteration (context=0x55f9668aad40, may_block=may_block@entry=1) at gmain.c:4033
#4  0x00007fa3aaed06d1 in glib_worker_main (data=<optimized out>) at gmain.c:5824
#5  0x00007fa3aaef7516 in g_thread_proxy (data=0x55f966861f20) at gthread.c:784
#6  0x00007fa3b053c36d in start_thread (arg=0x7fa394348700) at pthread_create.c:456
#7  0x00007fa3b1952b4f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7fa3a6dff940 (LWP 3299)):
[KCrash Handler]
#6  0x00007fa3b271d9c9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#7  0x000055f964fc5190 in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7ffc90a81190, receiver=<optimized out>) at /usr/include/qt5/QtCore/qcoreapplication.h:231
#8  0x000055f964fc5190 in ViewTree::keyPressEvent(QKeyEvent*) (this=<optimized out>, event=0x7ffc90a81190) at /usr/src/debug/konversation-1.7.4/src/viewer/viewtree.cpp:462
#9  0x00007fa3b3064f17 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#10 0x00007fa3b3105bae in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#11 0x00007fa3b310ecd3 in QAbstractScrollArea::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#12 0x00007fa3b3279ceb in QAbstractItemView::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x000055f964fc41d0 in ViewTree::event(QEvent*) (this=0x55f966b19dd0, event=0x7ffc90a81190) at /usr/src/debug/konversation-1.7.4/src/viewer/viewtree.cpp:244
#14 0x00007fa3b3025e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007fa3b302ec22 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#16 0x00007fa3b271d9e7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#17 0x00007fa3b3081faa in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007fa3b3025e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007fa3b302d6e4 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#20 0x00007fa3b271d9e7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#21 0x00007fa3b2afec00 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /lib64/libQt5Gui.so.5
#22 0x00007fa3b2b04035 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#23 0x00007fa3b2addc0b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#24 0x00007fa3a01a74e0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#25 0x00007fa3aaed0257 in g_main_dispatch (context=0x7fa3980016f0) at gmain.c:3234
#26 0x00007fa3aaed0257 in g_main_context_dispatch (context=context@entry=0x7fa3980016f0) at gmain.c:3899
#27 0x00007fa3aaed05f8 in g_main_context_iterate (context=context@entry=0x7fa3980016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3972
#28 0x00007fa3aaed068c in g_main_context_iteration (context=0x7fa3980016f0, may_block=1) at gmain.c:4033
#29 0x00007fa3b276ea2f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#30 0x00007fa3b271c76a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#31 0x00007fa3b2724e94 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#32 0x000055f964e988c0 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konversation-1.7.4/src/main.cpp:157

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-02 06:35:47 UTC
Thank you for the report.

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 Bug Janitor Service 2020-12-17 04:34:14 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 2021-01-01 04:39:36 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!