Article View: gnu.gcc.help
Article #41380gdb on freeBSD
From: Wan Kong Wah
Date: Wed, 03 Apr 1996 00:00
Date: Wed, 03 Apr 1996 00:00
60 lines
2370 bytes
2370 bytes
Hi,
I am stuck with running my program on a Pentium running
freeBSD 2.1.0-RELEASE. I have compiled it using gcc, and
on running with gdb, I have the following:
avenue1: {10}
avenue1: {10} gdb brun
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for
details.
GDB 4.13 (i386-unknown-freebsd),
Copyright 1994 Free Software Foundation, Inc...r
(gdb)
(gdb) run img
Program received signal SIGFPE, Arithmetic exception.
0x8051bd2 in __ieee754_exp ()
(gdb)
(gdb) where
#0 0x8051bd2 in __ieee754_exp ()
#1 0x80621bd in exp ()
#2 0x16618 in logistic (x=-11.2620468, window_net=0x15ed0c) at
recog_bp.c:200
#3 0x16717 in compute_output (window_net=0x15ed0c) at
recog_bp.c:226
#4 0x8267 in computeActivations (resbuf=0xefbf3644, x=0x38714,
imbuf=0xefbfd9fc) at bp.c:285
#5 0xe5fc in RECOGNIZE (cptr=0x38714, imbuf=0xefbfd9fc) at
postedit.c:1584
#6 0x23ced in Recog_Qch (Qch=0xefbf4d9c, imbuf=0xefbfd9fc,
roi=0xc1830, text=0x225eb "GF") at MP.c:1066
#7 0x232df in Combine_Segmenter_Result (Color=87 'W',
gf_Qch=0xefbf4d9c, egcc_Qch=0xefbf4d80, Qch=0xefbf4d64,
imbuf=0xefbfd9fc, roi=0xc1830) at MP.c:871
#8 0x22e41 in Morphological_Operation (Color=87 'W',
CharQ=0x154484, imbuf=0xefbfd9fc, roi=0xc1830) at MP.c:779
#9 0x309de in FullScreen (imbuf=0xefbfd9fc, target=0xefbfd9ac,
Filename=0xefbf94f8 "/usr/home/kongwah/SRC/960324-142008.img")
at fullscreen.c:98
#10 0x1d3a in main (argc=2, argv=0xefbfda30) at bumpdetect.c:151
(gdb)
(gdb)
Though it stops at the exp() function, I am suspecting that there
is not the problem is. Maybe there is a leak somewhere.
The same s/w runs OK on DEC OS, Sun Solaris.
Appreciate any info and help from you gurus out there.
Kong Wah
kongwah@iss.nus.sg
Technical Details
Message-ID:
<4jtfvk$kaj@holodeck.iss.nus.sg>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ee8c45499d7abb7e,start X-Google-Attributes: gid11318c,public From: kongwah@iss.nus.sg (Wan Kong Wah) Subject: gdb on freeBSD Date: 1996/04/03 Message-ID: <4jtfvk$kaj@holodeck.iss.nus.sg> X-Deja-AN: 146111777 organization: Institute Of Systems Science, National University Of Singapore. keywords: freeBSD, gcc, gdb newsgroups: gnu.gcc.help