Skip to content
Snippets Groups Projects
Commit 700c3d26 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

From John Marraffino:

1.  DispatchSignals(sig)
    Replace call to Abort(-1) with a call to Exit(sig) to
    allow CMSSW to flush buffers, close files and clean up
    after a fatal error.

2.  StackTrace()
    Enlarge string field widths to accommodate long function
    signatures for demangling.

    Enable use of GNU script, gstack, if available. Replace
    incorrect sed script in gstack. Modified gstack is available
    as $ROOTSYS/etc/gdb-backtrace.sh.

    Increase sizes of buffers for calls to and responses from
    the addr2line and cppfilt functions.

    The addr2line function doesn't know about paths so every
    library or executable name passed to it must include a full
    path. This is automatic for shared libraries. On the other
    hand, for main programs specified without a path, send
    `which main` and let the shell expand the name for us.

    For shared libraries, addr2line wants an offset into the
    file.  For main programs, it wants the absolute virtual
    address. Distinguish between these two cases and send
    the correct address.


git-svn-id: http://root.cern.ch/svn/root/trunk@17026 27541ba8-7e3a-0410-8455-c3a389f83636
parent e04e5b36
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment