core dump generation

alversonalverson Dennis AlversonOrganization: Braxton TechnologiesProject: Orbital AnalysisMember
How do I get ICE to create a core dump when a seg fault occurs? I can see a service that is part of my app is causing a seg fault in the log file, i.e. SIGSEGV signal is being caught, but no core dump is created.

Comments

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Hi Dennis,

    It's a Unix configuration setting. On Linux, you can for example enable core dumps by using:
    $ ulimit -c unlimited
    

    If you are using IceGrid, it should be sufficient to enable core dumps in the environment where the IceGrid node is started and children processes created by the IceGrid node will also create core dumps.

    Cheers,
    Benoit.
  • alversonalverson Dennis AlversonOrganization: Braxton TechnologiesProject: Orbital AnalysisMember
    That worked. Thanks.
Sign In or Register to comment.