gqrx icon indicating copy to clipboard operation
gqrx copied to clipboard

zsh: segmentation fault gqrx

Open cx802 opened this issue 2 years ago • 1 comments

┌──(root💀kali)-[~/gqrx.git] └─# gqrx
zsh: segmentation fault gqrx

Linux kali 5.18.0-kali2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1kali1 (2022-06-20) x86_64 GNU/Linux

how to fix? ;/

cx802 avatar Jul 02 '22 18:07 cx802

Hello. Provide a backtrace, please.

  1. Run gqrx under gdb
$ gdb gqrx
(gdb) run
  1. Make it crash
  2. Switch to a terminal with gdb and type bt
  3. Post backtrace here

I don't think running gqrx under root to be a good idea...

vladisslav2011 avatar Jul 05 '22 23:07 vladisslav2011

Hi, same issue on manjaro.

GNU gdb (GDB) 12.1
Copyright (C) 2022 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 gqrx...
(No debugging symbols found in gqrx)
(gdb) run
Starting program: /usr/bin/gqrx 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff045d6c0 (LWP 21430)]

Thread 1 "gqrx" received signal SIGSEGV, Segmentation fault.
0x00007ffff6f8547c in QFont::operator==(QFont const&) const () from /usr/lib/libQt6Gui.so.6
(gdb) bt
#0  0x00007ffff6f8547c in QFont::operator==(QFont const&) const () from /usr/lib/libQt6Gui.so.6
#1  0x00007ffff6f8586e in QFont::operator!=(QFont const&) const () from /usr/lib/libQt6Gui.so.6
#2  0x00007ffff6da40a2 in QGuiApplication::setFont(QFont const&) () from /usr/lib/libQt6Gui.so.6
#3  0x00007ffff048397d in ?? () from /usr/lib/qt6/plugins/platformthemes/libqt6ct.so
#4  0x00007ffff0483f2a in ?? () from /usr/lib/qt6/plugins/platformthemes/libqt6ct.so
#5  0x00007ffff6dcfd0d in QPlatformThemeFactory::create(QString const&, QString const&) ()
   from /usr/lib/libQt6Gui.so.6
#6  0x00007ffff6d960b0 in QGuiApplicationPrivate::createPlatformIntegration() ()
   from /usr/lib/libQt6Gui.so.6
#7  0x00007ffff6d97bc9 in QGuiApplicationPrivate::createEventDispatcher() ()
   from /usr/lib/libQt6Gui.so.6
#8  0x00007ffff672f28c in QCoreApplicationPrivate::init() () from /usr/lib/libQt6Core.so.6
#9  0x00007ffff6d97c51 in QGuiApplicationPrivate::init() () from /usr/lib/libQt6Gui.so.6
#10 0x00007ffff756cade in QApplicationPrivate::init() () from /usr/lib/libQt6Widgets.so.6
#11 0x00005555555e4ff9 in main ()
(gdb) 

Inglebard avatar Oct 18 '22 09:10 Inglebard

@Inglebard It looks, like there is a problem with either qt6ct theme plugin or missing font. Have you tested other Qt6 applications with qt6ct platform theme?

vladisslav2011 avatar Oct 18 '22 10:10 vladisslav2011

@vladisslav2011 you are right. I clear my /etc/environment where some QT variable were set. Now it starts properly, thanks.

Inglebard avatar Oct 18 '22 10:10 Inglebard

I'll close this off, since the problem appears to lie outside Gqrx.

argilo avatar Apr 16 '23 16:04 argilo