Crash on KDE with application menu icon enabled

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
davikar
Posts: 3
Joined: Wed Apr 04, 2018 11:01 pm

Crash on KDE with application menu icon enabled

Post by davikar » Wed Apr 04, 2018 11:07 pm

If you try to launch XnViewMP on KDE and have enabled the application menu shortcut on the titlebar, the application will instantly crash. This happens every time.
(The application menu icon is enabled at System settings -> Application style -> Window decorations -> Buttons.)

User avatar
xnview
Author of XnView
Posts: 31264
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash on KDE with application menu icon enabled

Post by xnview » Thu Apr 05, 2018 5:23 am

do you have a trace of execution log?
Pierre.

davikar
Posts: 3
Joined: Wed Apr 04, 2018 11:01 pm

Re: Crash on KDE with application menu icon enabled

Post by davikar » Thu Apr 05, 2018 6:53 am

Code: Select all

Process 1457 (XnView) of user 1001 dumped core.

                Stack trace of thread 1457:
                #0  0x00007f53b9daff15 _ZNK7QWindow5winIdEv (libQt5Gui.so.5)
                #1  0x00007f53a269b5a5 n/a (KDEPlasmaPlatformTheme.so)
                #2  0x00007f53a269bb6d n/a (KDEPlasmaPlatformTheme.so)
                #3  0x00007f53ba743c3d n/a (libQt5Widgets.so.5)
                #4  0x00007f53ba744818 _ZN8QMenuBar11eventFilterEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #5  0x00007f53b94a59bc _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5)
                #6  0x00007f53ba5affc8 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #7  0x00007f53ba5b79c6 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #8  0x00007f53b94a5cf0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                #9  0x00007f53ba5f15a2 _ZN7QWidget9setParentEPS_6QFlagsIN2Qt10WindowTypeEE (libQt5Widgets.so.5)
                #10 0x00007f53ba5cd3cf _ZN7QLayout14addChildWidgetEP7QWidget (libQt5Widgets.so.5)
                #11 0x00007f53ba5d352e _ZN14QStackedLayout12insertWidgetEiP7QWidget (libQt5Widgets.so.5)
                #12 0x00000000007bd5c0 n/a (XnView)
                #13 0x0000000000875e55 n/a (XnView)
                #14 0x000000000087563d n/a (XnView)
                #15 0x00000000007700cf n/a (XnView)
                #16 0x00007f53b731cf4a __libc_start_main (libc.so.6)
                #17 0x0000000000467399 n/a (XnView)

                Stack trace of thread 1461:
                #0  0x00007f53b8ff83bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f53b7cc95bd __gthread_cond_wait (libstdc++.so.6)
                #2  0x00007f53b4065379 n/a (libQt5WebKit.so.5)
                #3  0x00007f53b40654c9 n/a (libQt5WebKit.so.5)
                #4  0x00007f53b7ccfb9f execute_native_thread_routine (libstdc++.so.6)
                #5  0x00007f53b8ff208c start_thread (libpthread.so.0)
                #6  0x00007f53b73f1e7f __clone (libc.so.6)

                Stack trace of thread 1465:
                #0  0x00007f53b73e797b __poll (libc.so.6)
                #1  0x00007f53b4ba5613 n/a (libglib-2.0.so.0)
                #2  0x00007f53b4ba572e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f53b9502241 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007f53b94a432b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007f53b92b372e _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007f53a602c416 n/a (libQt5DBus.so.5)
                #7  0x00007f53b92b8acd n/a (libQt5Core.so.5)
                #8  0x00007f53b8ff208c start_thread (libpthread.so.0)
                #9  0x00007f53b73f1e7f __clone (libc.so.6)

                Stack trace of thread 1462:
                #0  0x00007f53b73e797b __poll (libc.so.6)
                #1  0x00007f53b190c180 n/a (libxcb.so.1)
                #2  0x00007f53b190de4b xcb_wait_for_event (libxcb.so.1)
                #3  0x00007f53a652282a n/a (libQt5XcbQpa.so.5)
                #4  0x00007f53b92b8acd n/a (libQt5Core.so.5)
                #5  0x00007f53b8ff208c start_thread (libpthread.so.0)
                #6  0x00007f53b73f1e7f __clone (libc.so.6)

