Oof, I sent you something but I've kept looking through it.
when eq::getConfig() calls
new Server
RefPtr<eq::Server>::RefPtr
RefPtr<eq::Server>::ref()
Atomic<long>::operator++
p &_value
and
p &server._ptr._refCount._value
are the same.
in eqOsirix they are not. In fact, p &_value changes every time
RefPtr<>::ref() is called. (0x3801888, 0x3801884) vs p
&server._ptr._refCount._value (0x380184c)
eq::getConfig() also calls checkHeap.
But those are the only differences I can find.
When I create eq::base::RefPtr<eqOsirix::EqOsirix>,
&client._ptr._refCount._value and &_value are the same. (0x1801688)
I have no idea why this would be the case. In the Xcode debugger the
value for _refCount is labeled as {...} which I can't find a
definition for, since it's not a searchable term.
I'm tempted to start over, throw out all the Osirix stuff, get a
carbon copy of eqPly working, and add stuff in until it breaks to
figure out exactly what is going wrong.
Thanks,
-Stephen
On Apr 15, 12:24 pm, Stefan Eilemann <[email protected]> wrote:
> On Thu, Apr 15, 2010 at 4:08 PM, Stephen Furlani
>
> <[email protected]> wrote:
> > Thanks, I really appreciate the help.
>
> > here's eq::getConfig() ...
> > I hope that's what you're looking for.
>
> Yes, but unfortunately it looks ok-ish.
>
> I guess you'll have to find the reason for the missing refCount
> increment, stepping through the debugger and understanding what's
> going on by looking at the variables and their addresses.
>
> If you can create a small reproducer that I can easily compile on my
> end, I can have a look as well.
>
> HTH,
>
> Stefan.
>
> _______________________________________________
> eq-dev mailing list
> [email protected]http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-devhttp://www.equalizergraphics.com
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com