dido/arcueid — Issue #34: Threaded server pattern crashes Arcueid
Author: dido
Created: 2012-02-05 07:10:58+00:00
State: open

Simple threaded server code
```arc
(def doreq (s)
(let (i o ip) (socket-accept s)
(thread
(let e (w/stdin i (read))
(w/stdout o (prn (eval e))))
(close i)
(close o))))

(w/socket s 8080 (while t (doreq s)))
```
This works fine with reference Arc. Arcueid segfaults with a double free/corruption error.