Bug 294403 - Kwrite crashed while folding/unfolding Pascal code.
Summary: Kwrite crashed while folding/unfolding Pascal code.
Status: RESOLVED DUPLICATE of bug 180082
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 02:37 UTC by z1r0un
Modified: 2012-02-19 08:30 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 z1r0un 2012-02-19 02:37:05 UTC
Application: kwrite (4.7.4 (4.7.4))
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was editing a .pas file, with code folding enabled. I noticed errors in the interpretation - kwrite claimed a block ended mid-statement, nowhere near an "end" or semicolon. I tried adding and removing blank lines before and after the erroneus block end, which usually causes kwrite to find the actual ending, and this time it crashed instead.
There was only on instance of kwrite open, though I had recently (about 5 minutes ago) closed a second, which also had difficulties folding Pascal source. Firefox, ktorrent, and vlc media player were running in background, but I doubt they had any effect. None of them were using an unusual amount of memory/processor time, AFAIK.

- Custom settings of the application:
Code folding and highlighting were on. Kwrite was maximized and tiled, if it matters. Nothing else comes to mind.

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0df6351780 (LWP 2851))]

Thread 4 (Thread 0x7f0de503b700 (LWP 2852)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0de55d3fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f0de55d4019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0df04d8efc in start_thread (arg=0x7f0de503b700) at pthread_create.c:304
#4  0x00007f0df5c9c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0de1507700 (LWP 2854)):
#0  0x00007f0df5c90773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0df0006f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0df0007429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0df375af3e in QEventDispatcherGlib::processEvents (this=0x16b1170, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0df372ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0df372eef7 in QEventLoop::exec (this=0x7f0de1506dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f0df364627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f0df3711cbf in QInotifyFileSystemWatcherEngine::run (this=0x187a850) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0df3648d05 in QThreadPrivate::start (arg=0x187a850) at thread/qthread_unix.cpp:331
#9  0x00007f0df04d8efc in start_thread (arg=0x7f0de1507700) at pthread_create.c:304
#10 0x00007f0df5c9c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0de0017700 (LWP 3742)):
#0  0x00007f0df04dc1fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1c07338) at pthread_mutex_unlock.c:290
#2  0x00007f0df0006d79 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0df0007429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0df375af3e in QEventDispatcherGlib::processEvents (this=0x1c08a40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0df372ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0df372eef7 in QEventLoop::exec (this=0x7f0de0016dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f0df364627f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f0df3711cbf in QInotifyFileSystemWatcherEngine::run (this=0x1c0dd20) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0df3648d05 in QThreadPrivate::start (arg=0x1c0dd20) at thread/qthread_unix.cpp:331
#10 0x00007f0df04d8efc in start_thread (arg=0x7f0de0017700) at pthread_create.c:304
#11 0x00007f0df5c9c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0df6351780 (LWP 2851)):
[KCrash Handler]
#6  KateCodeFoldingNode::getEnd (this=0x16fd6d0, tree=0x15d9780, end=0x7fff1d3927e0) at ../../part/syntax/katecodefolding.cpp:87
#7  0x00007f0de5ca140b in KateIconBorder::showBlock (this=0x15e03b0) at ../../part/view/kateviewhelpers.cpp:1318
#8  0x00007f0de5ca478c in KateIconBorder::qt_metacall (this=0x15e03b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff1d392a20) at ./kateviewhelpers.moc:160
#9  0x00007f0df3742eba in QMetaObject::activate (sender=0x15e0448, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#10 0x00007f0df3746789 in QObject::event (this=0x15e0448, e=<optimized out>) at kernel/qobject.cpp:1181
#11 0x00007f0df4130474 in notify_helper (e=0x7fff1d392f80, receiver=0x15e0448, this=0xd4d840) at kernel/qapplication.cpp:4486
#12 QApplicationPrivate::notify_helper (this=0xd4d840, receiver=0x15e0448, e=0x7fff1d392f80) at kernel/qapplication.cpp:4458
#13 0x00007f0df41352e1 in QApplication::notify (this=0x7fff1d393280, receiver=0x15e0448, e=0x7fff1d392f80) at kernel/qapplication.cpp:4365
#14 0x00007f0df4e45466 in KApplication::notify (this=0x7fff1d393280, receiver=0x15e0448, event=0x7fff1d392f80) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f0df372fafc in QCoreApplication::notifyInternal (this=0x7fff1d393280, receiver=0x15e0448, event=0x7fff1d392f80) at kernel/qcoreapplication.cpp:787
#16 0x00007f0df375cd62 in sendEvent (event=0x7fff1d392f80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QTimerInfoList::activateTimers (this=0xd4e860) at kernel/qeventdispatcher_unix.cpp:603
#18 0x00007f0df375a538 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#19 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#20 0x00007f0df0006a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f0df0007258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f0df0007429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f0df375aed6 in QEventDispatcherGlib::processEvents (this=0xd27f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#24 0x00007f0df41d810e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007f0df372ecf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f0df372eef7 in QEventLoop::exec (this=0x7fff1d393210, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007f0df3733789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#28 0x00007f0df5f68c61 in kdemain (argc=3, argv=<optimized out>) at ../../kwrite/kwritemain.cpp:680
#29 0x00007f0df5bdc30d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7fff1d393d68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1d393d58) at libc-start.c:226
#30 0x0000000000400661 in _start ()

This bug may be a duplicate of or related to bug 180082.

Possible duplicates by query: bug 287465, bug 280603.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-02-19 08:30:28 UTC
Please try KDE 4.8.

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