Comment 14 for bug 56965

Revision history for this message
John Moser (nigelenki) wrote : Re: [Bug 56965] Re: [Edgy] Consistent segfault when starting wine

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBROvXuQs1xW0HCTEFAQIWlBAAnfOv1olg1bqg09S/DjlION+rLjeyHujx
9Uwar+qArFrBPcDbXso3HvRT3FlJo7Ys/UHR1Wq7/yBQeL7QeBXp/EZ9a+qJ75eE
yDXi7FxngGJtZzChVxW2WVKoEr2NDppHQ9n2P9QouPvmpkqefzNWMjGlrqDKAQGT
6GdFEkr1T2hiVSBpAq2CKgjJgrbiBFxkTxIDh+Jpk4d/KWZ7MeutkZzRytyteWpg
i+1PNedVgzG4cX9zmqvYApluRk52+yyFCmM29YjqiDSONbM0lFtUuiwP5kxOgrXe
j6U41Mi7eB777Uycf+hi2lki8eA7Iv7IB0f64ZQnIt97xWV5XCXA4L1OveT4J6xO
henuvbfggDfRnY8Cl4rB2Bakqk875mIsiKQB/XkUUbLBzHh6wmb8vImneoCk7lMq
P3xw2RjMaHg55pwWru4IgWl2R2SOMIUIuzw75r6hkW1Q1+8ttklGqCdzsmHktpwA
96Pfk2J+3A4/DrLDRh+T55Ymp6+ArOoi4QmZw+S8Y/6MyUhfGLSQus+hssBH2qU1
XUnlJ45YMvGAUPD263VUAt/jkgXfIcBecRGmWMP6FKcXQ2muXgrtCvqtbmZia5Dd
CJQDaeT24JgmTsJlv2QexqLksfAL909kWpLfQ8a70sME0E4RgiZxi0RTGc9GohkR
hK4xmmer+bU=
=tEKg
-----END PGP SIGNATURE-----