Kile sometimes crashes when saving a file

Bug #315594 reported by Rainer
This bug report is a duplicate of:  Bug #308246: kile random crash losing data. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kile (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kile

Kile (version 1:2.0.1-1ubuntu1, latest in Intrepid) sometimes crashes when saving a file. This happens intermittently, and, most of the time, leaves the file that is being saved intact (ie., it is correctly saved before kile crashes). Sometimes, though, the file is damaged: it just suddenly ends (the content up to there is correct), as if the crash occurred while writing the file.

A backtrace:
---8<---
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb61136c0 (LWP 10790)]
0xb7882c79 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb61136c0 (LWP 10790)):
#0 0xb7882c79 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7884a2d in ?? () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7886865 in malloc () from /lib/tls/i686/cmov/libc.so.6
#3 0xb713eff0 in QTextEngine (this=0xbf9406fc, str=@0xbf940784, f=0x9037c98) at kernel/qtextengine.cpp:907
#4 0xb70044b1 in QPainter::drawText (this=0xbf940ae8, x=248, y=12, str=@0x91309a8, pos=31, len=35, dir=QPainter::Auto)
    at kernel/qpainter_x11.cpp:3045
#5 0xb5c0c4b8 in KateRenderer::paintTextLine (this=0x91c3900, paint=@0xbf940ae8, range=0x9295384, xStart=0, xEnd=1427,
    cursor=0x91d5608, bracketmark=0x91d5638) at /build/buildd/kdelibs-3.5.10/./kate/part/katerenderer.cpp:635
#6 0xb5c0ce9b in KateViewInternal::paintText (this=0x91d5538, x=0, y=0, width=1427, height=793, paintOnlyDirty=true)
    at /build/buildd/kdelibs-3.5.10/./kate/part/kateviewinternal.cpp:753
#7 0xb5c0ee2c in KateViewInternal::updateView (this=0x91d5538, changed=true, viewLinesScrolled=0)
    at /build/buildd/kdelibs-3.5.10/./kate/part/kateviewinternal.cpp:712
#8 0xb5c12a88 in KateView::updateView (this=0x91bc690, changed=<value optimized out>)
    at /build/buildd/kdelibs-3.5.10/./kate/part/kateview.cpp:1315
#9 0xb5c12b23 in KateDocument::tagAll (this=0x903e718) at /build/buildd/kdelibs-3.5.10/./kate/part/katedocument.cpp:4125
#10 0xb5c318e0 in KateDocument::updateConfig (this=0x903e718) at /build/buildd/kdelibs-3.5.10/./kate/part/katedocument.cpp:4557
#11 0xb5c31a05 in KateDocumentConfig::updateConfig (this=0x40fffffa)
    at /build/buildd/kdelibs-3.5.10/./kate/part/kateconfig.cpp:232
#12 0xb5b4009c in KateConfig::configEnd (this=0x40fffffa) at /build/buildd/kdelibs-3.5.10/./kate/part/kateconfig.cpp:77
#13 0xb5bd92b1 in KateDocument::readVariables (this=0x903e718, onlyViewAndRenderer=false)
    at /build/buildd/kdelibs-3.5.10/./kate/part/katedocument.cpp:4623
#14 0xb5c132dc in KateDocument::saveFile (this=0x903e718) at /build/buildd/kdelibs-3.5.10/./kate/part/katedocument.cpp:2625
#15 0xb77faab8 in KParts::ReadWritePart::save (this=0x903e718) at /build/buildd/kdelibs-3.5.10/./kparts/part.cpp:547
#16 0xb5b8792a in KateDocument::save (this=0x903e718) at /build/buildd/kdelibs-3.5.10/./kate/part/katedocument.cpp:2544
#17 0xb5b5fdb5 in KateView::save (this=0x91bc690) at /build/buildd/kdelibs-3.5.10/./kate/part/kateview.cpp:853
#18 0x081d036a in KileDocument::Manager::fileSave (this=0x8b86960)
    at /build/buildd/kile-2.0.1/./src/kile/kiledocmanager.cpp:888
