LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Qt5 Programs (VLC / qv4l2 / notepadqq / etc) SegFault (https://www.linuxquestions.org/questions/linux-software-2/qt5-programs-vlc-qv4l2-notepadqq-etc-segfault-4175644539/)

IronManRust 12-18-2018 01:09 PM

Qt5 Programs (VLC / qv4l2 / notepadqq / etc) SegFault
 
As an FYI, this is a cross-post from https://bbs.archlinux.org/viewtopic.php?id=242703 ...

Basic system setup:
  • Arch
  • Core2 Duo
  • 2x GeForce GT 620's Running nvidia-390xx Driver
  • Xfce
  • 4.19.8-arch1-1-ARCH

Did a full system update (pacman -Syu) in the last week or two, first time in a while, seemed to go fine. Fired up vlc's UI for the first time today since then, nothing happened. Dropped to a terminal to troubleshoot ...

Code:

cvlc test.mp3
... audio plays. So we're not totally dead. Let's see if we can get a GUI ...

Code:

vlc test.mp3
... well hello segmentation fault and core dump. Checking details ...

Code:

vlc -vvv test.mp3
... lots of details, none useful that I can follow, then another segmentation fault and core dump. Let's try to debug ...

Code:

gdb vlc test.mp3
... maybe getting somewhere ...

Code:

Thread 5 "vlc" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffdbcfb700 (LWP 6312)]
0x00007fffdbae809f in ?? () from /usr/lib/libQt5XcbQpa.so.5

... let's check another Qt program ...

Code:

gdb qv4l2
... and we have another segfault pointing at the libQt5XcbQpa.so.5 library. I tried it with notepadqq and got a segfault as well.

I took a look at https://www.archlinux.org/packages/e...6_64/qt5-base/ and I see that Qt 5.12.0 came out on 12/5/2018. Maybe just a bug in 5.12 I have to wait out? Reverting to 5.11 didn't seem to help, though, but I have no idea what version was the last one I know worked.

Anybody have any ideas? Details and console logs available upon request.

jsbjsb001 12-18-2018 01:27 PM

You shouldn't cross-post. But yes, it more likely than not is indeed a bug, so yes, you'd likely have to wait it out.

IronManRust 12-19-2018 01:38 AM

Revert All The Things!
 
I'm not totally sure where the regression ultimately lies, but reverting all the packages in the qt5 package group from 5.12 back to 5.11.2 fixed things:

Code:

pacman -U
https://archive.archlinux.org/packages/p/pyside2/pyside2-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-3d/qt5-3d-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-base/qt5-base-5.11.2-3-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-canvas3d/qt5-canvas3d-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-charts/qt5-charts-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-connectivity/qt5-connectivity-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-datavis3d/qt5-datavis3d-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-declarative/qt5-declarative-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-doc/qt5-doc-5.11.2-1-any.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-examples/qt5-examples-5.11.2-1-any.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-gamepad/qt5-gamepad-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-graphicaleffects/qt5-graphicaleffects-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-imageformats/qt5-imageformats-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-location/qt5-location-5.11.2-2-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-multimedia/qt5-multimedia-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-networkauth/qt5-networkauth-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-quickcontrols/qt5-quickcontrols-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-quickcontrols2/qt5-quickcontrols2-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-remoteobjects/qt5-remoteobjects-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-script/qt5-script-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-scxml/qt5-scxml-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-sensors/qt5-sensors-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-serialbus/qt5-serialbus-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-serialport/qt5-serialport-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-speech/qt5-speech-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-svg/qt5-svg-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-tools/qt5-tools-5.11.2-2-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-translations/qt5-translations-5.11.2-1-any.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-virtualkeyboard/qt5-virtualkeyboard-5.11.2-3-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-wayland/qt5-wayland-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-webchannel/qt5-webchannel-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-webengine/qt5-webengine-5.11.2-2-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-webglplugin/qt5-webglplugin-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-webkit/qt5-webkit-5.212.0alpha2-21-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-websockets/qt5-websockets-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-webview/qt5-webview-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-x11extras/qt5-x11extras-5.11.2-1-x86_64.pkg.tar.xz
https://archive.archlinux.org/packages/q/qt5-xmlpatterns/qt5-xmlpatterns-5.11.2-1-x86_64.pkg.tar.xz

I tested vlc, notepadqq and qv4l2 and all come up fine again.


All times are GMT -5. The time now is 07:36 PM.