Simple "Hello World" Warp-based web server crashes on Ubuntu x86_64

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Wed Mar 2 00:59:19 UTC 2016


Hi,

> repro: internal error: ASSERTION FAILED: file rts/Schedule.h, line 137
> 
>     (GHC version 7.10.3 for x86_64_unknown_linux)
>     Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
> Aborted (core dumped)

I can reproduce this on my 64bit Mac.

But the code in https://github.com/anton-dessiatov/warp-ghc-issue is
very starange to me. Why do you use interal APIs such as
socketConnection runSettingsConnection? Why don't you use normal APIs
such as runSettingsSocket?

I guess your usage of the internal APIs triggers an infinite loop.

--Kazu


More information about the ghc-devs mailing list