Closed skwerlman closed 4 years ago
was asked to cc @ctrlaltca
seems to be related to my theme; unsetting QT_QPA_PLATFORMTHEME
prevents the crash.
will debug further in the morning
qt5ct: using qt5ct plugin
That's what's causing the crash to happen. Looks like it's a custom platform-style plugin, but it's not part of official Qt afaik. If i get it correctly, its repo is at https://sourceforge.net/projects/qt5ct/. I'm not sure what we can do to fix this inside Cockatrice, looks like it's crashing as soon as Qt is trying to initialize that plugin. Do you have any other Qt-based application working using that plugin?
lxappearance and audacious work fine with the theme plugin enabled. filezilla, firefox and atom also get themed, although i'm not sure if thats via qt or gtk.
From a quick search, both lxappearance and audacious seems to be gtk based.
i'm using the alternate qt5 interface for audacious (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/audacious/qt-5.nix). and lxappearance is from lxqt, a qt-based de
additionally, wireshark-qt 3.0.1 built against qt 5.12.0 also works fine with theming enabled
Sorry, looking for lxappearance the main results all point to the gtk version, so i guessed that was it. Looking at that sort of build script for audacious, it looks like it's hardwired to qt 5.10, but i have no clue about how the nixos build system works anyway :). To be honest, I'm not sure I'll have the time (and will) to study and install yet another niche linux distro just to debug an obscure bug on an unofficial qt theme, and then add a workaround for it in trice. I'll be glad to help if anyone wants to help debugging it, anyway
nah, the qt-5.10 bit is a patch necessary in the event 5.10 is used. my copy uses 5.12:
[scripts] ldd `which audacious`
...
libQt5Core.so.5 => /nix/store/9mdqkdb7iwdw4ripbqdpazbqnx7wc2qy-qtbase-5.12.0/lib/libQt5Core.so.5 (0x00007f29aabbb000)
...
i am more than happy to help debug; i just don't know where to start looking.
This seems more like an issue with the style plugin or 5.12.
Honestly, we can't support everything. While I'd love to say we're compatible with every OS, we work on Mac, Linux/Ubuntu, and Windows.
Honestly, we can't support everything. While I'd love to say we're compatible with every OS, we work on Mac, Linux/Ubuntu, and Windows.
That’s where the flatpak package comes in handy. It should work on most Linux distros... NixOS is supported for example!
System Information:
OS: NixOS 19.03 (git master) QT: 5.12.0 Cockatrice: 9073cb53a8cf7e51571ebcb1035f0315b6f9d77c
Cockatrice compiles fine, but fails to run on my machine.
I get an identical error (and nearly identical trace) for oracle.
hopefully helpful debug info
GDB stuff for Cockatrice ``` GNU gdb (GDB) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later