You are not logged in.

#1 2019-05-03 13:37:59

wycero
Member
Registered: 2019-03-03
Posts: 29

[SOLVED]qt5 crash

qt5 programs crash  on my computer.

When I run
$ texworks
it pops up a black window, and then results in a bus error and no other things are prompted.
So do other qt5 programs like qt5ct.

GDB shows that there is something wrong with libqt5gui.so.5

(gdb) r
Starting program: /usr/bin/texworks 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff0905700 (LWP 15710)]
[New Thread 0x7fffea8b8700 (LWP 15711)]
[New Thread 0x7fffea0b7700 (LWP 15712)]
[New Thread 0x7fffe9874700 (LWP 15713)]
[New Thread 0x7fffe8884700 (LWP 15714)]
[New Thread 0x7fffdbfff700 (LWP 15715)]
[New Thread 0x7fffd99cb700 (LWP 15717)]

Thread 1 "texworks" received signal SIGBUS, Bus error.
0x00007ffff7354f75 in ?? () from /usr/lib/libQt5Gui.so.5

Last edited by wycero (2019-05-04 04:45:37)

Offline

#2 2019-05-03 13:40:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]qt5 crash

Which qt5 theme do you have configured? What was the end result of your attempts to configure this?

Offline

#3 2019-05-03 13:43:22

wycero
Member
Registered: 2019-03-03
Posts: 29

Re: [SOLVED]qt5 crash

V1del wrote:

Which qt5 theme do you have configured? What was the end result of your attempts to configure this?

thanks4helping me

my configuration was qt5ct+gtk2
It worked for a while but it's suddenly broken today.

then i forcefully cancelled the theme
$ export -p QT_QPA_PLATFORMTHEME
and on the same terminal,i tested it again,it was still not working


Perhaps it's because of a broken upgrade,but reinstalling Qt5 is useless.

Last edited by wycero (2019-05-03 13:50:28)

Offline

#4 2019-05-03 16:19:52

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,093

Re: [SOLVED]qt5 crash

Post the full backtrace, not just one line

Offline

#5 2019-05-04 04:40:21

wycero
Member
Registered: 2019-03-03
Posts: 29

Re: [SOLVED]qt5 crash

