Open edgar-pek opened 8 years ago
Apparently the same location id is generated twice. This should not happen in general. Is it possible that the test you're running uses fork? I've taken a look to the sources for memcached-1.4.15 and a couple of files use fork:
daemon.c: switch (fork()) {
testapp.c: pid_t pid = fork();
testapp.c: child = fork();
timedrun.c: pid_t pid = fork();
timedrun.c: perror("fork");
I see, yes it could be that. Is there a simple way to generate a warning message if the program calls fork? That way we can rule out tests we know are out of scope.
Yes, I think I can do that easily... Let me try
re-test after PR #660 gets in master
@traiansf, @ericpts this one is deterministic -- can you please take a look when you get a chance? thank you.
memcached-bug.zip