Menu

#1095 Immediate segfault

Done
nobody
None
Critical
Defect
2021-12-10
2021-11-22
No
  • Upon running, qmmp immediately segfaults.
  • This has been happening here for more than a month.
  • I have tried with both the Manjaro community repository qmmp package and the AUR qmmp-svn package. The result was identical.
  • I am using the Manjaro unstable branch, which essentially has the latest packages from Arch stable.
  • Here is output from GDB showing the backtrace.
[alex@alex-pc ~]$ gdb -ex run -ex bt -ex quit --args qmmp
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from qmmp...
(No debugging symbols found in qmmp)
Starting program: /usr/bin/qmmp 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff2999640 (LWP 246581)]

Thread 1 "qmmp" received signal SIGSEGV, Segmentation fault.
0x00007ffff656ac70 in vtable for __cxxabiv1::__si_class_type_info () from /usr/lib/libstdc++.so.6
#0  0x00007ffff656ac70 in vtable for __cxxabiv1::__si_class_type_info ()
    at /usr/lib/libstdc++.so.6
#1  0x00007ffff71d6a64 in QGnomeTheme::font(QPlatformTheme::Font) const ()
    at /usr/lib/libQt6Gui.so.6
#2  0x00007ffff7513b4e in QApplicationPrivate::basePalette() const ()
--Type <RET> for more, q to quit, c to continue without paging--
    at /usr/lib/libQt6Widgets.so.6
#3  0x00007ffff6d00508 in QGuiApplicationPrivate::setPalette(QPalette const&)
    () at /usr/lib/libQt6Gui.so.6
#4  0x00007ffff6d005d5 in QGuiApplicationPrivate::updatePalette() ()
    at /usr/lib/libQt6Gui.so.6
#5  0x00007ffff6d09353 in QGuiApplicationPrivate::init() ()
    at /usr/lib/libQt6Gui.so.6
#6  0x00007ffff751c0ba in QApplicationPrivate::init() ()
    at /usr/lib/libQt6Widgets.so.6
#7  0x000055555555a254 in  ()
#8  0x00007ffff61a3b25 in __libc_start_main () at /usr/lib/libc.so.6
#9  0x000055555555a96e in  ()
A debugging session is active.

    Inferior 1 [process 246577] will be killed.

Quit anyway? (y or n) y
[alex@alex-pc ~]$

I am willing and able to provide any further information and/or files requested, and execute any commands requested on my machine. I do not know what information would be helpful.

Thank you for reading this and considering this issue.

