Bug 231969

Summary: Kile crashes when closing one of the open tabs (files) of a project
Product: [Applications] kate Reporter: Code Hatch <versified.verity>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Code Hatch 2010-03-24 06:54:40 UTC
Application: kile (2.0.84)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-17-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I opened a Kile project and worked on it for a while by opening and closing several files of the project without any obvious bugs or crashes. At some point, I closed one of the project files (by clicking on the X button of the file's tab) and Kile crashed.

 -- Backtrace:
Application: Kile (kile), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f71bed3f800 (LWP 1644))]

Thread 3 (Thread 0x7f71b0861710 (LWP 1645)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f71bd3232a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f71bd601220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f71bd3232e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f71bd60f2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f71ba72b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f71b9a626dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f71a9561710 (LWP 1646)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f71a9560a00 in ?? ()
#2  0x00007fff62dff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f71bed3f800 (LWP 1644)):
[KCrash Handler]
#5  KateSmartCursor::setPositionInternal (this=0x41e62c0, pos=..., internal=true) at ../../kate/smart/katesmartcursor.cpp:186
#6  0x00007f71b0dcecdf in KateSmartCursor::translate (this=0x41e62c0, edit=...) at ../../kate/smart/katesmartcursor.cpp:305
#7  0x00007f71b0dd4d0c in KateSmartGroup::translateChanged (this=0x477f850, edit=...) at ../../kate/smart/katesmartmanager.cpp:467
#8  0x00007f71b0dd7ed3 in KateSmartManager::slotTextChanged (this=0x2e1dd60, edit=0x3b76910) at ../../kate/smart/katesmartmanager.cpp:371
#9  0x00007f71b0dd822c in KateSmartManager::qt_metacall (this=0x2e1dd60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff62dceb00) at ./katesmartmanager.moc:80
#10 0x00007f71baac2dcf in QMetaObject::activate (sender=0x473e090, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x41e62c0) at kernel/qobject.cpp:3293
#11 0x00007f71b0d9564f in KateEditHistory::editDone (this=0x7fff62dce870, _t1=0x3b76910) at ./kateedit.moc:84
#12 0x00007f71b0d714ee in KateDocument::closeUrl (this=0x4b07cf0) at ../../kate/document/katedocument.cpp:2526
#13 0x00000000006def16 in _start ()

Possible duplicates by query: bug 222995, bug 217998, bug 217431, bug 217406, bug 215847.

Reported using DrKonqi
Comment 1 Michel Ludwig 2010-03-27 22:47:46 UTC
Forwarding to KatePart.
Comment 2 Dominik Haumann 2010-03-28 00:45:02 UTC

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