|
From: Tom H. <to...@co...> - 2005-11-12 18:50:51
|
In message <414...@lo...>
Tom Hughes <to...@co...> wrote:
> In message <2a2...@ma...>
> Paul Pluzhnikov <ppl...@gm...> wrote:
>
> > $ /usr/local/valgrind-3.0.svn/bin/valgrind -q --trace-signals=yes ./a.out
> > --30170-- Max kernel-supported signal is 64
> > --30170-- signal 11 arrived ... si_code=196609, EIP=0x4EACC1EC,
> > eip=0x477DC95
> > --30170-- SIGSEGV: si_code=196609 faultaddr=0xFEF88EC0 tid=1 ESP=0xFEF88EC0
> > seg=0xFE78A000-0xFEF88FFF
>
> The si_code value is bogus (0x30001) so it doesn't realise it
> needs to extend the stack. This is the bug we discussed on the
> developer list last night but we thought it was a ppc specific
> bug. Obviously it affects all 2.4 kernels of a certain vintage.
Try this patch - it tweaks our signal handlers to discard anything
in the top half of the si_code value on linux as the kernel is
supposed to have masked that off already.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|