Discussion

  • Alex Folland

    Alex Folland - 2021-11-23

    How do I change the "type" of this ticket? It should say "defect", not "review". This is a defect in the program preventing me from running it, not a review. I can't see an "edit" button.

     
  • trialuser02

    trialuser02 - 2021-11-23
    • Type: Review --> Defect
     
  • trialuser02

    trialuser02 - 2021-11-23

    Ok. please show "export" output. I'll try to reproduce this issue.

     
  • Alex Folland

    Alex Folland - 2021-11-23
    [alex@alex-pc ~]$ export
    declare -x COLORTERM="truecolor"
    declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
    declare -x DESKTOP_SESSION="xfce"
    declare -x DISPLAY=":0.0"
    declare -x GRADLE_HOME="/usr/share/java/gradle"
    declare -x GTK3_MODULES="xapp-gtk3-module:xapp-gtk3-module"
    declare -x GTK_MODULES="canberra-gtk-module:canberra-gtk-module"
    declare -x HG="/usr/bin/hg"
    declare -x HOME="/home/alex"
    declare -x LANG="en_US.UTF-8"
    declare -x LC_ADDRESS="en_CA.UTF-8"
    declare -x LC_IDENTIFICATION="en_CA.UTF-8"
    declare -x LC_MEASUREMENT="en_CA.UTF-8"
    declare -x LC_MONETARY="en_CA.UTF-8"
    declare -x LC_NAME="en_CA.UTF-8"
    declare -x LC_NUMERIC="en_CA.UTF-8"
    declare -x LC_PAPER="en_CA.UTF-8"
    declare -x LC_TELEPHONE="en_CA.UTF-8"
    declare -x LC_TIME="en_CA.UTF-8"
    declare -x LIBVA_DRIVER_NAME="vdpau"
    declare -x LOGNAME="alex"
    declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
    declare -x MAIL="/var/spool/mail/alex"
    declare -x MANGOHUD="1"
    declare -x MOTD_SHOWN="pam"
    declare -x MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins"
    declare -x OLDPWD
    declare -x PAM_KWALLET5_LOGIN="/run/user/1000/kwallet5.socket"
    declare -x PANEL_GDK_CORE_DEVICE_EVENTS="0"
    declare -x PATH="/home/alex/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl://home/alex/work/ecg/android-studio/bin"
    declare -x PWD="/home/alex"
    declare -x QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1"
    declare -x QT_QPA_PLATFORMTHEME="qt5gtk2"
    declare -x SESSION_MANAGER="local/alex-pc:@/tmp/.ICE-unix/2137,unix/alex-pc:/tmp/.ICE-unix/2137"
    declare -x SHELL="/bin/bash"
    declare -x SHLVL="1"
    declare -x SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"
    declare -x TERM="xterm-256color"
    declare -x USER="alex"
    declare -x VDPAU_DRIVER="nvidia"
    declare -x VTE_VERSION="6601"
    declare -x WINDOWID="253755750"
    declare -x XAUTHORITY="/home/alex/.Xauthority"
    declare -x XDG_CONFIG_DIRS="/etc/xdg"
    declare -x XDG_CURRENT_DESKTOP="XFCE"
    declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share"
    declare -x XDG_MENU_PREFIX="xfce-"
    declare -x XDG_RUNTIME_DIR="/run/user/1000"
    declare -x XDG_SEAT="seat0"
    declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
    declare -x XDG_SESSION_CLASS="user"
    declare -x XDG_SESSION_DESKTOP="XFCE"
    declare -x XDG_SESSION_ID="2"
    declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session1"
    declare -x XDG_SESSION_TYPE="x11"
    declare -x XDG_VTNR="1"
    declare -x YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35"
    declare -x ftp_proxy=""
    declare -x http_proxy=""
    declare -x https_proxy=""
    declare -x socks_proxy=""
    [alex@alex-pc ~]$
    
     
  • Alex Folland

    Alex Folland - 2021-11-24

    I posted the output of the export command, but it says "Post awaiting moderation." instead. It seems this moderation is not automatic. From research, it sounds like the project administrator can accept the comment.

     
  • trialuser02

    trialuser02 - 2021-11-24

    Are your using qt6gtk2 style/platform plugin?

     
  • Alex Folland

    Alex Folland - 2021-11-24

    Yes. I have both qt5gtk2 and qt6gtk2 installed, to fix the issues with Qt programs having weird theming.

     
  • trialuser02

    trialuser02 - 2021-11-24

    Try to recompile or remove qt6gtk2. For test purposes.

     
  • Alex Folland

    Alex Folland - 2021-11-24

    I recompiled qt6gtk2 using yay -S qt6gtk2 and pressing "A" when asked "Packages to cleanBuild?". After doing so, qmmp now runs without segfaulting. Thank you!

    I wonder why this happened and why it didn't affect any other software I use, including various KDE programs which also use Qt. Is there anything that should be changed in qmmp to improve the situation so this can't happen to others who haven't rebuilt qt6gtk2 lately, or should this ticket be closed instead?

     
  • trialuser02

    trialuser02 - 2021-11-24

    qt6gtk2 uses private Qt headers and should be recompiled after each Qt upgrade. Qmmp gets system font from platform plugin and crashes more often. To solve this problem, I'll try to add some checks for binary compatibility to the qt6gtk2 and qt6ct.

     
  • trialuser02

    trialuser02 - 2021-12-10
    • status: New --> Done
     

Log in to post a comment.

MongoDB Logo MongoDB