Skip to content

Instantly share code, notes, and snippets.

@qpfiffer
Created January 13, 2015 02:53
Show Gist options
  • Save qpfiffer/860da8dc21369914e10c to your computer and use it in GitHub Desktop.
Save qpfiffer/860da8dc21369914e10c to your computer and use it in GitHub Desktop.
$ olegdb -config olegdb.conf
2015/01/13 02:52:02 Starting server...
2015/01/13 02:52:02 Listening on http://localhost:38080
Jan 13 02:52:06 [-] Have 2987 orphans to take care of.
Jan 13 02:52:06 [-] We now have 0 orphans not accounted for.
Jan 13 02:52:06 [x] (src/file.c:59: errno: Resource temporarily unavailable) Could not lock values file.
Jan 13 02:52:06 [x] (src/oleg.c:93: errno: None) Could not open values file.
2015/01/13 02:52:06 http: panic serving 127.0.0.1:38899: runtime error: invalid memory address or nil pointer dereference
goroutine 6 [running]:
net/http.func·009()
/usr/lib/go/src/pkg/net/http/server.go:1093 +0xae
runtime.panic(0x625b40, 0xad0248)
/usr/lib/go/src/pkg/runtime/panic.c:248 +0x106
sync.(*Mutex).Lock(0x0)
/usr/lib/go/src/pkg/sync/mutex.go:43 +0xf9
_/home/quinlan/src/OlegDB/frontend/goleg.Database.PrefixMatch(0x0, 0x0, 0x0, 0xc21000aa8b, 0x5, ...)
/home/quinlan/src/OlegDB/frontend/goleg/highlevel.go:86 +0x52
main.httpMatch(0x7fb6ee48c718, 0xc21000f780, 0xc21004f900, 0xc21000aa8b, 0x5, ...)
/home/quinlan/src/OlegDB/frontend/operations.go:104 +0x5c
main.handler(0x7fb6ee48c718, 0xc21000f780, 0xc210059820)
/home/quinlan/src/OlegDB/frontend/dispatcher.go:58 +0x4aa
net/http.HandlerFunc.ServeHTTP(0x6e5610, 0x7fb6ee48c718, 0xc21000f780, 0xc210059820)
/usr/lib/go/src/pkg/net/http/server.go:1220 +0x40
net/http.(*ServeMux).ServeHTTP(0xc21000a690, 0x7fb6ee48c718, 0xc21000f780, 0xc210059820)
/usr/lib/go/src/pkg/net/http/server.go:1496 +0x163
net/http.serverHandler.ServeHTTP(0xc21001e4b0, 0x7fb6ee48c718, 0xc21000f780, 0xc210059820)
/usr/lib/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc210062500)
/usr/lib/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/lib/go/src/pkg/net/http/server.go:1644 +0x28b
Jan 13 02:52:06 [-] Have 6033 orphans to take care of.
Jan 13 02:52:06 [-] We now have 0 orphans not accounted for.
Jan 13 02:52:06 [-] Have 12047 orphans to take care of.
Jan 13 02:52:06 [-] We now have 0 orphans not accounted for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment