(gdb) frame 1
(gdb) info locals
(gdb) frame 1 #1 0x10083d30 in Perl_sv_vcatpvfn () (gdb) info locals No symbol table info available. Same for others. Don't know what do for correct this.
b) Build and run the standalone 'ucpp' preprocessor:
cd ctlib/ucpp
make clean && make
touch empty.h
./ucpp -DDEFINE=3 -DDEFINE=2 empty.h
The last command will run the same code as my test script
when it crashes. So this should either crash as well, or
print
macro 'DEFINE' redefined unidentically
[alian@poulette Convert-Binary-C-0.08]$ cd ctlib/ucpp[alian@poulette ucpp]$ make clean && make
rm -f *.o ucpp core
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o mem.o mem.c
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o nhash.o nhash.c
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o cpp.o cpp.c
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o lexer.o lexer.c
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o assert.o assert.c
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o macro.o macro.c
macro.c: In function `undef_macro':
macro.c:1757: warning: unused parameter `ls'
gcc -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG -DSTAND_ALONE -c -o eval.o eval.c
gcc -o ucpp mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
[alian@poulette ucpp]$ touch empty.h
[alian@poulette ucpp]$ ./ucpp -DDEFINE=3 -DDEFINE=2 empty.h
macro 'DEFINE' redefined unidentically
[alian@poulette ucpp]$
Damm it don't crash.
Seems same error:c) Try to build and test an old Convert::Binary::C release, preferably version 0.06. It uses an older version of the ucpp-library.
[alian@poulette Convert-Binary-C-0.06]$ make test
PERL_DL_NONLAZY=1 /home/alb/.soft/perl-5.8.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_init........ok
t/101_config......ok
t/102_misc........ok
t/103_warnings....dubious
Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 46-2202
Failed 2157/2202 tests, 2.04% okay
t/104_enum........ok
t/105_pack........ok
t/106_parse.......ok
36/72 skipped: skip: no debugging
t/107_typedef.....ok
t/108_float.......ok
t/109_sourcify....ok
t/110_depend......ok
t/111_clone.......ok
t/112_clean.......ok
t/113_string......ok
t/114_cache.......ok
t/115_local.......ok
t/116_language....ok
t/801_speed.......ok
t/802_threads.....ok
4/4 skipped: various reasons
t/803_debug.......ok
t/804_complex.....ok
80/304 skipped: various reasons
t/805_examples....ok
t/901_memory......ok
144/145 skipped: various reasons
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/103_warnings.t 0 139 2202 2157 97.96% 46-2202
264 subtests skipped.
Failed 1/23 test scripts, 95.65% okay. 2157/5493 subtests failed, 60.73% okay.
make: *** [test_dynamic] Error 29
