Bug 302976 - Crash after hitting 'Recover' after a crash
Summary: Crash after hitting 'Recover' after a crash
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: 2012-07-03 19:18 UTC by Atti
Modified: 2012-07-06 15:41 UTC (History)
1 user (show)

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 Atti 2012-07-03 19:18:46 UTC
Application: kate (3.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic i686
Distribution: Ubuntu 12.04 LTS

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

kate crashed on Paste (there's a separate bug report for that). i've restarted kate and it proposed to restore a file. after i hit restore, it died.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7700980 (LWP 18053))]

Thread 5 (Thread 0xb61d2b40 (LWP 18054)):
#0  0x00383416 in __kernel_vsyscall ()
#1  0x00d14380 in __GI___poll (fds=0xb5800c78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00aeea7b in g_poll (fds=0xb5800c78, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.32.3/./glib/gpoll.c:132
#3  0x00ae10ae in g_main_context_poll (n_fds=1, fds=0xb5800c78, timeout=<optimized out>, context=0x92a4d48, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#4  g_main_context_iterate (dispatch=1, block=11463248, context=0x92a4d48, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#5  g_main_context_iterate (context=0x92a4d48, block=11463248, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0x00ae156b in g_main_loop_run (loop=0xb5800c68) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#7  0x0264a134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#8  0x00b046b3 in g_thread_proxy (data=0x92a17b0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#9  0x001c2d4c in start_thread (arg=0xb61d2b40) at pthread_create.c:308
#10 0x00d22ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb57ffb40 (LWP 18055)):
#0  0x00383416 in __kernel_vsyscall ()
#1  0x00d14380 in __GI___poll (fds=0xb4e02298, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00aeea7b in g_poll (fds=0xb4e02298, nfds=3, timeout=-1) at /build/buildd/glib2.0-2.32.3/./glib/gpoll.c:132
#3  0x00ae10ae in g_main_context_poll (n_fds=3, fds=0xb4e02298, timeout=<optimized out>, context=0xb580ad18, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#4  g_main_context_iterate (dispatch=1, block=11463248, context=0xb580ad18, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#5  g_main_context_iterate (context=0xb580ad18, block=11463248, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0x00ae156b in g_main_loop_run (loop=0xb580ad08) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340
#7  0x01ee61ba in gdbus_shared_thread_func (user_data=0xb580c100) at /build/buildd/glib2.0-2.32.3/./gio/gdbusprivate.c:277
#8  0x00b046b3 in g_thread_proxy (data=0xb5805490) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#9  0x001c2d4c in start_thread (arg=0xb57ffb40) at pthread_create.c:308
#10 0x00d22ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb386eb40 (LWP 18058)):
#0  0x001c5c39 in __pthread_mutex_unlock_usercnt (mutex=0x9dbb080, decr=1) at pthread_mutex_unlock.c:36
#1  0x00d30634 in pthread_mutex_unlock (mutex=0x9dbb080) at forward.c:184
#2  0x00b20410 in g_mutex_unlock (mutex=0x9dbb010) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0x00ae120b in g_main_context_iteration (context=0x9dbb010, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3208
#4  0x03a8b8e7 in QEventDispatcherGlib::processEvents (this=0x9dbaf80, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x03a5750d in QEventLoop::processEvents (this=0xb386e240, flags=...) at kernel/qeventloop.cpp:149
#6  0x03a577a9 in QEventLoop::exec (this=0xb386e240, flags=...) at kernel/qeventloop.cpp:204
#7  0x0394094c in QThread::exec (this=0x9dbb478) at thread/qthread.cpp:501
#8  0x03a34b5d in QInotifyFileSystemWatcherEngine::run (this=0x9dbb478) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x03943de0 in QThreadPrivate::start (arg=0x9dbb478) at thread/qthread_unix.cpp:298
#10 0x001c2d4c in start_thread (arg=0xb386eb40) at pthread_create.c:308
#11 0x00d22ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb306db40 (LWP 18059)):
#0  0x00383416 in __kernel_vsyscall ()
#1  0x001c696b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00d303dc in __pthread_cond_wait (cond=0x4b43890, mutex=0x4b43878) at forward.c:139
#3  0x04a3f029 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x4b3e7a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x04a3f06f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x4b3e7a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x001c2d4c in start_thread (arg=0xb306db40) at pthread_create.c:308
#6  0x00d22ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7700980 (LWP 18053)):
[KCrash Handler]
#7  0x00dd94e0 in main_arena () from /lib/i386-linux-gnu/libc.so.6
#8  0x02dfd2ed in Kate::TextBuffer::rangesForLine (this=0x94ad608, line=10496, view=0x9dd3958, rangesWithAttributeOnly=true) at ../../part/buffer/katetextbuffer.cpp:820
#9  0x02eaa0ed in KateRenderer::decorationsForLine (this=0x9dd3d68, textLine=..., line=10496, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../part/render/katerenderer.cpp:330
#10 0x02eab610 in KateRenderer::layoutLine (this=0x9dd3d68, lineLayout=..., maxwidth=-1, cacheLayout=true) at ../../part/render/katerenderer.cpp:883
#11 0x02eb0913 in KateLayoutCache::line (this=0x9dd3b28, realLine=10496, virtualLine=10496) at ../../part/render/katelayoutcache.cpp:318
#12 0x02eb1b91 in KateLayoutCache::updateViewCache (this=0x9dd3b28, startPos=..., newViewLineCount=<optimized out>, viewLinesScrolled=0) at ../../part/render/katelayoutcache.cpp:270
#13 0x02f0db4d in doUpdateView (viewLinesScrolled=0, changed=<optimized out>, this=0x9dec350) at ../../part/view/kateviewinternal.cpp:550
#14 KateViewInternal::doUpdateView (this=0x9dec350, changed=false, viewLinesScrolled=0) at ../../part/view/kateviewinternal.cpp:530
#15 0x02f0e3ad in KateViewInternal::updateView (this=0x9dec350, changed=false, viewLinesScrolled=0) at ../../part/view/kateviewinternal.cpp:524
#16 0x02ef9be7 in KateView::visibleRange (this=0x9dd3958) at ../../part/view/kateview.cpp:2727
#17 0x02f66e3c in textInserted (range=..., this=0x94b1710, document=<optimized out>) at ../../part/spellcheck/ontheflycheck.cpp:155
#18 KateOnTheFlyChecker::textInserted (this=0x94b1710, document=0x9497488, range=...) at ../../part/spellcheck/ontheflycheck.cpp:137
#19 0x02f6b1a0 in qt_static_metacall (_a=0xbf88eae4, _id=0, _o=0x94b1710, _c=<optimized out>) at ./ontheflycheck.moc:87
#20 KateOnTheFlyChecker::qt_static_metacall (_o=0x94b1710, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf88eae4) at ./ontheflycheck.moc:81
#21 0x03a6f6b1 in QMetaObject::activate (sender=0x9497488, m=0xf9d3f0, local_signal_index=6, argv=0xbf88eae4) at kernel/qobject.cpp:3547
#22 0x00f7e9ed in KTextEditor::Document::textInserted (this=0x9497488, _t1=0x9497488, _t2=...) at ./document.moc:201
#23 0x02e654f2 in editWrapLine (newLineAdded=0x0, newLine=true, col=23, line=10494, this=0x9497488) at ../../part/document/katedocument.cpp:1181
#24 KateDocument::editWrapLine (this=0x9497488, line=10494, col=23, newLine=true, newLineAdded=0x0) at ../../part/document/katedocument.cpp:1121
#25 0x02fc0a3c in Kate::SwapFile::recover (this=0x94b0a78, stream=...) at ../../part/swapfile/kateswapfile.cpp:226
#26 0x02fc0e13 in Kate::SwapFile::recover (this=0x94b0a78) at ../../part/swapfile/kateswapfile.cpp:170
#27 0x02dfa940 in qt_static_metacall (_a=0x9ffa0a8, _id=12, _o=0x94b0a78, _c=<optimized out>) at moc_kateswapfile.cpp:88
#28 Kate::SwapFile::qt_static_metacall (_o=0x94b0a78, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x9ffa0a8) at moc_kateswapfile.cpp:70
#29 0x03a6ac01 in QMetaCallEvent::placeMetaCall (this=0x9fc12d8, object=0x94b0a78) at kernel/qobject.cpp:525
#30 0x03a73c7b in QObject::event (this=0x94b0a78, e=0x9fc12d8) at kernel/qobject.cpp:1195
#31 0x0111ced4 in notify_helper (e=0x9fc12d8, receiver=0x94b0a78, this=0x923fff8) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0x923fff8, receiver=0x94b0a78, e=0x9fc12d8) at kernel/qapplication.cpp:4531
#33 0x0112230d in QApplication::notify (this=0x9fc12d8, receiver=0x94b0a78, e=0x9fc12d8) at kernel/qapplication.cpp:4288
#34 0x00843401 in KApplication::notify (this=0xbf88f520, receiver=0x94b0a78, event=0x9fc12d8) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x03a5897e in QCoreApplication::notifyInternal (this=0xbf88f520, receiver=0x94b0a78, event=0x9fc12d8) at kernel/qcoreapplication.cpp:876
#36 0x03a5cad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9217370) at kernel/qcoreapplication.cpp:1500
#38 0x03a5ce0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#39 0x03a8b494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#40 postEventSourceDispatch (s=0x923b3b8) at kernel/qeventdispatcher_glib.cpp:279
#41 0x00ae0d86 in g_main_dispatch (context=0x9242108) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#42 g_main_context_dispatch (context=0x9242108) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#43 0x00ae1125 in g_main_context_iterate (dispatch=1, block=11463248, context=0x9242108, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#44 g_main_context_iterate (context=0x9242108, block=11463248, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#45 0x00ae1201 in g_main_context_iteration (context=0x9242108, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#46 0x03a8b887 in QEventDispatcherGlib::processEvents (this=0x923bda0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#47 0x011d5aaa in QGuiEventDispatcherGlib::processEvents (this=0x923bda0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x03a5750d in QEventLoop::processEvents (this=0xbf88f454, flags=...) at kernel/qeventloop.cpp:149
#49 0x03a577a9 in QEventLoop::exec (this=0xbf88f454, flags=...) at kernel/qeventloop.cpp:204
#50 0x03a5ceba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#51 0x0111aa74 in QApplication::exec () at kernel/qapplication.cpp:3820
#52 0x001ee905 in kdemain (argc=1, argv=0xbf88fb84) at ../../../kate/app/katemain.cpp:377
#53 0x080484fb in main (argc=1, argv=0xbf88fb84) at kate_dummy.cpp:3

Possible duplicates by query: bug 301752, bug 300509, bug 295938, bug 291666, bug 290033.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-06 15:41:01 UTC

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