pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
calloc issue (Re: lang/gprolog (probably infinite loop)
Thanks Joerg,
Here it is: (with gcc (nb3 20190319) 7.4.0
cd /usr/pkgsrc/lang/gprolog; make clean && make
...
...
gplc -c wam_emit.wam
[ ! -f pl2wam ] || cp pl2wam pl2wam0
gplc -o pl2wam --no-fd-lib-warn --no-top-level pl2wam.o read_file.o syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o indexing.o wam_emit.o
gplc -c --fast-math fd2c.pl
and then
CF-SX2@makoto 23:36:22/190614(~)% gdb -p 10600
GNU gdb (GDB) 8.3
....
-----------------------------
(No debugging symbols found in /export/WRKOBJDIR/lang/gprolog/work/gprolog-1.4.5/src/Pl2Wam/pl2wam)
[New LWP 1 of process 10600]
Reading symbols from /usr/lib/libm.so.0...
(No debugging symbols found in /usr/lib/libm.so.0)
Reading symbols from /usr/lib/libgcc_s.so.1...
(No debugging symbols found in /usr/lib/libgcc_s.so.1)
Reading symbols from /usr/lib/libc.so.12...
(No debugging symbols found in /usr/lib/libc.so.12)
Reading symbols from /usr/libexec/ld.elf_so...
(No debugging symbols found in /usr/libexec/ld.elf_so)
0x00000000004a64c8 in calloc ()
(gdb) bt
#0 0x00000000004a64c8 in calloc ()
#1 0x00000000004a6d84 in Pl_Calloc_Check ()
#2 0x00000000004aa0c6 in Pl_Init_Atom ()
#3 0x00000000004a7ae0 in Pl_Start_Prolog ()
#4 0x00000000004ae4ab in main ()
(gdb)
-----------------------------
--
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Home |
Main Index |
Thread Index |
Old Index