Are you running under z/VM? If so, use #CP TR STOR INTO <address>.<length>
to trap overwriting of the area in question.

> -----Original Message-----
> The first mprotect() is to allow the jump tables to be
> rewritten by the
> run-time linker.  The second is to protect the text segment
> so that nobody
> overwrites the pointer tables.  Well, the pages are not protected, and
> somebody is overwriting the page under some very rare set of
> circumstances
> under select(), but I can't see who is doing it.  Using hardware
> watchpoints under gdb does not reveal the offending instruction, the
> watchpoint was not caught.  This is a bit of a mystery, as hardware
> watchpoints do work under gdb on 390, but the attempt to
> watch a particular
> address within the jump table did not result in any trap when
> the value
> changed.

Reply via email to