threads/121336: lang/neko threading ok on UP, broken on SMP (FreeBSD 7)

Frank DENIS j at pureftpd.org
Mon Mar 3 23:00:04 UTC 2008


>Number:         121336
>Category:       threads
>Synopsis:       lang/neko threading ok on UP, broken on SMP (FreeBSD 7)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-threads
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 03 23:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank DENIS
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
42 Networks
>Environment:
System: FreeBSD chiffon.c9x.org 7.0-STABLE FreeBSD 7.0-STABLE #3: Sun Mar 2 12:45:50 CET 2008 root at chiffon.c9x.org:/usr/obj/usr/src/sys/SMP i386
>Description:
ports/lang/neko perfectly works on FreeBSD 7.0 as long as there is only one
core.

On a SMP system, it crashes with a corrupted stack as soon as it tries to
create a thread.

The behavior can be reproduced with vmware.
>How-To-Repeat:
- Install neko from ports
- Download ftp://ftp.c9x.org/misc/server.n
- Run neko server.n 0.0.0.0 1935
- Try curl -v http://127.0.0.1:1935
- crash on SMP, ok on UP.

>Fix:
Don't know.
Maybe boehm-gc releated.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-threads mailing list