Bug 267122 - Crash after ctrl + s
Summary: Crash after ctrl + s
Status: RESOLVED DUPLICATE of bug 265426
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 05:55 UTC by Andrew
Modified: 2011-03-08 19:59 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 Andrew 2011-02-25 05:55:42 UTC
Application: kdevelop (4.2.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.38-020638rc4-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Hit ctrl+s to save a file after a change. This functionality works ok normally..unsure why it crashed in this instance.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb367f710 (LWP 4672))]

Thread 9 (Thread 0xaee8ab70 (LWP 4673)):
#0  0xb7893424 in __kernel_vsyscall ()
#1  0xb5eea884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb614adf4 in __pthread_cond_timedwait (cond=0x9cfc090, mutex=0x9cfc078, abstime=0xaee8a2b0) at forward.c:152
#3  0xb6de194f in wait (this=0x9d096ac, mutex=0x9d096b0, time=1000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9d096ac, mutex=0x9d096b0, time=1000) at thread/qwaitcondition_unix.cpp:160
#5  0xb590f812 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#6  0xb6de0df9 in QThreadPrivate::start (arg=0x7c) at thread/qthread_unix.cpp:266
#7  0xb5ee5cc9 in start_thread (arg=0xaee8ab70) at pthread_create.c:304
#8  0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xad76cb70 (LWP 4681)):
#0  0xb5ee83eb in __pthread_mutex_lock (mutex=0x9da423c) at pthread_mutex_lock.c:61
#1  0xb614af66 in pthread_mutex_lock (mutex=0x9da423c) at forward.c:182
#2  0xb54a14a4 in ?? () from /lib/libglib-2.0.so.0
#3  0xb54a1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb6f1159f in QEventDispatcherGlib::processEvents (this=0x9dcc850, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0xb6ee1609 in QEventLoop::processEvents (this=0xad76c2c0, flags=) at kernel/qeventloop.cpp:149
#6  0xb6ee1a8a in QEventLoop::exec (this=0xad76c2c0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb6dddb7e in QThread::exec (this=0x9dc93d0) at thread/qthread.cpp:490
#8  0xb5a0bc98 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#9  0xb6de0df9 in QThreadPrivate::start (arg=0x9dc93d0) at thread/qthread_unix.cpp:266
#10 0xb5ee5cc9 in start_thread (arg=0xad76cb70) at pthread_create.c:304
#11 0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xacf6bb70 (LWP 4683)):
#0  __i686.get_pc_thunk.bx () at ../sysdeps/i386/i686/multiarch/strcmp.S:50
#1  0xb614af3b in pthread_mutex_lock (mutex=0x9e80d3c) at forward.c:182
#2  0xb54a182e in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb6f1159f in QEventDispatcherGlib::processEvents (this=0x9e80cb8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#4  0xb6ee1609 in QEventLoop::processEvents (this=0xacf6b290, flags=) at kernel/qeventloop.cpp:149
#5  0xb6ee1a8a in QEventLoop::exec (this=0xacf6b290, flags=...) at kernel/qeventloop.cpp:201
#6  0xb6dddb7e in QThread::exec (this=0x9afc8f0) at thread/qthread.cpp:490
#7  0xb6ec035b in QInotifyFileSystemWatcherEngine::run (this=0x9afc8f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb6de0df9 in QThreadPrivate::start (arg=0x9afc8f0) at thread/qthread_unix.cpp:266
#9  0xb5ee5cc9 in start_thread (arg=0xacf6bb70) at pthread_create.c:304
#10 0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaa918b70 (LWP 4686)):
#0  0xb7893424 in __kernel_vsyscall ()
#1  0xb5eea4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb614ad9d in __pthread_cond_wait (cond=0xb0d8b290, mutex=0xb0d8b278) at forward.c:139
#3  0xb0c87877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb0d861a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb0c878c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb0d861a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb5ee5cc9 in start_thread (arg=0xaa918b70) at pthread_create.c:304
#6  0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa98e6b70 (LWP 4701)):
#0  0xb5e50e36 in clock_gettime (clock_id=-1243262988, tp=0xa98e5f90) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb6e3c50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb6f136e5 in QTimerInfoList::updateCurrentTime (this=0xa7482b4) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb6f1372a in QTimerInfoList::timerWait (this=0xa7482b4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb6f117a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa98e60bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6f1183d in timerSourcePrepare (source=0x0, timeout=0xb5e54ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb54a0e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb54a1279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb54a1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb6f1159f in QEventDispatcherGlib::processEvents (this=0xa749360, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb6ee1609 in QEventLoop::processEvents (this=0xa98e6290, flags=) at kernel/qeventloop.cpp:149
#12 0xb6ee1a8a in QEventLoop::exec (this=0xa98e6290, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6dddb7e in QThread::exec (this=0xa737ce0) at thread/qthread.cpp:490
#14 0xb6ec035b in QInotifyFileSystemWatcherEngine::run (this=0xa737ce0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6de0df9 in QThreadPrivate::start (arg=0xa737ce0) at thread/qthread_unix.cpp:266
#16 0xb5ee5cc9 in start_thread (arg=0xa98e6b70) at pthread_create.c:304
#17 0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa9006b70 (LWP 4720)):
#0  0xb7893424 in __kernel_vsyscall ()
#1  0xb5eea4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb614ad9d in __pthread_cond_wait (cond=0xb505b770, mutex=0xb505b758) at forward.c:139
#3  0xb4b533a5 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb4b53481 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb5ee5cc9 in start_thread (arg=0xa9006b70) at pthread_create.c:304
#6  0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa81bfb70 (LWP 4721)):
#0  0xb7893424 in __kernel_vsyscall ()
#1  0xb5eea4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb614ad9d in __pthread_cond_wait (cond=0x9c006e0, mutex=0x9c006c8) at forward.c:139
#3  0xb6de19c7 in wait (this=0x9c00638, mutex=0x9b3a928, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c00638, mutex=0x9b3a928, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb506e520 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c00620, th=0xa3e5140) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb5071ccc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9b90640, th=0xa3e5140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb506da4b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c00620, th=0xa3e5140) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5071dc2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9b90640, th=0xa3e5140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb506ea23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c00620, th=0xa3e5140, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb5071de1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9b90640, th=0xa3e5140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb506ea23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c00620, th=0xa3e5140, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb5071de1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9b90640, th=0xa3e5140) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb506ea23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c00620, th=0xa3e5140, previous=0xa4ebd30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb506fe4e in ThreadWeaver::ThreadRunHelper::run (this=0xa81bf2f4, parent=0x9c00620, th=0xa3e5140) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb507056b in ThreadWeaver::Thread::run (this=0xa3e5140) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb6de0df9 in QThreadPrivate::start (arg=0xa3e5140) at thread/qthread_unix.cpp:266
#17 0xb5ee5cc9 in start_thread (arg=0xa81bfb70) at pthread_create.c:304
#18 0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa7690b70 (LWP 4722)):
#0  0xb7893424 in __kernel_vsyscall ()
#1  0xb5eea4dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb614ad9d in __pthread_cond_wait (cond=0x9c006e0, mutex=0x9c006c8) at forward.c:139
#3  0xb6de19c7 in wait (this=0x9c00638, mutex=0x9b3a928, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c00638, mutex=0x9b3a928, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb506e520 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c00620, th=0x9cd9a60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb5071ccc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9b90640, th=0x9cd9a60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb506da4b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c00620, th=0x9cd9a60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5071dc2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9b90640, th=0x9cd9a60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb506ea23 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c00620, th=0x9cd9a60, previous=0xa5a3970) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb506fe4e in ThreadWeaver::ThreadRunHelper::run (this=0xa76902f4, parent=0x9c00620, th=0x9cd9a60) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb507056b in ThreadWeaver::Thread::run (this=0x9cd9a60) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6de0df9 in QThreadPrivate::start (arg=0x9cd9a60) at thread/qthread_unix.cpp:266
#13 0xb5ee5cc9 in start_thread (arg=0xa7690b70) at pthread_create.c:304
#14 0xb613d69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb367f710 (LWP 4672)):
[KCrash Handler]
#7  0x0707075d in ?? ()
#8  0xb0de3723 in Kate::TextBuffer::rangesForLine (this=0xa1ef2e0, line=448, view=0xa3deed8, rangesWithAttributeOnly=true) at ../../kate/buffer/katetextbuffer.cpp:752
#9  0xb0e9907a in KateRenderer::decorationsForLine (this=0xa40b538, textLine=..., line=448, selectionsOnly=false, completionHighlight=0x0, completionSelected=false) at ../../kate/render/katerenderer.cpp:342
#10 0xb0e9ad1f in KateRenderer::layoutLine (this=0xa40b538, lineLayout=..., maxwidth=901, cacheLayout=<value optimized out>) at ../../kate/render/katerenderer.cpp:929
#11 0xb0ea00e3 in KateLayoutCache::line (this=0xa965580, realLine=448, virtualLine=448) at ../../kate/render/katelayoutcache.cpp:314
#12 0xb0f02931 in KateViewInternal::viewLineOffset (this=0xa3e0508, virtualCursor=..., offset=68, keepX=false) at ../../kate/view/kateviewinternal.cpp:1319
#13 0xb0f02e16 in KateViewInternal::maxStartPos (this=0xa3e0508, changed=true) at ../../kate/view/kateviewinternal.cpp:415
#14 0xb0f03d6b in KateViewInternal::doUpdateView (this=0xa3e0508, changed=true, viewLinesScrolled=0) at ../../kate/view/kateviewinternal.cpp:547
#15 0xb0f0403b in KateViewInternal::updateView (this=0xa3e0508, changed=false, viewLinesScrolled=0) at ../../kate/view/kateviewinternal.cpp:518
#16 0xb0ee8678 in KateView::updateView (this=0xa3deed8, changed=<value optimized out>) at ../../kate/view/kateview.cpp:1648
#17 0xb0eeb182 in KateView::updateDocumentConfig (this=0xa3deed8) at ../../kate/view/kateview.cpp:1528
#18 0xb0e50698 in KateDocument::updateConfig (this=0xa2d1268) at ../../kate/document/katedocument.cpp:4018
#19 0xb0f6c8ac in KateDocumentConfig::updateConfig (this=0xaf9aa70) at ../../kate/utils/kateconfig.cpp:394
#20 0xb0f6a46c in KateConfig::configEnd (this=0xaf9ac00) at ../../kate/utils/kateconfig.cpp:74
#21 0xb0e67263 in KateDocument::updateFileType (this=0xa2d1268, newType=..., user=false) at ../../kate/document/katedocument.cpp:4536
#22 0xb0e68b16 in KateDocument::saveFile (this=0xa2d1268) at ../../kate/document/katedocument.cpp:2209
#23 0xb5e72a52 in KParts::ReadWritePart::save (this=0xa2d1268) at ../../kparts/part.cpp:880
#24 0xb0e485d4 in KateDocument::save (this=0xa2d1268) at ../../kate/document/katedocument.cpp:4883
#25 0xb0e4921f in KateDocument::documentSave (this=0xa2d1268) at ../../kate/document/katedocument.cpp:3931
#26 0xb0e6dd2c in KateDocument::qt_metacall (this=0xa2d1268, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbfcea948) at ./katedocument.moc:358
#27 0xb6ee88ca in QMetaObject::metacall (object=0xa2d1268, cl=QMetaObject::ResetProperty, idx=96, argv=0xbfcea948) at kernel/qmetaobject.cpp:237
#28 0xb6efb6ad in QMetaObject::activate (sender=0xa094010, m=0xb6d5f370, local_signal_index=1, argv=0xaf9ac00) at kernel/qobject.cpp:3280
#29 0xb63d8f99 in QAction::triggered (this=0xa094010, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#30 0xb63da8dc in QAction::activate (this=0xa094010, event=QAction::Trigger) at kernel/qaction.cpp:1256
#31 0xb63dcb68 in QAction::event (this=0xaf9aa70, e=0xaf9ac00) at kernel/qaction.cpp:1182
#32 0xb7180463 in KAction::event (this=0xa094010, event=0xbfceae98) at ../../kdeui/actions/kaction.cpp:131
#33 0xb63e0fdc in QApplicationPrivate::notify_helper (this=0x99b2670, receiver=0xa094010, e=0xbfceae98) at kernel/qapplication.cpp:4396
#34 0xb63e704e in QApplication::notify (this=0xbfcebf2c, receiver=0xa094010, e=0xbfceae98) at kernel/qapplication.cpp:3798
#35 0xb729bf7a in KApplication::notify (this=0xbfcebf2c, receiver=0xa094010, event=0xbfceae98) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x0804bafc in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2011-02-28 11:55:12 UTC
kate bug
Comment 2 Dario Andres 2011-03-08 19:59:55 UTC
[Comment from a bug triager]
This issue is now being tracked at bug 265426.
Merging. Thanks

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