You are not logged in.

#1 2011-03-04 15:11:37

spoonie_aus
Member
From: Australia W.A
Registered: 2009-03-12
Posts: 47

[solved] [wine] libcrypto doesn't align the stack

Hi guys

I'm the app maintainer for NFS11 for wine and I'm having a problem with libcrypto.
LInk to appdb page http://appdb.winehq.org/objectManager.p … &iId=22036

The game will crash out with

=>0 0x7dff8ebc ssleay_rand_add+0x30c() in libcrypto.so.1.0.0 (0x02fac08c)
0x7dff8ebc ssleay_rand_add+0x30c in libcrypto.so.1.0.0: pxor    %mm0,0x60(%esp)

I have posted a bug with wine and the response was

Alexandre Julliard 2011-01-28 07:28:29 CST

(In reply to comment #7)
> Backtrace:
> =>0 0x7dff8ebc ssleay_rand_add+0x30c() in libcrypto.so.1.0.0 (0x02fac08c)
> 0x7dff8ebc ssleay_rand_add+0x30c in libcrypto.so.1.0.0: pxor    %mm0,0x60(%esp)

Your libcrypto is built with sse2 support but doesn't align the stack. That's a
variant of bug 22316. I'd suggest filing a bug with your distro.

I'm running as x86_64 with a wineprefix=32 so using lib32-openssl, I would like to know what is ment by "doesn't align the stack" and
how to adjust /etc/makepkg.conf so I can recompile lib32-openssl so it dose align so I know whats going on, when or if I need to file a
bug.

thanks guys

Last edited by spoonie_aus (2011-04-18 00:39:41)

Offline

#2 2011-03-15 01:08:14

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [solved] [wine] libcrypto doesn't align the stack

I'm having the same error with the World of Warcraft: WotLK installer.

EDIT: As per Dan Kegel's suggestion (sort of) in http://bugs.winehq.org/show_bug.cgi?id=22316 , I tried compiling openssl and lib32-openssl with -mstackrealign, and it fixed the problem.
I will report to package maintainers.

Last edited by Ranguvar (2011-03-15 01:47:52)

Offline

#3 2011-04-18 00:04:21

spoonie_aus
Member
From: Australia W.A
Registered: 2009-03-12
Posts: 47

Re: [solved] [wine] libcrypto doesn't align the stack

Thanks for the heads up. I recompiled openssl and lib32-openssl and it fixed the first lot of errors but NFS11.exe will still crash out, but at least where getting some where.

Offline

Board footer

Powered by FluxBB