Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interpreting perl stackdump

Status
Not open for further replies.

MgFrobozz

Technical User
Nov 29, 2005
4
US
I'm getting a perl stackdump when I run code created by swig-1.3.27. How do I figure out what functions are represented?

Exception: STATUS_ACCESS_VIOLATION at eip=00B5137A
eax=00C46EB8 ebx=10144010 ecx=101F146E edx=00C46EB8 esi=10229EA8 edi=00000000
ebp=0022EDE8 esp=0022ED9C program=d:\Cygwin_1_15_4\bin\perl.exe, pid 1080, thread main
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
0022EDE8 00B5137A (10140278, 10228690, 00000000, 0022EE07)
0022EE58 10079433 (10140278, 10140278, 0022EF88, 100076F5)
0022EE68 10071E19 (10140278, 00000000, 0022EF68, 00000001)
0022EF88 100076F5 (10140278, 00401220, 00000005, 61802D4C)
0022EFC8 004011D6 (00000005, 61802D4C, 101400A8, 0022F020)
0022F008 610067C8 (0022F020, 00000000, 00000000, 00000000)
0022FF88 610069D0 (00000000, 00000000, 00000000, 00000000)
 
without relavant lines in the executable, we're gonna have it hard on this one ... what else have you loaded?

Please rephrase the question ;-) Puhlease ;-)

--Paul

Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Hi, PaulTEG ...

The problem is that I don't know which lines are relevant, because I haven't a clue where the crash is occurring. I need something like a symbol table, but I don't know enough about perl to know how to get one.

I'm beginning to suspect that the problem is related to the use of two dll's by the program. One is originated by msdev, the other is originaled by swig (using gcc).

I'm also wondering whether an error that I got when configuring Win32::API may be related to this problem; is there any easy way to correct the perl and config.pm mismatch? Does the second entry indicate that config.pm thinks I'm running on a 64-bit processor?


> perl Makefile.PL
Have /lib/perl5/5.8/cygwin/Config.pm expected /usr/lib/perl5/5.8/cygwin/Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [cygwin]
Config says: [cygwin-thread-multi-64int]
This may or may not cause problems. Please check your installation of perl
if you have problems building this extension.
 
cygwin, looks like a few personalities ...

Aside from that, to be sure, if we*(as in me) had the time, more code might help ... and a token/symbol table ... the source and expectation, well they'd be welcome too.

--Paul



Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top