Bug 230006 - now I just reproduced it
Summary: now I just reproduced it
Status: RESOLVED DUPLICATE of bug 230001
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: 2010-03-08 22:25 UTC by Peter
Modified: 2010-03-08 22:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2010-03-08 22:25:15 UTC
Application: kate (3.4.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
with file that could be downloaded from here:
http://leteckaposta.cz/343779244

I deleted lines 1 - 35 of the file, then go to the end of the file and delete lines from line 3473 to the end of the file... I hit backspace... and Kate crashes... 

reproduced 3 times...

The crash can be reproduced every time.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f66ef2187f0 (LWP 7565))]

Thread 2 (Thread 0x7f66de4d9910 (LWP 7566)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f66de818396 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f66deaf6220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f66de8183d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f66deb042ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f66ed460a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f66ec22480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f66ef2187f0 (LWP 7565)):
[KCrash Handler]
#5  KateLineLayout::viewLineCount (this=0x0) at ../../kate/render/katelinelayout.cpp:173
#6  0x00007f66dee5826a in KateLayoutCache::viewLine (this=0x179bfb0, realCursor=...) at ../../kate/render/katelayoutcache.cpp:395
#7  0x00007f66dee58861 in KateLayoutCache::textLayout (this=0x179bfb0, realCursor=...) at ../../kate/render/katelayoutcache.cpp:337
#8  0x00007f66deebddff in KateViewInternal::makeVisible (this=0x2e3c990, c=<value optimized out>, endCol=<value optimized out>, force=false, center=<value optimized out>, 
    calledExternally=<value optimized out>) at ../../kate/view/kateviewinternal.cpp:690
#9  0x00007f66deebe4b9 in KateViewInternal::updateCursor (this=0x2e3c990, newCursor=<value optimized out>, force=<value optimized out>, center=false, calledExternally=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:1914
#10 0x00007f66deebf099 in KateViewInternal::editEnd (this=0x2e3c990, editTagLineStart=<value optimized out>, editTagLineEnd=<value optimized out>, tagFrom=<value optimized out>)
    at ../../kate/view/kateviewinternal.cpp:3399
#11 0x00007f66dee16b71 in KateDocument::editEnd (this=0x1830620) at ../../kate/document/katedocument.cpp:981
#12 0x00007f66dee1d8a0 in KateDocument::removeText (this=0x1830620, _range=<value optimized out>, block=<value optimized out>) at ../../kate/document/katedocument.cpp:825
#13 0x00007f66dee1f3da in KateDocument::backspace (this=0x1830620, view=<value optimized out>, c=<value optimized out>) at ../../kate/document/katedocument.cpp:2910
#14 0x00007f66deea570c in KateView::backspace (this=0x178e5d0) at ../../kate/view/kateview.cpp:2295
#15 0x00007f66deea9f4d in KateView::qt_metacall (this=0x178e5d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0a3e4df0) at ./kateview.moc:373
#16 0x00007f66ed7f6c0f in QMetaObject::activate (sender=0x2f3eea0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#17 0x00007f66ec97c022 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f66ec97e09b in QAction::activate (this=0x2f3eea0, event=<value optimized out>) at kernel/qaction.cpp:1255
#19 0x00007f66ec97f9a7 in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1181
#20 0x00007f66edc55ead in KAction::event (this=0x0, event=0x7fff0a3e5460) at ../../kdeui/actions/kaction.cpp:129
#21 0x00007f66ec98212c in QApplicationPrivate::notify_helper (this=0xbf3c60, receiver=0x2f3eea0, e=0x7fff0a3e5460) at kernel/qapplication.cpp:4300
#22 0x00007f66ec98871b in QApplication::notify (this=0x7fff0a3e6aa0, receiver=0x2f3eea0, e=0x7fff0a3e5460) at kernel/qapplication.cpp:4183
#23 0x00007f66edd2bd76 in KApplication::notify (this=0x7fff0a3e6aa0, receiver=0x2f3eea0, event=0x7fff0a3e5460) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007f66ed7e3e0c in QCoreApplication::notifyInternal (this=0x7fff0a3e6aa0, receiver=0x2f3eea0, event=0x7fff0a3e5460) at kernel/qcoreapplication.cpp:704
#25 0x00007f66ec9bde76 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff0a3e5a60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff0a3e5a60) at kernel/qshortcutmap.cpp:879
#27 0x00007f66ec9bfc77 in QShortcutMap::tryShortcutEvent (this=0xbf3d88, o=<value optimized out>, e=0x7fff0a3e5a60) at kernel/qshortcutmap.cpp:364
#28 0x00007f66ec98a273 in QApplication::notify (this=0x7fff0a3e6aa0, receiver=0x2e3c990, e=0x7fff0a3e5a60) at kernel/qapplication.cpp:3746
#29 0x00007f66edd2bd76 in KApplication::notify (this=0x7fff0a3e6aa0, receiver=0x2e3c990, event=0x7fff0a3e5a60) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x00007f66ed7e3e0c in QCoreApplication::notifyInternal (this=0x7fff0a3e6aa0, receiver=0x2e3c990, event=0x7fff0a3e5a60) at kernel/qcoreapplication.cpp:704
#31 0x00007f66eca2cc1a in QKeyMapper::sendKeyEvent (keyWidget=0x2e3c990, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=<value optimized out>, text=..., 
    autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#32 0x00007f66eca2f190 in QKeyMapperPrivate::translateKeyEvent (this=0xc26430, keyWidget=0x2e3c990, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1831
#33 0x00007f66eca06734 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0a3e6630) at kernel/qapplication_x11.cpp:3394
#34 0x00007f66eca32322 in x11EventSourceDispatch (s=0xbf1d50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f66e89e6bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f66e89ea598 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f66e89ea6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f66ed80d333 in QEventDispatcherGlib::processEvents (this=0xb6d1c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007f66eca31f0e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f66ed7e2732 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f66ed7e2b0c in QEventLoop::exec (this=0x7fff0a3e6960, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f66ed7e684b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x00007f66e1dbdead in kdemain () from /usr/lib/libkdeinit4_kate.so
#44 0x0000000000406fb8 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a499 "0") at ../../kinit/kinit.cpp:717
#45 0x0000000000407c70 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#46 0x0000000000408121 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#47 0x0000000000408df2 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1841
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

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

Possible duplicates by query: bug 230001, bug 229071, bug 227979, bug 224373, bug 223985.

Reported using DrKonqi
Comment 1 Peter 2010-03-08 22:28:02 UTC
sorry for repost, this should be an addition to bug 230001... correct the double bugreport if you can, please...

thank you

Peter.
Comment 2 Anders Lund 2010-03-08 22:31:32 UTC

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