I have a large installer program (~400MB) that fails to run under wine (20050310). It gives me the following: err:virtual:map_image Image was mapped at 0x60640000: standard load address for a Win32 program (0x00400000) not available err:virtual:map_image Do you have exec-shield or prelink active? wine: could not load L"C:\\WebPACK_71_fcfull_i.exe" as Win32 binary The thing is that I don't seem to have either (exec-shield or prelink). The /proc/sys/kernel/exec-shield entry isn't present, and prelink isn't intalled. Other programs run fine. What's the problem? Thanks
Mike Hearn
2005-Mar-21 07:26 UTC
[Wine]Re: Can't run program; exec-shield or prelink active?
On Mon, 21 Mar 2005 02:23:13 -0500, Dillonco wrote:> The thing is that I don't seem to have either (exec-shield or prelink). > The /proc/sys/kernel/exec-shield entry isn't present, and prelink isn't > intalled. Other programs run fine. What's the problem?The EXE is too large to fit into the address space area for some reason. I'm not sure what would be blocking it. Possibly you have some other kernel patch enabled which is causing that chunk to not be free. I will see if I can fix it in the preloader. thanks -mike
Mike Hearn
2005-Mar-21 07:34 UTC
[Wine]Re: Can't run program; exec-shield or prelink active?
Actually, before I submit it does this patch fix your problem? --- loader/preloader.c (revision 151) +++ loader/preloader.c (local) @@ -108,7 +108,7 @@ static struct wine_preload_info preload_ { { (void *)0x00000000, 0x00110000 }, /* DOS area */ { (void *)0x80000000, 0x01000000 }, /* shared heap */ - { (void *)0x00110000, 0x0fef0000 }, /* default PE exe range (may be set with WINEPRELOADRESERVE) */ + { (void *)0x00110000, 0x1f510000 }, /* PE exe range (may be set with WINEPRELOADRESERVE), defaults to 500mb */ { 0, 0 } /* end of list */ };
luis lenders
2005-Mar-21 11:39 UTC
[Wine]Can't run program; exec-shield or prelink active?
don't know if it's related or could help you: i once got such a problem if i remember correctly, with a selfextracting zip- or rarfile. maybe you could just try to first unrar/unzip the file . regards Send instant messages to your online friends http://uk.messenger.yahoo.com