Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2008 23:30:32 +0100 (CET)
From:      Frank DENIS <j@pureftpd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   threads/121336: lang/neko threading ok on UP, broken on SMP (FreeBSD 7)
Message-ID:  <200803032230.m23MUW4G079898@chiffon.c9x.org>
Resent-Message-ID: <200803032300.m23N03ub085787@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803032230.m23MUW4G079898>