agent++3.5.10a's example agent in cmd_exe_mib cant work (Segmentation fault, aborting)

劉其堅 900213____itri.org.tw
Fri Feb 14 04:08:35 CET 2003


hi
I have successfully compiled an AGENT++ example cmd_exe_mib in agent++3.5.10a
but when I run the agent it always tell me "Segmentation fault, aborting."
and the old version agent++3.5.9a's example can work.


20030214.10:43:28: 9946: (1)EVENT  : main: SNMP listen port: (4700)
20030214.10:43:28: 9948: (1)DEBUG  : Thread: started (tid): (0)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread started
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread started
20030214.10:43:28: 9949: (1)DEBUG  : Thread: started (tid): (2051)
20030214.10:43:28: 9950: (1)DEBUG  : Thread: started (tid): (1684370546)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread started
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread started
20030214.10:43:28: 9951: (1)DEBUG  : Thread: started (tid): (4101)
20030214.10:43:28: 9952: (1)DEBUG  : Thread: started (tid): (0)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread started
20030214.10:43:28: 9953: (1)DEBUG  : Thread: started (tid): (1684370546)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread started

20030214.10:43:28: 9948: (1)DEBUG  : Thread: ended (tid): (1026)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread stopped
20030214.10:43:28: 9949: (1)DEBUG  : Thread: ended (tid): (2051)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread stopped
20030214.10:43:28: 9950: (1)DEBUG  : Thread: ended (tid): (3076)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread stopped
20030214.10:43:28: 9951: (1)DEBUG  : Thread: ended (tid): (4101)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread stopped
20030214.10:43:28: 9952: (1)DEBUG  : Thread: ended (tid): (5126)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread stopped
20030214.10:43:28: 9953: (1)DEBUG  : Thread: ended (tid): (6151)
20030214.10:43:28: 9946: (1)DEBUG  : TaskManager: thread stopped
Segmentation fault, aborting.

                                       
and atm_mib is the same

): (), (1.3.6.1.2.1.1)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.2.1.11)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.6.3.1.1.6.1.0)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.2.1.37)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.4.1.4976.2.1)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.4.1.4976.6.2)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.4.1.4976.6.3)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.6.3.12)
20030214.10:49:49: 9963: (3)DEBUG  : MibContext: adding MIB object (context)(oid
): (), (1.3.6.1.6.3.13.1)
20030214.10:49:49: 9963: (1)EVENT  : NotificationGenerator: sent v1 trap (id)(td
omain)(addr)(vbs)(community): (1.3.6.1.6.3.1.1.5.1), (1), (127.0.0.1/162), (0),
(public)
                                                                                
Segmentation fault, aborting.
20030214.10:49:49: 9968: (1)DEBUG  : Thread: started (tid): (4101)
           
                                                                                
                                                                                
                                                                                
                                 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20030214/8ab2bd48/attachment.htm 


More information about the AGENTPP mailing list