http://bugs.winehq.org/show_bug.cgi?id=16471
--- Comment #17 from Alex Weiss gg.alex.weiss@gmail.com 2009-01-18 07:50:30 --- I tried running that and I get a different (more detailed) output, though it still isn't working. I suspect the underlying problem is the same as the demo just limits the number of variables, etc. that the user has access to.
To get it to work, I installed the program under windows and then copied the files over to my linux box's /opt/ folder (I used this same procedure to install prior versions of Mplus and it worked flawlessly as there are no hidden files, etc.)
Next I would try to use Mplus to run an example analysis (I will send you what I ran via email). Simply use the following command:
wine /opt/Mplus\ Demo/Mpdemo5.exe
Upon the prompt, I then typed in ex3.1.inp
The results of doing this are as follows:
Mplus VERSION 5.2 DEMO MUTHEN & MUTHEN
Running input file 'ex3.1.inp'...
wine: Unhandled page fault on write access to 0x7ee1697c at address 0x12bb22f (thread 0009), starting debugger... Unhandled exception: page fault on write access to 0x7ee1697c, invalid program stack in 32-bit code (0x012bb22f). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:012bb22f ESP:04369478 EBP:043694b8 EFLAGS:00210246( - 00 -RIZP1) EAX:7ee1697c EBX:04369544 ECX:043699b0 EDX:8be58955 ESI:04504a20 EDI:04504a20 Stack dump: 0x04369478: b7d93bab 043694ec 04504b90 7ee1697c 0x04369488: 00000000 00000000 000037a5 043699b0 0x04369498: 000007d9 00000000 00000000 043699b0 0x043694a8: 00000000 00000000 043694e0 04504a20 0x043694b8: 04369554 01292eaf fffffffb 04369544 0x043694c8: 043699b0 00000004 04369510 00000040 Backtrace: =>0 0x012bb22f in mpdemo5 (+0xebb22f) (0x043694b8) 1 0x01292eaf in mpdemo5 (+0xe92eaf) (0x04369554) 2 0x00419cbb in mpdemo5 (+0x19cbb) (0x04369af8) 3 0x011ec444 in mpdemo5 (+0xdec444) (0x043dfe78) 4 0x01347885 in mpdemo5 (+0xf47885) (0x043dfeb8) 5 0x01327cf9 in mpdemo5 (+0xf27cf9) (0x043dff08) 6 0x7ee45947 in kernel32 (+0x55947) (0x043dffe8) 7 0xb7ddec03 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) 0x012bb22f: movl %edi,0x0(%eax) Modules: Module Address Debug info Name (22 modules) PE 400000- 1602000 Export mpdemo5 ELF 7bf00000-7bf04000 Deferred <wine-loader> ELF 7ed58000-7ed6e000 Deferred psapi<elf> -PE 7ed60000-7ed6e000 \ psapi ELF 7ed6e000-7edba000 Deferred dbghelp<elf> -PE 7ed80000-7edba000 \ dbghelp ELF 7edba000-7edd2000 Deferred imagehlp<elf> -PE 7edc0000-7edd2000 \ imagehlp ELF 7edd2000-7ef08000 Export kernel32<elf> -PE 7edf0000-7ef08000 \ kernel32 ELF 7ef08000-7ef12000 Deferred libnss_files.so.2 ELF 7ef12000-7ef1c000 Deferred libnss_nis.so.2 ELF 7ef1c000-7ef33000 Deferred libnsl.so.1 ELF 7ef33000-7ef59000 Deferred libm.so.6 ELF 7ef59000-7f000000 Deferred ntdll<elf> -PE 7ef70000-7f000000 \ ntdll ELF b7c75000-b7c7d000 Deferred libnss_compat.so.2 ELF b7c7e000-b7c82000 Deferred libdl.so.2 ELF b7c82000-b7db2000 Deferred libc.so.6 ELF b7db2000-b7dc9000 Deferred libpthread.so.0 ELF b7dd7000-b7f0d000 Export libwine.so.1 ELF b7f0e000-b7f2a000 Deferred ld-linux.so.2 Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\opt\Mplus_Demo\Mpdemo5.exe 00000009 0 <== 0000000c 00000015 0 00000013 0 00000012 0 0000000e 0 0000000d 0 0000000f 00000016 0 00000014 0 00000011 0 00000010 0 Backtrace: =>0 0x012bb22f in mpdemo5 (+0xebb22f) (0x043694b8) 1 0x01292eaf in mpdemo5 (+0xe92eaf) (0x04369554) 2 0x00419cbb in mpdemo5 (+0x19cbb) (0x04369af8) 3 0x011ec444 in mpdemo5 (+0xdec444) (0x043dfe78) 4 0x01347885 in mpdemo5 (+0xf47885) (0x043dfeb8) 5 0x01327cf9 in mpdemo5 (+0xf27cf9) (0x043dff08) 6 0x7ee45947 in kernel32 (+0x55947) (0x043dffe8) 7 0xb7ddec03 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)