Bug 292029 - Crash while pressing and holding ctrl+z
Summary: Crash while pressing and holding ctrl+z
Status: RESOLVED DUPLICATE of bug 247081
Alias: None
Product: kate
Classification: Applications
Component: folding (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 11:59 UTC by Per (phobie)
Modified: 2012-01-21 11:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per (phobie) 2012-01-20 11:59:35 UTC
Application: kate (3.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-3-generic x86_64
Distribution: Linux Mint 12 Fluxbox

-- Information about the crash:
- What I was doing when the application crashed:
I tried to undo all changes I made to a file by pressing ctrl+z for a long time.
(There are several similar reports but their backtraces seem to be different to me.)

- Custom settings of the application:
Kate have been started by session restore after login.

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

Thread 4 (Thread 0x7f914fd9d700 (LWP 2459)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f915068cfe2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f91509861e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f915068d019 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f915e218efc in start_thread (arg=0x7f914fd9d700) at pthread_create.c:304
#4  0x00007f9160bf689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f914cbfd700 (LWP 2460)):
#0  0x00007f9160bea773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f915dd46f68 in g_main_context_poll (n_fds=1, fds=0x166e690, timeout=-1, context=0x191fe50, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x191fe50, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f915dd47429 in g_main_context_iteration (context=0x191fe50, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f915eb02f3e in QEventDispatcherGlib::processEvents (this=0x990ec0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f915ead6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f915ead6ef7 in QEventLoop::exec (this=0x7f914cbfcdd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f915e9ee27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f915eab9cbf in QInotifyFileSystemWatcherEngine::run (this=0x1629590) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f915e9f0d05 in QThreadPrivate::start (arg=0x1629590) at thread/qthread_unix.cpp:331
#10 0x00007f915e218efc in start_thread (arg=0x7f914cbfd700) at pthread_create.c:304
#11 0x00007f9160bf689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f91474d7700 (LWP 6835)):
#0  __pthread_mutex_lock (mutex=0x39aa668) at pthread_mutex_lock.c:61
#1  0x00007f915dd45649 in g_main_context_acquire (context=0x39aa660) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2528
#2  0x00007f915dd46d81 in g_main_context_iterate (context=0x39aa660, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3033
#3  0x00007f915dd47429 in g_main_context_iteration (context=0x39aa660, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f915eb02f3e in QEventDispatcherGlib::processEvents (this=0x39eaed0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f915ead6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f915ead6ef7 in QEventLoop::exec (this=0x7f91474d6dd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f915e9ee27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f915eab9cbf in QInotifyFileSystemWatcherEngine::run (this=0x39b2440) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f915e9f0d05 in QThreadPrivate::start (arg=0x39b2440) at thread/qthread_unix.cpp:331
#10 0x00007f915e218efc in start_thread (arg=0x7f91474d7700) at pthread_create.c:304
#11 0x00007f9160bf689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9161299780 (LWP 1927)):
[KCrash Handler]
#6  KateLineLayout::viewLineCount (this=0x0) at ../../part/render/katelinelayout.cpp:173
#7  0x00007f9150cfffea in KateTextLayout::isValid (this=0x2f1ddc8) at ../../part/render/katetextlayout.cpp:90
#8  0x00007f9150d00089 in KateTextLayout::line (this=0x2f1ddc8) at ../../part/render/katetextlayout.cpp:95
#9  0x00007f9150d47e47 in KateViewInternal::endPos (this=0x1f3f290) at ../../part/view/kateviewinternal.cpp:291
#10 0x00007f9150d4e0bc in KateViewInternal::makeVisible (this=0x1f3f290, c=..., endCol=0, force=false, center=<optimized out>, calledExternally=true) at ../../part/view/kateviewinternal.cpp:612
#11 0x00007f9150d4f4cf in KateViewInternal::updateCursor (this=0x1f3f290, newCursor=<optimized out>, force=<optimized out>, center=true, calledExternally=true) at ../../part/view/kateviewinternal.cpp:1832
#12 0x00007f9150d380cc in KateView::setCursorPositionInternal (this=0x1d13fc0, position=..., tabwidth=1, calledExternally=true) at ../../part/view/kateview.cpp:1125
#13 0x00007f9150cdb690 in KateUndoGroup::undo (this=0x2a89180, view=0x1d13fc0) at ../../part/undo/kateundo.cpp:219
#14 0x00007f9150cdce7f in KateUndoManager::undo (this=0xf6f090) at ../../part/undo/kateundomanager.cpp:240
#15 0x00007f9150ccf0c1 in KateDocument::qt_metacall (this=0xf6fdf0, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fffa1b78540) at ./katedocument.moc:331
#16 0x00007f915eaeaeba in QMetaObject::activate (sender=0x18c9960, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa1b78540) at kernel/qobject.cpp:3278
#17 0x00007f916002bb62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f916002bd4f in QAction::activate (this=0x18c9960, event=<optimized out>) at kernel/qaction.cpp:1257
#19 0x00007f916002bebf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#20 0x00007f915f1cf86a in KAction::event (this=<optimized out>, event=0x7fffa1b789d0) at ../../kdeui/actions/kaction.cpp:131
#21 0x00007f9160032424 in notify_helper (e=0x7fffa1b789d0, receiver=0x18c9960, this=0x706f30) at kernel/qapplication.cpp:4486
#22 QApplicationPrivate::notify_helper (this=0x706f30, receiver=0x18c9960, e=0x7fffa1b789d0) at kernel/qapplication.cpp:4458
#23 0x00007f9160037291 in QApplication::notify (this=0x7fffa1b79cb0, receiver=0x18c9960, e=0x7fffa1b789d0) at kernel/qapplication.cpp:4365
#24 0x00007f915f2b6126 in KApplication::notify (this=0x7fffa1b79cb0, receiver=0x18c9960, event=0x7fffa1b789d0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f915ead7afc in QCoreApplication::notifyInternal (this=0x7fffa1b79cb0, receiver=0x18c9960, event=0x7fffa1b789d0) at kernel/qcoreapplication.cpp:787
#26 0x00007f9160064499 in sendEvent (event=0x7fffa1b789d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffa1b78de0) at kernel/qshortcutmap.cpp:879
#28 0x00007f916006596a in QShortcutMap::tryShortcutEvent (this=0x707058, o=<optimized out>, e=0x7fffa1b78de0) at kernel/qshortcutmap.cpp:364
#29 0x00007f9160038b12 in QApplication::notify (this=0x7fffa1b79cb0, receiver=0x1f3f290, e=0x7fffa1b78de0) at kernel/qapplication.cpp:3928
#30 0x00007f915f2b6126 in KApplication::notify (this=0x7fffa1b79cb0, receiver=0x1f3f290, event=0x7fffa1b78de0) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f915ead7afc in QCoreApplication::notifyInternal (this=0x7fffa1b79cb0, receiver=0x1f3f290, event=0x7fffa1b78de0) at kernel/qcoreapplication.cpp:787
#32 0x00007f91600d5f99 in QKeyMapper::sendKeyEvent (keyWidget=0x1f3f290, grab=<optimized out>, type=QEvent::KeyPress, code=90, modifiers=..., text=..., autorepeat=true, count=1, nativeScanCode=29, nativeVirtualKey=122, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#33 0x00007f91600d640b in QKeyMapperPrivate::translateKeyEvent (this=0x749e00, keyWidget=0x1f3f290, event=0x7fffa1b79820, grab=false) at kernel/qkeymapper_x11.cpp:1836
#34 0x00007f91600b1347 in QApplication::x11ProcessEvent (this=0x7fffa1b79cb0, event=0x7fffa1b79820) at kernel/qapplication_x11.cpp:3583
#35 0x00007f91600da412 in x11EventSourceDispatch (s=0x709d60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f915dd46a5d in g_main_dispatch (context=0x709820) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#37 g_main_context_dispatch (context=0x709820) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#38 0x00007f915dd47258 in g_main_context_iterate (context=0x709820, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#39 0x00007f915dd47429 in g_main_context_iteration (context=0x709820, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#40 0x00007f915eb02ed6 in QEventDispatcherGlib::processEvents (this=0x6ccfa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007f91600da07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f915ead6cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f915ead6ef7 in QEventLoop::exec (this=0x7fffa1b79bf0, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f915eadb789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#45 0x00007f9160eba0d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#46 0x00007f9160b3630d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=3, ubp_av=0x7fffa1b7b1e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa1b7b1d8) at libc-start.c:226
#47 0x0000000000400661 in _start ()

Possible duplicates by query: bug 282227, bug 269223.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-01-21 11:21:58 UTC
This is fixed in KDE 4.8.0

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