Bug 296428

Summary: Kate crashes while editing Lua source file
Product: [Applications] kate Reporter: telpe.night
Component: foldingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.2
Sentry Crash Report:

Description telpe.night 2012-03-20 11:46:52 UTC
Application: kate (3.8.1)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
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:

It was a sudden crash, as I didn't do nothing extraordinary, just editing some lua source.

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

Thread 3 (Thread 0x7f2074070700 (LWP 2146)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2074e0b042 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f2074e0b079 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f2084390efc in start_thread (arg=0x7f2074070700) at pthread_create.c:304
#4  0x00007f2086d9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f206bfff700 (LWP 2471)):
#0  0x00007f2086d88473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f2083ebef68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2083ebf429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2084c8cc06 in QEventDispatcherGlib::processEvents (this=0x11c2f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f2084c5c3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2084c5c637 in QEventLoop::exec (this=0x7f206bffedb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f2084b5c067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f2084c3c17f in QInotifyFileSystemWatcherEngine::run (this=0x1547ca0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f2084b5f08b in QThreadPrivate::start (arg=0x1547ca0) at thread/qthread_unix.cpp:298
#9  0x00007f2084390efc in start_thread (arg=0x7f206bfff700) at pthread_create.c:304
#10 0x00007f2086d9459d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f208743b7a0 (LWP 2098)):
[KCrash Handler]
#6  0x00007f20754c1750 in KateCodeFoldingTree::getLineInfo(KateLineInfo*, int) const () from /usr/lib/libkatepartinterfaces.so.4
#7  0x00007f20754eebca in ?? () from /usr/lib/libkatepartinterfaces.so.4
#8  0x00007f20862018c6 in QWidget::event (this=0x10dc780, event=0x7fffe597ac30) at kernel/qwidget.cpp:8507
#9  0x00007f20861b1104 in notify_helper (e=0x7fffe597ac30, receiver=0x10dc780, this=0xa5e270) at kernel/qapplication.cpp:4555
#10 QApplicationPrivate::notify_helper (this=0xa5e270, receiver=0x10dc780, e=0x7fffe597ac30) at kernel/qapplication.cpp:4527
#11 0x00007f20861b5f83 in QApplication::notify (this=0x7fffe597f420, receiver=0x10dc780, e=0x7fffe597ac30) at kernel/qapplication.cpp:4416
#12 0x00007f20854649a6 in KApplication::notify (this=0x7fffe597f420, receiver=0x10dc780, event=0x7fffe597ac30) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f2084c5d5fc in QCoreApplication::notifyInternal (this=0x7fffe597f420, receiver=0x10dc780, event=0x7fffe597ac30) at kernel/qcoreapplication.cpp:876
#14 0x00007f20861fd566 in sendSpontaneousEvent (event=0x7fffe597ac30, receiver=0x10dc780) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#15 QWidgetPrivate::drawWidget (this=0x10dc860, pdev=0x1b16e10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5584
#16 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0x10e5170, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#17 0x00007f20861fdf67 in QWidgetPrivate::paintSiblingsRecursive (this=0x10e5170, pdev=0x1b16e10, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5780
#18 0x00007f20861fdf67 in QWidgetPrivate::paintSiblingsRecursive (this=0x10e5170, pdev=0x1b16e10, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5780
#19 0x00007f20861fdf67 in QWidgetPrivate::paintSiblingsRecursive (this=0x10e5170, pdev=0x1b16e10, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5780
#20 0x00007f20861fdf67 in QWidgetPrivate::paintSiblingsRecursive (this=0x10e5170, pdev=0x1b16e10, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5780
#21 0x00007f20861fdf67 in QWidgetPrivate::paintSiblingsRecursive (this=0x10e5170, pdev=0x1b16e10, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5780
#22 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0x10e5170, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#23 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0x10bc850, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#24 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0x10bc850, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#25 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xe68170, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#26 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xe68170, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#27 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xe67ca0, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#28 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xe67ca0, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#29 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xe11a80, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#30 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xe11a80, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#31 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xe7e650, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#32 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xe7e650, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#33 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xe05d60, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#34 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xe05d60, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#35 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xde3ce0, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#36 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xde3ce0, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#37 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xde2e60, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#38 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xde2e60, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#39 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xe09960, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#40 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xe09960, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#41 0x00007f20861fe1df in QWidgetPrivate::paintSiblingsRecursive (this=0xd85da0, pdev=0x1b16e10, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5793
#42 0x00007f20861fd29c in QWidgetPrivate::drawWidget (this=0xd85da0, pdev=0x1b16e10, rgn=..., offset=..., flags=<optimized out>, sharedPainter=0x0, backingStore=0xde0610) at kernel/qwidget.cpp:5637
#43 0x00007f20863cbc68 in QWidgetBackingStore::sync (this=0xde0610) at painting/qbackingstore.cpp:1373
#44 0x00007f20861f4290 in QWidgetPrivate::syncBackingStore (this=0xd85da0) at kernel/qwidget.cpp:1890
#45 0x00007f2086201ddc in QWidget::event (this=0xd86c00, event=0x1d36d90) at kernel/qwidget.cpp:8654
#46 0x00007f20865d901b in QMainWindow::event (this=0xd86c00, event=0x1d36d90) at widgets/qmainwindow.cpp:1478
#47 0x00007f2085561368 in KXmlGuiWindow::event (this=0xd86c00, ev=0x1d36d90) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#48 0x00007f20861b1104 in notify_helper (e=0x1d36d90, receiver=0xd86c00, this=0xa5e270) at kernel/qapplication.cpp:4555
#49 QApplicationPrivate::notify_helper (this=0xa5e270, receiver=0xd86c00, e=0x1d36d90) at kernel/qapplication.cpp:4527
#50 0x00007f20861b5f83 in QApplication::notify (this=0x7fffe597f420, receiver=0xd86c00, e=0x1d36d90) at kernel/qapplication.cpp:4416
#51 0x00007f20854649a6 in KApplication::notify (this=0x7fffe597f420, receiver=0xd86c00, event=0x1d36d90) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x00007f2084c5d5fc in QCoreApplication::notifyInternal (this=0x7fffe597f420, receiver=0xd86c00, event=0x1d36d90) at kernel/qcoreapplication.cpp:876
#53 0x00007f2084c613ca in sendEvent (event=0x1d36d90, receiver=0xd86c00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa26670) at kernel/qcoreapplication.cpp:1500
#55 0x00007f2084c8c773 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#57 0x00007f2083ebea5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f2083ebf258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f2083ebf429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f2084c8cb9f in QEventDispatcherGlib::processEvents (this=0xa27b30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#61 0x00007f208625621e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f2084c5c3e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f2084c5c637 in QEventLoop::exec (this=0x7fffe597f360, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f2084c616c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#65 0x00007f20870580d5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#66 0x00007f2086cd230d in __libc_start_main (main=0x400630, argc=3, ubp_av=0x7fffe5980958, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe5980948) at libc-start.c:226
#67 0x0000000000400661 in _start ()

Possible duplicates by query: bug 296177, bug 294241, bug 292921, bug 287291, bug 287204.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-03-20 11:57:49 UTC
Will be fixed in KDE SC 4.8.2.

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