Subject: lib/28486: ucontext broken on NetBSD/amd64 2.0
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <danw@NetBSD.org>
List: netbsd-bugs
Date: 12/01/2004 00:24:00
>Number:         28486
>Category:       lib
>Synopsis:       ucontext broken on NetBSD/amd64 2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 01 00:24:00 +0000 2004
>Originator:     Dan Winship
>Release:        2.0_RC5
>Organization:
>Environment:
NetBSD blorple.mysterion.org 2.0_RC5 NetBSD 2.0_RC5 (BLORPLE) #0: Sat Nov 27 11:49:29 EST 2004  root@blorple.mysterion.org:/usr/src/sys/arch/amd64/compile/BLORPLE amd64

>Description:
makecontext/swapcontext don't seem to work properly on NetBSD/amd64 2.0.

In particular, the sample program at
http://www.opengroup.org/onlinepubs/009695399/functions/makecontext.html

crashes after printing "start f1".
>How-To-Repeat:
Try to compile and run that test program
>Fix: