cygwin perl exception

Christopher Jones cbjones@nortelnetworks.com
Fri Feb 4 19:03:00 GMT 2000


Title: cygwin perl exception





Hello,


I have a weird situation where on two boxes with cygwin b20.1 full.exe a Perl program fails with an exception STATUS_ACCESS_VIOLATION (which from a previous message on the list means it attempted to access some part of memory it shouldn't or similar?) and on a third (where it was developed) the program executes perfectly.  To complicate matters when running the Perl interpreter in debug mode or when running it in gdb this exception never occurs on either of the two boxes which fail normal execution.  I have installed the 011599 cygwin1.dll on one of the failing boxes to see if anything changed and it still fails with the same exception during normal execution but works just fine in a debugger.  Any ideas what might cause something like this?  I'm working on narrowing down the exact line of Perl which causes the problem but it's taking longer than usual given how the problem is manifesting itself.

I took a glance at the output of cygcheck on the passing box and a failing box and couldn't discern anything of interest although I can post those if it helps.  The box which the script works on without causing Perl to go nuts does not have the 011599 cygwin1 dll.  There is also a perl.exe.core which I've attached but I don't know if it is useful or not.

Thanks,
Brian


 


perl.exe.core
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-------------- next part --------------
 6169   30663 [main] perl 1010 exception: trapped!
13521   44184 [main] perl 1010 exception: code 0xC0000005 at 0x619FDF02
33959   78143 [main] perl 1010 exception: ax 0x0 bx 0xA034A10 cx 0xFFFFFFFF dx 0x6
39683  117826 [main] perl 1010 exception: si 0x6C6C6177 di 0x6C6C6177 bp 0x244F67C sp 0x244F660
26802  144628 [main] perl 1010 exception: exception is: STATUS_ACCESS_VIOLATION
24923  169551 [main] perl 1010 stack: Stack trace:
24956  194507 [main] perl 1010 stack: frame 0: sp = 0x244F484, pc = 0x6100AC27
16616  211123 [main] perl 1010 stack: frame 1: sp = 0x244F4B0, pc = 0x77F94846
48417  259540 [main] perl 1010 stack: frame 2: sp = 0x244F4D4, pc = 0x77F89013
18095  277635 [main] perl 1010 stack: frame 3: sp = 0x244F560, pc = 0x77F76392
24942  302577 [main] perl 1010 stack: frame 4: sp = 0x244F67C, pc = 0x61A1EDAF
33250  335827 [main] perl 1010 stack: frame 5: sp = 0x244F6BC, pc = 0x61A1EC04
48739  384566 [main] perl 1010 stack: frame 6: sp = 0x244F6C4, pc = 0x619F5C65
17758  402324 [main] perl 1010 stack: frame 7: sp = 0x244F6CC, pc = 0x619C31A4
24931  427255 [main] perl 1010 stack: frame 8: sp = 0x244F800, pc = 0x619C642D
41574  468829 [main] perl 1010 stack: frame 9: sp = 0x244F914, pc = 0x619E39CF
24932  493761 [main] perl 1010 stack: frame 10: sp = 0x244F958, pc = 0x619E127D
49004  542765 [main] perl 1010 stack: frame 11: sp = 0x244F994, pc = 0x619DBEC9
25812  568577 [main] perl 1010 stack: frame 12: sp = 0x244F9EC, pc = 0x61A14DC7
24928  593505 [main] perl 1010 stack: frame 13: sp = 0x244FA20, pc = 0x61A15921
24967  618472 [main] perl 1010 stack: frame 14: sp = 0x244FA9C, pc = 0x619F5C65
49368  667840 [main] perl 1010 stack: frame 15: sp = 0x244FAA4, pc = 0x619C31A4
25448  693288 [main] perl 1010 stack: End of stack trace (more stack frames may be present)



More information about the Cygwin mailing list