Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2009 08:38:32 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r199136 - in head/sys: kern sys
Message-ID:  <87148C88-A068-4512-845C-F72FE190F4B5@mac.com>
In-Reply-To: <200911101146.nAABksqs058013@svn.freebsd.org>
References:  <200911101146.nAABksqs058013@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 10, 2009, at 3:46 AM, Konstantin Belousov wrote:

>  Also, for ia64, due to different registers layout for those two kind of
>  frames, usermode sigsegfaulted when returned from signal handler.

Actually, the problem was caused by sigsuspend() returning EINTR,
which causes the trapframe to be updated with the error code and
thereby clobbering the same registers in the trapframe that are
used for hand-off to the signal handler. The kernel was jumping
to the signal handler at address 4 (=EINTR).

In any case: thanks for your exemplary co-operation in resolving
the issue!

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87148C88-A068-4512-845C-F72FE190F4B5>