https://bugs.winehq.org/show_bug.cgi?id=30409
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware CC| |focht@gmx.net Summary|RealTerm Serial Terminal |RealTerm Serial Terminal |Crashes on Start |v1.99/2.x crashes on | |startup (failure to | |enumerate parallel ports | |via registry | |'HKLM\HARDWARE\DeviceMap\ | |\Parallel Ports')
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Interestingly it bails because of missing parallel port entries.
Similar to bug 11811 ("Multiple applications fail to enumerate serial ports ('HKLM\HARDWARE\DeviceMap\Serialcomm' registry entries)(Coastal Explorer, GPS apps, HyperTerminal)")
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/BEL/Realterm
$ WINEDEBUG=+tid,+seh,+relay wine ./realterm.exe >>log.txt 2>&1 ... 0027:Call advapi32.RegOpenKeyExA(80000002,0047e8c8 "HARDWARE\DEVICEMAP\PARALLEL PORTS",00000000,00000009,0033f8a0) ret=0047ea01 0027:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=0047ea01 0027:Call advapi32.RegEnumValueA(000000d8,00000000,0033f77b,0033f890,00000000,0033f88c,00000000,00000000) ret=0047ea6e 0027:Ret advapi32.RegEnumValueA() retval=00000103 ret=0047ea6e 0027:Call advapi32.RegCloseKey(000000d8) ret=0047ea7e 0027:Ret advapi32.RegCloseKey() retval=00000000 ret=0047ea7e 0027:Call advapi32.RegOpenKeyExA(80000002,0047e8c8 "HARDWARE\DEVICEMAP\PARALLEL PORTS",00000000,00000009,0033f8a0) ret=0047eabf 0027:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=0047eabf 0027:Call oleaut32.SysAllocStringLen(00000000,00000400) ret=00405504 0027:Ret oleaut32.SysAllocStringLen() retval=0014ef1c ret=00405504 0027:Call user32.LoadStringW(00400000,0000ff88,0014ef1c,00000400) ret=0047bf8c 0027:Ret user32.LoadStringW() retval=0000001d ret=0047bf8c 0027:Call oleaut32.SysAllocStringLen(00000000,0000001d) ret=00405504 0027:Ret oleaut32.SysAllocStringLen() retval=00159c34 ret=00405504 0027:Call oleaut32.SysFreeString(0014ef1c L"List index out of bounds (%d)") ret=0040551c 0027:Ret oleaut32.SysFreeString() retval=00000000 ret=0040551c 0027:Call oleaut32.SysAllocStringLen(00159c34 L"List index out of bounds (%d)",0000001d) ret=004058f3 ... 0027:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0033f544) ret=0041d1d9 0027:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b845d61 ip=7b845d61 tid=0027 0027:trace:seh:raise_exception info[0]=0041d1d9 0027:trace:seh:raise_exception info[1]=0074e720 0027:trace:seh:raise_exception info[2]=0074e6fc 0027:trace:seh:raise_exception info[3]=00000000 0027:trace:seh:raise_exception info[4]=00000000 0027:trace:seh:raise_exception info[5]=0033f590 0027:trace:seh:raise_exception info[6]=0033f560 0027:trace:seh:raise_exception eax=7b832afd ebx=0074e6fc ecx=0000001c edx=0033f4a4 esi=0033f544 edi=0033f510 0027:trace:seh:raise_exception ebp=0033f4e8 esp=0033f484 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200287 0027:trace:seh:call_stack_handlers calling handler at 0x41c494 code=eedfade flags=1 0027:trace:seh:call_stack_handlers handler at 0x41c494 returned 1 0027:trace:seh:call_stack_handlers calling handler at 0x47ee3e code=eedfade flags=1 0027:trace:seh:call_stack_handlers handler at 0x47ee3e returned 1 0027:trace:seh:call_stack_handlers calling handler at 0x404265 code=eedfade flags=1 --- snip ---
Adding at least one entry lets the app start.
NOTE: The registry key is volatile.
--- snip --- [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\PARALLEL PORTS] "\Device\Parallel0"="\DosDevices\LPT1" --- snip ---
$ sha1sum Realterm_2.0.0.70_setup.exe d297bf2cae9f29746e6e7e90a4251b5587f8050f Realterm_2.0.0.70_setup.exe
$ du -sh Realterm_2.0.0.70_setup.exe 956K Realterm_2.0.0.70_setup.exe
$ wine --version wine-1.7.51-202-g14dc7e0
Regards