RejectedSoftware Forums

Sign up

registry.vibed.org is down

500 - Internal Server Error

Internal Server Error

Internal error information:
core.exception.AssertError@std.algorithm(1849): Assertion failure

./dub-registry(dassertm+0x26) [0x73b396]
./dub-registry() [0x74acd6]
./dub-registry(pure nothrow @trusted void std.algorithm.swap!(vibe.data.json.Json).swap(ref vibe.data.json.Json, ref vibe.data.json.Json)+0x6b) [0x5f5007]
./dub-registry(pure nothrow @safe void std.algorithm.swapAt!(vibe.data.json.Json[]).swapAt(vibe.data.json.Json[], ulong, ulong)+0x86) [0x5f73e2]
./dub-registry(void dubregistry.web.DubRegistryWebFrontend.showHome(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse).pure ulong T8getPivotS14111dubregistry3web22DubRegistryWebFrontend8showHomeMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv10lambda19TAS4vibe4data4json4JsonZ.getPivot(vibe.data.json.Json[])+0x2be) [0x5f7346]
./dub-registry(void dubregistry.web.DubRegistryWebFrontend.showHome(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse).void T13quickSortImplS14111dubregistry3web22DubRegistryWebFrontend8showHomeMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv10lambda19TAS4vibe4data4json4JsonZ.quickSortImpl(vibe.data.json.Json[])+0x34) [0x5f6e1c]
./dub-registry(D11dubregistry3web22DubRegistryWebFrontend8showHomeMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv208T4sortS14111dubregistry3web22DubRegistryWebFrontend8showHomeMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv10lambda19VE3std9algorithm12SwapStrategy0TAS4vibe4data4json4JsonZ4sortMFAS4vibe4data4json4JsonZS11dubregistry3web22DubRegistryWebFrontend8showHomeMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv185T11SortedRangeTAS4vibe4data4json4JsonS14111dubregistry3web22DubRegistryWebFrontend8showHomeMFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv10lambda19Z11SortedRange+0x2a) [0x634f26]
./dub-registry(void dubregistry.web.DubRegistryWebFrontend.showHome(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x17f) [0x63320b]
./dub-registry(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x6483b1]
./dub-registry(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, immutable(char)[], vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x16b0) [0x63e474]
./dub-registry(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x146) [0x63ccfe]
./dub-registry(void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings, void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)).void doListen(vibe.http.server.HTTPServerSettings, vibe.http.server.HTTPServerListener, immutable(char)[]).void
lambda50(vibe.core.net.TCPConnection)+0x2c) [0x63968c]
./dub-registry(extern (C) nothrow void vibe.core.drivers.libevent2
tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2d3) [0x654d67]
./dub-registry(void vibe.core.core.CoreTask.run()+0xee) [0x65e19e]
./dub-registry(void core.thread.Fiber.run()+0x2a) [0x7640ee]
./dub-registry(fiber_entryPoint+0x61) [0x764001]
[(nil)]

Re: registry.vibed.org is down

On Wed, 24 Apr 2013 22:30:41 GMT, 0b1100110 wrote:

500 - Internal Server Error

Internal Server Error

Internal error information:
core.exception.AssertError@std.algorithm(1849): Assertion failure
(...)

Hm, this is obviously a bug/limitation in std.algorithm.swap, which thinks that two Json objects reference each other and then refuses to swap them. In fact, they don't reference each other and also could be swapped using simple assignments, even if they would have aliasing (this(this) could for example fix that).

I have absolutely no idea why it suddenly occurs and will look for a workaround.

Thanks for the notification!

Re: registry.vibed.org is down

Works again: https://github.com/rejectedsoftware/vibe.d/commit/b6afee08a84ef45d030c17c59f97bb7ce9e81f95

Re: registry.vibed.org is down

( Coughs in embarrassment and points over there ) >> dub-registry.github.com