This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Segfault while unwinding an invalid function pointer
On Thu, Jan 31, 2008 at 08:36:02AM -0500, Jakub Jelinek wrote:
> On Thu, Jan 31, 2008 at 02:57:02PM +0100, Andi Kleen wrote:
> > > This seems to me like the cure is worse than the disease.
> >
> > Then you should document somewhere that the unwinder is racy in this
> > regard.
>
> Only for broken programs which munmap code pages which are still in use by
> some other thread. Big deal.
It's racy if you unmap the unwinder, too :-)
--
Daniel Jacobowitz
CodeSourcery