Subject: bug#77259: Nicotine+ instant segfault

From: Andrew Wong <[email-masked]>
Date: Tue, 25 Mar 2025 15:35:04 -0400

Hi Guix,
Nicotine+ segfaults on launch as of guix ce086e3. Here is my console output:
```
~ 🮲🮳 nicotine
[2025-03-25 15:31:39] Loading Python 3.10.7
[2025-03-25 15:31:39] Loading Nicotine+ 3.3.6
/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/lib/python3.10/site-packages/pynicotine/gtkgui/__init__.py:35: 
Warning: cannot retrieve class for invalid (unclassed) type 'GParamBoolean'
   dbus_proxy = Gio.DBusProxy.new_for_bus_sync(
Fatal Python error: Segmentation fault

Thread 0x00007f567c17f6c0 (most recent call first):
   File 
"/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/lib/python3.10/site-packages/pynicotine/events.py", 
line 352 in _run_scheduler
   File 
"/gnu/store/xsflhzksdnlwsigw9iicbg99qmh5hz82-python-3.10.7/lib/python3.10/threading.py", 
line 953 in run
   File 
"/gnu/store/xsflhzksdnlwsigw9iicbg99qmh5hz82-python-3.10.7/lib/python3.10/threading.py", 
line 1016 in _bootstrap_inner
   File 
"/gnu/store/xsflhzksdnlwsigw9iicbg99qmh5hz82-python-3.10.7/lib/python3.10/threading.py", 
line 973 in _bootstrap

Current thread 0x00007f567cfd8740 (most recent call first):
   File 
"/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/lib/python3.10/site-packages/pynicotine/gtkgui/__init__.py", 
line 35 in get_default_gtk_version
   File 
"/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/lib/python3.10/site-packages/pynicotine/gtkgui/__init__.py", 
line 140 in run
   File 
"/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/lib/python3.10/site-packages/pynicotine/__init__.py", 
line 224 in run
   File 
"/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/bin/.nicotine-real", 
line 35 in load_module
   File 
"/gnu/store/jj72ii8my1dgqj3ynm5yavm8ypam03xp-nicotine+-3.3.6/bin/.nicotine-real", 
line 39 in <module>

Extension modules: gi._gi (total: 1)
Segmentation fault
```