Bug 377972 - krusader hangs after startup
Summary: krusader hangs after startup
Status: RESOLVED NOT A BUG
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.4.0-beta3 "Single Step"
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 12:20 UTC by David P.
Modified: 2018-05-06 00:16 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David P. 2017-03-23 12:20:51 UTC
Using OpenSUSE Leap 42.1 KDE edition.
After using krusader successfully for very long time, it has stopped working.
When starting it, it hangs, only the outer window decoration is shown, with blank contents.  All the GUI is not paint, and doesn't process any mouse or keyboard input.  No error message is shown.

Tried to delete the config by renaming the folder ~/.kde4/share/apps/krusader, but doesn't solve anything.

No text is shown in standard output.
Comment 1 Alex Bikadorov 2017-03-23 12:38:02 UTC
What is the output if you try running Krusader from console?

(ALT+F2, type "konsole", in terminal prompt type "krusader")
Comment 2 David P. 2017-03-23 14:10:27 UTC
Already done so, that why I've said:

No text is shown in standard output.

I should add, no text in standard error either.
Comment 3 David P. 2017-03-23 14:10:45 UTC
"krusader --help" does work.
Comment 4 Alex Bikadorov 2017-03-23 14:53:56 UTC
hmm, not good. Try this to get at least some output:
Start a buggy krusader process and type in another console
> gdb -batch -ex bt -p `pidof krusader`
(If you get an error, use
> echo 0 > /proc/sys/kernel/yama/ptrace_scope
as root to disable kernel hardening)
Comment 5 David P. 2017-03-23 16:15:55 UTC
Good trick!

Here is the output:

gdb -batch -ex bt -p `pidof krusader`
[New LWP 11312]
[New LWP 11313]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f3c5c846bfd in poll () from /lib64/libc.so.6
#0  0x00007f3c5c846bfd in poll () from /lib64/libc.so.6
#1  0x00007f3c59be6e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3c59be6f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3c5d5c3f7e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f3c5e03e606 in ?? () from /usr/lib64/libQtGui.so.4
#5  0x00007f3c5d595d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f3c5d596005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f3c5d59b459 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#8  0x0000000000451a8c in ?? ()
#9  0x00007f3c5c78bb25 in __libc_start_main () from /lib64/libc.so.6
#10 0x000000000045341b in _start ()
Comment 6 Alex Bikadorov 2017-03-23 16:26:36 UTC
> /usr/lib64/libQtCore.so.4

Qt4 is used, you are have to run Krusader with Qt5 (at least 5.5). Something is wrong with your system.

Would be good if Qt would detect this itself. Maybe we should add a check ourself.
Comment 7 David P. 2017-03-23 16:36:21 UTC
I've installed krusader from the standard OpenSuse repositories.

I can try uninstall it and install it.
I'm using KDE Plasma 5.5.5, Qt version 5.5.51, kernel 4.1.38-50-default.
Comment 8 David P. 2017-03-23 16:37:09 UTC
I had installed package krusader-2.4.0~beta3-7.7.x86_64
Comment 9 David P. 2017-03-23 16:38:45 UTC
# zypper install krusader
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  krusader

The following package is suggested, but will not be installed:
  krusader-doc

1 new package to install.
Overall download size: 2.4 MiB. Already cached: 0 B. After the operation, additional 8.3 MiB will be used.
Continue? [y/n/? shows all options] (y): 
Retrieving package krusader-2.4.0~beta3-7.7.x86_64                     (1/1),   2.4 MiB (  8.3 MiB unpacked)
Retrieving: krusader-2.4.0~beta3-7.7.x86_64.rpm ........................................[done (242.1 KiB/s)]
Checking for file conflicts: .........................................................................[done]
(1/1) Installing: krusader-2.4.0~beta3-7.7.x86_64 ....................................................[done]
Comment 10 David P. 2017-03-23 16:39:44 UTC
 # zypper search krusader
Loading repository data...
Reading installed packages...

S | Name                 | Summary                                      | Type       
--+----------------------+----------------------------------------------+------------
  | Krusader             | Twin-Panel File Manager                      | application
  | Krusader - root-mode | Twin-Panel File Manager with root-privileges | application
  | krusader             | A File Manager                               | package    
  | krusader-doc         | A File Manager                               | package
Comment 11 David P. 2017-03-23 16:45:55 UTC
Created bug report in OpenSuse:
https://bugzilla.opensuse.org/show_bug.cgi?id=1030731
Comment 12 Alex Bikadorov 2017-03-23 16:48:57 UTC
Please...

1. You stated the wrong version in the bug report
2. We (at least I) are not supporting Krusader 2.4 anymore, please update to 2.5
3. Krusader is not started with Qt5 but Qt4 (the backtrace says so). You probably have both installed.
Comment 13 David P. 2017-03-23 16:55:58 UTC
Sorry, I thought I had the latest version installed.
Only one version of Krusader available.
Comment 14 Alex Bikadorov 2017-03-23 16:56:49 UTC
https://software.opensuse.org/package/krusader5
Comment 15 David P. 2017-03-23 16:58:36 UTC
In https://pkgs.org/download/krusader, it can be seen that for OpenSuse Leap 42.1 we have:

openSUSE KDE Extra all
krusader-2.5.0-32.8.x86_64.rpm

openSUSE Oss all
krusader-2.4.0~beta3-7.7.x86_64.rpm
Comment 16 David P. 2017-03-23 17:02:15 UTC
Thanks it now works ok after installing new Krusader.
And it looks better.