Boost logo

Boost Users :

From: Timothy Barrett (timothy.barrett_at_[hidden])
Date: 2008-08-26 10:53:29


Forgive the previous incomplete post. I am working with boost-1_34_1 on
redhat EL4 update 5.

My backtrace is:
#0 0x56e58955 in ?? ()
#1 0xb7fd55f5 in boost::function0<void,
std::allocator<boost::function_base> >::assign_to_own (this=0xb7eda390,
f=@0xbffff770)
    at ./boost/function/function_template.hpp:647
#2 0xb7fd5081 in function0 (this=0xb7eda390, f=@0xbffff770) at
./boost/function/function_template.hpp:527
#3 0xb7fd3f1c in thread_proxy (param=0xbffff6d0) at
libs/thread/src/thread.cpp:106
#4 0x00a3b3cc in start_thread () from /lib/tls/libpthread.so.0
#5 0x008b2c3e in clone () from /lib/tls/libc.so.6

Which my gdb debug session seems to point to the following:
        m_thread = boost::shared_ptr<boost::thread> (new boost::thread(
boost::bind( &CMrcpTaskProcessor::ProcessTasks, this)));

Regards,

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Peter Dimov
Sent: Tuesday, August 26, 2008 10:46 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [function?] exception in assign_to_own,was:
(no subject)

Timothy Barrett:

> I have been using the boost libraries for a number of years on non
linux
> platforms. Recently began developing on redhat EL4 and am running
into an
> issue not seen with my library on other OS platforms. I'm getting an
> exception in assign_to_own. I have read the previous note on this
issue
> in the forum but do not believe the make file for my application or
for
> the library application are the cause of the exception. Any pointers
on
> how to track down and resolve this issue?

What version of Boost are you using? What exception do you get? Can you
post
a backtrace? (I assume 'assign_to_own' comes from boost::function.)

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net