PM82904: SIGSEGV not caught by signalhandler when using fprintf

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as unreproducible in next release.

Error description

  • We have a software that uses the Rhapsody OXF framework with the
    Cygwin Environment on Windows.
    The Application uses multithreading and does extensive logging
    to a file with fprintf() (from a single thread).
    In case of a software failure we would like to write the
    buffered log information to the file, close it properly and do
    some hardware settings.
    For this reason we have implemented our own signalhandler which
    is registered with the system via the sigaction() call.
    Everything seems to work fine, except that crashes in certain
    areas of the software are sometimes not caught by the handler.
    To find the cause, we set up a test project, first in Rhapsody
    and later in Eclipse.
    We found out that we're having trouble capturing hardware
    exceptions/signals when fprintf() is used in certain areas of
    the software. In this case the signalhandler is not called and
    the software crashes immediately.
    Using streams seems to work but could not be tested extensively.
    Within a plain Eclipse project (no Rhapsody framework)
    everything works fine, so the assumption is that it has
    something to do with the framework.
    

Local fix

Problem summary

  • SIGSEGV not caught by signalhandler when using fprintf
    

Problem conclusion

  • This defect is not reproducible.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM82904

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-02-15

  • Closed date

    2013-12-12

  • Last modified date

    2013-12-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R761 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Rhapsody

Software version:

761

Reference #:

PM82904

Modified date:

2013-12-12

Translate my page

Machine Translation

Content navigation