netxmsd segfault when applying template to node

Started by wilfre, October 03, 2013, 03:51:52 PM

Previous topic - Next topic

wilfre


Oct  3 15:52:36 hostname kernel: [90661.861197] netxmsd[4770]: segfault at 0 ip 00007f250f8ada10 sp 00007f25053be5a8 error 4 in libc-2.17.so[7f250f80a000+1be000]
Oct  3 16:00:20 hostname kernel: [91125.203905] netxmsd[15254]: segfault at 0 ip 00007f1db07bba10 sp 00007f1da68df5a8 error 4 in libc-2.17.so[7f1db0718000+1be000]


segfault backtrace is:

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
Core was generated by `/usr/bin/netxmsd -d -D 5'.
Program terminated with signal 11, Segmentation fault.
#0  wcslen () at ../sysdeps/x86_64/wcslen.S:24
24      ../sysdeps/x86_64/wcslen.S: No such file or directory.
(gdb) backtrace
#0  wcslen () at ../sysdeps/x86_64/wcslen.S:24
#1  0x00007ffff7ac9689 in DCTable::processNewValue (this=0x7fff8c006990, nTimeStamp=1, value=0x7fffa4015150) at dctable.cpp:389
#2  0x00007ffff7acbec5 in DataCollectionTarget::processNewDCValue (this=0x684ae0, dco=0x7fff8c006990, currTime=1380804132, value=0x7fffa4015150) at dctarget.cpp:366
#3  0x00007ffff7abc952 in DataCollector (pArg=<optimized out>) at datacoll.cpp:254
#4  0x00007ffff73e5f8e in start_thread (arg=0x7ffff0d06700) at pthread_create.c:311
#5  0x00007ffff710fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113


NetXMS version 1.2.9

Ubuntu 13.04, no PPA used

Anyone knows how to fix?

Victor Kirhenshtein

Looks like same issue: https://www.netxms.org/forum/general-support/segfault-2648. Let me know if you need compiled binaries.

Best regards,
Victor

wilfre

Well, yes, that's SNMP-based table template. But since you gave me some clearance on NetXMS design here I currently am not interested in NetXMS. It just does not fit our requirements on easyness and comfort of operation.