https://bugs.winehq.org/show_bug.cgi?id=52577
--- Comment #3 from Eric Pouech eric.pouech@orange.fr --- Hi,
I meant running from slightly different directories than what you did
-------------- [eric]$ ../../wine UfcEvaluationSoftware_v1.1.0/UFC_Assembler.exe Examples/AS6031_AS6040_A1.C1.00.01.asm --- UFC Assembler, ScioSense B.V. --- wine: Unhandled page fault on write access to 00000000 at address 0040E9CF (thread 0024), starting debugger... -------------- (this fails as you described)
-------------- [eric]$ ../../wine UfcEvaluationSoftware_v1.1.0/UFC_Assembler.exe Examples\AS6031_AS6040_A1.C1.00.01.asm --- UFC Assembler, ScioSense B.V. --- INFO: Examples\AS6031_AS6040_A1.C1.00.01.asm: Processing was successful
[eric]$ LC_ALL=C ll Examples/ total 316 -rw-rw-rw-. 1 eric eric 12005 Nov 12 15:04 AS6031_AS6040_A1.C1.00.01.asm -rw-r--r--. 1 eric eric 4272 Mar 2 17:20 AS6031_AS6040_A1.C1.00.01.dbg -rw-r--r--. 1 eric eric 4862 Mar 2 17:20 AS6031_AS6040_A1.C1.00.01.hex -rw-r--r--. 1 eric eric 379 Mar 2 17:20 AS6031_AS6040_A1.C1.00.01.obj --------------
(this works as expected)
but running from inside the Examples directory seems to fail also
-------------- [eric]$ ../../../wine ../UfcEvaluationSoftware_v1.1.0/UFC_Assembler.exe AS6031_AS6040_A1.C1.00.01.asm --- UFC Assembler, ScioSense B.V. --- wine: Unhandled page fault on write access to 00000000 at address 0040E9CF (thread 0024), starting debugger... -------------- (again !!)
-------------- [eric]$ ../../../wine ../UfcEvaluationSoftware_v1.1.0/UFC_Assembler.exe .\AS6031_AS6040_A1.C1.00.01.asm --- UFC Assembler, ScioSense B.V. --- INFO: .\AS6031_AS6040_A1.C1.00.01.asm: Processing was successful --------------
so that's a bug in the program (confirmed by the relay trace) that it crashes if the filename doesn't contain a directory (and with a backslash)
from relay trace (Ascii 0x5C = '\'): [snip] 0024:Call msvcrt.strrchr(004176c0 "AS6031_AS6040_A1.C1.00.01.asm",0000005c) ret=0040e9cf 0024:Ret msvcrt.strrchr() retval=00000000 ret=0040e9cf [snip] wine: Unhandled page fault on write access to 00000000 at address 0040E9CF (thread 0024), starting debugger...
HTH so I'll likely close this bug with NOTOURBUG mention