Ardour 2 beta 6.2 with vst enabled fails to run

Hi all, I don’t know if this list is the correct place to report problems with the new (beta) version, if not, let me know.

However, I just want to report that compiling ardour 2 beta 6.2 with VST support enabled on my Ubuntu/Kubuntu (tried both) edgy systems results in a broken executable. I was able to compile (plain “scons VST=1”) and install, but the program fails totally to start with the following message:

wine: Unhandled page fault on read access to 0x00000008 at address 0x7eae0a14 (thread 0009), starting debugger…
Cannot get info on module while no process is loaded
process tid prio (all id:s are in hex)
00000008 (D) (null)
00000009 0

I have no vst plugins installed; i tried multiple configurations and versions of wine (0.9.12, 0.9.22, 0.9.24) but the result is always the same.
All libraries and dev packages are those shipped with the distribution.


Unhandled page fault
I’ve the same, identic, trouble!
I’m on a Debian Etch, wine is 0.9.20-1.

$ ardourvst
Invoking /usr/lib/wine/wine.bin /usr/local/lib/ardour2/ …
wine: Unhandled page fault on read access to 0x000000de at address 0x7d72e765 (thread 0009), starting debugger…
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x000000de in 32-bit code (0x7d72e765).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:7d72e765 ESP:0033f5a0 EBP:0033f5b8 EFLAGS:00010246( - 00 -RIZP1)
EAX:00000001 EBX:7d72fb8c ECX:00000000 EDX:000000de
ESI:7c0cae88 EDI:7c0c60b0
Stack dump:
0x0033f5a0: 7c0c60b0 7d72fb8c 0033f5b8 7ce59098
0x0033f5b0: 7ce605e8 7ce60394 0033f638 7ce44649
0x0033f5c0: 7c0c60b0 7c0cae88 7ce577a3 7ce572bc
0x0033f5d0: 000000b4 0015ab58 00000002 0033f5f8
0x0033f5e0: b7d2259b 00000000 00110000 7d205c38
0x0033f5f0: 00000056 0000014c 0033f638 7d1beb67
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
=>1 0x7d72e765 XRenderFindVisualFormat+0x65 in (0x7d72e765)
2 0x7ce44649 X11DRV_XRender_Init+0x549 in winex11 (0x7ce44649)
3 0x7ce1f9f8 X11DRV_CreateDC+0x138 in winex11 (0x7ce1f9f8)
4 0x7d19c1a0 CreateDCW+0x100 in gdi32 (0x7d19c1a0)
5 0x7d033b3f CreateIconFromResourceEx+0x45f in user32 (0x7d033b3f)
6 0x7d0344ef in user32 (+0x244ef) (0x7d0344ef)
7 0x7d034a5d LoadImageW+0x42d in user32 (0x7d034a5d)
8 0x7d035186 LoadImageA+0x56 in user32 (0x7d035186)
9 0x7d035422 LoadCursorA+0x42 in user32 (0x7d035422)
10 0x7d02adb5 in user32 (+0x1adb5) (0x7d02adb5)
11 0x7d02ae0d CLASS_RegisterBuiltinClasses+0x1d in user32 (0x7d02ae0d)
12 0x7d09ea41 in user32 (+0x8ea41) (0x7d09ea41)
13 0x7d0b17b5 in user32 (+0xa17b5) (0x7d0b17b5)
14 0x7bc36885 call_dll_entry_point+0x15 in ntdll (0x7bc36885)
15 0x7bc37959 in ntdll (+0x27959) (0x7bc37959)
16 0x7bc37e0d in ntdll (+0x27e0d) (0x7bc37e0d)
17 0x7bc37d52 in ntdll (+0x27d52) (0x7bc37d52)
18 0x7bc3acd2 LdrInitializeThunk+0x382 in ntdll (0x7bc3acd2)
19 0x7b86f995 in kernel32 (+0x4f995) (0x7b86f995)
20 0xb7e5f907 wine_switch_to_stack+0x17 in (0xb7e5f907)
0x7d72e765 XRenderFindVisualFormat+0x65 in cmpl 0x0(%edx),%esi
Module Address Debug info Name (101 modules)
ELF 46959000-46967000 Deferred
ELF 47dc6000-47dd0000 Deferred
ELF 482b3000-482c9000 Deferred
ELF 4840d000-48438000 Deferred
ELF 7b800000-7b904000 Export kernel32
-PE 7b820000-7b904000 \ kernel32
ELF 7bc00000-7bc80000 Export ntdll
-PE 7bc10000-7bc80000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7c545000-7c561000 Deferred imm32
-PE 7c550000-7c561000 \ imm32
ELF 7c561000-7c565000 Deferred
ELF 7c56e000-7c570000 Deferred
ELF 7c570000-7cd33000 Deferred
ELF 7cd33000-7cdb8000 Deferred
ELF 7cdb8000-7cdbd000 Deferred
ELF 7cdbd000-7cdd5000 Deferred
ELF 7cdd5000-7cdde000 Deferred
ELF 7cdde000-7ce61000 Export winex11
-PE 7cdf0000-7ce61000 \ winex11
ELF 7cfeb000-7d121000 Export user32
-PE 7d010000-7d121000 \ user32
ELF 7d121000-7d167000 Deferred advapi32
-PE 7d130000-7d167000 \ advapi32
ELF 7d167000-7d21e000 Export gdi32
-PE 7d180000-7d21e000 \ gdi32
ELF 7d21e000-7d328000 Deferred
ELF 7d328000-7d35a000 Deferred
ELF 7d35a000-7d37e000 Deferred
ELF 7d37e000-7d39d000 Deferred
ELF 7d39d000-7d407000 Deferred
ELF 7d407000-7d410000 Deferred
ELF 7d41a000-7d42e000 Deferred
ELF 7d42e000-7d568000 Deferred
ELF 7d568000-7d5a7000 Deferred
ELF 7d5a7000-7d5d7000 Deferred
ELF 7d5d7000-7d5ea000 Deferred
ELF 7d5ea000-7d5ed000 Deferred
ELF 7d5ed000-7d5f2000 Deferred
ELF 7d5f2000-7d617000 Deferred
ELF 7d617000-7d693000 Deferred
ELF 7d693000-7d6af000 Deferred
ELF 7d6af000-7d6e4000 Deferred
ELF 7d6e4000-7d728000 Deferred
ELF 7d728000-7d730000 Export
ELF 7d730000-7d735000 Deferred
ELF 7d735000-7d738000 Deferred
ELF 7d738000-7d743000 Deferred
ELF 7d83c000-7d853000 Deferred
ELF 7d853000-7d870000 Deferred
ELF 7d870000-7d87c000 Deferred
ELF 7d87c000-7d8af000 Deferred
ELF 7d8af000-7d9c9000 Deferred
ELF 7d9c9000-7d9ce000 Deferred
ELF 7d9ce000-7da10000 Deferred
ELF 7da10000-7da51000 Deferred
ELF 7da51000-7da76000 Deferred
ELF 7da76000-7dabf000 Deferred
ELF 7dacd000-7db0d000 Deferred
ELF 7db0d000-7dbab000 Deferred
ELF 7dbab000-7dbeb000 Deferred
ELF 7dbeb000-7dc4d000 Deferred
ELF 7dc4d000-7dc87000 Deferred
ELF 7dc87000-7dc8c000 Deferred
ELF 7dc8c000-7dc95000 Deferred
ELF 7dc95000-7dc99000 Deferred
ELF 7dc99000-7dca1000 Deferred
ELF 7dca1000-7dcaf000 Deferred
ELF 7dcaf000-7dcd9000 Deferred
ELF 7dcd9000-7dce1000 Deferred
ELF 7dce1000-7dcf7000 Deferred
ELF 7dcf7000-7dd11000 Deferred
ELF 7dd11000-7dd92000 Deferred
ELF 7dd92000-7e07c000 Deferred
ELF 7e07c000-7e0a7000 Deferred
ELF 7e0e8000-7e17a000 Deferred
ELF 7e17a000-7e1b4000 Deferred
ELF 7e1b4000-7e452000 Deferred
ELF 7e452000-7e478000 Deferred
ELF 7e478000-7e49a000 Deferred
ELF 7e49a000-7e504000 Deferred
ELF 7e504000-7e50f000 Deferred
ELF 7e50f000-7e77e000 Deferred
ELF 7e77e000-7ec80000 Deferred
ELF 7ec80000-7ed6c000 Deferred
ELF 7ed6c000-7ee2d000 Deferred
ELF 7ef8d000-7ef98000 Deferred
ELF 7ef98000-7efa2000 Deferred
ELF 7efa2000-7efb8000 Deferred
ELF 7efb8000-7efc1000 Deferred
ELF 7efc1000-7efe6000 Deferred
ELF 7efe6000-7f000000 Deferred ardour_vst
-PE 7eff0000-7f000000 \ ardour_vst
ELF b7cf2000-b7cf5000 Deferred
ELF b7cf6000-b7cfa000 Deferred
ELF b7cfa000-b7e2b000 Deferred
ELF b7e2b000-b7e3d000 Deferred
ELF b7e51000-b7e55000 Deferred
ELF b7e55000-b7e58000 Deferred
ELF b7e58000-b7f69000 Export
ELF b7f6b000-b7f82000 Deferred
process tid prio (all id:s are in hex)
00000008 (D) Z:\usr\local\lib\ardour2\ardour_vst.exe
00000009 0 <==
Wine exited with a successful status

Have you tried this with beta8 or current SVN?

Oh, and make sure you have only one version of 2.0 installed. Haveing one version in /usr/ and another one in /usr/local/ might cause trouble. We’re still investigating these issues though.

Probably stealth compilation issues

I compiled the SVN and the beta8 and i always uninstall these, first of compiling new one. I tried different challenge with the VST path but nothing relevant blows up. I’m thinkin about something bad in wine gears…But what?
Other windows/wine things works fine!

i used gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)

I had a similar problem with Ardour 2 rc1 and found that replacing Wine (on the Wine repository) by the Debian one (0.9.25) cured the bug for me…

**Edit: It is also related to some problematic vst plugins (DigitalFishPhones and others): removing them and all is ok. So, it’s a combination of two things…

Well, my mistake…

I only replaced the wine libraries 0.9.35 with the Debian ones (0.9.25).

Maybe the error is more related to some offending plugins . I had also vst’s at two places: under root/vst and /usr/local/lib/vst… I move the root ones to to usr/local/lib.

So, finally, I’m not sure what was the solution!!!