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

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


> 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:
> Aborted (core dumped)

I can reproduce this on my 64bit Mac.

But the code in 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.


More information about the ghc-devs mailing list