bug-libsigsegv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-libsigsegv] sigsegv on s390 only giving start address of page in se


From: Christoph Egger
Subject: [bug-libsigsegv] sigsegv on s390 only giving start address of page in segv handler
Date: Sun, 06 Mar 2011 20:10:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/kfreebsd)

Hi!

    libsigsegv doesn't cope well with s390 at the moment. This is caused
by the fact, that linux masks the address for sigsegv:

  mm/fault.c:#define __FAIL_ADDR_MASK 0x7ffff000

So the last 12 bit of information are lost. Forcing libsigsegv to use
POSIX signal handlers othewise makes a library that passes all the tests
apart from the exact fault location.

Now I'm wondering of software depending on libsigsegv won't work on s390
or maybe the correct page is still enough information for dependencies
like clisp to work -- in that case a "fix" would be rather easy.

Regards

    Christoph

Attachment: pgpRoHawFNG9X.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]