Bug 160326

Summary: kwrite crashed after moving the editing file
Product: [Applications] kate Reporter: Cristi <cuciferus>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Cristi 2008-04-03 16:25:52 UTC
Version:           4.00.68 (KDE 4.0.68 >= 20080402) (using 4.00.68 (KDE 4.0.68 >= 20080402), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.24-gentoo-r3

I edited a file, saved it, and then decided to move it in another directory. I tried to exit kwrite and it promted me that the file has been removed by another application and asked me if I choose to save it, quit, or something...I closed the dialog with the cancel option, because I've forgot about moving the file. I remebered moving the file and chose to exit kwrite again, only this time it didn't promted be but crashed. 
Backtrace: 
Application: KWrite (kwrite), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x2b53cee397d0 (LWP 25145)]
[KCrash handler]
#5  0x0000000000734e90 in ?? ()
#6  0x00002b53c7c66fd6 in qDeleteAll<QList<KPluginFactory*>::const_iterator> (
    begin=@0x7fffe3d60870, end=@0x7fffe3d60860)
    at /usr/include/qt4/QtCore/qalgorithms.h:352
#7  0x00002b53c7c6703c in qDeleteAll<KTextEditorFactoryList> (c=@0x731960)
    at /usr/include/qt4/QtCore/qalgorithms.h:360
#8  0x00002b53c7c654c8 in cleanupKTextEditorFactoryList ()
    at /var/tmp/paludis/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/interfaces/ktexteditor/ktexteditor.cpp:199
#9  0x00002b53cafab758 in qt_call_post_routines ()
    at kernel/qcoreapplication.cpp:163
#10 0x00002b53cbafd7d8 in ~QApplication (this=0x7fffe3d60a70)
    at kernel/qapplication.cpp:932
#11 0x00002b53c6f7255d in kdemain (argc=1, argv=0x7fffe3d61728)
    at /var/tmp/paludis/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/kwrite/kwritemain.cpp:786
#12 0x00002b53cd4771f4 in __libc_start_main () from /lib64/libc.so.6
#13 0x00000000004008c9 in _start ()
#0  0x00002b53cd4f0c21 in nanosleep () from /lib64/libc.so.6
Comment 1 Cristi 2008-04-05 09:53:26 UTC
Kwrite can crash withoug moving the file. I've got the exact backtrace just by closing kwrite. No file was moved now
Comment 2 Oliver Putz 2008-04-08 02:01:59 UTC
This bug (especially after comment #1) seems like a dupe of bug #160183.

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