Bug 280224 - Kate Crashed Sitting Idle
Summary: Kate Crashed Sitting Idle
Status: RESOLVED DUPLICATE of bug 265426
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: 2011-08-16 21:35 UTC by Roland
Modified: 2011-08-17 15:34 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 Roland 2011-08-16 21:35:05 UTC
Application: kate (3.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

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

I had been editing some code but had left Kate open while I focused elsewhere momentarily.  My code was unsaved but successfully recovered when I restarted Kate.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fba99c36780 (LWP 15177))]

Thread 4 (Thread 0x7fba82807700 (LWP 15178)):
#0  0x00007fba96c1b3c4 in __pthread_mutex_lock (mutex=0x192d908) at pthread_mutex_lock.c:61
#1  0x00007fba9674d624 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba974f2446 in QEventDispatcherGlib::processEvents (this=0x1928a40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007fba974c6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fba974c6abc in QEventLoop::exec (this=0x7fba82806dd0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007fba973dd924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#6  0x00007fba974a8c2f in QInotifyFileSystemWatcherEngine::run (this=0x192b260) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007fba973e0175 in QThreadPrivate::start (arg=0x192b260) at thread/qthread_unix.cpp:320
#8  0x00007fba96c18d8c in start_thread (arg=0x7fba82807700) at pthread_create.c:304
#9  0x00007fba9959d04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fba81eb9700 (LWP 15179)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fba87a2f2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fba87d48180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fba87a2f2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fba87d56254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fba96c18d8c in start_thread (arg=0x7fba81eb9700) at pthread_create.c:304
#4  0x00007fba9959d04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fba7f9d7700 (LWP 453)):
#0  0x00007fba96c1cd9d in __pthread_mutex_unlock_usercnt (mutex=0x1c669f8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1c669f8) at pthread_mutex_unlock.c:290
#2  0x00007fba9674d13a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fba9674d639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fba974f2446 in QEventDispatcherGlib::processEvents (this=0x1bfd400, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fba974c6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fba974c6abc in QEventLoop::exec (this=0x7fba7f9d6dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fba973dd924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fba974a8c2f in QInotifyFileSystemWatcherEngine::run (this=0x1c930a0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fba973e0175 in QThreadPrivate::start (arg=0x1c930a0) at thread/qthread_unix.cpp:320
#10 0x00007fba96c18d8c in start_thread (arg=0x7fba7f9d7700) at pthread_create.c:304
#11 0x00007fba9959d04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fba99c36780 (LWP 15177)):
[KCrash Handler]
#6  0x00007fba88017b28 in Kate::TextBuffer::rangesForLine (this=<value optimized out>, line=2000, view=0x23a0290, rangesWithAttributeOnly=false) at ../../kate/buffer/katetextbuffer.cpp:752
#7  0x00007fba880eabae in KateView::updateRangesIn (this=0x23a0290, activationType=KTextEditor::Attribute::ActivateMouseIn) at ../../kate/view/kateview.cpp:2767
#8  0x00007fba880fe439 in KateViewInternal::mouseMoveEvent (this=0x23cfe80, e=0x7fff090d5b20) at ../../kate/view/kateviewinternal.cpp:2708
#9  0x00007fba98a24cec in QWidget::event (this=0x23cfe80, event=0x7fff090d5b20) at kernel/qwidget.cpp:8244
#10 0x00007fba989d39e4 in QApplicationPrivate::notify_helper (this=0xe4c670, receiver=0x23cfe80, e=0x7fff090d5b20) at kernel/qapplication.cpp:4462
#11 0x00007fba989d8db3 in QApplication::notify (this=<value optimized out>, receiver=0x23cfe80, e=0x7fff090d5b20) at kernel/qapplication.cpp:4023
#12 0x00007fba97cae866 in KApplication::notify (this=0x7fff090d6820, receiver=0x23cfe80, event=0x7fff090d5b20) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007fba974c749c in QCoreApplication::notifyInternal (this=0x7fff090d6820, receiver=0x23cfe80, event=0x7fff090d5b20) at kernel/qcoreapplication.cpp:731
#14 0x00007fba989d4a0d in sendEvent (receiver=0x23cfe80, event=0x7fff090d5b20, alienWidget=0x23cfe80, nativeWidget=0x2123040, buttonDown=0x7fba994b4218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QApplicationPrivate::sendMouseEvent (receiver=0x23cfe80, event=0x7fff090d5b20, alienWidget=0x23cfe80, nativeWidget=0x2123040, buttonDown=0x7fba994b4218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#16 0x00007fba98a54600 in QETWidget::translateMouseEvent (this=0x2123040, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#17 0x00007fba98a5304a in QApplication::x11ProcessEvent (this=0x7fff090d6820, event=0x7fff090d6470) at kernel/qapplication_x11.cpp:3678
#18 0x00007fba98a7b162 in x11EventSourceDispatch (s=0xe4bcd0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#19 0x00007fba9674cbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fba9674d3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fba9674d639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fba974f23ef in QEventDispatcherGlib::processEvents (this=0xdf2340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#23 0x00007fba98a7adfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007fba974c6882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007fba974c6abc in QEventLoop::exec (this=0x7fff090d6770, flags=...) at kernel/qeventloop.cpp:201
#26 0x00007fba974caecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#27 0x00007fba99852295 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#28 0x00007fba994d5eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=2, ubp_av=0x7fff090d7d58, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff090d7d48) at libc-start.c:226
#29 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-08-17 07:46:07 UTC
Hi Roland, did you have folded code?
Comment 2 Roland 2011-08-17 10:20:41 UTC
(In reply to comment #1)
> Hi Roland, did you have folded code?

no - All code was unfolded C code.
Comment 3 Dominik Haumann 2011-08-17 15:34:07 UTC
Ok, we had several other similar crashes. And also a possible fix for it in KDE 4.8. However, we cannot say for sure it's fixed, since we do not have a way to reproduce here.
I'll close this report. But if you still get crashes in KDE 4.8 (to be released in ~half a year), please report the crash again!

You can also use the very stable(!) development version: http://kate-editor.org/get-it/

At least, your data was recovered :-)

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