Bug 337466 - kile crashes and throws segfault error while typing
Summary: kile crashes and throws segfault error while typing
Status: RESOLVED DUPLICATE of bug 335755
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 14:16 UTC by saaker
Modified: 2014-07-24 10:54 UTC (History)
2 users (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 saaker 2014-07-15 14:16:48 UTC
Kile crashes every time I run it. The crash happens when I type something. It happens after typing no more than first 15 characters.

Application: kile (2.9.60)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.15.5-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:

The crash can be reproduced every time.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7feffc5487c0 (LWP 1569))]

Thread 7 (Thread 0x7fefe534e700 (LWP 1570)):
#0  0x00007feff919ab2f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007feff94283a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x0000000000645208 in ?? ()
#3  0x00007feff9427ebf in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007feff9196124 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007feff7a7f4bd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fefe4b4d700 (LWP 1571)):
#0  0x00007feff919ab2f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007feff94283a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x0000000000645208 in ?? ()
#3  0x00007feff9427ebf in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007feff9196124 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007feff7a7f4bd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fefde799700 (LWP 1572)):
#0  0x00007feff375f710 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007feff371d419 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007feff371dc83 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007feff371de6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007feff95572c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007feff952915f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007feff9529455 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007feff94257ef in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007feff950a943 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007feff9427ebf in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007feff9196124 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007feff7a7f4bd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fefd3fff700 (LWP 1576)):
#0  0x00007feff919ab2f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007feffacacfab in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007feffacacfe9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007feff9196124 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007feff7a7f4bd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fefd27cd700 (LWP 1581)):
#0  0x00007fffb77feb87 in ?? ()
#1  0x00007fefd27ccb50 in ?? ()
#2  0x00000002f952f5b7 in ?? ()
#3  0x00007fef48002f20 in ?? ()
#4  0x00007fefd27ccbd8 in ?? ()
#5  0x00007fefd27ccb70 in ?? ()
#6  0x000000007fffffff in ?? ()
#7  0x00007fefd27ccbe0 in ?? ()
#8  0x00007feff7a8c4cd in clock_gettime () from /usr/lib/libc.so.6
#9  0x00007feff947c5c7 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007feff9558935 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00007feff95570fc in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007feff95571a5 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007feff371d40d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#14 0x00007feff371dc83 in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007feff371de6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007feff95572c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007feff952915f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x00007feff9529455 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007feff94257ef in QThread::exec() () from /usr/lib/libQtCore.so.4
#20 0x00007fefe5cdb3cc in KLFLatexPreviewThread::run() () from /usr/lib/libklfbackend.so.3.3
#21 0x00007feff9427ebf in ?? () from /usr/lib/libQtCore.so.4
#22 0x00007feff9196124 in start_thread () from /usr/lib/libpthread.so.0
#23 0x00007feff7a7f4bd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fef46e6e700 (LWP 1647)):
#0  0x00007feff919ab2f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007feff94283a6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007feff94244eb in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fefdc78bb37 in ?? () from /usr/lib/kde4/okularGenerator_ghostview.so
#4  0x00007feff9427ebf in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007feff9196124 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007feff7a7f4bd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7feffc5487c0 (LWP 1569)):
[KCrash Handler]
#5  0x00007fefe5f153da in ?? () from /usr/lib/kde4/ktexteditor_klf.so
#6  0x00007fefe5f0f1d4 in ?? () from /usr/lib/kde4/ktexteditor_klf.so
#7  0x00007feff953e30a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#8  0x00007feffb24a507 in KTextEditor::View::cursorPositionChanged(KTextEditor::View*, KTextEditor::Cursor const&) () from /usr/lib/libktexteditor.so.4
#9  0x00007fefe677c1e9 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#10 0x00007fefe677e210 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#11 0x00007fefe66ef0d6 in KateDocument::editEnd() () from /usr/lib/libkatepartinterfaces.so.4
#12 0x00007fefe66f37d9 in KateDocument::typeChars(KateView*, QString const&) () from /usr/lib/libkatepartinterfaces.so.4
#13 0x00007fefe67788f0 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#14 0x00007fefe677e427 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#15 0x00007feff952a6f6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007feff8430eec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007feff8438741 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007feff9fc842a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007feff952a58d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007feff84cb3f7 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007feff84cb799 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007feff84a771f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007feff84cdf02 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007feff371db84 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007feff371ddc8 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007feff371de6c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0x00007feff95572a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007feff84cdfb6 in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007feff952915f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007feff9529455 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007feff952e719 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x000000000043bbe5 in ?? ()
#33 0x00007feff79b6000 in __libc_start_main () from /usr/lib/libc.so.6
#34 0x000000000043e6f5 in _start ()
Comment 1 Christoph Feck 2014-07-15 15:47:47 UTC
Crash is in the KLatexFormula plugin. Can you confirm that disabling that plugin resolves the issue?
Comment 2 saaker 2014-07-15 16:29:07 UTC
(In reply to Christoph Feck from comment #1)
> Crash is in the KLatexFormula plugin. Can you confirm that disabling that
> plugin resolves the issue?

Well it seems that disabling KLatexFormula did the trick. Kile doesn't crash anymore. Thanks for help.
Comment 3 Christoph Feck 2014-07-20 00:58:32 UTC
Can you try updating to KLatexFormula 3.2.10? It should fix this crash.

*** This bug has been marked as a duplicate of bug 335755 ***
Comment 4 saaker 2014-07-24 10:54:44 UTC
With klatexformula 3.2.10 kile works fine.