![]() |
|
Segfault when trying to launch dolphin built from git - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Support (https://forums.dolphin-emu.org/Forum-support) +--- Thread: Segfault when trying to launch dolphin built from git (/Thread-segfault-when-trying-to-launch-dolphin-built-from-git) |
Segfault when trying to launch dolphin built from git - LinAGKar - 08-03-2022 I'm trying to build and run dolphin from git on OpenSUSE Tumbleweed, but I'm getting a segfault on launch: Thread 1 "dolphin-emu" received signal SIGSEGV, Segmentation fault. 0x00007ffff563f040 in operator* (c=1.25, s=...) at /usr/src/debug/qt6-base-6.3.1-1.1.x86_64/build/include/QtCore/../../../src/corelib/tools/qsize.h:101 101 /usr/src/debug/qt6-base-6.3.1-1.1.x86_64/build/include/QtCore/../../../src/corelib/tools/qsize.h: Filen eller katalogen finns inte. (gdb) bt #0 0x00007ffff563f040 in operator* (c=1.25, s=...) at /usr/src/debug/qt6-base-6.3.1-1.1.x86_64/build/include/QtCore/../../../src/corelib/tools/qsize.h:101 #1 QIcon::pixmap (this=<optimized out>, size=..., devicePixelRatio=1.25, devicePixelRatio@entry=-1, mode=<optimized out>, state=<optimized out>) at /usr/src/debug/qt6-base-6.3.1-1.1.x86_64/src/gui/image/qicon.cpp:871 #2 0x00007ffff563f19b in QIcon::pixmap (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at /usr/src/debug/qt6-base-6.3.1-1.1.x86_64/src/gui/image/qicon.cpp:822 #3 0x00000000004e80a4 in Resources::GetPixmap(std::basic_string_view<char, std::char_traits<char> >, QString const&) () #4 0x00000000004e8438 in Resources::Init() () #5 0x000000000044c5d5 in main () Same result both on latest master (7d2d5d914bf3cacbecbb0bf8a642b616744aad54) and 5.0-16793 (3cd82b619388d0877436390093a6edc2319a6904) RE: Segfault when trying to launch dolphin built from git - KHg8m3r - 08-04-2022 I can't reproduce the issue on a clean install of OpenSUSE Tumbleweed in a VM. I followed these build instructions: https://wiki.dolphin-emu.org/index.php?title=Building_Dolphin_on_Linux I had one issue where it wouldn't open when running directly from the build/Binaries folder on the first attempt to open, complaining about a lack of wayland. After running 'sudo make install' it worked fine and let me run it from that folder (and from PATH) without any issue RE: Segfault when trying to launch dolphin built from git - LinAGKar - 08-04-2022 Looks like it runs if it's installed, but it segfaults when run from the build folder. RE: Segfault when trying to launch dolphin built from git - KHg8m3r - 08-04-2022 Does it still segfault from the build folder, after you run 'sudo make install'? RE: Segfault when trying to launch dolphin built from git - LinAGKar - 08-04-2022 No, it does not RE: Segfault when trying to launch dolphin built from git - TheOnly1IKnow - 08-04-2022 I also encountered this problem when doing a debug build. What solved it for me was adding the graphical resources (Data/Sys/Resources/*) to the path specified in the cmake file under datadir. Note that this segfault only effected the debug build even though my release builds also did not have graphical Icons before adding the files. Also only builds directly run from the build folder where affected as I suspect the aforementioned files get copied during an install. |