Bug 353847 - View or edit some text files make Krusader crash
Summary: View or edit some text files make Krusader crash
Status: RESOLVED DUPLICATE of bug 346091
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.4.0-beta3 "Single Step"
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-13 06:47 UTC by Vaso
Modified: 2018-05-06 00:16 UTC (History)
4 users (show)

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


Attachments
This file crashes valorous Krusader (9 bytes, text/plain)
2015-10-13 06:50 UTC, Vaso
Details
This file crashes valorous Krusader (282 bytes, application/gzip)
2015-10-13 06:53 UTC, Vaso
Details
New crash information added by DrKonqi (5.92 KB, text/plain)
2016-02-08 14:31 UTC, Vaso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vaso 2015-10-13 06:47:20 UTC
Application: krusader (2.4.0-beta3 "Single Step")
KDE Platform Version: 4.14.11
Qt Version: 4.8.7
Operating System: Linux 4.2.3-300.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:

Try to view or edit text file (see attachment Maintenance.txt)

The crash can be reproduced every time.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f71cec98900 (LWP 15605))]

Thread 2 (Thread 0x7f71b2764700 (LWP 15606)):
#0  0x00007f71cb047b4d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f71c61ba3c0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f71b2763a70, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007f71c61ba3c0 in g_wakeup_acknowledge (wakeup=0x5627a530d2c0) at gwakeup.c:210
#3  0x00007f71c6176c64 in g_main_context_check (context=context@entry=0x7f71ac0009a0, max_priority=2147483647, fds=fds@entry=0x7f71ac003410, n_fds=n_fds@entry=1) at gmain.c:3632
#4  0x00007f71c6177110 in g_main_context_iterate (context=context@entry=0x7f71ac0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#5  0x00007f71c617727c in g_main_context_iteration (context=0x7f71ac0009a0, may_block=may_block@entry=1) at gmain.c:3901
#6  0x00007f71cb420eae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f71ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#7  0x00007f71cb3ef151 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f71b2763c80, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f71cb3ef4c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f71b2763c80, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f71cb2dea89 in QThread::exec() (this=this@entry=0x5627a56d3b20) at thread/qthread.cpp:538
#10 0x00007f71cb3cf223 in QInotifyFileSystemWatcherEngine::run() (this=0x5627a56d3b20) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f71cb2e137c in QThreadPrivate::start(void*) (arg=0x5627a56d3b20) at thread/qthread_unix.cpp:352
#12 0x00007f71cb03f60a in start_thread (arg=0x7f71b2764700) at pthread_create.c:334
#13 0x00007f71ca257bbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f71cec98900 (LWP 15605)):
[KCrash Handler]
#6  0x00007f71cb978ec8 in KSycocaEntry::name() const (this=<optimized out>) at ../../kdecore/sycoca/ksycocaentry.h:154
#7  0x00007f71cb978ec8 in KSycocaEntry::name() const (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007f71abb9bedc in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () at /lib64/libkatepartinterfaces.so.4
#9  0x00007f71abc19b2e in KateBuffer::openFile(QString const&, bool) () at /lib64/libkatepartinterfaces.so.4
#10 0x00007f71abc0e7fc in KateDocument::openFile() () at /lib64/libkatepartinterfaces.so.4
#11 0x00007f71ce9404f4 in KParts::ReadOnlyPartPrivate::openLocalFile() (this=this@entry=0x5627a7970560) at ../../kparts/part.cpp:591
#12 0x00007f71ce942dcd in KParts::ReadOnlyPart::openUrl(KUrl const&) (this=<optimized out>, url=...) at ../../kparts/part.cpp:555
#13 0x00007f71abbf953e in KateDocument::openUrl(KUrl const&) () at /lib64/libkatepartinterfaces.so.4
#14 0x00005627a39e668d in PanelViewer::openUrl(KUrl const&, KrViewer::Mode) (this=this@entry=0x5627a6072330, url=..., mode=mode@entry=KrViewer::Default) at ../../../krusader/KViewer/panelviewer.cpp:254
#15 0x00005627a39e2c0f in KrViewer::view(KUrl, KrViewer::Mode, bool, QWidget*) (url=..., mode=mode@entry=KrViewer::Default, new_window=new_window@entry=false, parent=parent@entry=0x7ffe8c5e0580) at ../../../krusader/KViewer/krviewer.cpp:290
#16 0x00005627a39e2d76 in KrViewer::view(KUrl, QWidget*) (url=..., parent=parent@entry=0x7ffe8c5e0580) at ../../../krusader/KViewer/krviewer.cpp:282
#17 0x00005627a391694c in ListPanelFunc::view() (this=0x5627a5917920) at ../../../krusader/Panel/panelfunc.cpp:469
#18 0x00005627a391dba5 in ListPanelFunc::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x5627a5917920, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./panelfunc.moc:151
#19 0x00007f71cb404a80 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5627a5675610, m=m@entry=0x7f71ccba27a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe8c5df290) at kernel/qobject.cpp:3567
#20 0x00007f71cc0aa9d2 in QAction::triggered(bool) (this=this@entry=0x5627a5675610, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#21 0x00007f71cc0abd33 in QAction::activate(QAction::ActionEvent) (this=0x5627a5675610, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#22 0x00007f71cc0ac28c in QAction::event(QEvent*) (this=<optimized out>, e=e@entry=0x7ffe8c5df680) at kernel/qaction.cpp:1183
#23 0x00007f71ccd51c82 in KAction::event(QEvent*) (this=<optimized out>, event=0x7ffe8c5df680) at ../../kdeui/actions/kaction.cpp:131
#24 0x00007f71cc0b093c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5627a535dee0, receiver=receiver@entry=0x5627a5675610, e=e@entry=0x7ffe8c5df680) at kernel/qapplication.cpp:4565
#25 0x00007f71cc0b7796 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe8c5e0510, receiver=receiver@entry=0x5627a5675610, e=e@entry=0x7ffe8c5df680) at kernel/qapplication.cpp:4351
#26 0x00007f71cce3c54a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe8c5e0510, receiver=0x5627a5675610, event=0x7ffe8c5df680) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f71cb3f08dd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe8c5e0510, receiver=0x5627a5675610, event=event@entry=0x7ffe8c5df680) at kernel/qcoreapplication.cpp:955
#28 0x00007f71cc0e7738 in QShortcutMap::dispatchEvent(QKeyEvent*) (event=0x7ffe8c5df680, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 0x00007f71cc0e7738 in QShortcutMap::dispatchEvent(QKeyEvent*) (this=this@entry=0x5627a535e008, e=e@entry=0x7ffe8c5df9e0) at kernel/qshortcutmap.cpp:887
#30 0x00007f71cc0e7927 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) (this=0x5627a535e008, o=o@entry=0x5627a593a510, e=e@entry=0x7ffe8c5df9e0) at kernel/qshortcutmap.cpp:367
#31 0x00007f71cc0b8b6e in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe8c5e0510, receiver=receiver@entry=0x5627a593a510, e=e@entry=0x7ffe8c5df9e0) at kernel/qapplication.cpp:3989
#32 0x00007f71cce3c54a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe8c5e0510, receiver=0x5627a593a510, event=0x7ffe8c5df9e0) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f71cb3f08dd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe8c5e0510, receiver=receiver@entry=0x5627a593a510, event=event@entry=0x7ffe8c5df9e0) at kernel/qcoreapplication.cpp:955
#34 0x00007f71cc0af2e6 in qt_sendSpontaneousEvent(QObject*, QEvent*) (event=event@entry=0x7ffe8c5df9e0, receiver=receiver@entry=0x5627a593a510) at ../../src/corelib/kernel/qcoreapplication.h:234
#35 0x00007f71cc0af2e6 in qt_sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x5627a593a510, event=event@entry=0x7ffe8c5df9e0) at kernel/qapplication.cpp:5563
#36 0x00007f71cc156463 in QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) (keyWidget=keyWidget@entry=0x5627a593a510, grab=grab@entry=39, type=QEvent::KeyPress, code=16777266, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=69, nativeVirtualKey=65472, nativeModifiers=8208) at kernel/qkeymapper_x11.cpp:1866
#37 0x00007f71cc156972 in QKeyMapperPrivate::translateKeyEvent(QWidget*, _XEvent const*, bool) (this=0x7ffe8c5dff50, keyWidget=0x5627a593a510, event=0x562700000000, grab=<optimized out>) at kernel/qkeymapper_x11.cpp:1836
#38 0x00007f71cc1305a6 in QApplication::x11ProcessEvent(_XEvent*) (this=0x7ffe8c5e0510, event=event@entry=0x7ffe8c5dff50) at kernel/qapplication_x11.cpp:3556
#39 0x00007f71cc159249 in x11EventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5627a5353df0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#40 0x00007f71c6176e3a in g_main_context_dispatch (context=0x5627a5360df0) at gmain.c:3154
#41 0x00007f71c6176e3a in g_main_context_dispatch (context=context@entry=0x5627a5360df0) at gmain.c:3769
#42 0x00007f71c61771d0 in g_main_context_iterate (context=context@entry=0x5627a5360df0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#43 0x00007f71c617727c in g_main_context_iteration (context=0x5627a5360df0, may_block=may_block@entry=1) at gmain.c:3901
#44 0x00007f71cb420e8e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5627a53117d0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#45 0x00007f71cc1593e6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#46 0x00007f71cb3ef151 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe8c5e0330, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f71cb3ef4c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe8c5e0330, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f71cb3f5069 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#49 0x00005627a38de401 in main(int, char**) (argc=-1939995584, argv=<optimized out>) at ../../krusader/main.cpp:324

