Bug 307075 - Kate crashes while folding or unfolding.
Summary: Kate crashes while folding or unfolding.
Status: RESOLVED DUPLICATE of bug 290525
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 23:20 UTC by José Tomás Atria
Modified: 2012-09-20 19:01 UTC (History)
0 users

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 José Tomás Atria 2012-09-19 23:20:31 UTC
Application: kate (3.9.1)
KDE Platform Version: 4.9.1
Qt Version: 4.8.2
Operating System: Linux 3.2.0-30-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

Kate crashes consistently after a couple of folding or unfolding operations on a text file with perl source code.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49dca32780 (LWP 6929))]

Thread 4 (Thread 0x7f49c5f14700 (LWP 6930)):
#0  0x00007f49dc36b0bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f49d94c68cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f49d948bba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49d948bfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f49d948c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f49da24e906 in QEventDispatcherGlib::processEvents (this=0x7f49c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f49da21de42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f49da21e097 in QEventLoop::exec (this=0x7f49c5f13dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f49da11d057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f49da1fdb4f in QInotifyFileSystemWatcherEngine::run (this=0x321bb90) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f49da12007b in QThreadPrivate::start (arg=0x321bb90) at thread/qthread_unix.cpp:307
#11 0x00007f49d9958e9a in start_thread (arg=0x7f49c5f14700) at pthread_create.c:308
#12 0x00007f49dc3784bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f49c5713700 (LWP 6931)):
#0  0x00007f49d94c75d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f49d948c16e in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f49da24e906 in QEventDispatcherGlib::processEvents (this=0x7f49b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007f49da21de42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f49da21e097 in QEventLoop::exec (this=0x7f49c5712dd0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f49da11d057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007f49da1fdb4f in QInotifyFileSystemWatcherEngine::run (this=0x324ed10) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f49da12007b in QThreadPrivate::start (arg=0x324ed10) at thread/qthread_unix.cpp:307
#8  0x00007f49d9958e9a in start_thread (arg=0x7f49c5713700) at pthread_create.c:308
#9  0x00007f49dc3784bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f49c4e21700 (LWP 6932)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f49ca2dc222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f49ca2dc259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f49d9958e9a in start_thread (arg=0x7f49c4e21700) at pthread_create.c:308
#4  0x00007f49dc3784bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f49dca32780 (LWP 6929)):
[KCrash Handler]
#6  0x00007f49ca8c1136 in Kate::TextBuffer::rangesForLine (this=<optimized out>, line=81, view=0x33712c0, rangesWithAttributeOnly=false) at ../../part/buffer/katetextbuffer.cpp:820
#7  0x00007f49ca9af89e in KateView::updateRangesIn (this=0x33712c0, activationType=KTextEditor::Attribute::ActivateMouseIn) at ../../part/view/kateview.cpp:2843
#8  0x00007f49ca9b9ce9 in KateViewInternal::mouseMoveEvent (this=0x337a940, e=0x7fff02be62b0) at ../../part/view/kateviewinternal.cpp:2757
#9  0x00007f49db7d2fe8 in QWidget::event (this=0x337a940, event=0x7fff02be62b0) at kernel/qwidget.cpp:8356
#10 0x00007f49db7827b4 in notify_helper (e=0x7fff02be62b0, receiver=0x337a940, this=0x2608970) at kernel/qapplication.cpp:4556
#11 QApplicationPrivate::notify_helper (this=0x2608970, receiver=0x337a940, e=0x7fff02be62b0) at kernel/qapplication.cpp:4528
#12 0x00007f49db787f2f in QApplication::notify (this=<optimized out>, receiver=0x337a940, e=0x7fff02be62b0) at kernel/qapplication.cpp:4099
#13 0x00007f49daa2b4a6 in KApplication::notify (this=0x7fff02be6fe0, receiver=0x337a940, event=0x7fff02be62b0) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f49da21f30c in QCoreApplication::notifyInternal (this=0x7fff02be6fe0, receiver=0x337a940, event=0x7fff02be62b0) at kernel/qcoreapplication.cpp:915
#15 0x00007f49db783782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QApplicationPrivate::sendMouseEvent (receiver=0x337a940, event=0x7fff02be62b0, alienWidget=0x337a940, nativeWidget=0x3395b50, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#17 0x00007f49db802b15 in QETWidget::translateMouseEvent (this=0x3395b50, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#18 0x00007f49db801ace in QApplication::x11ProcessEvent (this=0x7fff02be6fe0, event=0x7fff02be6b80) at kernel/qapplication_x11.cpp:3732
#19 0x00007f49db82b052 in x11EventSourceDispatch (s=0x26076b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007f49d948bd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f49d948c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f49d948c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f49da24e89f in QEventDispatcherGlib::processEvents (this=0x25d1b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#24 0x00007f49db82acde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f49da21de42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f49da21e097 in QEventLoop::exec (this=0x7fff02be6f20, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007f49da2233e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#28 0x00007f49dc6490d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#29 0x00007f49dc2a776d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff02be8518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff02be8508) at libc-start.c:226
#30 0x0000000000400661 in _start ()

Possible duplicates by query: bug 295092, bug 290525, bug 282385, bug 282274, bug 280224.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-09-20 00:28:20 UTC

*** This bug has been marked as a duplicate of bug 290525 ***
Comment 2 Dominik Haumann 2012-09-20 19:01:12 UTC
José, do you have a way to reproduce? If so, please attach the file and give a detailed step-by-step instruction of how to achieve the crash. This is an issue for a very long time now, but we have no hint how to reproduce. So if you can help us here, we have a chance to fix this!