Bug 381275 - Segmentation fault on file editing
Summary: Segmentation fault on file editing
Status: RESOLVED DUPLICATE of bug 339894
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-06-16 12:13 UTC by qiray
Modified: 2017-06-16 12:27 UTC (History)
1 user (show)

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 qiray 2017-06-16 12:13:40 UTC
Application: kate (3.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.18.5-201.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
Kate fails sometimes when I edit a file. I have session with 10-20 opened docs at hte smae time (if this info is useful).

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f1b8eb8e880 (LWP 11671))]

Thread 4 (Thread 0x7f1b7f707700 (LWP 11674)):
#0  0x0000003556c0c590 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000328419a49a in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQtScript.so.4
#2  0x000000328419a4c9 in  () at /lib64/libQtScript.so.4
#3  0x0000003556c0752a in start_thread (arg=0x7f1b7f707700) at pthread_create.c:310
#4  0x000000355690022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1af42ba700 (LWP 11675)):
#0  0x00000035568f4c8d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003559049e24 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x0000003559049f3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x0000003279db557e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x0000003279d84d81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x0000003279d850e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x0000003279c79bb9 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x0000003279d656e3 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#8  0x0000003279c7c41f in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#9  0x0000003556c0752a in start_thread (arg=0x7f1af42ba700) at pthread_create.c:310
#10 0x000000355690022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1af2f3a700 (LWP 12809)):
#0  0x0000003559049470 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#1  0x0000003559049d4b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x0000003559049f3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x0000003279db557e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#4  0x0000003279d84d81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#5  0x0000003279d850e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#6  0x0000003279c79bb9 in QThread::exec() () at /lib64/libQtCore.so.4
#7  0x0000003279d656e3 in QInotifyFileSystemWatcherEngine::run() () at /lib64/libQtCore.so.4
#8  0x0000003279c7c41f in QThreadPrivate::start(void*) () at /lib64/libQtCore.so.4
#9  0x0000003556c0752a in start_thread (arg=0x7f1af2f3a700) at pthread_create.c:310
#10 0x000000355690022d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1b8eb8e880 (LWP 11671)):
[KCrash Handler]
#6  0x00007f1b807de434 in KateBuffer::computeFoldingRangeForStartLine(int) () at /lib64/libkatepartinterfaces.so.4
#7  0x00007f1b8086fade in KateIconBorder::showBlock() () at /lib64/libkatepartinterfaces.so.4
#8  0x0000003279d9ad9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /lib64/libQtCore.so.4
#9  0x0000003279d9f363 in QObject::event(QEvent*) () at /lib64/libQtCore.so.4
#10 0x000000327b5c7efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#11 0x000000327b5ce958 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQtGui.so.4
#12 0x00000034a904ec6a in KApplication::notify(QObject*, QEvent*) () at /lib64/libkdeui.so.5
#13 0x0000003279d8622d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQtCore.so.4
#14 0x0000003279db7bab in QTimerInfoList::activateTimers() () at /lib64/libQtCore.so.4
#15 0x0000003279db4bc9 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQtCore.so.4
#16 0x0000003559049aeb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#17 0x0000003559049e88 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#18 0x0000003559049f3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#19 0x0000003279db555e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#20 0x000000327b66b176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtGui.so.4
#21 0x0000003279d84d81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#22 0x0000003279d850e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQtCore.so.4
#23 0x0000003279d8a7c9 in QCoreApplication::exec() () at /lib64/libQtCore.so.4
#24 0x00000034a7c06de5 in kdemain () at /lib64/libkdeinit4_kate.so
#25 0x000000355681ffe0 in __libc_start_main (main=0x400800 <main>, argc=2, argv=0x7fffa1579068, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa1579058) at libc-start.c:289
#26 0x000000000040082e in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 339894.

Possible duplicates by query: bug 362858.

Reported using DrKonqi
Comment 1 Kåre Särs 2017-06-16 12:27:03 UTC
Thanks for the report,

The bug is most probably a duplicate of 339894

Can you try a newer version?

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