Project

General

Profile

Actions

Bug #4241

closed

Missing cookie: WtInternalPath

Added by Lorenzo Iania almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/24/2015
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Koen Deforche almost 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

Actions #2

Updated by Benoit Daccache over 8 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF