[Bug 1490] Bible Companion loading stops on LOCAL_GetBlock not enough space in local heap

Wine Bugs wine-bugs at winehq.org
Mon Oct 17 05:39:17 CDT 2005


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





------- Additional Comments From wijn at wanadoo.nl  2005-17-10 05:39 -------
Looks like the same problem that I've seen before on the users mailing list and
the news group. If I am right he error message is accurate: there is no space
for the environment, because the environment is now typically larger then when
this program was written. 
 
This is what I wrote on the users list:

This actually has come up before in a thread "Upper Memory" not long ago
in the newsgroup comp.emulators.ms-windows.wine. That was about a
program called Seed Master, but Bible Companion Software was also
mentioned to suffer the same problem.

The problem is that the program reserves a fixed sized buffer to store
the environment (the output what you see when you type "set" under
DOS/Windows or "env" under Unix/Linux). What was more then enough for
Windows 3.1, may not be enough under XP or Linux.

If the supplier is unwilling to fix it, there are two ways to try to reduce the
environment:

1. Before starting wine, before starting wine cut as much as possible unneeded
variables from the environment. Use the "unset" command for this. You would do
this in a shell script.

2. Remove the environment and add only those variables that are needed
for running wine. For a start you can try this:

env -i PATH=$PATH DISPLAY=$DISPLAY wine yourprogram.exe

(the -i removes all variables, and I add the PATH and DISPLAY variables
needed to find and run wine).

There may be a few more other variables, TMP, TEMP, anything starting
with LD_ needed or wine to run.

Rein.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list