The reporter indicates this bug may be a duplicate of or related to bug 346091.

Possible duplicates by query: bug 346091.

Reported using DrKonqi
Comment 1 Vaso 2015-10-13 06:50:16 UTC
Created attachment 94977 [details]
This file crashes valorous Krusader
Comment 2 Vaso 2015-10-13 06:53:41 UTC
Created attachment 94978 [details]
This file crashes valorous Krusader

(compressed)
Comment 3 Davide Gianforte 2015-10-14 10:12:40 UTC
as a fast experiment, can you run "update-mime-database ~/.local/share/mime"?
Comment 4 Davide Gianforte 2015-10-14 10:27:06 UTC
you should be able to open files without having a krusader crash (indeed, it's kate/kdecore related)
Comment 5 Vaso 2015-10-15 06:45:03 UTC
(In reply to Davide Gianforte from comment #3)
> as a fast experiment, can you run "update-mime-database ~/.local/share/mime"?

Still crashing.
Kate and Kwrite open this file well.
Comment 6 Vaso 2016-02-08 14:31:53 UTC
Created attachment 97090 [details]
New crash information added by DrKonqi

krusader (2.4.0-beta3 "Single Step") on KDE Platform 4.14.16 using Qt 4.8.7

- What I was doing when the application crashed:

It still crashing on F3. Open with double click works fine.

-- Backtrace (Reduced):
#6  0x00007fa117863f48 in KSycocaEntry::name() const () at /lib64/libkdecore.so.5
#7  0x00007fa0f6cd1edc in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () at /lib64/libkatepartinterfaces.so.4
#8  0x00007fa0f6d4fb2e in KateBuffer::openFile(QString const&, bool) () at /lib64/libkatepartinterfaces.so.4
#9  0x00007fa0f6d447fc in KateDocument::openFile() () at /lib64/libkatepartinterfaces.so.4
#10 0x00007fa11a82e4f4 in KParts::ReadOnlyPartPrivate::openLocalFile() () at /lib64/libkparts.so.4
Comment 7 Alex Bikadorov 2017-01-17 16:09:26 UTC

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