You are not logged in.

#1 2018-10-14 08:39:48

renygma
Member
Registered: 2018-10-13
Posts: 3

Bus error (core dumped) when running VLC in fullscreen

Hi

I'm running Arch Linux with i3.
Since a few weeks I have this weird error when I switch to fullscreen in VLC media player (by pressing Mod + F or double click on the video).
The program just closes. When I run it from command line it says "bus error (core dumped)".
Sometimes VLC does not start at all, then sometimes it even works with fullscreen and then it randomly stops working when launching a new video.
I can still start the video with cvlc (VLC without the GUI) without issues and also use fullscreen in this mode.

When i looked at the dump in journalctl I noticed qt5 is mentioned.
I tried to downgrade the latest updates which involved qt5 and VLC with no luck.
I read that bus errors are related to bad memory addressing. I did a memory test with mprime without getting any errors.
I also tried removing the VLC config files under .config/vlc without a difference.
What else can I try?


Here is the output from journalctl:

Oct 14 10:27:19 archer audit[30901]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 pid=30901 comm="vlc" exe="/usr/bin/vlc" sig=7 res=1
Oct 14 10:27:19 archer kernel: audit: type=1701 audit(1539505639.596:105): auid=1000 uid=1000 gid=1000 ses=1 pid=30901 comm="vlc" exe="/usr/bin/vlc" sig=7 res=1
Oct 14 10:27:19 archer systemd[1]: Started Process Core Dump (PID 30928/UID 0).
Oct 14 10:27:19 archer audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-30928-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=>
Oct 14 10:27:19 archer kernel: audit: type=1130 audit(1539505639.626:106): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-30928-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostn>
Oct 14 10:27:20 archer systemd-coredump[30929]: Process 30901 (vlc) of user 1000 dumped core.
                                                
                                                Stack trace of thread 30907:
                                                #0  0x00007f07767d6f08 n/a (libQt5Gui.so.5)
                                                #1  0x00007f077669bfc3 n/a (libQt5Gui.so.5)
                                                #2  0x00007f077669d76b _ZN18QRasterPaintEngine8fillRectERK6QRectFP9QSpanData (libQt5Gui.so.5)
                                                #3  0x00007f07766bbddc _ZN8QPainter8fillRectERK5QRectRK6QBrush (libQt5Gui.so.5)
                                                #4  0x00007f0776a5b893 _ZNK14QWidgetPrivate15paintBackgroundEP8QPainterRK7QRegioni (libQt5Widgets.so.5)
                                                #5  0x00007f0776a5fca9 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (libQt5Widgets.so.5)
                                                #6  0x00007f0776a603fe _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (li>
                                                #7  0x00007f0776a5f43d _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (libQt5Widgets.so.5)
                                                #8  0x00007f0776a603fe _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (li>
                                                #9  0x00007f0776a5f43d _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (libQt5Widgets.so.5)
                                                #10 0x00007f0776a603fe _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (li>
                                                #11 0x00007f0776a602e4 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (li>
                                                #12 0x00007f0776a602e4 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (li>
                                                #13 0x00007f0776a5f43d _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (libQt5Widgets.so.5)
                                                #14 0x00007f0776a603fe _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (li>
                                                #15 0x00007f0776a5f43d _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore (libQt5Widgets.so.5)
                                                #16 0x00007f0776a36671 n/a (libQt5Widgets.so.5)
                                                #17 0x00007f0776a36829 n/a (libQt5Widgets.so.5)
                                                #18 0x00007f0776a4df77 _ZN14QWidgetPrivate16syncBackingStoreEv (libQt5Widgets.so.5)
                                                #19 0x00007f0776a81254 n/a (libQt5Widgets.so.5)
                                                #20 0x00007f0776a84697 n/a (libQt5Widgets.so.5)
                                                #21 0x00007f0776a26e14 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #22 0x00007f0776a2e6e1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #23 0x00007f07760aec39 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                #24 0x00007f0776453bc1 _ZN22QGuiApplicationPrivate26processGeometryChangeEventEPN29QWindowSystemInterfacePrivate19GeometryChangeEventE (libQt5Gui.so.5)
                                                #25 0x00007f077645916e _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE (libQt5Gui.so.5)
                                                #26 0x00007f0776432a3c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5)
                                                #27 0x00007f077524ce1d n/a (libQt5XcbQpa.so.5)
                                                #28 0x00007f07760ad8cc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #29 0x00007f07760b5bc6 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                #30 0x00007f0777017e65 n/a (libqt_plugin.so)
                                                #31 0x00007f0777018926 n/a (libqt_plugin.so)
                                                #32 0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #33 0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30911:
                                                #0  0x00007f077e74fbb1 __poll (libc.so.6)
                                                #1  0x00007f077af94ee0 n/a (libglib-2.0.so.0)
                                                #2  0x00007f077af94fce g_main_context_iteration (libglib-2.0.so.0)
                                                #3  0x00007f0776101fc9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #4  0x00007f07760ad8cc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #5  0x00007f0775ef6eb9 _ZN7QThread4execEv (libQt5Core.so.5)
                                                #6  0x00007f07750f8ba6 n/a (libQt5DBus.so.5)
                                                #7  0x00007f0775f00f65 n/a (libQt5Core.so.5)
                                                #8  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #9  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30903:
                                                #0  0x00007f077e835afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e585c8a n/a (libvlccore.so.9)
                                                #2  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #3  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30901:
                                                #0  0x00007f077e697b4c __sigtimedwait (libc.so.6)
                                                #1  0x00007f077e839f4d sigwait (libpthread.so.0)
                                                #2  0x000055aeab8a72cc n/a (vlc)
                                                #3  0x00007f077e683223 __libc_start_main (libc.so.6)
                                                #4  0x000055aeab8a741e n/a (vlc)
                                                
                                                Stack trace of thread 30914:
                                                #0  0x00007f077e835afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e607d80 n/a (libvlccore.so.9)
                                                #2  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #3  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30916:
                                                #0  0x00007f077e835ef6 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e609529 vlc_cond_timedwait (libvlccore.so.9)
                                                #2  0x00007f077e5b566a n/a (libvlccore.so.9)
                                                #3  0x00007f077e5b7e36 n/a (libvlccore.so.9)
                                                #4  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #5  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30904:
                                                #0  0x00007f077e74fbb1 __poll (libc.so.6)
                                                #1  0x00007f077a8197c5 n/a (libdbus_plugin.so)
                                                #2  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #3  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30921:
                                                #0  0x00007f077e835ef6 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e609529 vlc_cond_timedwait (libvlccore.so.9)
                                                #2  0x00007f077e607d0b n/a (libvlccore.so.9)
                                                #3  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #4  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30902:
                                                #0  0x00007f077e74fbb1 __poll (libc.so.6)
                                                #1  0x00007f077a5da673 n/a (libpulse.so.0)
                                                #2  0x00007f077a5cb990 pa_mainloop_poll (libpulse.so.0)
                                                #3  0x00007f077a5cbfe0 pa_mainloop_iterate (libpulse.so.0)
                                                #4  0x00007f077a5cc091 pa_mainloop_run (libpulse.so.0)
                                                #5  0x00007f077a5da5ae n/a (libpulse.so.0)
                                                #6  0x00007f077a3799fc n/a (libpulsecommon-12.2.so)
                                                #7  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #8  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30908:
                                                #0  0x00007f077e74fbb1 __poll (libc.so.6)
                                                #1  0x00007f077a306630 n/a (libxcb.so.1)
                                                #2  0x00007f077a3082db xcb_wait_for_event (libxcb.so.1)
                                                #3  0x00007f07751b6c5a n/a (libQt5XcbQpa.so.5)
                                                #4  0x00007f0775f00f65 n/a (libQt5Core.so.5)
                                                #5  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #6  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30922:
                                                #0  0x00007f077e835ef6 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e609529 vlc_cond_timedwait (libvlccore.so.9)
                                                #2  0x00007f077e5cbf40 n/a (libvlccore.so.9)
                                                #3  0x00007f077e5d313e n/a (libvlccore.so.9)
                                                #4  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #5  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30919:
                                                #0  0x00007f077e835afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e5f723c picture_pool_Wait (libvlccore.so.9)
                                                #2  0x00007f077e5d48ba vout_GetPicture (libvlccore.so.9)
                                                #3  0x00007f074c5c6451 n/a (libavcodec_plugin.so)
                                                #4  0x00007f072c90880b n/a (libavcodec.so.58)
                                                #5  0x00007f072cc8eba9 n/a (libavcodec.so.58)
                                                #6  0x00007f072cc10676 n/a (libavcodec.so.58)
                                                #7  0x00007f072cc16fb3 n/a (libavcodec.so.58)
                                                #8  0x00007f072c9d1d17 n/a (libavcodec.so.58)
                                                #9  0x00007f072c906090 n/a (libavcodec.so.58)
                                                #10 0x00007f072c908fc8 avcodec_send_packet (libavcodec.so.58)
                                                #11 0x00007f074c5c6b45 n/a (libavcodec_plugin.so)
                                                #12 0x00007f077e59e297 n/a (libvlccore.so.9)
                                                #13 0x00007f077e59de34 n/a (libvlccore.so.9)
                                                #14 0x00007f077e59e4e0 n/a (libvlccore.so.9)
                                                #15 0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #16 0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30920:
                                                #0  0x00007f077e835afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f077e59e75e n/a (libvlccore.so.9)
                                                #2  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #3  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30915:
                                                #0  0x00007f077e835afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f074d5d517c n/a (i965_dri.so)
                                                #2  0x00007f074d5d4eb8 n/a (i965_dri.so)
                                                #3  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #4  0x00007f077e75aa43 __clone (libc.so.6)
                                                
                                                Stack trace of thread 30925:
                                                #0  0x00007f077e835afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                #1  0x00007f074d5d517c n/a (i965_dri.so)
                                                #2  0x00007f074d5d4eb8 n/a (i965_dri.so)
                                                #3  0x00007f077e82fa9d start_thread (libpthread.so.0)
                                                #4  0x00007f077e75aa43 __clone (libc.so.6)