User avatar
xnview
Author of XnView
Posts: 31264
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash on KDE with application menu icon enabled

Post by xnview » Thu Apr 05, 2018 9:35 am

perhaps a compatibility between own QT libraries and KDE ones. Do you use XnView or xnview.sh as executable?
Pierre.

davikar
Posts: 3
Joined: Wed Apr 04, 2018 11:01 pm

Re: Crash on KDE with application menu icon enabled

Post by davikar » Thu Apr 05, 2018 6:31 pm

I use the XnView one. I checked the xnview.sh too and it makes no difference.

Code: Select all

Process 4446 (XnView) of user 1000 dumped core.

                                                Stack trace of thread 4446:
                                                #0  0x00007f5095bdcf15 _ZNK7QWindow5winIdEv (libQt5Gui.so.5)
                                                #1  0x00007f507e49b5a5 n/a (KDEPlasmaPlatformTheme.so)
                                                #2  0x00007f507e49bb6d n/a (KDEPlasmaPlatformTheme.so)
                                                #3  0x00007f5096570c3d n/a (libQt5Widgets.so.5)
                                                #4  0x00007f5096571818 _ZN8QMenuBar11eventFilterEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #5  0x00007f50952d29bc _ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent (libQt5Core.so.5)
                                                #6  0x00007f50963dcfc8 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #7  0x00007f50963e49c6 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #8  0x00007f50952d2cf0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                #9  0x00007f509641e5a2 _ZN7QWidget9setParentEPS_6QFlagsIN2Qt10WindowTypeEE (libQt5Widgets.so.5)
                                                #10 0x00007f50963fa3cf _ZN7QLayout14addChildWidgetEP7QWidget (libQt5Widgets.so.5)
                                                #11 0x00007f509640052e _ZN14QStackedLayout12insertWidgetEiP7QWidget (libQt5Widgets.so.5)
                                                #12 0x00000000007bd5c0 n/a (XnView)
                                                #13 0x0000000000875e55 n/a (XnView)
                                                #14 0x000000000087563d n/a (XnView)
                                                #15 0x00000000007700cf n/a (XnView)
                                                #16 0x00007f5093149f4a __libc_start_main (libc.so.6)
                                                #17 0x0000000000467399 n/a (XnView)

                                                Stack trace of thread 4451:
                                                #0  0x00007f509321497b __poll (libc.so.6)
                                                #1  0x00007f508d739180 n/a (libxcb.so.1)
                                                #2  0x00007f508d73ae4b xcb_wait_for_event (libxcb.so.1)
                                                #3  0x00007f508232282a n/a (libQt5XcbQpa.so.5)
                                                #4  0x00007f50950e5acd n/a (libQt5Core.so.5)
                                                #5  0x00007f5094e1f08c start_thread (libpthread.so.0)
                                                #6  0x00007f509321ee7f __clone (libc.so.6)

                                                Stack trace of thread 4450:
                                                #0  0x00007f5094e253bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f5093af65bd __gthread_cond_wait (libstdc++.so.6)
                                                #2  0x00007f508fe92379 n/a (libQt5WebKit.so.5)
                                                #3  0x00007f508fe924c9 n/a (libQt5WebKit.so.5)
                                                #4  0x00007f5093afcb9f execute_native_thread_routine (libstdc++.so.6)
                                                #5  0x00007f5094e1f08c start_thread (libpthread.so.0)
                                                #6  0x00007f509321ee7f __clone (libc.so.6)

                                                Stack trace of thread 4454:
                                                #0  0x00007f509321497b __poll (libc.so.6)
                                                #1  0x00007f50909d2613 n/a (libglib-2.0.so.0)
                                                #2  0x00007f50909d272e g_main_context_iteration (libglib-2.0.so.0)
                                                #3  0x00007f509532f241 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #4  0x00007f50952d132b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #5  0x00007f50950e072e _ZN7QThread4execEv (libQt5Core.so.5)
                                                #6  0x00007f5081e2c416 n/a (libQt5DBus.so.5)
                                                #7  0x00007f50950e5acd n/a (libQt5Core.so.5)
                                                #8  0x00007f5094e1f08c start_thread (libpthread.so.0)
                                                #9  0x00007f509321ee7f __clone (libc.so.6)

Post Reply