RejectedSoftware Forums

Sign up

Range Violation

When I tried to reply to a thread (in the main group) I got the following error. I hope this helps:

500 - Internal Server Error

Internal Server Error

Internal error information:
core.exception.RangeError@vibenews.web(273): Range violation
----------------
./vibenews(_d_array_bounds+0x26) [0x876772]
./vibenews() [0x6a70d5]
./vibenews(void vibenews.web.WebInterface.showPostArticle(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x113) [0x6a3b4b]
./vibenews(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x6b92d1]
./vibenews(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x1795) [0x6ae4cd]
./vibenews(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x12b) [0x6acc4b]
./vibenews(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 __lambda91(vibe.core.net.TCPConnection)+0x2c) [0x6a8f24]
./vibenews(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2d6) [0x6c84ee]
./vibenews(void vibe.core.core.CoreTask.run()+0xf5) [0x6d4dbd]
./vibenews(void core.thread.Fiber.run()+0x2a) [0x8a7c06]
./vibenews(fiber_entryPoint+0x61) [0x8a7b11]
[(nil)]

(The server seemed to be confused about whether I was logged in or not, perhaps that helps. Also, my Internet connection is currently kind of flaky)

Re: Range Violation

On Sat, 28 Dec 2013 01:02:07 GMT, Luís Marques wrote:

When I tried to reply to a thread (in the main group) I got the following error. I hope this helps:

500 - Internal Server Error

Internal Server Error

Internal error information:
core.exception.RangeError@vibenews.web(273): Range violation
----------------
./vibenews(_d_array_bounds+0x26) [0x876772]
./vibenews() [0x6a70d5]
./vibenews(void vibenews.web.WebInterface.showPostArticle(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x113) [0x6a3b4b]
./vibenews(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x6b92d1]
./vibenews(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x1795) [0x6ae4cd]
./vibenews(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x12b) [0x6acc4b]
./vibenews(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 __lambda91(vibe.core.net.TCPConnection)+0x2c) [0x6a8f24]
./vibenews(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2d6) [0x6c84ee]
./vibenews(void vibe.core.core.CoreTask.run()+0xf5) [0x6d4dbd]
./vibenews(void core.thread.Fiber.run()+0x2a) [0x8a7c06]
./vibenews(fiber_entryPoint+0x61) [0x8a7b11]
[(nil)]

(The server seemed to be confused about whether I was logged in or not, perhaps that helps. Also, my Internet connection is currently kind of flaky)

Thanks, it's already recorded as #11. I'll see what can best be done about it (easiest fix is probably to always make the "group" and "reply-to" parameters part of the query string). What would definitely be nice would be to also keep any partially written message after logging in, but that is a bit more involved.