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

Wine Bugs wine-bugs at winehq.org
Sat Jan 21 04:12:19 CST 2006


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





------- Additional Comments From wijn at wanadoo.nl  2006-21-01 04:12 -------
> Wouldn't this be nearly always cause this bug for
> older applications? e.g: I'm trying to run a 16 bit application with a 64k shell
> stack and Wine is copying over all the environment variables from a modern 32bit
> operating system?

This bug can and does happen on Windows (any version) as well. Assigning a fixed
size buffer for something that may very well grow beyond theat size is asking
for trouble. It happens all the time though even if with one or two extra lines
of code this could have been prevented.

I have seen this problem only with a coupe of Bible programs, probably sharing
some code.

> But now the program is complaining that it can't find the data files, so
> obviously there is still some kind of environment variable error.

> I feel like I am very close... Please help me figure out what environment
> variables I am missing....

No variables come to my mind. You can try the unset method, removing variables
that are obviously of no use to the program (KDE stuff, LS_COLORS and more)
until the program get past the insufficient space error.

Pay attention to the current directory from where you start wine. If the program
looks for data files relative to the current dir, then that matters.

If nothing else helps, create a WINEDEBUG=+file,+dosfs log file; bzip2 the
result and attach it here.

-- 
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