- StdLoader.Fixup

From: A Thomas <"A>
Date: Thu, 28 Jul 2005 10:48:19 +0300

----boundary-LibPST-iamunique-855272970_-_-
Content-type: text/plain

Hei BlackBox World,

        Does anyone know what the Fixup procedure in module StdLoader does?
I am getting an "illegal memory read error". What can cause this type of
error?

Fixup uses the low level functions SYSTEM.GET and SYSTEM.PUT to manipulate
the code file that has been read into memory using Files.reader.ReadBytes. I
guess that the code file has become corrupted on reading in. (It is ok on
file because I can load its module in some cases but not others.)

What sort of errors can SYSTEM.GET give? Can it cause an "illegal memory
read"?

Fixup has error code for detecting corrupt code files but I do not see this
error. Are there any checks I can do on the code after it has been read in
before Fixup is called?

I am having the problem on Linux (Fedora Core). I have linked a few code
files together into a so file using the ELF linker and then call a function
from the so that uses Meta to load a module.

Any suggestions what to try?

Thanks in advance for any suggestions.

Regards

        Andrew

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-855272970_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlaSBCbGFja0JveCBXb3JsZCxccGFyDQpccGFy
DQpcdGFiIERvZXMgYW55b25lIGtub3cgd2hhdCB0aGUgRml4dXAgcHJvY2VkdXJlIGluIG1vZHVs
ZSBTdGRMb2FkZXIgZG9lc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