Ask a Question related to UNIX Programming, Design and Development.
-
Chris Markle #1
how to print instr ptr from stack in signal handler?
Hi,
Want to catch SIGSEGV in a signal handler, print some meaningful info, then
let things proceed to core sump. Know how to do all this and have it
working, but the si_addr info on SIGSEGV notes the failing memory reference
address, which is interesting, but I'd like to see the failing _instruction_
address as well. Guess I have to go into the stack and dig it out and print
it... Anyone have experience in doing this on Linux 2.4.x with gcc/glibc?
Help/tips would be appreciated. tyia...
Chris
Chris Markle Guest
-
php equivalent to asp's instr()
Hmm... Are you sure strpos doesn't work for you? Sure worked for me when I wanted something like that Otherwise, checkout following:... -
Is there a way to print out the module stack when a perl file is executed?
Hi. I have a couple of perl files that are independent of each other. However, somehow the modules used in the first perl file prevent the second... -
InStr, substr, Mid ???
I have a field name "tracks" of string data type that has multiple names in it (for example: calder delaware$ aqueduct ), and I want to check to... -
Fast signal handler switching & thread-specific handler.
jek_bask@ngs.ru (Evgeny Baskakov) writes: This is quite likely to crash on at least some pthread implementations (especially if sigaltstack was... -
sig_atomic_t: from signal handler: set or access?
Hi, seeing in SUSv3: 1) ==={{{ functions/sigaction.html If the signal occurs other than as the result of calling abort(), kill(), or...



Reply With Quote

