Bug 177771

Summary: Kate crashes after closing file which was first opened after restoring session
Product: [Applications] kate Reporter: Bartosz Gęza <potatog>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bartosz Gęza 2008-12-14 13:36:41 UTC
Version:           3.1.3 (using KDE 4.1.3)
Compiler:          gcc 4.3.1 
OS:                Linux
Installed from:    Gentoo Packages

No plugins loaded

Steps to reproduce
1. Create named session with 2 files opened
2. kate -s  "session_name"
3. press ctrl-W
4. Kate crashes


Backtrace:
Program: Kate (kate), signal SIGSEGV
(no debugging symbols found)
(...)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f835a6dd750 (LWP 2326)]
(no debugging symbols found)
(...)
(no debugging symbols found)
[KCrash handler]
#5  0x00007f835441cd00 in QUrl::QUrl () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f835a09a583 in KUrl::KUrl ()
   from /usr/kde/4.1/lib64/libkdecore.so.5
#7  0x00007f83589e609f in KParts::ReadOnlyPart::url ()
   from /usr/kde/4.1/lib64/libkparts.so.4
#8  0x00007f8359d5c36a in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#9  0x00007f8359d9461e in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#10 0x00007f8359d95ffb in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#11 0x00007f8359d976b3 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#12 0x00007f8359d66f83 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#13 0x00007f8359d6bcbd in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#14 0x00007f835448a589 in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f8359d7198d in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#16 0x00007f8359d729bb in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#17 0x00007f8359d73a34 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#18 0x00007f835448a589 in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f8359d56e76 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#20 0x00007f8359d5a03c in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#21 0x00007f8359d5d1e1 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#22 0x00007f8359d6ee60 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#23 0x00007f8359d73ad5 in ?? () from /usr/kde/4.1/lib64/libkateinterfaces.so.4
#24 0x00007f835448a589 in QMetaObject::activate ()
   from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f83548fb0a9 in QAction::triggered ()
   from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f83548fb8c6 in QAction::activate ()
   from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f83548fedc3 in QAction::event () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f835495ac08 in QWidgetAction::event ()
   from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f8354900be6 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f8354908c32 in QApplication::notify ()
   from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f8357f09564 in KApplication::notify ()
   from /usr/kde/4.1/lib64/libkdeui.so.5
#32 0x00007f8354472f10 in QCoreApplication::notifyInternal ()
   from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f83549399f4 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f835493b720 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f8354909c7a in QApplication::notify ()
   from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f8357f09564 in KApplication::notify ()
   from /usr/kde/4.1/lib64/libkdeui.so.5
#37 0x00007f8354472f10 in QCoreApplication::notifyInternal ()
   from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007f8354992490 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f83549946e0 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f835496ee47 in QApplication::x11ProcessEvent ()
   from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f83549968b7 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007f83514c1298 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#43 0x00007f83514c4755 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007f83514c495f in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#45 0x00007f835449f2a5 in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#46 0x00007f8354995df7 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007f83544714b4 in QEventLoop::processEvents ()
   from /usr/lib64/qt4/libQtCore.so.4
#48 0x00007f8354471632 in QEventLoop::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f8354473d61 in QCoreApplication::exec ()
   from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f835a40f00a in kdemain ()
   from /usr/kde/4.1/lib64/libkdeinit4_kate.so
#51 0x00007f835291d486 in __libc_start_main () from /lib64/libc.so.6
#52 0x0000000000400959 in _start ()
#0  0x00007f83529a85e0 in nanosleep () from /lib64/libc.so.6
Comment 1 Dario Andres 2008-12-14 14:15:43 UTC
This may be related/duplicate of bug 170282. Are you using "Order By URL" in the filelist inside Kate? 
Comment 2 Bartosz Gęza 2008-12-14 14:24:24 UTC
Sorry for duplicate, I hadn't found that one before.
Order by url causes crash when closing some of the files.

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