http://bugs.winehq.org/show_bug.cgi?id=34771
--- Comment #4 from turo.kaarlela@co.inet.fi 2013-10-20 23:36:44 CDT --- This is Proprietary CAM-software Advanced One-Touch IGF by Okuma Corporation(Japan). Here is a screenshot:
[URL=http://s170.photobucket.com/user/terokaarlela/media/Kuvakaappaus2013-10-2107...]
I have now confirmed that wine 1.7.4 works if this patch is reverted
And here is a log without +snoop:
0029:Call msvcrt._hypot(96fa82e9,c0658d39,092c5452,c0471958) ret=087f7c44 0029:Ret msvcrt._hypot() retval=00000001 ret=087f7c44 0029:Call msvcrt._hypot(7fea52ea,c065126e,02005228,c04695bc) ret=087f7c44 0029:Ret msvcrt._hypot() retval=00000001 ret=087f7c44 0029:Call msvcrt.sqrt(00000000,3a910000) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt.sqrt(0b085928,40fe94e2) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt._hypot(e9a9776c,40755dd3,33333335,4056e68b) ret=087f7c44 0029:Ret msvcrt._hypot() retval=00000001 ret=087f7c44 0029:Call msvcrt._hypot(75318f6b,40759b39,36c9344a,40572859) ret=087f7c44 0029:Ret msvcrt._hypot() retval=00000001 ret=087f7c44 0029:Call msvcrt.sqrt(00000000,36b00000) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt.sqrt(50c7c3c9,3d7d7619) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt._hypot(80000000,3eb4f8b5,39f82f79,3e967a2a) ret=087f7c44 0029:Ret msvcrt._hypot() retval=00000001 ret=087f7c44 0029:Call msvcrt._hypot(6bd1abc0,400eb2c6,3f68ee2d,3ff07381) ret=087f7c44 0029:Ret msvcrt._hypot() retval=00000001 ret=087f7c44 0029:Call msvcrt.sqrt(00000000,39ba9640) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt.sqrt(cf2c473b,3f915a12) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt.sqrt(00000000,00000000) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt.sqrt(e79b7c21,3f903097) ret=087ecd7a 0029:Ret msvcrt.sqrt() retval=7e85a940 ret=087ecd7a 0029:Call msvcrt._ftol() ret=087b5d5d 0029:Ret msvcrt._ftol() retval=000000000000028a ret=087b5d5d 0029:Call msvcrt._ftol() ret=087b5d67 0029:Ret msvcrt._ftol() retval=000000000000028a ret=087b5d67 0029:Call msvcrt._ftol() ret=087b5d73 0029:Ret msvcrt._ftol() retval=0000000000000159 ret=087b5d73 0029:Call msvcrt._ftol() ret=087b5d7d 0029:Ret msvcrt._ftol() retval=000000000000015a ret=087b5d7d 0029:Call msvcrt._ftol() ret=087b5dd4 0029:Ret msvcrt._ftol() retval=000000000000015a ret=087b5dd4 0029:Call msvcrt._ftol() ret=087b5de3 0029:Ret msvcrt._ftol() retval=000000000000028b ret=087b5de3 0029:Call gdi32.MoveToEx(000b0090,0000028b,0000015a,00326024) ret=5f40feb8 0029:Ret gdi32.MoveToEx() retval=00000001 ret=5f40feb8 0029:Call msvcrt._ftol() ret=087b5dfe 0029:Ret msvcrt._ftol() retval=000000000000015a ret=087b5dfe 0029:Call msvcrt._ftol() ret=087b5e0d 0029:Ret msvcrt._ftol() retval=000000000000028b ret=087b5e0d 0029:Call gdi32.LineTo(000b0090,0000028b,0000015a) ret=5f40fef0 0029:Ret gdi32.LineTo() retval=00000001 ret=5f40fef0 0029:Call msvcrt._ftol() ret=087b5d5d 0029:Ret msvcrt._ftol() retval=000000000000028a ret=087b5d5d 0029:Call msvcrt._ftol() ret=087b5d67 0029:Ret msvcrt._ftol() retval=000000000000027c ret=087b5d67 0029:Call msvcrt._ftol() ret=087b5dd4 0029:Ret msvcrt._ftol() retval=000000000000015a ret=087b5dd4 0029:Call msvcrt._ftol() ret=087b5de3 0029:Ret msvcrt._ftol() retval=000000000000028b ret=087b5de3 0029:Call gdi32.MoveToEx(000b0090,0000028b,0000015a,00326024) ret=5f40feb8 0029:Ret gdi32.MoveToEx() retval=00000001 ret=5f40feb8 0029:Call msvcrt._ftol() ret=087b5dfe 0029:Ret msvcrt._ftol() retval=0000000000000156 ret=087b5dfe 0029:Call msvcrt._ftol() ret=087b5e0d 0029:Ret msvcrt._ftol() retval=000000000000027d ret=087b5e0d 0029:Call gdi32.LineTo(000b0090,0000027d,00000156) ret=5f40fef0 0029:Ret gdi32.LineTo() retval=00000001 ret=5f40fef0 0029:Call gdi32.SetTextColor(000b0090,00ffffff) ret=5f40db8f 0029:Ret gdi32.SetTextColor() retval=00000000 ret=5f40db8f 0029:Call gdi32.SetBkMode(000b0090,00000001) ret=5f40ff1a 0029:Ret gdi32.SetBkMode() retval=00000002 ret=5f40ff1a 0029:Call msvcrt.strcmp(07e52b0c "LINETYPE_DOTTED",08d260b4 "DVV_LINEDIR_VER") ret=0882860a 0029:Ret msvcrt.strcmp() retval=00000001 ret=0882860a 0029:Call ntdll.RtlAllocateHeap(00110000,00000000,00000110) ret=7e8867d5 0029:Ret ntdll.RtlAllocateHeap() retval=07e56188 ret=7e8867d5 0029:Call ntdll.RtlFreeHeap(00110000,00000000,07e56188) ret=7e886455 0029:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e886455 0029:Call KERNEL32.lstrlenA(00325fe4 "-48362995801911374055899X\x1cM_63282864792262880135595547788611127957557313831150203742140912232861193732526413049698858849397471833009380494778388329387448743151517264291069562551079366747104272157503391690841600746782532938644017274552609818131015198923469853580794527744") ret=5f40396c 0029:Ret KERNEL32.lstrlenA() retval=0000010e ret=5f40396c 0029:Call msvcrt.memcpy(00168028,00325fe4,0000010e) ret=5f40398b 0029:Ret msvcrt.memcpy() retval=00168028 ret=5f40398b 0029:Call gdi32.GetTextExtentPoint32A(000b0090,00168028 "-48362995801911374055899(\x80\x16",0000010e,00326048) ret=087ccb0b 0029:Ret gdi32.GetTextExtentPoint32A() retval=00000001 ret=087ccb0b 0029:Call KERNEL32.InterlockedDecrement(0016801c) ret=5f401936 0029:Ret KERNEL32.InterlockedDecrement() retval=00000000 ret=5f401936 0029:Call gdi32.GetTextExtentPoint32A(000b0090,00173a68 "Z",00000001,00325fc4) ret=087cd075 0029:Ret gdi32.GetTextExtentPoint32A() retval=00000001 ret=087cd075 0029:Call msvcrt._ftol() ret=087cd2f9 0029:Ret msvcrt._ftol() retval=0000000000000144 ret=087cd2f9 0029:Call msvcrt._ftol() ret=087cd303 0029:Ret msvcrt._ftol() retval=fffffffffffffff2 ret=087cd303 0029:Call gdi32.TextOutA(000b0090,fffffff2,00000144,00173a68 "Z",00000001) ret=5f41ace4 0029:Ret gdi32.TextOutA() retval=00000001 ret=5f41ace4 err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.