Ignore:
Timestamp:
Dec 15, 2010, 2:01:57 AM (10 years ago)
Author:
rme
Message:

When in batch mode, reset the signal action for SIGSEGV and SIGBUS
to the default before trying to print a backtrace in the lisp kernel
debugger. The idea is to avoid looping on "unhandled exception 11"
or whatever when trying to print out a trashed call stack.

Also print version information before the backtrace, so that we see
it if printing the backtrace fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/lisp-debug.c

    r14352 r14484  
    14211421    }
    14221422    debug_memory_areas(xp, info, 0);
     1423    debug_show_lisp_version(xp, info, 0);
    14231424    debug_backtrace(xp, info, 0);
    1424     debug_show_lisp_version(xp, info, 0);
    1425 
    14261425    abort();
    14271426  }
Note: See TracChangeset for help on using the changeset viewer.