Steve
I believe one of your rrd files is corrupted. Can you please delete it and see 
if after recreating it, the problems are gone? Otherwise we need to contact the 
RRD guys

Regards Luca

On Jun 4, 2013, at 7:23 PM, Steve Clark <[email protected]> wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb59e3b70 (LWP 4124)]
> 0x006795d1 in __strlen_ia32 () from /lib/libc.so.6
> Missing separate debuginfos, use: debuginfo-install 
> glibc-2.12-1.47.el6_2.12.i686 libgcc-4.4.7-3.el6.i686 
> libpcap-1.0.0-6.20091201git117cb5.el6.i686 libstdc++-4.4.7-3.el6.i686 
> libxml2-2.7.6-12.el6_4.1.i686 zlib-1.2.3-27.el6.i686
> (gdb) bt
> #0  0x006795d1 in __strlen_ia32 () from /lib/libc.so.6
> #1  0x006c20e3 in _getopt_internal_r () from /lib/libc.so.6
> #2  0x006c2b5e in _getopt_internal () from /lib/libc.so.6
> #3  0x006c2da9 in getopt_long () from /lib/libc.so.6
> #4  0x0813b78f in rrd_create (argc=12, argv=0xb0a0ac48) at rrd_create.c:59
> #5  0x0805938f in rrd_common_call (L=0xb4f901c0, cmd=0x816c570 "create", 
> rrd_function=0x813b650 <rrd_create>)
>     at third-party/rrdtool-1.4.7/bindings/lua/rrdlua.c:92
> #6  0x080595df in lua_rrd_create (L=0xb4f901c0) at 
> third-party/rrdtool-1.4.7/bindings/lua/rrdlua.c:155
> #7  0x080cd3cf in lj_BC_FUNCC ()
> #8  0x080b31b4 in lua_pcall (L=0xb4f901c0, nargs=0, nresults=-1, errfunc=0) 
> at lj_api.c:1052
> #9  0x0805c526 in Lua::run_script (this=0xb0a01ec8, script_path=0xb59e324c 
> "./scripts/callbacks/minute.lua")
>     at Lua.cpp:953
> #10 0x08061f26 in PeriodicActivities::runScript (this=0x8195248, 
> path=0xb59e324c "./scripts/callbacks/minute.lua")
>     at PeriodicActivities.cpp:69
> #11 0x08062091 in PeriodicActivities::minuteActivitiesLoop (this=0x8195248) 
> at PeriodicActivities.cpp:98
> #12 0x08061d72 in minuteStartLoop (ptr=0x8195248) at PeriodicActivities.cpp:44
> #13 0x007cda09 in start_thread () from /lib/libpthread.so.0
> #14 0x006df43e in clone () from /lib/libc.so.6
> (gdb) fr 10
> #10 0x08061f26 in PeriodicActivities::runScript (this=0x8195248, 
> path=0xb59e324c "./scripts/callbacks/minute.lua")
>     at PeriodicActivities.cpp:69
> 69          l->run_script(path);
> (gdb) p *this
> $1 = {secondLoop = 3057535856, minuteLoop = 3047046000, hourLoop = 
> 3034577776, dayLoop = 3024087920}
> (gdb) f 8
> #8  0x080b31b4 in lua_pcall (L=0xb4f901c0, nargs=0, nresults=-1, errfunc=0) 
> at lj_api.c:1052
> 1052      status = lj_vm_pcall(L, L->top - nargs, nresults+1, ef);
> (gdb) p *L
> $2 = {nextgc = {gcptr32 = 2934239160}, marked = 98 'b', gct = 6 '\006', 
> dummy_ffid = 1 '\001', status = 0 '\000', 
>   glref = {ptr32 = 3036217840}, gclist = {gcptr32 = 0}, base = 0xae84b5e0, 
> top = 0xae84b638, maxstack = {
>     ptr32 = 2927933488}, stack = {ptr32 = 2927932768}, openupval = {gcptr32 = 
> 0}, env = {gcptr32 = 3036222248}, 
>   cframe = 0xb59e30f0, stacksize = 96}
> (gdb) f 4
> #4  0x0813b78f in rrd_create (argc=12, argv=0xb0a0ac48) at rrd_create.c:59
> 59              opt = getopt_long(argc, argv, "Ob:s:", long_options, 
> &option_index);
> (gdb) p **argv
> $3 = 99 'c'
> (gdb) p *argv
> $4 = 0x816c570 "create"
> (gdb) p argc
> $5 = 12
> (gdb) p *argv[0]
> $6 = 99 'c'
> (gdb) p *argv[1]
> $7 = 45 '-'
> (gdb) p *argv[2]
> $8 = 110 'n'
> (gdb) p *argv[3]
> $9 = 47 '/'
> (gdb) p *argv[4]
> $10 = 45 '-'
> (gdb) p *argv[5]
> $11 = 51 '3'
> (gdb) p *argv[6]
> $12 = 68 'D'
> (gdb) p *argv[7]
> $13 = 68 'D'
> (gdb) p *argv[8]
> $14 = 82 'R'
> (gdb) p *argv[9]
> $15 = 82 'R'
> (gdb) p *argv[10]
> $16 = 82 'R'
> (gdb) p *argv[11]
> $17 = 82 'R'
> (gdb) p *argv[12]
> Cannot access memory at address 0x0
> -- 
> Stephen Clark
> NetWolves
> Director of Technology
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: [email protected]
> http://www.netwolves.com
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to