Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56666 - wine-20040615: segfault
Summary: wine-20040615: segfault
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High critical
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
: 56752 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-11 03:55 UTC by crusaderky
Modified: 2005-01-14 15:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2004-07-11 03:55:01 UTC
whenever I try to launch ANY windows application with wine-20040615, it crashes on load saying

/usr/bin/wine: line 55: 18857 Segmentation fault      WINEDEBUG=-all "$RUNWINE" "$@"

all tested applications used to work perfectly with wine-20040408.
Comment 1 crusaderky 2004-07-11 04:50:58 UTC
whoops, I forgot this

$ emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib alsa apache2 apm avi berkdb bonobo cdr chroot crypt cscope cups curl dga directfb doc dv dvb dvd dvdr encode esd extensions faad fbcon flac flash foomaticdb gd gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imap imlib innodb ipv6 java jikes joystick jpeg kde kerberos krb4 lcms ldap libg++ libwww linguas_it mad mcal md5sum memlimit mikmod mmx mng motif moznoirc mozp3p mozsvg mpeg mpi mysql ncurses nls nptl odbc offensive oggvorbis opengl oss pam parse-clocks pdflib perl pic png ppds prelude python qt quicktime readline samba scanner sdl skey slang slp sndfile snmp socks5 speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype usb v4l v4l2 vim-with-x wmf wxwindows x86 xchattext xml xml2 xmms xv xvid yaz zlib"
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-07-11 05:29:53 UTC
        einfo ""
        einfo "if you have problems with nptl, use wine-pthread to start wine"
        einfo ""
Comment 3 Keto 2004-07-11 07:02:23 UTC
If you do a: ldd /usr/lib/wine/bin/wine
You will see:
linux-gate.so.1 =>  (0xffffe000)
libwine.so.1 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0x40027000)
libc.so.6 => /lib/libc.so.6 (0x40038000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

libwine.so.1 => not found , this one isnt found, but exist file exists in
/usr/lib/wine/lib/ directory.
Thats why it crash, how to fix i don't know ?!
Comment 4 Keto 2004-07-11 07:06:48 UTC
I added /usr/lib/wine/lib to ld.so.conf file and reruned ldconfig, wine still crashes but wine-pthread works now.
Comment 5 crusaderky 2004-07-11 07:08:50 UTC
it doesn't find it because you haven't done the EXPORTs that are normally done in /usr/bin/wine (that's a script).

However, substituting wine with wine-pthread inside /usr/bin/wine works. I'm just wondering why, since it is broken, it's not done as a default.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-07-11 23:04:00 UTC
*** Bug 56752 has been marked as a duplicate of this bug. ***
Comment 7 Michael Donaghy 2005-01-14 14:36:56 UTC
The solution given does not work for me. Using a copy of the wrapper script (using wine-20050111 in the hope that that would be fixed, there's no wrapper script but I'm using a local copy with the base path modified) and replacing wine with wine-pthread in the script, I still get the same crash. ldd /usr/bin/wine shows
bash-2.05b$ ldd /usr/bin/wine
        libwine.so.1 => /usr/lib/libwine.so.1 (0x15596000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x155b0000)
        libc.so.6 => /lib/libc.so.6 (0x15601000)
        libdl.so.2 => /lib/libdl.so.2 (0x15712000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x15556000)
Ldd on wine-pthread fails saying it's not a dynamic executable, although file gives identical results for wine and wine-pthread.
Comment 8 SpanKY gentoo-dev 2005-01-14 15:10:05 UTC
unrelated
Comment 9 Chris Bruner 2005-01-14 15:10:29 UTC
I was able to resolve this bug locally by removing the ~/.wine configuration. The old isn't compatible with the current. Works pretty good now.