Closed patlefort closed 2 years ago
I seem to have the same problem.
The GUI manages to start, and I can see all my games for maybe a second. Then it just crashes.
Version and environment
- GameHub
Version: 0.16.1--
Branch:
- Environment
Distro: Arch Linux
DE: KDE
GTK: 3.24.31
Themes: Breeze | breeze-dark
I tried to activate as much logging as possible. But the only thing relatable that shows up are the following lines:
[FATAL] game_hub_data_providers_data_igdb_parse: assertion 'json != NULL' failed
[FATAL] game_hub_data_providers_data_igdb_parse: assertion 'json != NULL' failed
[FATAL] game_hub_data_providers_data_igdb_parse: assertion 'json != NULL' failed
Segmentation fault (core dumped)
Opening the core dump file with gdb shows the following:
#0 0x00005596b1cc3183 in __lambda48_ (_data21_=0x5596b5e0ba00) at ../src/data/sources/humble/Trove.vala:89
Humble has changed the Trove page again and GameHub expects the games list there. Trove support will likely require a full rewrite since Trove games are only available in their launcher now afaik.
I'll try to push a fix that will fully disable Trove soon.
Meanwhile you can disable Trove using gsettings
or dconf editor:
gsettings set com.github.tkashkin.gamehub.auth.humble load-trove-games false
TIL about gsettings and dconf. I was wondering earlier where the gamehub settings was located. Even after deleting related folders in .local/, .conf/, and .cache/ the client still remembered my access tokens.
Disabling trove by following your instructions worked perfectly. Thanks! 👍
Humble Trove support should be disabled in 0.16.2.
Steps to reproduce
Launch gamehub while connected to the internet.
Version and environment
GDB log
GDB log
``` [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Thread 31 "pool-gamehub" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff1bfff640 (LWP 20744)] 0x00005555555db084 in __lambda48_ (_data21_=0x7fffd0005e40) at ../src/data/sources/humble/Trove.vala:89 Thread 33 (Thread 0x7fff03fff640 (LWP 20746) "pool-gamehub"): #0 0x00007ffff2ae518d in syscall () at /usr/lib/libc.so.6 #1 0x00007ffff7b9d0ff in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0 #2 0x00007ffff7b1b993 in () at /usr/lib/libglib-2.0.so.0 #3 0x00007ffff7b1bb48 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0 #4 0x00007ffff7b7f8ba in () at /usr/lib/libglib-2.0.so.0 #5 0x00007ffff7b7c845 in () at /usr/lib/libglib-2.0.so.0 #6 0x00007ffff23e1259 in start_thread () at /usr/lib/libpthread.so.0 #7 0x00007ffff2aea5e3 in clone () at /usr/lib/libc.so.6 Thread 31 (Thread 0x7fff1bfff640 (LWP 20744) "pool-gamehub"): #0 0x00005555555db084 in __lambda48_ (_data21_=0x7fffd0005e40) at ../src/data/sources/humble/Trove.vala:89 _tmp38_ = 0x7fff101da500 _tmp41_ = 0x0 _tmp44_ = 0x0 trove_json = 0x0 _tmp39_ = 0x7fff101da500 _tmp42_ = 0x0 _tmp45_ = 0x0 _tmp60_ = 0x27 xpath = 0x7fff101da500 _tmp37_ = 0x7fff101596c0 _tmp40_ = 0x7fff101a15e0 _tmp43_ = 0x7eCrash seem related to Humble Trove.