Bug#918449: kate freeze when right-click the open/save file dialog

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#918449: kate freeze when right-click the open/save file dialog

Joe Ma
Package: kate
Version: 4:16.08.3-1

Dear Maintainers,

As the subject mentioned, kate freeze when right-click the open/save file dialog.
-- System Information:
Kernel version: 4.18.0-0.bpo.1-amd64
Qt version: 5.7.1
KDE Plasma Version: 5.8.6
KDE Frameworks Version: 5.28.0



Step to reproduce:
1) Open new file in kate (File>Open)
2) Right-click in the file dialog
3) Kate and the screen freeze

I can only move the mouse pointer and other thing freeze
Run `killall kate` solve the problem.

Here is the related line in .xsession-errors after kate launched:
=======================
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so'
Qt: Session management error: networkIdsList argument is NULL
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
Wanting MIME Type: "inode/directory"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24013, resource id: 81788949, major code: 15 (QueryTree), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24065, resource id: 83886219, major code: 15 (QueryTree), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24072, resource id: 83886101, major code: 42 (SetInputFocus), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24073, resource id: 83886101, major code: 25 (SendEvent), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24095, resource id: 83886101, major code: 42 (SetInputFocus), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24096, resource id: 83886101, major code: 25 (SendEvent), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24098, resource id: 83886101, major code: 15 (QueryTree), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24203, resource id: 50335131, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 24207, resource id: 50335132, major code: 18 (ChangeProperty), minor code: 0
Initializing  "kcm_input" :  "kcminit_mouse"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 25618, resource id: 81788936, major code: 18 (ChangeProperty), minor code: 0
Initializing  "kcm_input" :  "kcminit_mouse"
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'KDE_MULTIHEAD=false' from launcher.
Initializing  "kcm_input" :  "kcminit_mouse"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 26125, resource id: 90177544, major code: 18 (ChangeProperty), minor code: 0
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
=======================

Nothing special in journalctl -xe.

Yours faithfully,
Joe Ma
Reply | Threaded
Open this post in threaded view
|

Bug#918449: kate freeze when right-click the open/save file dialog

Joe Ma

Bernhard Übelacker 於 2019/1/6 下午10:31 寫道:

> Hello Joe Ma,
> the provided information might not be sufficient for
> the maintainer to solve the issue.
>
> If possible you might install the gdb package and run
> following, while kate is frozen:
>
>     gdb -q --pid $(pidof kate) -ex 'set pagination off' -ex 'set width 0' -ex 'thread apply all bt full' -ex 'info share' -ex detach -ex q  2>&1 | tee -a gdb-kate_$(date +%Y-%m-%d_%H-%M-%S).log
>
> This should create a file gdb-kate*.log that you may
> forward to this bug.
>
> Even better would be if the debug symbols are installed,
> e.g. for kate that would be kate-dbgsym.
> That package would reside in its own repository described in [1].
>
> Kind regards,
> Bernhard
>
> [1] https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols
Dear Bernhard,

Here is the log after executing your command.

The whole screen (plasmashell) freeze after right-click in the open/save
file dialog (KDE one).

Kind regard,
Joe

gdb-kate_2019-01-07_15-40-19.log (33K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#918449: kate freeze when right-click the open/save file dialog

Bernhard Übelacker-3
Hello Joe Ma,


On Mon, 7 Jan 2019 15:45:27 +0800 Joe Ma <[hidden email]> wrote:
> Here is the log after executing your command.

Unfortunately I cannot see a difference to a kate process
that runs normal.
Was this file created while your kate process was frozen?

> The whole screen (plasmashell) freeze after right-click in the open/save
> file dialog (KDE one).

So you switched to a virtual terminal by ctrl+alt+f1
to enter 'killall kate'?
If the gdb command was not run while kate was frozen,
could you run it just before that 'killall kate'?

(That command might be now in bash's history buffer as you
executed it yesterday, which you can step through
by cursor up/down.)


Kind regards,
Bernhard

Reply | Threaded
Open this post in threaded view
|

Bug#918449: kate freeze when right-click the open/save file dialog

Bernhard Übelacker-3
In reply to this post by Joe Ma
Hello Joe Ma,
just to be sure, you did execute the proposed gdb command
while kate was frozen?

Kind regards,
Bernhard

Reply | Threaded
Open this post in threaded view
|

Bug#918449: kate freeze when right-click the open/save file dialog

Joe Ma
In reply to this post by Joe Ma
Hello Bernhard,
For your question, I do execute your gdb command in the console by a shell script when kate freeze. What information do you want me to add? I will reply asap.

Best regards,
Joe Ma
Reply | Threaded
Open this post in threaded view
|

Bug#918449: kate freeze when right-click the open/save file dialog

Bernhard Übelacker-3
Hello Joe Ma,

On Sun, 20 Jan 2019 19:59:27 +0800 Joe Ma <[hidden email]> wrote:
> Hello Bernhard,
> For your question, I do execute your gdb command in the console by a shell
> script when kate freeze. What information do you want me to add? I will
> reply asap.


sorry for the late reply, I did not notice your answer as
the last mail got just sent to the bug tracking system.
Please use reply-all for answers.

Do you still see this problem?

Unfortunately I still can see no difference to a kate
running on my system that is not frozen.

You have KDE Plasma as desktop running or something else?
Have you some network filesystems mounted?

Kind regards,
Bernhard