[rrd-developers] Re: 1.0.8 RRDs perl coredump?
Tobias Oetiker
oetiker at ee.ethz.ch
Thu Nov 25 23:26:28 MET 1999
Today you sent me mail regarding [rrd-developers] 1.0.8 RRDs perl coredump?:
*> Suggestions?
*>
*> irricana:31> make test
*> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i386-openbsd -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
*> t/base..............dubious
*> Test returned status 0 (wstat 139, 0x8b)
*> test program seems to have generated a core
*> DIED. FAILED tests 2-5
*> Failed 4/5 tests, 20.00% okay
*> Failed Test Status Wstat Total Fail Failed List of failed
*> -------------------------------------------------------------------------------
*> t/base.t 0 139 5 4 80.00% 2-5
*> Failed 1/1 test scripts, 0.00% okay. 4/5 subtests failed, 20.00% okay.
*> *** Error code 2
*>
*> Stop in /home/weingart/work/local/rrd/rrdtool-1.0.8/perl-shared.
*> irricana:32> ls
*> ./ Makefile.PL RRDs.c blib/ rrdpl.dsp
*> ./ Makefile.old RRDs.o ntmake.pl rrdpl.dsw
*> MANIFEST README RRDs.pm perl.core t/
*> Makefile RRDs.bs RRDs.xs pm_to_blib
*> irricana:33> file perl.core
*> perl.core: OpenBSD/i386 core from 'perl'
*> irricana:34> gdb perl perl.core
*> GNU gdb 4.16.1
*> Copyright 1996 Free Software Foundation, Inc.
*> GDB is free software, covered by the GNU General Public License, and you are
*> welcome to change it and/or 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.
*> This GDB was configured as "i386-unknown-openbsd2.5"...
*> Core was generated by `perl'.
*> Program terminated with signal 11, Segmentation fault.
*> Reading symbols from /usr/libexec/ld.so...done.
*> Reading symbols from /usr/lib/libm.so.0.1...done.
*> Reading symbols from /usr/lib/libc.so.21.1...done.
*> Reading symbols from /home/weingart/work/local/rrd/rrdtool-1.0.8/perl-shared/blib/arch/auto/RRDs/RRDs.so...done.
*> #0 0x4014501a in init_scanner (argc=1, argv=0xefbfd760) at parsetime.c:372
*> 372 sc_len += strlen(*argv++);
*> (gdb) p argv
*> $1 = (char **) 0xefbfd760
*> (gdb) p *argv
*> $2 = 0x0
*> (gdb) where
*> #0 0x4014501a in init_scanner (argc=1, argv=0xefbfd760) at parsetime.c:372
*> #1 0x40145d11 in parsetime (tspec=0x0, ptv=0xefbfd7b0) at parsetime.c:792
*> #2 0x4014661f in rrd_create (argc=13, argv=0xcdd80) at rrd_create.c:64
*> #3 0x401426a7 in XS_RRDs_create (cv=0xc8258) at RRDs.xs:84
*> #4 0x36ab2 in Perl_pp_entersub ()
*> #5 0x63e02 in Perl_runops_standard ()
*> #6 0x392d in perl_run ()
*> #7 0x1773 in main ()
*> (gdb)
aaargh ... I love it ... unfortunately I can not recreate this problem on
solaris ... could you trie to reproduce this on the command line ... put a
print statement before the create call in perl and try to execute with
rrdtool ...
cheers
tobi
*>
*>
*> --Toby.
*>
*> --
*> * To unsubscribe from the rrd-developers mailing list, send a message with the
*> subject: unsubscribe to rrd-developers-request at list.ee.ethz.ch
*>
*>
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
--
* To unsubscribe from the rrd-developers mailing list, send a message with the
subject: unsubscribe to rrd-developers-request at list.ee.ethz.ch
More information about the rrd-developers
mailing list