|
From: Erik K. <Eri...@ph...> - 2003-10-14 06:44:29
|
Hello,
gpre from FB2 CVS HEAD dumps a core:
$ gdb5 gen/firebird/bin/gpre_current gen/core
GNU gdb 5.2.1
Core was generated by `../gen/firebird/bin/gpre_current -n -z -gds_cxx -raw -ids ../src/jrd/dyn.epp ..'.
Program terminated with signal 6, Aborted.
(gdb) bt
#0 0x30018ac4 in kill () from /usr/lib/libc.so.1
#1 0x30011703 in abort () from /usr/lib/libc.so.1
#2 0x0806f887 in NOD_LEN (cnt=0) at gpre.h:285
#3 0x0806f497 in MSC_node(nod_t, short) (type=nod_user_name, count=0)
at ../src/gpre/msc.cpp:366
#4 0x08067899 in par_primitive_value (request=0x812d428, field=0x8124930)
at ../src/gpre/exp.cpp:1456
#5 0x08067471 in par_multiply (request=0x812d428, field=0x8124930)
at ../src/gpre/exp.cpp:1310
#6 0x08067df1 in par_value (request=0x812d428, field=0x8124930) at ../src/gpre/exp.cpp:1631
#7 0x08067815 in par_primitive_value (request=0x812d428, field=0x8124930)
at ../src/gpre/exp.cpp:1443
#8 0x0806785f in par_primitive_value (request=0x812d428, field=0x8124930)
at ../src/gpre/exp.cpp:1450
#9 0x08067471 in par_multiply (request=0x812d428, field=0x8124930)
at ../src/gpre/exp.cpp:1310
#10 0x08067df1 in par_value (request=0x812d428, field=0x8124930) at ../src/gpre/exp.cpp:1631
#11 0x08067bf9 in par_relational (request=0x812d428) at ../src/gpre/exp.cpp:1558
#12 0x08067661 in par_not (request=0x812d428) at ../src/gpre/exp.cpp:1387
#13 0x08066e7e in par_and (request=0x812d428) at ../src/gpre/exp.cpp:1090
#14 0x08066eab in par_and (request=0x812d428) at ../src/gpre/exp.cpp:1095
#15 0x08066eab in par_and (request=0x812d428) at ../src/gpre/exp.cpp:1095
#16 0x08066eab in par_and (request=0x812d428) at ../src/gpre/exp.cpp:1095
#17 0x08066eab in par_and (request=0x812d428) at ../src/gpre/exp.cpp:1095
#18 0x08066eab in par_and (request=0x812d428) at ../src/gpre/exp.cpp:1095
#19 0x080671b8 in par_boolean (request=0x812d428) at ../src/gpre/exp.cpp:1207
#20 0x08066698 in EXP_rse(gpre_req*, sym*) (request=0x812d428, initial_symbol=0x0)
at ../src/gpre/exp.cpp:786
#21 0x08073617 in par_for () at ../src/gpre/par.cpp:2110
#22 0x0806fb70 in PAR_action(char const*) (base_dir=0x0) at ../src/gpre/par.cpp:237
#23 0x0806b41a in pass1 (base_directory=0x0) at ../src/gpre/gpre.cpp:2356
#24 0x08069927 in compile_module (start_position=0, base_directory=0x0)
at ../src/gpre/gpre.cpp:1394
#25 0x08068c2e in main (argc=8, argv=0x8047ca4) at ../src/gpre/gpre.cpp:872
inline size_t NOD_LEN(const size_t cnt)
{
fb_assert(cnt != 0); <----------
return sizeof(gpre_nod) + (cnt - 1) * sizeof(gpre_nod*);
}
//#define NOD_LEN(cnt) (sizeof(gpre_nod) + (cnt - 1) * sizeof(gpre_nod*))
Can someone please investigate the problem or help me to debug it. I can
provide the binary and core file.
--
Dipl.-Ing. Erik Kunze Phone: +49 - 89 - 32 14 07 41
PHILOSYS Software GmbH Fax: +49 - 89 - 32 14 07 12
Edisonstr. 6 Email: Eri...@ph...
D-85716 Unterschleissheim WWW: www.philosys.de/~kunze
PGP-Key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xD5759581
|