Oct 14 10:27:20 archer audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@9-30928-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=s>

Thanks!

Cheers
Patrick

Last edited by renygma (2018-10-14 08:43:57)

Offline

#2 2018-10-18 15:41:29

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

Re: Bus error (core dumped) when running VLC in fullscreen

Are you on wayland? Try on xorg or rather, check the behaviour on xwayland by exporting

QT_QPA_PLATFORM=xcb vlc

, also FWIW check behaviour if you explicitly disable hardware accelerated decoding.

Offline

#3 2018-10-18 16:04:16

renygma
Member
Registered: 2018-10-13
Posts: 3

Re: Bus error (core dumped) when running VLC in fullscreen

I'm on xorg 1.20.1-1.

I went to disable the hardware accelerated decoding in the settings and when I wanted to select "Disable", VLC crashed again with the same error before it could load the dropdown items.
I repeated this several times, one time it crashed when opening the preferences. Eventually I could disable it, but the error still persists.
I can replicate the issue now every time by clicking at any dropdown under preferences. I do not need to open a video file to trigger this error. Plain VLC.

Offline

#4 2018-10-18 16:15:43

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

Re: Bus error (core dumped) when running VLC in fullscreen

Mkay then something is more wrong here, whats your graphics card and driver? Does running vlc from a terminal provide some more telling output? FWIW similar issues might happen with old microcode on intel CPUs, did you properly set that up?

Offline

#5 2018-10-31 21:04:09

renygma
Member
Registered: 2018-10-13
Posts: 3

Re: Bus error (core dumped) when running VLC in fullscreen

Sorry for the late reply but I've been trying to reproduce the issue in VLC but I couldn't! It now seems to be working as if it was never broken.

My Graphics Card is a onboard Intel HD Graphics 620 and I use i915 as the driver.

The terminal did not produce any meaningful output apart from  "Bus error (core dumped)", but now I cannot reproduce the full output.

Thanks for the hint regarding the microcode, this is in fact not set up on my machine.
I must admit I did not go through the whole post installation recommendations on the wiki.

Last edited by renygma (2018-10-31 21:05:02)

Offline

Board footer

Powered by FluxBB