Bug 243931 - Crash when trying to open a non-existent file over SSH.
Summary: Crash when trying to open a non-existent file over SSH.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 243981 244452 245247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-08 11:49 UTC by Dmitry
Modified: 2010-08-25 13:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.59 KB, text/plain)
2010-08-25 13:51 UTC, jouni.hatinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2010-07-08 11:49:13 UTC
Application: kate (3.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Kate crashed when I opened the "Open File" dialog, clicked on an entry for remote machine in "Places" bar and manually typed a relative path to a non-existent file. I could not reproduce this bug.

The crash does not seem to be reproducible.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f4d20eba0db in KateViewDocumentProxyModel::sort (this=0x1f31540) at ../../../kate/app/kateviewdocumentproxymodel.cpp:649
#6  0x00007f4d20ebb0e8 in KateViewDocumentProxyModel::opened (this=0x1f31540, index=...) at ../../../kate/app/kateviewdocumentproxymodel.cpp:216
#7  0x00007f4d20e8ec8f in KateMainWindow::slotWindowActivated (this=0x19ccce0) at ../../../kate/app/katemainwindow.cpp:566
#8  0x00007f4d20e93613 in KateMainWindow::qt_metacall (this=0x19ccce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff51aaf70) at ./katemainwindow.moc:181
#9  0x00007f4d2c08ee3f in QMetaObject::activate (sender=0x1ef0150, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3d) at kernel/qobject.cpp:3293
#10 0x00007f4d20e9864c in KateViewManager::activateView (this=0x1ef0150, view=0x1b86ae0) at ../../../kate/app/kateviewmanager.cpp:469
#11 0x00007f4d20e9943f in KateViewManager::createView (this=0x1ef0150, doc=<value optimized out>) at ../../../kate/app/kateviewmanager.cpp:308
#12 0x00007f4d20e999a8 in KateViewManager::activateView (this=0x1ef0150, d=0x1bb0840) at ../../../kate/app/kateviewmanager.cpp:487
#13 0x00007f4d20e99fa5 in KateViewManager::slotDocumentOpen (this=0x1ef0150) at ../../../kate/app/kateviewmanager.cpp:188
#14 0x00007f4d20e9a804 in KateViewManager::qt_metacall (this=0x1ef0150, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff51ab2e0) at ./kateviewmanager.moc:129
#15 0x00007f4d2c08ee3f in QMetaObject::activate (sender=0x1f2fca0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3d) at kernel/qobject.cpp:3293
#16 0x00007f4d2b212032 in QAction::triggered (this=0x7f4d2ad41e40, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#17 0x00007f4d2b2140ab in QAction::activate (this=0x1f2fca0, event=<value optimized out>) at kernel/qaction.cpp:1255
#18 0x00007f4d2b2159b7 in QAction::event (this=0x7f4d2ad41e40, e=<value optimized out>) at kernel/qaction.cpp:1181
#19 0x00007f4d2c4edf3d in KAction::event (this=0x7f4d2ad41e40, event=0x7ffff51ab950) at ../../kdeui/actions/kaction.cpp:129
#20 0x00007f4d2b21822c in QApplicationPrivate::notify_helper (this=0x17a9540, receiver=0x1f2fca0, e=0x7ffff51ab950) at kernel/qapplication.cpp:4300
#21 0x00007f4d2b21e6fb in QApplication::notify (this=0x7ffff51acf90, receiver=0x1f2fca0, e=0x7ffff51ab950) at kernel/qapplication.cpp:4183
#22 0x00007f4d2c5c3526 in KApplication::notify (this=0x7ffff51acf90, receiver=0x1f2fca0, event=0x7ffff51ab950) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x00007f4d2c07c06c in QCoreApplication::notifyInternal (this=0x7ffff51acf90, receiver=0x1f2fca0, event=0x7ffff51ab950) at kernel/qcoreapplication.cpp:704
#24 0x00007f4d2b253e86 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7ffff51abf50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7ffff51abf50) at kernel/qshortcutmap.cpp:879
#26 0x00007f4d2b255c97 in QShortcutMap::tryShortcutEvent (this=0x17a9668, o=<value optimized out>, e=0x7ffff51abf50) at kernel/qshortcutmap.cpp:364
#27 0x00007f4d2b220268 in QApplication::notify (this=0x7ffff51acf90, receiver=0x2087990, e=0x7ffff51abf50) at kernel/qapplication.cpp:3746
#28 0x00007f4d2c5c3526 in KApplication::notify (this=0x7ffff51acf90, receiver=0x2087990, event=0x7ffff51abf50) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007f4d2c07c06c in QCoreApplication::notifyInternal (this=0x7ffff51acf90, receiver=0x2087990, event=0x7ffff51abf50) at kernel/qcoreapplication.cpp:704
#30 0x00007f4d2b2c316a in QKeyMapper::sendKeyEvent (keyWidget=0x2087990, grab=<value optimized out>, type=QEvent::KeyPress, code=79, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=32, nativeVirtualKey=111, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#31 0x00007f4d2b2c56f0 in QKeyMapperPrivate::translateKeyEvent (this=0x17dabb0, keyWidget=0x2087990, event=<value optimized out>, grab=false) at kernel/qkeymapper_x11.cpp:1831
#32 0x00007f4d2b29c904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffff51acb20) at kernel/qapplication_x11.cpp:3394
#33 0x00007f4d2b2c8882 in x11EventSourceDispatch (s=0x17abcc0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f4d2745d8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007f4d27461748 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007f4d274618fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x00007f4d2c0a5513 in QEventDispatcherGlib::processEvents (this=0x1723140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007f4d2b2c846e in QGuiEventDispatcherGlib::processEvents (this=0x7f4d2ad41e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f4d2c07a992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007f4d2c07ad6c in QEventLoop::exec (this=0x7ffff51ace50, flags=) at kernel/qeventloop.cpp:201
#41 0x00007f4d2c07eaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#42 0x00007f4d210e2eed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#43 0x00000000004070f3 in launch (argc=3, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=24, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#44 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#45 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#46 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 243772, bug 242355, bug 241898, bug 238485, bug 238369.

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-07-08 18:39:59 UTC
I fixed that some time ago, at least for KDE 4.5.
Comment 2 Nicolas L. 2010-07-13 12:33:22 UTC
*** Bug 244452 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2010-07-20 19:05:47 UTC
*** Bug 245247 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2010-07-20 19:06:34 UTC
*** Bug 243981 has been marked as a duplicate of this bug. ***
Comment 5 Dominik Haumann 2010-07-20 19:07:29 UTC
Can someone of you please build Kate according to the howto on http://kate-editor.org/get-it/ and check whether the error is also in the current development version? Would be greatly appreciated!!
Comment 6 Dmitry 2010-07-20 22:51:39 UTC
Works fine for me, but I could not find exact instructions how to reproduce this bug, so can't say for sure.
Comment 7 csuggs4 2010-07-23 16:28:06 UTC
I deleted the session I was using and started over, and haven't had the
issue again.  Perhaps it was something to do with how a file came into that
session.

Charles

On Tue, Jul 20, 2010 at 4:51 PM, Dmitry <commando@land.ru> wrote:

> https://bugs.kde.org/show_bug.cgi?id=243931
>
>
>
>
>
> --- Comment #6 from Dmitry <commando land ru>  2010-07-20 22:51:39 ---
> Works fine for me, but I could not find exact instructions how to reproduce
> this bug, so can't say for sure.
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 8 jouni.hatinen 2010-08-25 13:51:26 UTC
Created attachment 50925 [details]
New crash information added by DrKonqi

I had two files open, one over ssh and one empty untitled file. When I switched to the empty file, Kate crashed.