http://bugs.winehq.org/show_bug.cgi?id=34771
Bug #: 34771 Summary: Force stack alignment also on Linux to work around the ABI breakage Product: Wine Version: 1.5.20 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: turo.kaarlela@co.inet.fi Classification: Unclassified
Bisect report:
Author: Alexandre Julliard julliard@winehq.org Date: Sat Dec 15 16:49:47 2012 +0100
include: Force stack alignment also on Linux to work around the ABI breakage.
Crash log:
0028:Call msvcrt._ftol() ret=08835d67 0028:Ret msvcrt._ftol() retval=000000000000028a ret=08835d67 0028:Call msvcrt._ftol() ret=08835d73 0028:Ret msvcrt._ftol() retval=000000000000015a ret=08835d73 0028:Call msvcrt._ftol() ret=08835d7d 0028:Ret msvcrt._ftol() retval=000000000000015a ret=08835d7d 0028:Call gdi32.SetPixelV(000b0090,0000028a,0000015a,00000000) ret=08835db5 0028:Ret gdi32.SetPixelV() retval=00000001 ret=08835db5 0028:Call msvcrt._ftol() ret=08835d5d 0028:Ret msvcrt._ftol() retval=000000000000028a ret=08835d5d 0028:Call msvcrt._ftol() ret=08835d67 0028:Ret msvcrt._ftol() retval=000000000000027c ret=08835d67 0028:Call msvcrt._ftol() ret=08835dd4 0028:Ret msvcrt._ftol() retval=000000000000015a ret=08835dd4 0028:Call msvcrt._ftol() ret=08835de3 0028:Ret msvcrt._ftol() retval=000000000000028b ret=08835de3 0028:CALL MFC42.4297(003260a0,0000028b,0000015a) ret=08835df0 0028:Call gdi32.MoveToEx(000b0090,0000028b,0000015a,00326074) ret=5f40feb8 0028:Ret gdi32.MoveToEx() retval=00000001 ret=5f40feb8 0028:RET MFC42.4297() retval=003260a0 ret=08835df0 0028:Call msvcrt._ftol() ret=08835dfe 0028:Ret msvcrt._ftol() retval=0000000000000156 ret=08835dfe 0028:Call msvcrt._ftol() ret=08835e0d 0028:Ret msvcrt._ftol() retval=000000000000027d ret=08835e0d 0028:CALL MFC42.4133(0000027d,00000156) ret=08835e15 0028:Call gdi32.LineTo(000b0090,0000027d,00000156) ret=5f40fef0 0028:Ret gdi32.LineTo() retval=00000001 ret=5f40fef0 0028:RET MFC42.4133() retval=00000001 ret=08835e15 0028:Call gdi32.SetTextColor(000b0090,00ffffff) ret=5f40db8f 0028:Ret gdi32.SetTextColor() retval=00000000 ret=5f40db8f 0028:CALL MFC42.5875(<unknown, check return>) ret=0884c14c 0028:Call gdi32.SetBkMode(000b0090,00000001) ret=5f40ff1a 0028:Ret gdi32.SetBkMode() retval=00000002 ret=5f40ff1a 0028:RET MFC42.5875(00000001) retval=00000002 ret=0884c14c 0028:Call ntdll.strcmp(079ec524 "LINETYPE_DOTTED",08da60b4 "DVV_LINEDIR_VER") ret=088a860a 0028:Ret ntdll.strcmp() retval=00000001 ret=088a860a 0028:Call ntdll.RtlAllocateHeap(00110000,00000000,00000111) ret=7e896f3e 0028:Ret ntdll.RtlAllocateHeap() retval=07ec9648 ret=7e896f3e 0028:Call ntdll.RtlFreeHeap(00110000,00000000,07ec9648) ret=7e89600a 0028:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e89600a 0028:CALL MFC42.537(00326034 "-1398606890893721917260110707100691668929016423938848592164396983046245675545958") ret=0884caf0 0028:Call KERNEL32.lstrlenA(00326034 "-13986068908937219172601X\x1cM_710069166892901642393884859216439698304624567554595826615383751294248227564267413895036162695342364370903304482089789135320065371494739014409985666146543257753754691174105624685098281674256585029697049635029017241709586093523250371948105957376") ret=5f40396c 0028:Ret KERNEL32.lstrlenA() retval=0000010f ret=5f40396c 0028:Call msvcrt.memcpy(0015b140,00326034,0000010f) ret=5f40398b 0028:Ret msvcrt.memcpy() retval=0015b140 ret=5f40398b 0028:RET MFC42.537() retval=0032604c ret=0884caf0 0028:Call gdi32.GetTextExtentPoint32A(000b0090,0015b140 "-13986068908937219172601@\xb1\x15",0000010f,00326098) ret=0884cb0b 0028:Ret gdi32.GetTextExtentPoint32A() retval=00000001 ret=0884cb0b 0028:CALL MFC42.800() ret=0884cb14 0028:Call KERNEL32.InterlockedDecrement(0015b134) ret=5f401936 0028:Ret KERNEL32.InterlockedDecrement() retval=00000000 ret=5f401936 0028:RET MFC42.800() retval=00000000 ret=0884cb14 0028:Call gdi32.GetTextExtentPoint32A(000b0090,07d8c0b8 "Z",00000001,00326014) ret=0884d075 0028:Ret gdi32.GetTextExtentPoint32A() retval=00000001 ret=0884d075 0028:Call msvcrt._ftol() ret=0884d2f9 0028:Ret msvcrt._ftol() retval=0000000000000145 ret=0884d2f9 0028:Call msvcrt._ftol() ret=0884d303 0028:Ret msvcrt._ftol() retval=fffffffffffffff3 ret=0884d303 0028:Call gdi32.TextOutA(000b0090,fffffff3,00000145,07d8c0b8 "Z",00000001) ret=5f41ace4 0028:Ret gdi32.TextOutA() retval=00000001 ret=5f41ace4 err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
http://bugs.winehq.org/show_bug.cgi?id=34771
--- Comment #1 from turo.kaarlela@co.inet.fi 2013-10-20 14:07:05 CDT --- This patch:
http://www.winehq.org/pipermail/wine-cvs/2012-December/092571.html
http://bugs.winehq.org/show_bug.cgi?id=34771
turo.kaarlela@co.inet.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
--- Comment #2 from turo.kaarlela@co.inet.fi 2013-10-20 14:12:38 CDT --- Ubuntu 12.10 64-bit host WINEARCH=win32
http://bugs.winehq.org/show_bug.cgi?id=34771
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2013-10-20 14:15:56 CDT --- What application? Also please get a trace without +snoop, that's not reliable.
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.
http://bugs.winehq.org/show_bug.cgi?id=34771
--- Comment #5 from turo.kaarlela@co.inet.fi 2013-10-20 23:39:14 CDT --- Here is screenshot:
http://s170.photobucket.com/user/terokaarlela/media/Kuvakaappaus2013-10-2107...
Tero
http://bugs.winehq.org/show_bug.cgi?id=34771
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |4adfb787f4e8c36a37ce1d53a7e | |6df16d03ecd8a
http://bugs.winehq.org/show_bug.cgi?id=34771
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|4adfb787f4e8c36a37ce1d53a7e | |6df16d03ecd8a |
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2013-10-21 03:31:24 CDT --- It's unlikely to be caused directly by the patch. Most likely it's revealing some other issue. I'm afraid you'll have to debug this yourself.
http://bugs.winehq.org/show_bug.cgi?id=34771
--- Comment #7 from turo.kaarlela@co.inet.fi 2013-10-21 04:03:46 CDT --- Well I believe that would exceed my skills. Well maybe someone else gets the same error and finds a solution.
https://bugs.winehq.org/show_bug.cgi?id=34771
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net --- There's no free download of the affected app and the OR stated over a year ago that he will not pursue this any further. Should this be closed as abandoned?
https://bugs.winehq.org/show_bug.cgi?id=34771
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned?, regression | Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #9 from Austin English austinenglish@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=34771
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com --- Closing.