Question about trap
- From: Pete <Peter_Flass@xxxxxxxxx>
- Date: Thu, 25 Feb 2010 09:06:44 -0800 (PST)
I'm a new poster here, but this question would seem to be on-topic.
I have a program which is generating integer overflow and trapping it
with the INTO instruction.
After a lot of experimentation I find that Linux (both the 2.4 and 2.6
kernels) is generating a SIGSEGV signal with error_code=128. This
doesn't seem to make a lot of sense to me. I've tried looking at the
kernel source to find out what it's actually doing, but these bits of
code are even more obscure than most. I'm hoping someone here knows
why this is happening and whether the 128 is a specific code or a
stand-in for a generic error.
Thanks.
.
- Follow-Ups:
- Re: Question about trap
- From: David Schwartz
- Re: Question about trap
- From: Lew Pitcher
- Re: Question about trap
- Prev by Date: use kernel timer
- Next by Date: Re: Question about trap
- Previous by thread: use kernel timer
- Next by thread: Re: Question about trap
- Index(es):