FS#22045 - libcrypto.so is causing crashes in applications running using wine
Attached to Project:
Community Packages
Opened by Dan Liew (delcypher) - Friday, 10 December 2010, 23:41 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 12 October 2011, 04:33 GMT
Opened by Dan Liew (delcypher) - Friday, 10 December 2010, 23:41 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 12 October 2011, 04:33 GMT
|
Details
Description:
Libcrypto.so appears to be causing crashes in some wine applications. In particular "Kindle For PC 1.3.0 (30884)" as described here http://bugs.winehq.org/show_bug.cgi?id=25475 and by "Fifa 09" as described here https://bbs.archlinux.org/viewtopic.php?pid=864219#p864219 I am running "Linux 2.6.36-ARCH #1 SMP PREEMPT" Additional info: Relevant packages: wine-1.3.8 (multilibs) openssl 1.0.0.c-1 A log file output of wine of my crash is attached Steps to reproduce: 1. Install "Kindle for PC" for windows using wine ( http://www.amazon.com/gp/feature.html/ref=kcp_pc_mkt_lnd?docId=1000426311 ) 2. Run the application which will start fine. 3. Attempt to register using any e-mail address and password and the application will crash with the starting with the line "wine: Unhandled page fault on read access to 0xffffffff at address 0x7d485ebc (thread 0009), starting debugger...". |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 12 October 2011, 04:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in -2.
Wednesday, 12 October 2011, 04:33 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in -2.
FS#21248. openssl is a bit special and we have to adjust openssl core tooIs my solution to compile from source forcing -m32 (I'm just guessing here) for compilation and then using LD_LIBRARY_PATH=/path/to/my/compiled/library/ wine application.exe to force wine to use my newly compiled library?
http://pkgbuild.com/~ioni/openssl-1.0.0.c-2-x86_64.pkg.tar.gz
http://pkgbuild.com/~ioni/lib32-openssl-1.0.0.c-1-x86_64.pkg.tar.xz
pacman -U package.pkg.tar.gz # should do install
But what about when I want to switch back to the repository's package?
pacman -R openssl # Probably won't work as many installed applications depend on this.
pacman -R lib32-openssl # Probably won't work as many installed applications depend on this.
Error log is attached. Not really sure if it's much use.
pacman -S lib32-openssl openssl #Reverting to repo versions
pacman -Scc #remove all packages in /var/cache/pacman/pkg
pacman -U http://pkgbuild.com/~ioni/lib32-openssl-1.0.0.c-1-x86_64.pkg.tar.xz #Install newly built package
wine /home/dan/.wine/drive_c/Program\ Files/Amazon/Kindle\ For\ PC/KindleForPC.exe 2> kindle4.log
Wine still crashes.
Name : lib32-openssl
Version : 1.0.0.c-1
URL : https://www.openssl.org
Licences : custom:BSD
Groups : None
Provides : None
Depends On : lib32-zlib openssl
Optional Deps : ca-certificates
perl
gcc-multilib
Required By : lib32-curl lib32-heimdal lib32-qt
Conflicts With : None
Replaces : None
Installed Size : 5608.00 K
Packager : Ionut Biru <ibiru@archlinux.org>
Architecture : x86_64
Build Date : Sat 11 Dec 2010 12:01:49 GMT
Install Date : Sat 11 Dec 2010 12:06:01 GMT
Install Reason : Installed as a dependency for another package
Install Script : No
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)
Just to confirm that I am using your newest version of lib32-openssl.
I've attached a more complete error log as I noticed I could set an environmental variable for wine debugging.
WINEDEBUG=warn+all wine /home/dan/.wine/drive_c/Program\ Files/Amazon/Kindle\ For\ PC/KindleForPC.exe 2> kindle5.log
WINEARCH=win32 winecfg
I haven't being doing any reboots during these changes. I am pretty sure that doesn't matter. I have been running ldconfig just incase too but that didn't seem to make a difference.
pacman -Qi lib32-openssl
Name : lib32-openssl
Version : 1.0.0.c-1
URL : https://www.openssl.org
Licences : custom:BSD
Groups : None
Provides : None
Depends On : lib32-zlib openssl
Optional Deps : None
Required By : lib32-curl lib32-heimdal lib32-libldap lib32-qt
Conflicts With : None
Replaces : None
Installed Size : 5624.00 K
Packager : Jan "heftig" Steffens <jan.steffens@gmail.com>
Architecture : x86_64
Build Date : Sun 12 Dec 2010 00:49:42 GMT
Install Date : Sun 12 Dec 2010 00:52:32 GMT
Install Reason : Installed as a dependency for another package
Install Script : No
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)
Version : 1.0.0.c-1
URL : https://www.openssl.org
Licences : custom:BSD
Groups : None
Provides : None
Depends On : lib32-zlib openssl
Optional Deps : None
Required By : lib32-curl lib32-heimdal lib32-libldap lib32-qt
Conflicts With : None
Replaces : None
Installed Size : 5588.00 K
Packager : Jan "heftig" Steffens <jan.steffens@gmail.com>
Architecture : x86_64
Build Date : Sun 12 Dec 2010 01:21:59 GMT
Install Date : Sun 12 Dec 2010 01:35:40 GMT
Install Reason : Installed as a dependency for another package
Install Script : No
Description : The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (32-bit)
Wine still crashes at the same point. Log attached.
http://marc.info/?l=openssl-users&m=129719644017827&w=2
Fedora package: http://pkgs.fedoraproject.org/gitweb/?p=openssl.git;a=tree
Anyway recompiling lib32-openssl using abs adding -mstackrealign flag to CFLAGS and CXXFLAGS solved the problem. as said in this thread https://bbs.archlinux.org/viewtopic.php?pid=903645#p903645
there's also this report that is related https://bugs.archlinux.org/task/23277