Skip to content

Instantly share code, notes, and snippets.

@crisward
Created August 27, 2016 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crisward/f2a93c185ed793a1a1dc6da530457efa to your computer and use it in GitHub Desktop.
Save crisward/f2a93c185ed793a1a1dc6da530457efa to your computer and use it in GitHub Desktop.
crystal db exception
Exception: end of file reached (IO::EOFError)
[4340973938] *CallStack::unwind:Array(Pointer(Void)) +82
[4340973841] *CallStack#initialize:Array(Pointer(Void)) +17
[4340973800] *CallStack::new:CallStack +40
[4340944489] *raise<Exception+>:NoReturn +25
[4341592831] *DB::Database@DB::QueryMethods#query<String, String>:MySql::ResultSet +143
[4341685147] *Pages#from_path<String>:(Page | Nil) +43
[4341636559] *Pages#render_path<HTTP::Server::Context>:(Int32 | String | Nil) +287
[4340948641] ~procProc(HTTP::Server::Context, (Int32 | String | Nil))@./src/crystal2.cr:26 +33
[4340947973] ~proc3Proc(HTTP::Server::Context, String)@./libs/kemal/kemal/route.cr:11 +101
[4341546253] *Kemal::RouteHandler#process_request<HTTP::Server::Context>:HTTP::Server::Context +125
[4341546121] *Kemal::RouteHandler#call<HTTP::Server::Context>:HTTP::Server::Context +9
[4341764111] *Kemal::StaticFileHandler@HTTP::Handler#call_next<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +527
[4341767195] *Kemal::StaticFileHandler@HTTP::StaticFileHandler#call<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +1403
[4341763499] *Kemal::StaticFileHandler#call<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +107
[4341762384] *Kemal::CommonExceptionHandler@HTTP::Handler#call_next<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +1136
[4341760412] *Kemal::CommonExceptionHandler#call<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +44
[4341758950] *Kemal::CommonLogHandler@HTTP::Handler#call_next<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +678
[4341744836] *Kemal::CommonLogHandler#call<HTTP::Server::Context>:HTTP::Server::Context +68
[4341544026] *Kemal::InitHandler@HTTP::Handler#call_next<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +794
[4341543200] *Kemal::InitHandler#call<HTTP::Server::Context>:(Bool | HTTP::Server::Context | HTTP::Server::Response | HTTP::Server::Response::Output | IO::FileDescriptor+ | Int32 | Nil) +144
[4341772126] *HTTP::Server::RequestProcessor#process<(OpenSSL::SSL::Socket::Server | TCPSocket+), (OpenSSL::SSL::Socket::Server | TCPSocket+), IO::FileDescriptor>:Nil +894
[4341771221] *HTTP::Server::RequestProcessor#process<(OpenSSL::SSL::Socket::Server | TCPSocket+), (OpenSSL::SSL::Socket::Server | TCPSocket+)>:Nil +53
[4341770927] *HTTP::Server#handle_client<(TCPSocket+ | Nil)>:Nil +127
[4340952790] ~procProc(Nil)@/Users/cris/bin/crystal-0.18.7-1/src/http/server.cr:146 +22
[4340971178] *Fiber#run:(Int64 | Nil) +170
[4340922981] ~proc2Proc(Fiber, (Int64 | Nil))@/Users/cris/bin/crystal-0.18.7-1/src/fiber.cr:28 +21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment