[MPlayer-dev-eng] [PATCH] fix scaler on 64 bit
Rich Felker
dalias at aerifal.cx
Sat May 6 19:22:20 CEST 2006
On Sat, May 06, 2006 at 03:56:47AM +0300, Uoti Urpala wrote:
> On Sat, 2006-05-06 at 02:34 +0200, Michael Niedermayer wrote:
> > ideg, i hate linux, why on earth are signal handlers using the normal
> > stack?! its idiotic, if a program crashes i dont want to have something
> > random written at a random memory address but want to see the unmodified
> > stack ...
> > anyway ill try to remove esp usage, i was unaware that signal handlers
> > use the "user stack" ....
>
> You can specify another stack address with sigaltstack(). You need to
> specify use of that stack address for each signal handler individually
> though. I haven't used it myself and do not know whether you can
> guarantee that the usual stack address won't be used for anything.
Yes, the problem is that it has to be done individually for each
signal caught, and so library code can't very well ensure that this
will be the case without excessively interfering with the calling
program... :(
Rich
More information about the MPlayer-dev-eng
mailing list