[rrd-users] php rrdtool error

suja sujaram at igcar.gov.in
Thu Nov 15 08:54:36 CET 2012


hi,

The following is what I get from gdb.

(gdb) run create.php 
Starting program: /usr/bin/php create.php
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00000033cfe345ca in ____strtoll_l_internal () from /lib64/libc.so.6
(gdb) bt
#0  0x00000033cfe345ca in ____strtoll_l_internal () from /lib64/libc.so.6
#1  0x00002aaaae2d349d in strtol (argc=9, argv=0xc512e0) at
/usr/include/stdlib.h:336
#2  atol (argc=9, argv=0xc512e0) at /usr/include/stdlib.h:409
#3  rrd_create (argc=9, argv=0xc512e0) at rrd_create.c:87
#4  0x00002aaaae0c6d65 in zif_rrd_create (ht=<value optimized out>,
return_value=0xc51268, return_value_ptr=<value optimized out>, 
    this_ptr=<value optimized out>, return_value_used=<value optimized out>)
at /home/cd/suja/php-rrd-ext/rrdtool.c:1042
#5  0x00000000005a58cf in ?? ()
#6  0x0000000000595edc in execute ()
#7  0x0000000000579f58 in zend_execute_scripts ()
#8  0x000000000054069a in php_execute_script ()
#9  0x00000000005f34d8 in main ()


I have tried '--start 1352953300" as one argument too, but its giving error, 
create: unrecognized option `--start 1352953300'
Create error: unknown option 'dummy'

php version
php -v

PHP 5.1.6 (cli) (built: Jan 14 2010 13:11:11) 
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

regards,
suja





--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/php-rrdtool-error-tp7580605p7580621.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list