getsolus / packages

Solus Package Monorepo & Issue Tracker
64 stars 84 forks source link

Ardour 8.4-42 fails to start #1879

Closed hdansin closed 8 months ago

hdansin commented 8 months ago

Please confirm there isn't an existing open bug report

Summary

Ardour 8 fails to launch. In terminal, it shows this output:

Ardour8.4.0 (built using 8.4 and GCC version 13.2.0)
Ardour: [INFO]: Your system is configured to limit Ardour to 524288 open files
Ardour: [INFO]: Loading system configuration file /usr/etc/ardour8/system_config
Ardour: [INFO]: Loading user configuration file /home/hdansin/.config/ardour8/config
Ardour: [INFO]: CPU vendor: AuthenticAMD
Ardour: [INFO]: AVX capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: AMD Ryzen 5 2400G with Radeon Vega Graphics
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour8/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading plugin statistics file /home/hdansin/.config/ardour8/plugin_metadata/plugin_stats
Ardour: [INFO]: add_lrdf_data '/home/hdansin/.config/ardour8/rdf:/usr/share/ardour8/rdf:/usr/local/share/ladspa/rdf:/usr/share/ladspa/rdf'
Ardour: [INFO]: read rdf_file 'file:///usr/share/ladspa/rdf/ladspa.rdfs'
Ardour: [INFO]: read rdf_file 'file:///usr/share/ladspa/rdf/ladspa-rubberband.rdf'
Ardour: [INFO]: Loading default ui configuration file /usr/etc/ardour8/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/hdansin/.config/ardour8/ui_config
Ardour: [INFO]: Loading 459 MIDI patches from /usr/share/ardour8/patchfiles

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: cannot register existing type 'GtkObject'

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: g_type_register_static: assertion 'parent_type > 0' failed

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: cannot register existing type 'GtkBuildable'

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(ardour-8.4.0:1903): GLib-CRITICAL **: 06:55:46.808: g_once_init_leave: assertion 'result != 0' failed

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(ardour-8.4.0:1903): GLib-GObject-CRITICAL **: 06:55:46.808: g_type_register_static: assertion 'parent_type > 0' failed

Steps to reproduce

Launch Ardour from menu, or type ardour8 in terminal and press enter.

Expected result

Ardour should start and show the project menu window

Actual result

No window appears and it throws an error in the terminal, though the process keeps running.

Environment

Repo

Shannon (stable)

Desktop Environment

Budgie

System details

System:
  Host: gurthang Kernel: 6.6.21-280.current arch: x86_64 bits: 64
  Desktop: Budgie v: 10.9.1 Distro: Solus 4.5 resilience
Machine:
  Type: Desktop Mobo: ASRock model: AB350 Pro4 serial: <superuser required>
    UEFI: American Megatrends v: P5.00 date: 07/05/2018
CPU:
  Info: quad core AMD Ryzen 5 2400G with Radeon Vega Graphics [MT MCP]
    speed (MHz): avg: 1574 min/max: 1600/3600
Graphics:
  Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: amdgpu
    v: kernel
  Device-2: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi
    gpu: amdgpu resolution: 1: 1920x1080~60Hz 2: 3840x2160~30Hz
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.2 renderer: AMD
    Radeon RX 5500 XT (radeonsi navi14 LLVM 16.0.6 DRM 3.54
    6.6.21-280.current)
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
Drives:
  Local Storage: total: 2.27 TiB used: 1.22 TiB (53.7%)
Info:
  Memory: total: 16 GiB available: 15.56 GiB used: 3.52 GiB (22.6%)
  Processes: 325 Uptime: 1h 17m Shell: Bash inxi: 3.3.33

Other comments

No response

Staudey commented 8 months ago

I can reproduce this on my Budgie PC. Using strace it seems to get stuck waiting on a futex call:

[...]
write(2, "\n(ardour-8.4.0:8528): GLib-GObje"..., 128
(ardour-8.4.0:8528): GLib-GObject-CRITICAL **: 21:53:49.797: g_type_add_interface_static: assertion 'G_TYPE) = 128
write(2, "_IS_INSTANTIATABLE (instance_typ"..., 43_IS_INSTANTIATABLE (instance_type)' failed
) = 43
ioctl(2, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
getpid()                                = 8528
write(2, "\n(ardour-8.4.0:8528): GLib-GObje"..., 128
(ardour-8.4.0:8528): GLib-GObject-CRITICAL **: 21:53:49.797: g_type_register_static: assertion 'parent_type) = 128
write(2, " > 0' failed\n", 13 > 0' failed
)          = 13
futex(0x7fa447ffef18, FUTEX_WAIT_PRIVATE, 154, NULL