Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144791 - app-emulation/wine-0.9.19 - Attempting to open any application in results in an "Invalid Address" error
Summary: app-emulation/wine-0.9.19 - Attempting to open any application in results in ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Wine Maintainers
URL: http://bugs.winehq.org/show_bug.cgi?i...
Whiteboard:
Keywords:
: 144790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-22 14:53 UTC by Mitchell LeBlanc
Modified: 2006-08-28 18:49 UTC (History)
0 users

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 Mitchell LeBlanc 2006-08-22 14:53:49 UTC
*Also posted on bugs.winehq.org @ http://bugs.winehq.org/show_bug.cgi?id=6032

Using WINE 0.9.19 on Gentoo Linux...

WINECFG has setup symlinks to all the drives properly, this has been double 
checked. However, when attempting to load any program (excluding notepad.exe 
for some reason), the launch will fail;

mitch@gentooPC /home/mitch $ wine ./DCOM98.EXE
wine_main_preload_info not found
wine_main_preload_info not found
wine: could not load L"H:\\DCOM98.EXE": Invalid address

When attempted with winedbg:

mitch@gentooPC //home/mitch $ winedbg ./DCOM98.EXE
wine_main_preload_info not found
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, 
please report
wine_main_preload_info not found
wine: could not load L"H:\\DCOM98.EXE": Invalid address
Couldn't start process './DCOM98.EXE

The exact same error occurs when attempting to open ANY program under wine.
___________

mitch@gentooPC //home/mitch $ emerge --info
Portage 2.1.1_pre5-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r4, 2.6.17-emission6 i686)
=================================================================
System uname: 2.6.17-emission6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.4
Last Sync: Tue, 22 Aug 2006 17:00:08 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17-r4
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fno-ident -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -fno-ident -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/conrad /usr/local/portage /usr/local/overlays/vmware /usr/local/initng-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip X aac alsa apache2 apm applet arts asf audiofile avi berkdb bitmap-fonts bootsplash bzip2 cairo cdb cdparanoia cdr cli cpudetection crypt ctype dba dbus dhcp dlloader dri dvd eds elibc_glibc emboss encode ethereal evo exif expat fam fastbuild ffmpeg firefox flac font-server ftp gd gdbm gif glut glx gmp gpm guile hal idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mmx mng motif mp3 mpeg ncurses nls nocardbus nptl nptlonly nvidia ogg opengl openntpd oss pam pcre pdflib perl pic png posix pppd python qt qt3 qt4 readline reflection reiserfs sdl session simplexml slang soap sockets spell spl sse ssl tcltk tcpd tiff tokenizer toolbar truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nvidia vorbis win32codecs x86 xine xml xml2 xorg xsl xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mitchell LeBlanc 2006-08-22 14:54:34 UTC
*** Bug 144790 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2006-08-22 17:57:18 UTC
does older wines work ?  does the stock 'notepad' work ?  if you `rm -rf` your .wine dir, does the stock 'notepad' work ?
Comment 3 Mitchell LeBlanc 2006-08-22 18:05:11 UTC
Older wines worked, as I used a CVS Wine build at the time of the 0.9.18 release. Stock notepad.exe works, even when I 'rm -rf' the .wine directory.

(In reply to comment #2)
> does older wines work ?  does the stock 'notepad' work ?  if you `rm -rf` your
> .wine dir, does the stock 'notepad' work ?
> 

Comment 4 SpanKY gentoo-dev 2006-08-22 19:12:26 UTC
stock notepad works with your 0.9.19 ?

can you post a small wine binary that you're trying to run ?
Comment 5 Mitchell LeBlanc 2006-08-22 19:32:34 UTC
Here is a small binary that I get the error with when attempting to run. It is Microsoft(R) DCOM98. 

http://mindofmitch.wingservers.com/DCOM98.EXE

This binary and all others, except for stock notepad.exe, returns the 'Invalid Address' error.

(In reply to comment #4)
> stock notepad works with your 0.9.19 ?
> 
> can you post a small wine binary that you're trying to run ?
> 

Comment 6 SpanKY gentoo-dev 2006-08-27 23:27:03 UTC
just tried with 0.9.20 ... after running:
$ wine ./DCOM98.EXE 
i got a message box asking me if i wanted to install

if 0.9.20 doesnt work for you, re-emerge wine with USE=debug and try getting some debug output again
Comment 7 Mitchell LeBlanc 2006-08-28 13:41:30 UTC
I get the same error, even with 0.9.20, I even tried wine-9999. I emerged it with the debug use flag enabled, can you tell me how to get output via this and I will post it.


(In reply to comment #6)
> just tried with 0.9.20 ... after running:
> $ wine ./DCOM98.EXE 
> i got a message box asking me if i wanted to install
> 
> if 0.9.20 doesnt work for you, re-emerge wine with USE=debug and try getting
> some debug output again
> 

Comment 8 SpanKY gentoo-dev 2006-08-28 17:09:15 UTC
drop the hash-style stuff from your LDFLAGS and it should work fine

http://www.winehq.com/pipermail/wine-devel/2006-July/049897.html
Comment 9 Mitchell LeBlanc 2006-08-28 18:49:08 UTC
Thank you for the resolution.

(In reply to comment #8)
> drop the hash-style stuff from your LDFLAGS and it should work fine
> 
> http://www.winehq.com/pipermail/wine-devel/2006-July/049897.html
>