From: Ormond, Randy (Randy.Ormond_at_[hidden])
Date: 2007-11-12 11:41:10
>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?
[mailto:boost-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Monday, November 12, 2007 9:52 AM
Subject: Re: [boost] [bind] segfault
Ormond, Randy <Randy.Ormond <at> mdnt.com> writes:
> 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?
> >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.
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?
Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk