MantisBT - ardour
View Issue Details
0007689ardourbugspublic2018-11-24 03:252018-12-04 00:17
aquilarubra 
 
normalcrashalways
newopen 
x86_64Windows10
5.X git (version in description) 
 
0007689: Crash loading project settings
I'm using ardour 6 from git (sv 1303), cross compiling it from Arch. The program compiles fine and works fine when a new project is created.

When a previous project is loaded, Ardour crashed at pbd-4.dll, being unable to create tracks. The Ardour pane is visible, and it waits for a bit, while trying to create the tracks, till it crashes.

From Windows event log:

Faulting application name: ardour-6.0.pre0.1303.exe, version: 0.0.0.0, time stamp: 0x5bf92511
Faulting module name: pbd-4.dll, version: 0.0.0.0, time stamp: 0x5bf924fb
Exception code: 0xc0000005
Fault offset: 0x0000000000055fcf
Faulting process id: 0x25b8
Faulting application start time: 0x01d483e7747f19dd
Faulting application path: E:\build\arch\ardour6\bin\ardour-6.0.pre0.1303.exe
Faulting module path: E:\build\arch\ardour6\bin\pbd-4.dll
Report Id: 693341bf-670a-409f-bac0-e4c2c01daf7a
Faulting package full name:
Faulting package-relative application ID:

In WinDbg, it gives an access violation at:
RingBufferIPvE5writeEPKS1

I could not compile a debug version of Ardour, as it seems that it exceeds the Ordinal number of symbols.
Launch Ardour, load an existing project, starts the audio server, and while the main window opens it then crashes.
Under Arch, almost all the latest libraries are used to build the dependencies. But this seems to be a pbd specific issue.
No tags attached.
gz 512.gz (21,186) 2018-12-04 00:17
http://tracker.ardour.org/file_download.php?file_id=3431&type=bug
Issue History
2018-11-24 03:25aquilarubraNew Issue
2018-11-24 23:31aquilarubraNote Added: 0020487
2018-11-29 16:50x42Note Added: 0020494
2018-12-04 00:17Markus34File Added: 512.gz

Notes
(0020487)
aquilarubra   
2018-11-24 23:31   
If I run the program in wine, I also see this when it crashed:

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.334: gtk_menu_item_get_submenu: assertion 'GTK_IS_MENU_ITEM (menu_item)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.337: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.340: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.343: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_SHELL (menu_shell)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.346: gtk_menu_item_get_submenu: assertion 'GTK_IS_MENU_ITEM (menu_item)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.350: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.353: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

(ardour-6.0.pre0.1303.exe:41): Gtk-CRITICAL **: 08:29:37.356: gtk_menu_shell_insert: assertion 'GTK_IS_MENU_SHELL (menu_shell)' failed
(0020494)
x42   
2018-11-29 16:50   
re "I could not compile a debug version of Ardour, as it seems that it exceeds the Ordinal number of symbols."

Try adding "-Og" or "-Wa,-mbig-obj"

see also https://github.com/Ardour/ardour/blob/master/tools/x-win/compile.sh#L69 [^]