The problem is magically solved when i reboot.
Coredump:

           PID: 15706 (texworks)
           UID: 1000 (wycero)
           GID: 998 (wheel)
        Signal: 7 (BUS)
     Timestamp: Fri 2019-05-03 21:36:05 CST (15h ago)
  Command Line: /usr/bin/texworks
    Executable: /usr/bin/texworks
 Control Group: /user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service
          Unit: user@1000.service
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (wycero)
       Boot ID: 441a1e397edd47f7bcbb9105d327f0d9
    Machine ID: 0261e072b573440da2e97002b1199fda
      Hostname: wycerolinux
       Storage: /var/lib/systemd/coredump/core.texworks.1000.441a1e397edd47f7bcbb9105d327f0d9.15706.1556890565000000.lz4
       Message: Process 15706 (texworks) of user 1000 dumped core.
                
                Stack trace of thread 15706:
                #0  0x00007ffff7354f75 n/a (libQt5Gui.so.5)
                #1  0x00007ffff7215d83 n/a (libQt5Gui.so.5)
                #2  0x00007ffff72174d6 _ZN18QRasterPaintEngine8fillRectERK6QRectFP9QSpanData (libQt5Gui.so.5)
                #3  0x00007ffff723325c _ZN8QPainter8fillRectERK5QRectRK6QBrush (libQt5Gui.so.5)
                #4  0x00007ffff75e5e13 _ZNK14QWidgetPrivate15paintBackgroundEP8QPainterRK7QRegioni (libQt5Widgets.so.5)
                #5  0x00007ffff75ea239 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (libQt5Widgets.so.5)
                #6  0x00007ffff75bfff1 n/a (libQt5Widgets.so.5)
                #7  0x00007ffff75c0236 n/a (libQt5Widgets.so.5)
                #8  0x00007ffff760e21f n/a (libQt5Widgets.so.5)
                #9  0x00007ffff760ed16 n/a (libQt5Widgets.so.5)
                #10 0x00007ffff75afda4 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #11 0x00007ffff75b73c1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #12 0x00007ffff6be4849 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                #13 0x00007ffff6fbc741 _ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE (libQt5Gui.so.5)
                #14 0x00007ffff6fbc9de _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE (libQt5Gui.so.5)
                #15 0x00007ffff6f95d9c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5)
                #16 0x00007ffff1663b8c n/a (libQt5XcbQpa.so.5)
                #17 0x00007ffff58937bf g_main_context_dispatch (libglib-2.0.so.0)
                #18 0x00007ffff5895739 n/a (libglib-2.0.so.0)
                #19 0x00007ffff589577e g_main_context_iteration (libglib-2.0.so.0)
                #20 0x00007ffff6c39969 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #21 0x00007ffff6be34dc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #22 0x00007ffff6beb596 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                #23 0x00005555555e23ce main (texworks)
                #24 0x00007ffff643cce3 __libc_start_main (libc.so.6)
                #25 0x00005555555e27de _start (texworks)
                
                Stack trace of thread 15712:
                #0  0x00007ffff65090d1 __poll (libc.so.6)
                #1  0x00007ffff5895690 n/a (libglib-2.0.so.0)
                #2  0x00007ffff589577e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fffea8c5bde n/a (libdconfsettings.so)
                #4  0x00007ffff5870c21 n/a (libglib-2.0.so.0)
                #5  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #6  0x00007ffff6513cd3 __clone (libc.so.6)
                
                Stack trace of thread 15711:
                #0  0x00007ffff65090d1 __poll (libc.so.6)
                #1  0x00007ffff5895690 n/a (libglib-2.0.so.0)
                #2  0x00007ffff589577e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007ffff58957d2 n/a (libglib-2.0.so.0)
                #4  0x00007ffff5870c21 n/a (libglib-2.0.so.0)
                #5  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #6  0x00007ffff6513cd3 __clone (libc.so.6)
                
                Stack trace of thread 15714:
                #0  0x00007ffff650e97d syscall (libc.so.6)
                #1  0x00007ffff5844141 g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007ffff58c52e3 n/a (libglib-2.0.so.0)
                #3  0x00007ffff58c54e3 g_async_queue_timeout_pop (libglib-2.0.so.0)
                #4  0x00007ffff5869d6a n/a (libglib-2.0.so.0)
                #5  0x00007ffff5870c21 n/a (libglib-2.0.so.0)
                #6  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #7  0x00007ffff6513cd3 __clone (libc.so.6)
                
                Stack trace of thread 15715:
                #0  0x00007ffff65090d1 __poll (libc.so.6)
                #1  0x00007ffff5895690 n/a (libglib-2.0.so.0)
                #2  0x00007ffff589577e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007ffff6c39969 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007ffff6be34dc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007ffff6a28239 _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007ffff7adaba6 n/a (libQt5DBus.so.5)
                #7  0x00007ffff6a2963c n/a (libQt5Core.so.5)
                #8  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #9  0x00007ffff6513cd3 __clone (libc.so.6)
                
                Stack trace of thread 15713:
                #0  0x00007ffff65090d1 __poll (libc.so.6)
                #1  0x00007ffff5895690 n/a (libglib-2.0.so.0)
                #2  0x00007ffff58966d2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fffeb4a0568 n/a (libgio-2.0.so.0)
                #4  0x00007ffff5870c21 n/a (libglib-2.0.so.0)
                #5  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #6  0x00007ffff6513cd3 __clone (libc.so.6)
                
                Stack trace of thread 15710:
                #0  0x00007ffff65090d1 __poll (libc.so.6)
                #1  0x00007ffff2d56630 n/a (libxcb.so.1)
                #2  0x00007ffff2d582db xcb_wait_for_event (libxcb.so.1)
                #3  0x00007ffff1662b69 n/a (libQt5XcbQpa.so.5)
                #4  0x00007ffff6a2963c n/a (libQt5Core.so.5)
                #5  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #6  0x00007ffff6513cd3 __clone (libc.so.6)
                
                Stack trace of thread 15717:
                #0  0x00007ffff6396bac pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fffd9fa5254 n/a (i965_dri.so)
                #2  0x00007fffd9fa4f78 n/a (i965_dri.so)
                #3  0x00007ffff6390a92 start_thread (libpthread.so.0)
                #4  0x00007ffff6513cd3 __clone (libc.so.6)

Offline

#6 2019-05-24 20:40:19

crobe2
Member
Registered: 2011-08-09
Posts: 27

Re: [SOLVED]qt5 crash

I am getting the same crashes in qt5, with a lot of programs like LibreOffice, konsole, plasmashell and digikam, example:

Any ideas? The system is freshly rebooted.

