This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING][PATCH] Segfault while unwinding an invalid function pointer


Pete Eberlein writes:
 > This patch, which fixes a segfault problem when generating a backtrace 
 > from signal handler called as a result of a invalid function pointer 
 > call, has not yet been reviewed:
 > 
 > http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00594.html

I suspect the reason for this is that everybody hates it but nobody
can think of a better way to do the same thing.  The idea of trapping
in the kernel via a write(2) call is clever, but it's also very
heavyweight.  I also agree with all of Pinski's objections.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]