"Invalid address" Running apps via WINE

tbyte

Active Member

Reaction score: 3
Messages: 119

After upgrading to wine-1.1.9_1,1 almost everything stopped working with a nice error of type "Windows(tm)" (read that doesn't explain anything) "Invalid address" :\ e.g:

wine: could not load L"Z:\\usr\\home\\tbyte\\EVE_Classic_Setup_70124.exe": Invalid address

The programs shiped with wine looks to be working fine tho.
I found this thread about 1.1.8 but downgrade seems the only fix :(

Do You guys have the same problem and it will be nice if somebody have a workaround that ;)

Regards.
 

dodo1122

New Member


Messages: 6

I get the same thing unfortunately :(
Thanks for the tip with downgrading, gonna try this when i get back home.
 
OP
tbyte

tbyte

Active Member

Reaction score: 3
Messages: 119

I actually found this bug report too. And it doesnt's seem promising.

http://bugs.winehq.org/show_bug.cgi?id=16023

Especially this part:

------- Comment #1 From Alexandre Julliard 2008-11-12 16:24:10 -------

My guess is that the extra allocations for the virtual heap take over the exe
space. Someone really needs to implement memory reservation for FreeBSD.
 

dodo1122

New Member


Messages: 6

This doesn't look good indeed :/ Well, i guess the only way to get working wine now is to downgrade to 1.1.7 or revert the commit which is mentioned in that bug report, which i'll try later.
 

dodo1122

New Member


Messages: 6

I just built wine from git, reverting the commit which breaks wine for freebsd (there was a conflict, it was easily fixable though). After compiling, apps run again (at least for me - i'm running 8.0-CURRENT) ;)
 

bsdgooch

New Member

Reaction score: 8
Messages: 18

PATCH (Quick and Dirty): WINE regression 1.1.8 (and 1.1.9)

"quick and dirty" patch from Alex Kozlov via freebsd-emulation...

For details, see this thread in the freebsd-emulation mailing list archives:

http://lists.freebsd.org/pipermail/freebsd-emulation/2008-November/thread.html#5493

I recently ran into this when I installed from ports. Patch is attached. Copy into your /usr/ports/emulation/wine/files directory (or wherever your ports tree exists in your filesystem) and:

make deinstall
make clean
make
make install

Worked for me...
 

Attachments

ter2007

Member

Reaction score: 2
Messages: 75

I hate to post so soon as I have not tested this fix very much, but so far it is working for me. Thanks a million.
 

malexe

Member

Reaction score: 2
Messages: 33

seems to work. (Just tested with one application) Do you know what the patch does exactly ?
 

Djn

Well-Known Member

Reaction score: 67
Messages: 392

malexe said:
seems to work. (Just tested with one application) Do you know what the patch does exactly ?
Looking at it, it moves heap_base from 0 to address_space_limit-(10*VIRTUAL_HEAP_SIZE), which I guess doesn't overlap with anything.
 

lizzard

New Member


Messages: 4

Have the same problem. After updating wine to 1.1.10 all works fine :).
Patch doesn't help me in previous version %)...
 
Top