Bug 286662 - Crash while editing PHP source document
Summary: Crash while editing PHP source document
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-11-15 09:11 UTC by Dik Takken
Modified: 2011-11-15 23:31 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 Dik Takken 2011-11-15 09:11:08 UTC
Application: kate (3.6.5)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-12-generic x86_64
Distribution: Ubuntu 11.04

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

Editing a PHP source file, possibly deleting a line. This never happened before, I could not reproduce it.

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

Thread 3 (Thread 0x7fbcd5af3700 (LWP 7748)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbcd84712a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbcd878a180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbcd84712d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fbcd8798254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbce753ed8c in start_thread (arg=0x7fbcd5af3700) at pthread_create.c:304
#4  0x00007fbce9ec804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbcd43dc700 (LWP 7763)):
#0  begin (this=0x7fbccc002060, tm=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:97
#1  constBegin (this=0x7fbccc002060, tm=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:256
#2  QTimerInfoList::timerWait (this=0x7fbccc002060, tm=...) at kernel/qeventdispatcher_unix.cpp:447
#3  0x00007fbce7e17c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fbcd43dbc4c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007fbce7e17cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007fbce70720a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fbce7072f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fbce7073639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fbce7e18446 in QEventDispatcherGlib::processEvents (this=0x7fbccc0008b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007fbce7dec882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fbce7decabc in QEventLoop::exec (this=0x7fbcd43dbdd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007fbce7d03924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#12 0x00007fbce7dcec2f in QInotifyFileSystemWatcherEngine::run (this=0x2e6a590) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007fbce7d06175 in QThreadPrivate::start (arg=0x2e6a590) at thread/qthread_unix.cpp:320
#14 0x00007fbce753ed8c in start_thread (arg=0x7fbcd43dc700) at pthread_create.c:304
#15 0x00007fbce9ec804d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbcea55d780 (LWP 7747)):
[KCrash Handler]
#6  0x00007fbcea171378 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fbcd8a59b2b in Kate::TextBuffer::rangesForLine (this=<value optimized out>, line=1395, view=0x39b90f0, rangesWithAttributeOnly=true) at ../../kate/buffer/katetextbuffer.cpp:752
#8  0x00007fbcd8ae7ba0 in KateRenderer::decorationsForLine (this=0x303ff00, textLine=..., line=1395, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../kate/render/katerenderer.cpp:342
#9  0x00007fbcd8ae959e in KateRenderer::layoutLine (this=0x303ff00, lineLayout=..., maxwidth=-1, cacheLayout=<value optimized out>) at ../../kate/render/katerenderer.cpp:929
#10 0x00007fbcd8aedbd8 in KateLayoutCache::line (this=0x3a0fa40, realLine=1395, virtualLine=1395) at ../../kate/render/katelayoutcache.cpp:314
#11 0x00007fbcd8aef17a in KateLayoutCache::updateViewCache (this=0x3a0fa40, startPos=<value optimized out>, newViewLineCount=<value optimized out>, viewLinesScrolled=<value optimized out>) at ../../kate/render/katelayoutcache.cpp:266
#12 0x00007fbcd8b3b36f in KateViewInternal::doUpdateView (this=0x2fb3420, changed=<value optimized out>, viewLinesScrolled=0) at ../../kate/view/kateviewinternal.cpp:544
#13 0x00007fbcd8b3baac in KateViewInternal::updateView (this=0x2fb3420, changed=false, viewLinesScrolled=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:518
#14 0x00007fbcd8b2a146 in KateView::visibleRange (this=0x39b90f0) at ../../kate/view/kateview.cpp:2664
#15 0x00007fbcd8b7faea in KateOnTheFlyChecker::textRemoved (this=0x2a85d80, document=<value optimized out>, range=<value optimized out>) at ../../kate/spellcheck/ontheflycheck.cpp:251
#16 0x00007fbcd8b844db in KateOnTheFlyChecker::qt_metacall (this=0x2a85d80, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffe5972c40) at ./ontheflycheck.moc:111
#17 0x00007fbce7e025f8 in QMetaObject::activate (sender=0x2a834c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe5972c40) at kernel/qobject.cpp:3287
#18 0x00007fbce491c017 in KTextEditor::Document::textRemoved (this=<value optimized out>, _t1=0x2a834c0, _t2=<value optimized out>) at ./document.moc:194
#19 0x00007fbcd8abdb93 in KateDocument::editRemoveLines (this=0x2a834c0, from=<value optimized out>, to=<value optimized out>) at ../../kate/document/katedocument.cpp:1394
#20 0x00007fbcd8abe432 in KateDocument::removeText (this=0x2a834c0, _range=<value optimized out>, block=<value optimized out>) at ../../kate/document/katedocument.cpp:705
#21 0x00007fbcd8aab7f8 in KateDocument::del (this=0x2a834c0, view=<value optimized out>, c=...) at ../../kate/document/katedocument.cpp:2821
#22 0x00007fbcd8b37911 in KateViewInternal::doDelete (this=0x2fb3420) at ../../kate/view/kateviewinternal.cpp:787
#23 0x00007fbcd8b2dbcd in KateView::qt_metacall (this=0x39b90f0, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x7fffe59730b0) at ./kateview.moc:375
#24 0x00007fbce7e025f8 in QMetaObject::activate (sender=0x3aa25a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffe59730b0) at kernel/qobject.cpp:3287
#25 0x00007fbce92f4122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0x00007fbce92f430f in QAction::activate (this=0x3aa25a0, event=<value optimized out>) at kernel/qaction.cpp:1257
#27 0x00007fbce92f447f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#28 0x00007fbce84f674a in KAction::event (this=<value optimized out>, event=0x7fffe59736f0) at ../../kdeui/actions/kaction.cpp:131
#29 0x00007fbce92fa9f4 in QApplicationPrivate::notify_helper (this=0x1c3e280, receiver=0x3aa25a0, e=0x7fffe59736f0) at kernel/qapplication.cpp:4462
#30 0x00007fbce92ff3ba in QApplication::notify (this=<value optimized out>, receiver=0x3aa25a0, e=0x7fffe59736f0) at kernel/qapplication.cpp:4341
#31 0x00007fbce85d56c6 in KApplication::notify (this=0x7fffe5974c00, receiver=0x3aa25a0, event=0x7fffe59736f0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fbce7ded49c in QCoreApplication::notifyInternal (this=0x7fffe5974c00, receiver=0x3aa25a0, event=0x7fffe59736f0) at kernel/qcoreapplication.cpp:731
#33 0x00007fbce932cbf0 in sendEvent (this=<value optimized out>, e=0x7fffe5973cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffe5973cc0) at kernel/qshortcutmap.cpp:879
#35 0x00007fbce932e098 in QShortcutMap::tryShortcutEvent (this=0x1c3e3a8, o=<value optimized out>, e=0x7fffe5973cc0) at kernel/qshortcutmap.cpp:364
#36 0x00007fbce9300d25 in QApplication::notify (this=0x7fffe5974c00, receiver=0x2fb3420, e=0x7fffe5973cc0) at kernel/qapplication.cpp:3904
#37 0x00007fbce85d56c6 in KApplication::notify (this=0x7fffe5974c00, receiver=0x2fb3420, event=0x7fffe5973cc0) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007fbce7ded49c in QCoreApplication::notifyInternal (this=0x7fffe5974c00, receiver=0x2fb3420, event=0x7fffe5973cc0) at kernel/qcoreapplication.cpp:731
#39 0x00007fbce93a03d9 in QKeyMapper::sendKeyEvent (keyWidget=0x2fb3420, grab=<value optimized out>, type=QEvent::KeyPress, code=16777223, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#40 0x00007fbce93a0856 in QKeyMapperPrivate::translateKeyEvent (this=0x1c86910, keyWidget=0x2fb3420, event=0x7fffe5974850, grab=false) at kernel/qkeymapper_x11.cpp:1836
#41 0x00007fbce937b72f in QApplication::x11ProcessEvent (this=0x7fffe5974c00, event=0x7fffe5974850) at kernel/qapplication_x11.cpp:3573
#42 0x00007fbce93a4842 in x11EventSourceDispatch (s=0x1c41d50, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x00007fbce7072bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fbce70733a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fbce7073639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fbce7e183ef in QEventDispatcherGlib::processEvents (this=0x1be6340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#47 0x00007fbce93a44de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007fbce7dec882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007fbce7decabc in QEventLoop::exec (this=0x7fffe5974b50, flags=...) at kernel/qeventloop.cpp:201
#50 0x00007fbce7df0ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#51 0x00007fbcea17d295 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#52 0x00007fbce9e00eff in __libc_start_main (main=0x400730 <main(int, char**)>, argc=2, ubp_av=0x7fffe5976138, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffe5976128) at libc-start.c:226
#53 0x0000000000400659 in _start ()

Possible duplicates by query: bug 277978, bug 273748, bug 273711, bug 272633, bug 267122.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-11-15 23:31:15 UTC
Probably duplicate, unclear whether it's fixed, see bug #265426.

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