Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pgawk.exe.stackdump

18 views
Skip to first unread message

roby

unread,
Apr 21, 2009, 11:40:43 AM4/21/09
to

During a GAWK program debug and testing I have seen the file
pgawk.exe.stackdump containing:

Stack trace:
Frame Function Args
0023BE40 7C802542 (000006E8, 0000EA60, 000000A4, 0023BE88)
0023BF60 61097D1E (00000000, 00000000, 00000000, 00000000)
0023C050 610958BB (00000000, 003B0023, 00230000, 00000000)
0023C0B0 61095D9B (0023C0C8, 00000000, 00000094, 61025B10)
0023C170 61095F52 (00000E10, 00000006, 0023C1A0, 61096152)
0023C180 61095F7C (00000006, 600301DC, 0023C1AC, 7C91CFCC)
0023C1A0 61096152 (00445742, 00000468, 00000000, 0023CE64)
0023C1C0 00423804 (0000000B, 00000000, 00000001, 00000000)
0023C2B0 61017B50 (000006A4, 0000EA60, 000000A4, 0023C2F8)
0023C3D0 61097E12 (000000D3, 0023C408, 0000001C, 003B0023)
0023C4E0 61018C3C (0023C5CC, 0023CE68, 0023C5E8, 0023C5A0)
0023C504 7C9132A8 (0023C5CC, 0023CE68, 0023C5E8, 0023C5A0)
0023C5B4 7C91327A (00000000, 0023C5E8, 0023C5CC, 0023C5E8)
0023C8B8 7C91E46A (000000D3, 006A1E94, 004487BE, 00000002)
0023C8F8 610E6CDC (0023D008, 000000D3, 006A1E94, 610F05AB)
0023C918 610E6D91 (000000D3, 006A1E94, 0023C948, 610EFA2F)
End of stack trace (more stack frames may be present)

How can obtain useful informations about last crash?

In the CP/M-80 version of TurboPascal there was a command to reach the
instruction involved. Is here something like that?

Many thank

Roby

Aharon Robbins

unread,
Apr 21, 2009, 2:32:04 PM4/21/09
to
Sigh. OK. First, since you're using Windows, the easiest thing to do
is to use Cygwin. That environment does an excellent job of making Wndows
look very much like a Linux system. Once you have it, in a bash shell,
start with the gawk sources tar ball and invoke the traditional incantation:

tar -xpzvf gawk-3.1.6.tar.gz
cd gawk-3.1.6
./configure && make

The configure step takes much longer in Cygwin than on a Linux system
but otherwise it should run to completion and at the end you will
have both gawk and pgawk executables.

Next, run pgawk from within gdb (see the gdb doc) and when it dies, print out
and capture the stack trace. Then post it or send it to me.

IF you have a small program and data set that causes the crash AND you
don't mind sending them to me, I will see if I can replicate the problem
under Linux.

If not, you'll have to do some debugging.

Arnold

In article <0430c680-1420-416e...@3g2000yqk.googlegroups.com>,


--
Aharon (Arnold) Robbins arnold AT skeeve DOT com
P.O. Box 354 Home Phone: +972 8 979-0381
Nof Ayalon Cell Phone: +972 50 729-7545
D.N. Shimshon 99785 ISRAEL

0 new messages