Mai 24 22:34:02 r systemd-coredump[3881]: Process 2156 (konsole) of user 1000 dumped core.
                                                 
                                                 Stack trace of thread 2156:
                                                 #0  0x00007fe434e17fa8 n/a (libQt5Gui.so.5)
                                                 #1  0x00007fe434cd8d83 n/a (libQt5Gui.so.5)
                                                 #2  0x00007fe434cda4d6 _ZN18QRasterPaintEngine8fillRectERK6QRectFP9QSpanData (libQt5G>
                                                 #3  0x00007fe434cf6345 _ZN8QPainter8fillRectERK5QRectRK6QColor (libQt5Gui.so.5)
                                                 #4  0x00007fe42e95416b n/a (libQt5XcbQpa.so.5)
                                                 #5  0x00007fe434c1fb1a _ZN13QBackingStore10beginPaintERK7QRegion (libQt5Gui.so.5)
                                                 #6  0x00007fe435084d8d n/a (libQt5Widgets.so.5)
                                                 #7  0x00007fe435085379 n/a (libQt5Widgets.so.5)
                                                 #8  0x00007fe43509d337 _ZN14QWidgetPrivate16syncBackingStoreEv (libQt5Widgets.so.5)
                                                 #9  0x00007fe4350d04c4 n/a (libQt5Widgets.so.5)
                                                 #10 0x00007fe4350d3d97 n/a (libQt5Widgets.so.5)
                                                 #11 0x00007fe435074da4 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (lib>
                                                 #12 0x00007fe43507c3c1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                 #13 0x00007fe4346a7849 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQ>
                                                 #14 0x00007fe434a7ae4c _ZN22QGuiApplicationPrivate26processGeometryChangeEventEPN29QW>
                                                 #15 0x00007fe434a7fa5e _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWin>
                                                 #16 0x00007fe434a58d9c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN1>
                                                 #17 0x00007fe42e963b8c n/a (libQt5XcbQpa.so.5)
                                                 #18 0x00007fe4328a990f g_main_context_dispatch (libglib-2.0.so.0)
                                                 #19 0x00007fe4328ab869 n/a (libglib-2.0.so.0)
                                                 #20 0x00007fe4328ab8ae g_main_context_iteration (libglib-2.0.so.0)
                                                 #21 0x00007fe4346fc969 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop>
                                                 #22 0x00007fe4346a64dc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5C>
                                                 #23 0x00007fe4346ae596 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                 #24 0x00007fe435f68c90 kdemain (libkdeinit5_konsole.so)
                                                 #25 0x00007fe435d9fce3 __libc_start_main (libc.so.6)
                                                 #26 0x000055708532105e _start (konsole)
                                                
                                                 Stack trace of thread 2157:
                                                 #0  0x00007fe435e6c0d1 __poll (libc.so.6)
                                                 #1  0x00007fe43359d630 n/a (libxcb.so.1)
                                                 #2  0x00007fe43359f2db xcb_wait_for_event (libxcb.so.1)
                                                 #3  0x00007fe42e962b69 n/a (libQt5XcbQpa.so.5)
                                                 #4  0x00007fe4344ec63c n/a (libQt5Core.so.5)
                                                 #5  0x00007fe433374a92 start_thread (libpthread.so.0)
                                                 #6  0x00007fe435e76cd3 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 2158:
                                                 #0  0x00007fe435e6c0d1 __poll (libc.so.6)
                                                 #1  0x00007fe4328ab7c0 n/a (libglib-2.0.so.0)
                                                 #2  0x00007fe4328ab8ae g_main_context_iteration (libglib-2.0.so.0)
                                                 #3  0x00007fe4346fc969 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop>
                                                 #4  0x00007fe4346a64dc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5C>
                                                 #5  0x00007fe4344eb239 _ZN7QThread4execEv (libQt5Core.so.5)
                                                 #6  0x00007fe433c89ba6 n/a (libQt5DBus.so.5)
                                                 #7  0x00007fe4344ec63c n/a (libQt5Core.so.5)
                                                 #8  0x00007fe433374a92 start_thread (libpthread.so.0)
                                                 #9  0x00007fe435e76cd3 __clone (libc.so.6)
                                                 
                                                 Stack trace of thread 2159:
                                                 #0  0x00007fe43337abac pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                 #1  0x00007fe42639f2e4 n/a (i965_dri.so)
                                                 #2  0x00007fe42639f008 n/a (i965_dri.so)
                                                 #3  0x00007fe433374a92 start_thread (libpthread.so.0)
                                                 #4  0x00007fe435e76cd3 __clone (libc.so.6)

Offline

#7 2019-06-04 06:46:03

crobe2
Member
Registered: 2011-08-09
Posts: 27

Re: [SOLVED]qt5 crash

Sorry for the follow up, the problem was a full /tmp partition. I guess this is why it got "magically" solved in the previous post.

Offline

Board footer

Powered by FluxBB