No core-files on Linux-System

Frank.Fock____t-online.de Frank.Fock____t-online.de
Tue Mar 4 15:52:58 CET 2003


Hi Bjoern,

There is no core file dumped because the agent.cpp
file has most likely caught the SIGSEGV signal.

Just remove (comment out) the signal handler and
the core file will be dumped.

Best regards,
Frank

Bjoern.Schorre____RSBICK.rohde-schwarz.com schrieb:
> Hi all,
> 
> I want to get *core-dumps* when my programs runs into a
> *segmentation fault*.
> The core-file-size is already set to *unlimited*.
> 
>
---------------------------------------------------------------------------------
> systest at giraffe:~/henning/agent++/examples/bsc_test/src >
> ulimit -a
> core file size (blocks)     unlimited
> data seg size (kbytes)      unlimited
> file size (blocks)          unlimited
> max locked memory (kbytes)  unlimited
> max memory size (kbytes)    unlimited
> open files                  1024
> pipe size (512 bytes)       8
> stack size (kbytes)         unlimited
> cpu time (seconds)          unlimited
> max user processes          1024
> virtual memory (kbytes)     unlimited
> systest at giraffe:~/henning/agent++/examples/bsc_test/src
> >
>
---------------------------------------------------------------------------------
> 
> My program exits with the message *segmentation fault*
> but no core-dumps will be
>  created.
> 
>
---------------------------------------------------------------------------------
> systest at giraffe:~/henning/agent++/examples/bsc_test/src >
> agent
> 20030304.15:28:22: 3816: (1)EVENT  : main: SNMP listen
> port: (4700)
> 20030304.15:28:22: 3816: (1)DEBUG  : TaskManager: thread
> started
> 20030304.15:28:22: 3818: (1)DEBUG  : Thread: started
> (tid): (1026)
> 20030304.15:28:22: 3816: (1)DEBUG  : TaskManager: thread
> started
> 20030304.15:28:22: 3819: (1)DEBUG  : Thread: started
> (tid): (2051)
> 20030304.15:28:22: 3816: (1)DEBUG  : TaskManager: thread
> started
> 20030304.15:28:22: 3820: (1)DEBUG  : Thread: started
> (tid): (3076)
> 20030304.15:28:22: 3816: (1)DEBUG  : TaskManager: thread
> started
> 20030304.15:28:22: 3816: (3)DEBUG  : MibContext: adding
> MIB object
> (context)(oid): (), (1.3.6.1.2.1.1)
> 20030304.15:28:22: 3816: (3)DEBUG  : MibContext: adding
> MIB object
> (context)(oid): (), (1.3.6.1.6.3.13.1)
> Marke 01
> Segmentation fault
> systest at giraffe:~/henning/agent++/examples/bsc_test/src >
> 20030304.15:28:22:
> 3821: (1)DEBUG  : Thread: started (tid): (4101)
>
---------------------------------------------------------------------------------
> 
> 
> THX for answering!
> Bjoern Schorre
> 
> 
> 
> 
> 
> 
> 
> 
> 
>



More information about the AGENTPP mailing list