64bit winelib test app fails on AMD CPU, but works on Intel - need help to identify possible problem, please :)

Marcus Meissner marcus at jet.franken.de
Fri Apr 5 01:06:16 CDT 2013


On Thu, Apr 04, 2013 at 07:39:16PM -0400, jordan wrote:
> Hey List,
> 
> A few days ago, i posted to the list about possibly porting a winelib
> app to support x86_64. (currently supports x86).
> 
> the original post is here (for those interested, but not entirely
> relevant to this post):
> http://wine.1045685.n5.nabble.com/exploring-possibly-porting-winelib-app-to-support-64bit-td5750102.html
> 
> moving on.
> 
> So we have a simple test app, that successfully loads 64bit DLLs on my
> friend's Intel based machines, while on my AMD Phenom II 965 X4 - the
> code fails.
> 
>  -> Successful on Intel:
> 
> xj at xj:~/Muzyka/fsthost/trunk$ ./test64.exe ../../VST/ColourEQ_64.dll
> Load plugin ../../VST/ColourEQ_64.dll
> fixme:heap:HeapSetInformation 0x3c4000 0 0x22f610 4
> Main entry: 0x1800077d0
> Revive plugin
> V: 66048 U: 1131365713 NI: 2 NO: 2 NPr: 10 NPa: 42
> Open
> Close
> 
> So intel computers tested (2 that i know of) work just fine.
> 
>  -> Failure on AMD: http://pastebin.com/x64pig3s  and a little snippet:
> 
> ./test64.exe '/home/ninez/Desktop/ColourEQ_64.dll'
> fixme:heap:HeapSetInformation 0x2c4000 0 0x23fce0 4
> Load plugin /home/ninez/Desktop/ColourEQ_64.dll
> fixme:heap:HeapSetInformation 0x3d4000 0 0x23f5f0 4
> Main entry: 0x1800077d0
> Revive plugin
> wine: Unhandled page fault on read access to 0xffffffff at address
> 0xffffffff (thread 002a), starting debugger...
> fixme:dbghelp:elf_search_auxv can't find symbol in module

Works for me on my AMD Phenom(tm) II X4 945 Processor.

It looks like the 
        struct AEffect* plugin = main_entry((audioMasterCallback) simple_master_callback);

returns 0xffffffff, which is probably a failure indication.

Can you add a
	printf("plugin %p\n", plugin);
after above line?

I would suspect things like: 
- checks for processor features and returns 0xffffffff if not found.

CIao, Marcus




More information about the wine-devel mailing list