Seg fault in SNMP++3.2

Kevin J. Schmidt kschmidt____mindspring.com
Tue Sep 3 23:08:08 CEST 2002


Hi,

I have a seg fault bug in an application that's receiving SNMP traps.
It's happening at a customer site, and I'm unable to reproduce the bug
myself. I have output from gdb below. Does anyone have an idea what
might be causing the problem? The platform is Red Hat Linux 7.2.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 851)]
0x08060e28 in OctetStr::get_printable (this=0x8268608) at octet.cpp:636
636     octet.cpp: No such file or directory.
        in octet.cpp
Current language:  auto; currently c++
(gdb)
(gdb)
(gdb) where
#0  0x08060e28 in OctetStr::get_printable (this=0x8268608) at
octet.cpp:636
#1  0x080650c5 in CTarget::get_readcommunity (this=0x8268560) at
target.cpp:296
#2  0x08057bc8 in callback () at eval.c:41
#3  0x0807215c in CNotifyEvent::Callback (this=0x81bfbf0,
target=@0x8268560, pdu=@0xbffff394, status=-22) at notifyqueue.cpp:295
#4  0x08072a3f in CNotifyEventQueue::HandleEvents (this=0x81ab9f8,
readfds=@0xbffff764) at notifyqueue.cpp:534
#5  0x0806ddf5 in CEventList::HandleEvents (this=0x81a9780, maxfds=10,
readfds=@0xbffff764, writefds=@0xbffff6e4,
    exceptfds=@0xbffff664) at eventlist.cpp:656
#6  0x0806d0ad in SNMPProcessPendingEvents () at eventlist.cpp:249
#7  0x080526a5 in trap::listen () at eval.c:41
#8  0x0804e300 in main () at eval.c:41
#9  0x400d9507 in __libc_start_main (main=0x804e130 <main>, argc=3,
ubp_av=0xbffff8e4, init=0x804cb24 <_init>,
    fini=0x815964c <_fini>, rtld_fini=0x4000dc14 <_dl_fini>,
stack_end=0xbffff8dc) at ../sysdeps/generic/libc-start.c:129








More information about the AGENTPP mailing list