Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCrash due to nil pointer access CompactionProcessor #368
Comments
This comment has been minimized.
This comment has been minimized.
|
@juliusv, can you give me an updated version of this trace? I don't think the stack trace matches up with the appropriate line in the source code now. |
This comment has been minimized.
This comment has been minimized.
|
@matttproud Yep, if I uncomment and run the problematic test case in the compaction regression tests now, I get this trace below. I once traced it all the way into the
|
This comment has been minimized.
This comment has been minimized.
|
Regarding the staleness of the keys, could you validate that by |
This comment has been minimized.
This comment has been minimized.
|
Well, I actually printed the raw Levigo keys as []bytes back then, and they definitely stayed the same after calling So it can't really be related to our DTO types built ontop, right? |
This comment has been minimized.
This comment has been minimized.
|
So I added debug statements again in this debug commit and uncommented the failing test: 498293f and now looking at that test crash trace, I'm actually not sure anymore whether that is the same bug as the one in this issue, or if it's yet another one, since this time the iterator keys don't exhibit said problem (actually it doesn't Prev() at all before the crash) and the crash trace looks different. So could be this is an unrelated crash bug, or one caused by the same underlying problem, but looking a bit different.
|
This comment has been minimized.
This comment has been minimized.
|
Hm, as it looks similar, I'll paste another stacktrace here:
|
This comment has been minimized.
This comment has been minimized.
|
Was able to reproduce the Next/Prev bug and actually traced it to this upstream LevelDB bug: https://code.google.com/p/leveldb/issues/detail?id=200 This is fixed in the latest LevelDB release (1.14.0). I'm working on switching to that. |
juliusv
added a commit
that referenced
this issue
Dec 2, 2013
juliusv
added a commit
that referenced
this issue
Dec 2, 2013
juliusv
closed this
in
6b7de31
Dec 3, 2013
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 25, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedOct 17, 2013
A set of Prometheus instances were crashing during compaction with this error: