Hi,
         We are getting a segmentation fault  in "run_config_handler" which
is in net_snmpd library code. core dump is not consistent to reproduce the
issue.
Using net-snmp version 5.8.  Below is the backtrace.

<<
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ff35d9e4286 in run_config_handler (lptr=0x7ff2d0005840,
lptr@entry=0x7ff29c0009d0,
    token=token@entry=0x7ff2c77fb490 "sysobjectid",
cptr=cptr@entry=0x7ff29c01c34c
".1.3.6.1.4.1.39762.1.5",
    when=when@entry=0) at read_config.c:558
#2  0x00007ff35d9e4def in read_config (filename=filename@entry=0x7ff2c77fc990
"/tmp//snmpd.conf",
    line_handler=0x7ff29c0009d0, when=when@entry=0) at read_config.c:977
#3  0x00007ff35d9e5d8c in read_config_files_in_path (path=path@entry=0x28c737d
"/tmp/:/tmp/pers",
    ctmp=ctmp@entry=0x7ff29c000940, when=when@entry=0,
perspath=perspath@entry=0x7ff29c01b550 "/tmp/pers",
    persfile=persfile@entry=0x0) at read_config.c:1324
#4  0x00007ff35d9e6172 in read_config_files_of_type (when=when@entry=0,
ctmp=ctmp@entry=0x7ff29c000940)
    at read_config.c:1420
#5  0x00007ff35d9e6233 in read_config_files (when=when@entry=0) at
read_config.c:1448
#6  0x00007ff35d9e6384 in read_configs () at read_config.c:1060
#7  0x000000000045f05f in SnmpdTask::run (this=0x7ff2a4000ff0) at
src/snmpd_task.cpp:501
#8  0x000000000045f3ad in snmpd_ep (arg=<optimized out>) at
src/snmpd_task.cpp:559
#9  0x00007ff34f33bea5 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff34e3fdb0d in clone () from /lib64/libc.so.6
(gdb)

>>
Not sure what is the reason for coredump.

Need help on answering these questions!
Thanks in advance.

Regards,
Velu
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to