Bug #4241
closedMissing cookie: WtInternalPath
0%
Description
Hi,
I have a strange problem in FreeBSD environment . I had no problem to compile and install wt , as indeed I have already done on other systems in Freebsd . This time, however, it always happens that applications crash with the message :
terminate called after throwing an instance of 'std::runtime_error'
what(): Missing cookie: WtInternalPath
Abort trap: 6 (core dumped)
I tried to recompile everything, including the library boost libharu etc. , upgrading the OS from 9.1 to 9.3, but the result is always the same . I also tried to import from a working system , dynamic libraries wt , but the result is the same: as soon as a client trying to connect to the door , the program crashes.
Updated by Koen Deforche over 9 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
- Target version set to 3.3.5
Hey,
The origin of the code is this:
try {
std::string internalPath = env_->getCookie("WtInternalPath");
env_->setInternalPath(internalPath);
} catch (std::exception& e) {
}
For some reason, your std::runtime_error does not seem to be a std::exception.
Perhaps you can see if this actually works correctly in a small standalone test case to test your stdandard library, compiler and compile flags?
Koen
Updated by Benoit Daccache about 9 years ago
- Status changed from Feedback to Closed