Bug 369022 - When a file that has a single line larger than the limits gets changed, Kwrite crashes
Summary: When a file that has a single line larger than the limits gets changed, Kwrit...
Status: RESOLVED DUPLICATE of bug 366493
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-19 03:34 UTC by Giampaolo
Modified: 2016-09-30 18:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giampaolo 2016-09-19 03:34:14 UTC
Application: kwrite (15.12.3)

Qt Version: 5.6.1
Frameworks Version: 5.25.0
Operating System: Linux 4.7.3-100.fc23.x86_64+debug x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:
Activated an instance of Kwriter where a file that had a large single line was open. 
Modification by some other application always led to the classic pop up requesting for a choice to reload/overwrite/ignore/etc, and the choice to reload caused a crash.
Always reproductible.

The crash can be reproduced every time.

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4296c4c8c0 (LWP 11414))]

Thread 6 (Thread 0x7f427a9d6700 (LWP 11415)):
#0  0x00007f429363db7d in poll () at /lib64/libc.so.6
#1  0x00007f428bd41272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f428bd42ee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f427dfca039 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f429425c00c in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f429119e61a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f42936495fd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f427228e700 (LWP 11416)):
#0  0x00007f429363db7d in poll () at /lib64/libc.so.6
#1  0x00007f428ff2918c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f428ff2929c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f4294446b5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f42943f725a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f4294257bd4 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f429464c675 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f429425c00c in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f429119e61a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f42936495fd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f426a336700 (LWP 11418)):
#0  0x00007f429363976d in read () at /lib64/libc.so.6
#1  0x00007f428ff6c3f0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f428ff28c84 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f428ff29130 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f428ff2929c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f428ff292d9 in glib_worker_main () at /lib64/libglib-2.0.so.0
#6  0x00007f428ff4f8e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#7  0x00007f429119e61a in start_thread () at /lib64/libpthread.so.0
#8  0x00007f42936495fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f4269b35700 (LWP 11419)):
#0  0x00007f429363db7d in poll () at /lib64/libc.so.6
#1  0x00007f428ff2918c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f428ff29512 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f427acbf516 in gdbus_shared_thread_func () at /lib64/libgio-2.0.so.0
#4  0x00007f428ff4f8e5 in g_thread_proxy () at /lib64/libglib-2.0.so.0
#5  0x00007f429119e61a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f42936495fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f425bfff700 (LWP 11420)):
#0  0x00007f42911a3b20 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f426399fe43 in radeon_drm_cs_emit_ioctl () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f426399f597 in impl_thrd_routine () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f429119e61a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f42936495fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f4296c4c8c0 (LWP 11414)):
[KCrash Handler]
#6  0x00007f42985b6108 in KateMessageWidget::postMessage(KTextEditor::Message*, QList<QSharedPointer<QAction> >) () at /lib64/libKF5TextEditor.so.5
#7  0x00007f429858aa4c in KTextEditor::ViewPrivate::postMessage(KTextEditor::Message*, QList<QSharedPointer<QAction> >) () at /lib64/libKF5TextEditor.so.5
#8  0x00007f42984fea11 in KTextEditor::DocumentPrivate::postMessage(KTextEditor::Message*) () at /lib64/libKF5TextEditor.so.5
#9  0x00007f429850c172 in KTextEditor::DocumentPrivate::openFile() () at /lib64/libKF5TextEditor.so.5
#10 0x00007f4297d5edb1 in KParts::ReadOnlyPartPrivate::openLocalFile() () at /lib64/libKF5Parts.so.5
#11 0x00007f4297d5fc44 in KParts::ReadOnlyPart::openUrl(QUrl const&) () at /lib64/libKF5Parts.so.5
#12 0x00007f42984f6f0e in KTextEditor::DocumentPrivate::openUrl(QUrl const&) () at /lib64/libKF5TextEditor.so.5
#13 0x00007f42984f71c2 in KTextEditor::DocumentPrivate::documentReload() () at /lib64/libKF5TextEditor.so.5
#14 0x00007f429850c9ff in KTextEditor::DocumentPrivate::slotModifiedOnDisk(KTextEditor::View*) () at /lib64/libKF5TextEditor.so.5
#15 0x00007f42986834f5 in KTextEditor::DocumentPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libKF5TextEditor.so.5
#16 0x00007f429441f7f8 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#17 0x00007f4298679bdf in KTextEditor::View::focusIn(KTextEditor::View*) () at /lib64/libKF5TextEditor.so.5
#18 0x00007f4294f79bdf in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007f4294f3410c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#20 0x00007f4294f39646 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#21 0x00007f42943f83ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#22 0x00007f4294f37416 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () at /lib64/libQt5Widgets.so.5
#23 0x00007f4294f73fed in QWidget::setFocus(Qt::FocusReason) () at /lib64/libQt5Widgets.so.5
#24 0x00007f4294f379a5 in QApplication::setActiveWindow(QWidget*) () at /lib64/libQt5Widgets.so.5
#25 0x00007f4294f37a33 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () at /lib64/libQt5Widgets.so.5
#26 0x00007f42949dc7c5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () at /lib64/libQt5Gui.so.5
#27 0x00007f42949dca9d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#28 0x00007f42949bd55b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#29 0x00007f427e0005b0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#30 0x00007f428ff28e5a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#31 0x00007f428ff291f0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#32 0x00007f428ff2929c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#33 0x00007f4294446b3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#34 0x00007f42943f725a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#35 0x00007f42943febdc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#36 0x000055d12b9d97f5 in main ()

Possible duplicates by query: bug 366493.

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-09-30 18:50:20 UTC
This is fixed with KDE Frameworks 5.26, and for all notifications fixed in KDE Frameworks 5.27.

Sorry for this inconvenience!

*** This bug has been marked as a duplicate of bug 366493 ***