On Tue, Aug 27, 2002 at 05:03:01PM -0400, Kevin Torres wrote: > I am using bootstrap in dynaloader.pm. Everything works upto the last > instruction of the subroutine &$xs(@args); > > There are are no errors upto that point. $xs gets assigned CODE(0x251f1a4). > > But the very next thing to happen after &$xs(@args) is executed is a > branch to carp.pm. > > When I run in DOS I get the error "The instruction at "0x0268299a" > referenced at "0x00000021". The memory could not be "read". > > Any suggestions on what might be causing this?
It is most likely to be a problem in the initialisation of the XS code. The problem is reported at the line you mention because that is the last bit of Perl that is executed before jumping of into C. It looks as though the C code calls back to carp, presumably after finding some problem. I'm afraid that a bit of C debugging seems to be in order. I looks as though something is trying to access some memory location that it shouldn't. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]