[Bug 6550] Segfault (coredump)

Wine Bugs wine-bugs at winehq.org
Wed Nov 1 08:36:18 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=6550





------- Additional Comments From gamegod at sympatico.ca  2006-01-11 08:36 -------
There's a discussion AND solution for this bug on the Ubuntuforums and on
Launchpad.net:

http://ubuntuforums.org/showthread.php?t=287986&highlight=wine+segmentation+fault
https://launchpad.net/distros/ubuntu/+source/wine/+bug/56965

ie. run "export CFLAGS=-fno-stack-protector" before you ./configure.

If I can quote two people from Launchpad though:

Ulf Karlsson wrote:
> The problem seems to be that the %gs register that holds the thread
> local stack is not setup correctly since the normal _start function is
> not use in wine-preloader. The stack protector uses the %gs register and
> the stack protector is enabled by -fstack-protector.
>
> If you compile the wine-preloader with -fno-stack-protector it will thus
> not cause segmentation fault.

John Moser wrote:
> The real fix is to correct the wine-preloader to follow proper
> convention, I assume. For now turn off the stack protector as a
> work-around and file a bug with the wine devs.

Food for thought.

-- 
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.



More information about the wine-bugs mailing list