From: Matej S. <mat...@co...> - 2011-06-05 08:33:36
|
> It never returns from > channelGetRequester->channelGetConnect( > Status::OK, > getPtrSelf(), > pvTop, > bitSet); You call getPtrSelf(), i.e. shared_from_this(), in constructor, when nobody owns shared_pointer to the instance being constructed. This throws an exception (so actually channelGetConnect gets never called). This is also reported: $ ./bin/darwin-x86/pvget exampleChannel [exampleChannel] failed to create channel get: Status [type=FATAL, message=tr1::bad_weak_ptr] You must all channelGetConnect() later. Matej |