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

2019-05-05 Thread Bernhard Übelacker
Hello Joe Ma,

On Sun, 20 Jan 2019 19:59:27 +0800 Joe Ma  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



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

2019-01-20 Thread 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


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

2019-01-11 Thread Bernhard Übelacker
Hello Joe Ma,
just to be sure, you did execute the proposed gdb command
while kate was frozen?

Kind regards,
Bernhard



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

2019-01-08 Thread Bernhard Übelacker
Hello Joe Ma,


On Mon, 7 Jan 2019 15:45:27 +0800 Joe Ma  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



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

2019-01-06 Thread 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
Attaching to process 2737
[New LWP 2738]
[New LWP 2739]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x7f6b8e6d1be9 in poll () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f6b76c16700 (LWP 2739)):
#0  0x7f6b8e6d1be9 in poll () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x7f6b89d389f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x7f6b89d38b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x7f6b8ef7e04f in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4  0x7f6b8ef279ca in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5  0x7f6b8ed550f3 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#6  0x7f6b8f18f6d5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
No symbol table info available.
#7  0x7f6b8ed59da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#8  0x7f6b8bc75fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#9  0x7f6b8e6dc89f in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7f6b7e936700 (LWP 2738)):
#0  0x7f6b8e6d1be9 in poll () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x7f6b8be9e150 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#2  0x7f6b8be9fee9 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#3  0x7f6b80c9cb69 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#4  0x7f6b8ed59da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5  0x7f6b8bc75fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#6  0x7f6b8e6dc89f in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7f6b81057d80 (LWP 2737)):
#0  0x7f6b8e6d1be9 in poll () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x7f6b89d389f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0x7f6b89d38b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0x7f6b8ef7e04f in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#4  0x7f6b8ef279ca in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5  0x7f6b8fed931d in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#6  0x7f6b7d8456ff in KDirOperator::activatedMenu(KFileItem const&, QPoint const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
No symbol table info available.
#7  0x7f6b7d840b75 in KDirOperator::Private::_k_openContextMenu(QPoint const&) () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
No symbol table info available.
#8  0x7f6b7d848914 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5
No symbol table info available.
#9  0x7f6b8ef555e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#10 0x7f6b8fd95d25 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#11 0x7f6b8fdb0f10 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table 

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

2019-01-05 Thread 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