#19 0x081d1cb9 in KileDocument::Manager::qt_invoke (this=0x8b86960, _id=14, _o=0xbf9415b4) at ./kiledocmanager.moc:739
#20 0xb70a838a in QObject::activate_signal (this=0x91a54b8, clist=0x91a5710, o=0xbf9415b4) at kernel/qobject.cpp:2359
#21 0xb70aa8ab in QObject::activate_signal (this=0x91a54b8, signal=2) at kernel/qobject.cpp:2328
#22 0xb68ce739 in KAction::activated (this=0x91a54b8) at ./kaction.moc:176
#23 0xb6919210 in KAction::slotActivated (this=0x91a54b8) at /build/buildd/kdelibs-3.5.10/./kdeui/kaction.cpp:1102
---Type <return> to continue, or q <return> to quit---
#24 0xb69c68eb in KAction::qt_invoke (this=0x91a54b8, _id=15, _o=0xbf9416a4) at ./kaction.moc:218
#25 0xb70a838a in QObject::activate_signal (this=0x927bc48, clist=0x91bc418, o=0xbf9416a4) at kernel/qobject.cpp:2359
#26 0xb70aa8ab in QObject::activate_signal (this=0x927bc48, signal=2) at kernel/qobject.cpp:2328
#27 0xb75f6559 in KAccelPrivate::menuItemActivated (this=0x927bc48) at ./kaccelprivate.moc:110
#28 0xb761b197 in KAccelPrivate::emitActivatedSignal (this=0x927bc48, pAction=0x927e798)
    at /build/buildd/kdelibs-3.5.10/./kdecore/kaccel.cpp:403
#29 0xb76f3160 in KAccelPrivate::eventFilter (this=0x927bc48, pEvent=0xbf941abc)
    at /build/buildd/kdelibs-3.5.10/./kdecore/kaccel.cpp:373
#30 0xb70a8443 in QObject::activate_filters (this=0x8b94bf0, e=0xbf941abc) at kernel/qobject.cpp:906
#31 0xb70a84ab in QObject::event (this=0x8b94bf0, e=0xbf941abc) at kernel/qobject.cpp:738
#32 0xb70e26ec in QWidget::event (this=0x8b94bf0, e=0xbf941abc) at kernel/qwidget.cpp:4681
#33 0xb71a2e02 in QMainWindow::event (this=0x8b94bf0, e=0xbf941abc) at widgets/qmainwindow.cpp:1690
#34 0xb70434f5 in QApplication::internalNotify (this=0xbf942018, receiver=0x8b94bf0, e=0xbf941abc)
    at kernel/qapplication.cpp:2638
#35 0xb7044eb7 in QApplication::notify (this=0xbf942018, receiver=0x91d5538, e=0xbf941abc) at kernel/qapplication.cpp:2395
#36 0xb76ea8a2 in KApplication::notify (this=0xbf942018, receiver=0x91d5538, event=0xbf941abc)
    at /build/buildd/kdelibs-3.5.10/./kdecore/kapplication.cpp:550
#37 0xb760c997 in KAccelEventHandler::x11Event (this=0x8b862c0, pEvent=0xbf941e08) at /usr/share/qt3/include/qapplication.h:523
#38 0xb76efc9b in KApplication::x11EventFilter (this=0xbf942018, _event=0xbf941e08)
    at /build/buildd/kdelibs-3.5.10/./kdecore/kapplication.cpp:1689
#39 0xb6fc9690 in qt_x11EventFilter (ev=0xbf941e08) at kernel/qapplication_x11.cpp:409
#40 0xb6fd872c in QApplication::x11ProcessEvent (this=0xbf942018, event=0xbf941e08) at kernel/qapplication_x11.cpp:3389
#41 0xb6fed894 in QEventLoop::processEvents (this=0x8b049d8, flags=<value optimized out>) at kernel/qeventloop_x11.cpp:195
#42 0xb705bf00 in QEventLoop::enterLoop (this=0x8b049d8) at kernel/qeventloop.cpp:201
#43 0xb705bdc6 in QEventLoop::exec (this=0x8b049d8) at kernel/qeventloop.cpp:148
#44 0xb7043b8f in QApplication::exec (this=0xbf942018) at kernel/qapplication.cpp:2761
#45 0x0812ade8 in main (argc=8, argv=0x81) at /build/buildd/kile-2.0.1/./src/kile/main.cpp:135
--->8---

lsb_release -rd:
Description: Ubuntu 8.10
Release: 8.10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.