Application: krusader (2.4.0-beta3 "Single Step") KDE Platform Version: 4.14.6 Qt Version: 4.8.6 Operating System: Linux 3.16.7-7-desktop x86_64 Distribution: "openSUSE 13.2 (Harlequin) (x86_64)" -- Information about the crash: When I try view (F3) some text files the Krusader crashes. It happens every time. The crash can be reproduced every time. -- Backtrace: Application: Krusader (krusader), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f55d92767c0 (LWP 2694))] Thread 3 (Thread 0x7f55c6aae700 (LWP 2695)): #0 0x00007f55d5771c3d in poll () at /lib64/libc.so.6 #1 0x00007f55d215dbe4 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f55d215dcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f55d64720de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #4 0x00007f55d6443e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #5 0x00007f55d6444165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #6 0x00007f55d63410bf in QThread::exec() () at /usr/lib64/libQtCore.so.4 #7 0x00007f55d6425783 in () at /usr/lib64/libQtCore.so.4 #8 0x00007f55d634379f in () at /usr/lib64/libQtCore.so.4 #9 0x00007f55d35340a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f55d577a06d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f55c550e700 (LWP 2712)): #0 0x00007f55d5771c3d in poll () at /lib64/libc.so.6 #1 0x00007f55d215dbe4 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f55d215dcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f55d64720de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #4 0x00007f55d6443e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #5 0x00007f55d6444165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #6 0x00007f55d63410bf in QThread::exec() () at /usr/lib64/libQtCore.so.4 #7 0x00007f55d6425783 in () at /usr/lib64/libQtCore.so.4 #8 0x00007f55d634379f in () at /usr/lib64/libQtCore.so.4 #9 0x00007f55d35340a4 in start_thread () at /lib64/libpthread.so.0 #10 0x00007f55d577a06d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f55d92767c0 (LWP 2694)): [KCrash Handler] #5 0x00007f55d828ed31 in KSycocaEntry::name() const () at /usr/lib64/libkdecore.so.5 #6 0x00007f55b778779f in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () at /usr/lib64/libkatepartinterfaces.so.4 #7 0x00007f55b77f8fce in KateBuffer::openFile(QString const&, bool) () at /usr/lib64/libkatepartinterfaces.so.4 #8 0x00007f55b77ee502 in KateDocument::openFile() () at /usr/lib64/libkatepartinterfaces.so.4 #9 0x00007f55d8e906a3 in () at /usr/lib64/libkparts.so.4 #10 0x00007f55d64591fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #11 0x00007f55d81c9302 in KJob::result(KJob*) () at /usr/lib64/libkdecore.so.5 #12 0x00007f55d81c9340 in KJob::emitResult() () at /usr/lib64/libkdecore.so.5 #13 0x00007f55d77b1e6f in KIO::FileCopyJob::slotResult(KJob*) () at /usr/lib64/libkio.so.5 #14 0x00007f55d64591fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #15 0x00007f55d81c9302 in KJob::result(KJob*) () at /usr/lib64/libkdecore.so.5 #16 0x00007f55d81c9340 in KJob::emitResult() () at /usr/lib64/libkdecore.so.5 #17 0x00007f55d77ae21a in KIO::SimpleJob::slotFinished() () at /usr/lib64/libkio.so.5 #18 0x00007f55d77af36e in KIO::TransferJob::slotFinished() () at /usr/lib64/libkio.so.5 #19 0x00007f55d64591fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #20 0x00007f55d784cb46 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () at /usr/lib64/libkio.so.5 #21 0x00007f55d784a66e in KIO::SlaveInterface::dispatch() () at /usr/lib64/libkio.so.5 #22 0x00007f55d783f386 in KIO::Slave::gotInput() () at /usr/lib64/libkio.so.5 #23 0x00007f55d64591fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4 #24 0x00007f55d777c3f1 in () at /usr/lib64/libkio.so.5 #25 0x00007f55d645d59e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4 #26 0x00007f55d698a76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #27 0x00007f55d6990cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4 #28 0x00007f55d8a44cea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5 #29 0x00007f55d64452ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4 #30 0x00007f55d644857d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4 #31 0x00007f55d64728fe in () at /usr/lib64/libQtCore.so.4 #32 0x00007f55d215da04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #33 0x00007f55d215dc48 in () at /usr/lib64/libglib-2.0.so.0 #34 0x00007f55d215dcec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #35 0x00007f55d64720be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #36 0x00007f55d6a27676 in () at /usr/lib64/libQtGui.so.4 #37 0x00007f55d6443e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #38 0x00007f55d6444165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4 #39 0x00007f55d64495b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4 #40 0x0000000000451a8c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/krusader-2.4.0-beta3/krusader/main.cpp:324 Reported using DrKonqi
Created attachment 91988 [details] Sample file that crashes Krusasader. Sample file that crashes Krusasader.
I can reproduce this error with a text file that just contains '4\n'. It seems that all files starting with a digit are affected. I'm running Kubuntu 15.04.
Can you check if this happens when you open the same file with kate? What type of text encoding does the file has? (Is your system up-to-date?)
* Kate works fine * The file is pure ASCII * yes, my system is up-to-date (as fas Kubuntu is), but I did have a look at the programs version numbers * Krusader reports itself as Version 2.4.0-beta3 "Single Step", with the KDE version 4.14.8 * Kate reports itself as version 5.0.0 with the KDE version "KDE frameworks 5.12.0" ** but Kates 'About KDE' still says "KDE version 4.14.8" ** Muon reports Kate as version 4:15.05.1-0ubuntu1~ubuntu15.04~ppa1 * I'm using a German KDE / languagepack, maybe that matters somehow At home I'm still running Kubuntu 14.10 and this bug doesn't happen.
Created attachment 103457 [details] New crash information added by DrKonqi krusader (2.4.0-beta3 "Single Step") on KDE Platform 4.14.22 using Qt 4.8.7 * opening a file with a digit as first character still crashes the viewer (kate works fine) as of Krusader 2.4.0-beta3 / KDE 4.14.22 (I'm running Kubuntu 16.10) * I tested with text mode and generic mode, both crash * I also tested with 'mime magic enabled and disabled, both crash * 'lister mode' works fine, though -- Backtrace (Reduced): #6 0x00007f3f251b8af8 in KSycocaEntry::name() const () from /usr/lib/libkdecore.so.5 #7 0x00007f3f0a96a332 in Kate::TextBuffer::load(QString const&, bool&, bool&, bool) () from /usr/lib/libkatepartinterfaces.so.4 #8 0x00007f3f0a9e32ee in KateBuffer::openFile(QString const&, bool) () from /usr/lib/libkatepartinterfaces.so.4 #9 0x00007f3f0a9d895f in KateDocument::openFile() () from /usr/lib/libkatepartinterfaces.so.4 [...] #11 0x00007f3f25ddaefd in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
*** Bug 353847 has been marked as a duplicate of this bug. ***
Don't know why everybody having a bug in KDE 4.14+ that is marked as fixed in 4.6.1. Anyway, not a bug in Krusader. And please test again with KF5/Krusader version 2.5.0 *** This bug has been marked as a duplicate of bug 265188 ***