Strange problem


I have a strange problem. I compiled root on my fedora core 4 machine running gcc 4.0.2,

Then , I added the -L/opt/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -pthread -lm -ldl -rdynamic to my makefile of my program in which I want to include a TTree (remark, I did not add any root code to the program yet). The program compiles fine, but at run time, it crashes (see output at the end of the message)
The program uses qt extensively, that it the only thing I can see. For the rest it is normal C++.
Does anyone have an idea?

Thanks a lot


*** Break *** segmentation violation
Generating stack traceā€¦
0x06d9886c in memcpy + 0x1c from /lib/
0x04e41fb6 in std::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_clone(std::allocator const&, unsigned int) + 0x96 from /usr/lib/
0x04e3f01b in std::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_grab(std::allocator const&, std::allocator const&) + 0x4b from /usr/lib/
0x04e403c3 in std::basic_string<char, std::char_traits, std::allocator >::assign(std::basic_string<char, std::char_traits, std::allocator > const&) + 0x73 from /usr/lib/
0x04e378f0 in std::basic_stringbuf<char, std::char_traits, std::allocator >::overflow(int) + 0xb0 from /usr/lib/
0x04e3d974 in std::basic_streambuf<char, std::char_traits >::xsputn(char const*, int) + 0x94 from /usr/lib/
0x04e326b3 in std::basic_ostream<char, std::char_traits >& std::operator<< <char, std::char_traits, std::allocator >(std::basic_ostream<char, std::char_traits >&, std::basic_string<char, std::char_traits, std::allocator > const&) + 0xe3 from /usr/lib/
0x00d40e24 in TClassEdit::ResolveTypedef(char const*, bool) at TClassEdit.cxx:0 from /Storage/opt/root/lib/
0x00c7786e in TROOT::GetClass(char const*, bool) const + 0x82 from /Storage/opt/root/lib/
0x00cbd318 in TCint::UpdateClassInfo(char*, long) + 0x382 from /Storage/opt/root/lib/
0x00cb976e in TCint_UpdateClassInfo + 0x1e from /Storage/opt/root/lib/
0x07c5ae26 in G__get_linked_tagnum + 0x63 from /Storage/opt/root/lib/
0x00c28008 in G__cpp_setup_tagtableManualBase4 + 0x22 from /Storage/opt/root/lib/
0x00c28078 in G__cpp_setupManualBase4 + 0x34 from /Storage/opt/root/lib/
0x07c4d0d8 in G__call_setup_funcs + 0x44 from /Storage/opt/root/lib/
0x00c2821b in G__cpp_setup_initManualBase4::G__cpp_setup_initManualBase4() + 0x31 from /Storage/opt/root/lib/
0x00c280db in from /Storage/opt/root/lib/
0x00c2813d in from /Storage/opt/root/lib/
0x00f8bb49 in from /Storage/opt/root/lib/
0x00c0cde5 in from /Storage/opt/root/lib/
0x00b30dcb in from /lib/
0x00b30eca in from /lib/
0x00b237cf in from /lib/

Could you send the shortest possible setup that we can use to reproduce your problem?