Bug 277531 - Kate crashes when pressing Save as
Summary: Kate crashes when pressing Save as
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: kfileplacesview (show other bugs)
Version: 4.11.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 324448 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-11 08:45 UTC by Oussama
Modified: 2018-04-09 19:34 UTC (History)
3 users (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 Oussama 2011-07-11 08:45:28 UTC
Application: kate (3.5.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I hade an .ini file opened when I pressed Save As and it did crash

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7855930 (LWP 4947))]

Thread 4 (Thread 0xb75e1b70 (LWP 4948)):
#0  0x008103eb in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00f47f66 in pthread_mutex_lock () from /lib/libc.so.6
#2  0x008e08ba in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x008e145e in ?? () from /lib/libglib-2.0.so.0
#4  0x008e1ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x0295f6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0090848f in ?? () from /lib/libglib-2.0.so.0
#7  0x0080dcc9 in start_thread () from /lib/libpthread.so.0
#8  0x00f3a69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb3c9ab70 (LWP 4951)):
#0  0x00ccb72a in QTimerInfoList::timerWait (this=0x910fc0c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#1  0x00cc97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3c9a0bc) at kernel/qeventdispatcher_glib.cpp:136
#2  0x00cc983d in timerSourcePrepare (source=0xb3c9a008, timeout=0x3e800) at kernel/qeventdispatcher_glib.cpp:169
#3  0x008e0e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#4  0x008e1279 in ?? () from /lib/libglib-2.0.so.0
#5  0x008e1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0x00cc959f in QEventDispatcherGlib::processEvents (this=0x9021650, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x00c99609 in QEventLoop::processEvents (this=0xb3c9a290, flags=) at kernel/qeventloop.cpp:149
#8  0x00c99a8a in QEventLoop::exec (this=0xb3c9a290, flags=...) at kernel/qeventloop.cpp:201
#9  0x00b95b7e in QThread::exec (this=0x901e5f0) at thread/qthread.cpp:490
#10 0x00c7835b in QInotifyFileSystemWatcherEngine::run (this=0x901e5f0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00b98df9 in QThreadPrivate::start (arg=0x901e5f0) at thread/qthread_unix.cpp:266
#12 0x0080dcc9 in start_thread () from /lib/libpthread.so.0
#13 0x00f3a69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb33c5b70 (LWP 5677)):
#0  0x0089f416 in __kernel_vsyscall ()
#1  0x008124dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00f47d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0x03926877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3a251a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x039268c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3a251a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x0080dcc9 in start_thread () from /lib/libpthread.so.0
#6  0x00f3a69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7855930 (LWP 4947)):
[KCrash Handler]
#7  0x00cb1714 in QObject::connect (sender=0x8eadd28, signal=0x2f8608d "2deviceAdded(const QString&)", receiver=0x9e9cab8, method=0x2f862c0 "1_k_deviceAdded(const QString&)", type=Qt::AutoConnection) at kernel/qobject.cpp:2491
#8  0x02f53618 in KFilePlacesModel::Private::_k_initDeviceList (this=0x9779710) at ../../kfile/kfileplacesmodel.cpp:331
#9  0x02f55201 in KFilePlacesModel::qt_metacall (this=0x9e9cab8, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x9f16980) at ./kfileplacesmodel.moc:91
#10 0x00ca08ca in QMetaObject::metacall (object=0x9e9cab8, cl=QMetaObject::ReadProperty, idx=26, argv=0x9f16980) at kernel/qmetaobject.cpp:237
#11 0x00cabdf6 in QMetaCallEvent::placeMetaCall (this=0xa20afa0, object=0x9e9cab8) at kernel/qobject.cpp:534
#12 0x00cad6a2 in QObject::event (this=0x9e9cab8, e=0x8eadd28) at kernel/qobject.cpp:1219
#13 0x010f2fdc in QApplicationPrivate::notify_helper (this=0x8b512b8, receiver=0x9e9cab8, e=0xa20afa0) at kernel/qapplication.cpp:4396
#14 0x010f904e in QApplication::notify (this=0xbfc3515c, receiver=0x9e9cab8, e=0xa20afa0) at kernel/qapplication.cpp:3798
#15 0x005f968a in KApplication::notify (this=0xbfc3515c, receiver=0x9e9cab8, event=0xa20afa0) at ../../kdeui/kernel/kapplication.cpp:310
#16 0x00c9ab3b in QCoreApplication::notifyInternal (this=0xbfc3515c, receiver=0x9e9cab8, event=0xa20afa0) at kernel/qcoreapplication.cpp:732
#17 0x00c9dd8b in sendEvent (receiver=0x0, event_type=0, data=0x8b31e80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b31e80) at kernel/qcoreapplication.cpp:1373
#19 0x00c9df4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#20 0x00cc9a74 in sendPostedEvents (s=0x8b53e10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=0x8b53e10) at kernel/qeventdispatcher_glib.cpp:277
#22 0x008dd855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x008e1668 in ?? () from /lib/libglib-2.0.so.0
#24 0x008e1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00cc9565 in QEventDispatcherGlib::processEvents (this=0x8b31b40, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#26 0x011b4be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b31b40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00c99609 in QEventLoop::processEvents (this=0xbfc33784, flags=) at kernel/qeventloop.cpp:149
#28 0x00c99a8a in QEventLoop::exec (this=0xbfc33784, flags=...) at kernel/qeventloop.cpp:201
#29 0x059e1b3b in KIO::NetAccess::enter_loop (this=0xbfc33824) at ../../kio/kio/netaccess.cpp:502
#30 0x059e2216 in KIO::NetAccess::synchronousRunInternal (this=0xbfc33824, job=0xa219680, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at ../../kio/kio/netaccess.cpp:487
#31 0x059e29cb in KIO::NetAccess::synchronousRun (job=0xa219680, window=0x0, data=0x0, finalURL=0x0, metaData=0x0) at ../../kio/kio/netaccess.cpp:277
#32 0x02f480d6 in KFileWidget::KFileWidget (this=0x9870bd8, _startDir=..., parent=0xbfc33d4c) at ../../kfile/kfilewidget.cpp:605
#33 0x025416fb in KFileModule::createFileWidget (this=0x9bbdeb8, startDir=..., parent=0xbfc33d4c) at ../../kfile/kfilemodule.cpp:37
#34 0x05a60752 in KFileDialog::KFileDialog (this=0xbfc33d4c, startDir=..., filter=..., parent=0x95d40e0, customWidget=0x0) at ../../kio/kfile/kfiledialog.cpp:269
#35 0x05a5b7de in KEncodingFileDialog::KEncodingFileDialog (this=0xbfc33d4c, startDir=..., encoding=..., filter=..., caption=..., type=KFileDialog::Saving, parent=0x95d40e0) at ../../kio/kfile/kencodingfiledialog.cpp:42
#36 0x05a5bee7 in KEncodingFileDialog::getSaveUrlAndEncoding (encoding=..., dir=..., filter=..., parent=0x95d40e0, caption=...) at ../../kio/kfile/kencodingfiledialog.cpp:200
#37 0x03b06101 in KateDocument::documentSaveAs (this=0x93c4268) at ../../kate/document/katedocument.cpp:3956
#38 0x03b21e74 in KateDocument::qt_metacall (this=0x93c4268, _c=QMetaObject::InvokeMetaMethod, _id=61, _a=0xbfc33f98) at ./katedocument.moc:366
#39 0x00ca08ca in QMetaObject::metacall (object=0x93c4268, cl=QMetaObject::ReadProperty, idx=97, argv=0xbfc33f98) at kernel/qmetaobject.cpp:237
#40 0x00cb36ad in QMetaObject::activate (sender=0x9962610, m=0x1a71370, local_signal_index=1, argv=0x1c69708) at kernel/qobject.cpp:3280
#41 0x010eaf99 in QAction::triggered (this=0x9962610, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#42 0x010ec8dc in QAction::activate (this=0x9962610, event=QAction::Trigger) at kernel/qaction.cpp:1256
#43 0x015b87ef in QMenuPrivate::activateCausedStack (this=0x8e85218, causedStack=..., action=0x9962610, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#44 0x015bea4b in QMenuPrivate::activateAction (this=0x8e85218, action=0x9962610, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#45 0x015bf5e0 in QMenu::mouseReleaseEvent (this=0x8e77d48, e=0xbfc34840) at widgets/qmenu.cpp:2301
#46 0x006f3fe5 in KMenu::mouseReleaseEvent (this=0x8e77d48, e=0xbfc34840) at ../../kdeui/widgets/kmenu.cpp:471
#47 0x01150e08 in QWidget::event (this=0x8e77d48, event=0xbfc34840) at kernel/qwidget.cpp:8187
#48 0x015c102f in QMenu::event (this=0x8e77d48, e=0xbfc34840) at widgets/qmenu.cpp:2410
#49 0x010f2fdc in QApplicationPrivate::notify_helper (this=0x8b512b8, receiver=0x8e77d48, e=0xbfc34840) at kernel/qapplication.cpp:4396
#50 0x010f9c2e in QApplication::notify (this=0xbfc3515c, receiver=0x8e77d48, e=0xbfc34840) at kernel/qapplication.cpp:3959
#51 0x005f968a in KApplication::notify (this=0xbfc3515c, receiver=0x8e77d48, event=0xbfc34840) at ../../kdeui/kernel/kapplication.cpp:310
#52 0x00c9ab3b in QCoreApplication::notifyInternal (this=0xbfc3515c, receiver=0x8e77d48, event=0xbfc34840) at kernel/qcoreapplication.cpp:732
#53 0x010f8094 in sendEvent (receiver=0x8e77d48, event=0xbfc34840, alienWidget=0x0, nativeWidget=0x8e77d48, buttonDown=0x1a8d3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QApplicationPrivate::sendMouseEvent (receiver=0x8e77d48, event=0xbfc34840, alienWidget=0x0, nativeWidget=0x8e77d48, buttonDown=0x1a8d3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#55 0x01187261 in QETWidget::translateMouseEvent (this=0x8e77d48, event=0xbfc34d5c) at kernel/qapplication_x11.cpp:4337
#56 0x01186151 in QApplication::x11ProcessEvent (this=0xbfc3515c, event=0xbfc34d5c) at kernel/qapplication_x11.cpp:3414
#57 0x011b536a in x11EventSourceDispatch (s=0x8b53bf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x008dd855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#59 0x008e1668 in ?? () from /lib/libglib-2.0.so.0
#60 0x008e1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#61 0x00cc9565 in QEventDispatcherGlib::processEvents (this=0x8b31b40, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#62 0x011b4be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b31b40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x00c99609 in QEventLoop::processEvents (this=0xbfc35054, flags=) at kernel/qeventloop.cpp:149
#64 0x00c99a8a in QEventLoop::exec (this=0xbfc35054, flags=...) at kernel/qeventloop.cpp:201
#65 0x00c9e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#66 0x010f1e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#67 0x0087c7b7 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#68 0x0804859b in _start ()

Possible duplicates by query: bug 257114.

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-09-03 20:53:05 UTC
*** Bug 324448 has been marked as a duplicate of this bug. ***
Comment 2 Dominik Haumann 2013-09-03 20:55:46 UTC
Still in 4.11 according to bug #324448. Is this a known issue? Maybe also a solid issue?
Comment 3 Nate Graham 2018-04-09 19:34:56 UTC
Ancient bug report against an ancient version of Kate. Please re-open if this crash is reproducible using KF 5 versions of Kate and KIO.