|
Boost : |
From: Ormond, Randy (Randy.Ormond_at_[hidden])
Date: 2007-11-12 11:41:10
Steven,
>It sound to me like an order of initialization problem.
>What version of boost are you using? Can you try
>stepping through the initializtion of the boost::function<...>
>and watching the value especially of the vtable?
I was deep into stepping through the initialization and noticed that gdb
was using two different funtion_template.hpp files ! I think there is
conflict between my projects installation of 1.34.1 and the
RedHat-supplied 1.32.0. Now to find someone here with root access...
Does that seem reasonable?
Thanks,
Randy
-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Monday, November 12, 2007 9:52 AM
To: boost_at_[hidden]
Subject: Re: [boost] [bind] segfault
AMDG
Ormond, Randy <Randy.Ormond <at> mdnt.com> writes:
>
> Steven,
>
> Thanks for the suggestions.
>
> >I don't see any recursion either. Does the simple example segfault?
> >Can you post a *complete* program?
>
> I wish I could.
>
> >Do these two variations segfault?
> >this->MyClass::f();
> >boost::bind(&MyClass::f, this)()
>
> Both of those are fine.
>
> There's a clue here that would help me if I were smart enough. The
> segfault goes away if I change the order of linking the object files.
> Maybe a duplicate symbol but I haven't found it yet.
>
> Thanks,
> Randy
It sound to me like an order of initialization problem.
What version of boost are you using? Can you try
stepping through the initializtion of the boost::function<...>
and watching the value especially of the vtable?
In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk