Hi all,
Following piece of code is crashing for us on Sol86 with
Forte 11 compiler and stlport. Let me know if someone has
any idea about this.
SunOS insol8614 5.10 Generic_118855-33 i86pc i386 i86pc
CC: Sun C++ 5.8 Patch 121018-11 2007/05/02
int main()
{
using namespace std;
const std::string s("Test..................\n") ;
ofstream file("hello.gz", ios::binary);
boost::iostreams::filtering_ostream ofilter;
ofilter.push(boost::iostreams::gzip_compressor()) ;
ofilter.push(file);
boost::archive::binary_oarchive oar(ofilter) ;
oar << s;
}
Here is the stack trace.
std::basic_streambuf::pubsync(0x8046730)
boost::iostreams::detail::flush_device_implboost::iostreams::ostream_tag::flush >(t = CLASS)
boost::iostreams::flush >(t = CLASS)
boost::iostreams::detail::close_implboost::iostreams::any_tag::close >(t = CLASS, which = 24)
boost::iostreams::close > >(t = CLASS, which = 24)
boost::iostreams::detail::mode_adapter >::close(this = 0x80f56d8, which = 24)
boost::iostreams::detail::close_implboost::iostreams::closable_tag::close > >(t = CLASS, which = 16)
boost::iostreams::close > >(t = CLASS, which = 16)
boost::iostreams::detail::device_wrapper_implboost::iostreams::any_tag::close >,boost::iostreams::detail::linked_streambuf >(dev = CLASS, _ARG2 = (nil), which = 16)
boost::iostreams::detail::concept_adapter > >::close >(this = 0x80f56d8, which = 16, dev = (nil))
boost::iostreams::detail::indirect_streambuf >,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::close(this = 0x80f56a0, which = 16)
boost::iostreams::detail::chain_base,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::close(b = 0x80f56a0, m = 16)
boost::iostreams::detail::chain_base,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::closer::operator()(this = 0x8046470, b = 0x80f56a0)
std::for_each*,std::_Nonconst_traits*> >,boost::iostreams::detail::chain_base,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::closer>(__first = STRUCT, __last = STRUCT, __f = STRUCT)
boost::iostreams::detail::chain_base,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::chain_impl::close(this = 0x80b13e0)
boost::iostreams::detail::chain_base,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::chain_impl::~chain_impl(this = 0x80b13e0)
boost::checked_delete,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::chain_impl>(x = 0x80b13e0)
boost::detail::sp_counted_impl_p,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::chain_impl>::dispose(this = 0x80b26a8)
boost::detail::sp_counted_base::release(this = 0x80b26a8)
boost::detail::shared_count::~shared_count(this = 0x80466c8)
boost::shared_ptr,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::chain_impl>::~shared_ptr(0x80466c4)
boost::iostreams::detail::chain_base,char,std::char_traits<char>,std::allocator<char>,boost::iostreams::output>::~chain_base(0x80466c4)
boost::iostreams::chain::~chain(0x80466c4)
boost::iostreams::detail::filtering_stream_base,boost::iostreams::public_>::~filtering_stream_base(0x80466b8, 0x80b07b4)
boost::iostreams::filtering_stream::~filtering_stream(this = 0x80466b8)
main()