http://bugs.winehq.org/show_bug.cgi?id=5218
Summary: Wine compiled with -Os optimization crashes
Product: Wine
Version: CVS
Platform: PC
URL: http://appdb.winehq.org/appview.php?appId=1836
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-loader
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: phil(a)mail.ru
Wine compiled with -Os optimization flag crashes when loading some native dlls.
Using git bisect I've tracked it down to this recent commit:
Alexandre Julliard: ntdll: Add wrappers for the string functions.
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=473fbcb781a2d42dd93d
05680dfdef88999349fa
+loaddll,+module,+imports log and backtrace attached.
You can see from the backtrace that the top of the stack is corrupted. I tried
to single-step to the crash, and it happens on a TRACE_() in fixup_imports().
When I step by single instructions, I see that it enters wine_dbg_log@PLT and
next segfaults - I think that the relocation table or whatever this @PLT thing
uses gets overwritten with ASCII data at some previous stage.
When I comment out these TRACE_()s or compile without -Os, everything works
fine.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2092
danzat(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2423 is|0 |1
obsolete| |
------- Additional Comments From danzat(a)gmail.com 2006-10-05 17:50 -------
Created an attachment (id=2424)
--> (http://bugs.winehq.org/attachment.cgi?id=2424&action=view)
another error dump of running wine
executed with :WINEDEBUG=+ole32,+oleaut32,+rpcrt4
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2092
------- Additional Comments From danzat(a)gmail.com 2006-10-05 17:34 -------
(From update of attachment 2423)
The distro I use is ubunto (breezy badger) and the wine package is from the
ubuntu repository
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2092
------- Additional Comments From danzat(a)gmail.com 2006-10-05 17:26 -------
(From update of attachment 2423)
this error log was produced when running Capture.exe with native DCOM
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=5094
hallo(a)michael-kaufmann.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wine-bugs(a)winehq.org |hallo(a)michael-kaufmann.ch
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From hallo(a)michael-kaufmann.ch 2006-10-05 14:53 -------
I think that the problem is in the function CopyImage(). Wine's version ignores
all flags and is very incomplete. I'm working on a patch.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4861
------- Additional Comments From ivg2(a)cornell.edu 2006-10-05 14:52 -------
It wants YV12 format, which is not supported currently.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.