Thank you for your answer. Will the following be updated as well ? The compilation of the dictionary of such a class as below fails whereas it worked with the previous version 3.03/05... Steve Generating dictionary FPPASimulTestCint... g++ `root-config --cflags` -c FPPASimulTestCint.cxx -o FPPASimulTestCint.o FPPASimulTestCint.cxx: In method `void rootbugtest::Streamer (TBuffer &)': FPPASimulTestCint.cxx:98: `R__t' undeclared (first use this function) FPPASimulTestCint.cxx:98: (Each undeclared identifier is reported only once for each function it appears in.) FPPASimulTestCint.cxx: In method `void rootbugtest::ShowMembers (TMemberInspector &, char *)': FPPASimulTestCint.cxx:117: cannot convert `const string *' to `void *' for argument `2' to `ROOT::GenericShowMembers (const char *, void *, TMemberInspector &, char *)' gmake: *** [FPPASimulTestCint.o] Error 1 #include "TObject.h" #include <string> class rootbugtest : public TObject { private: const string _name; // name public: rootbugtest() { } rootbugtest(const char* name) : _name(name) { } ClassDef(rootbugtest,1) }; Rene Brun wrote: >Hi Steve, > >This problem was fixed about 2 weeks ago in the development version in >CVS. Hope to come with 3.03/07 today or tomorrow > >Rene Brun > >On Wed, 17 Jul 2002, [ISO-8859-1] Stève Udriot wrote: > >>Hello, >> >>I am using root v3.03/06. >>I get a seg fault using TVectorD when I want to list the of methods >>beginning with D. I paste/copied the error message from gdb. >>Moreover, I get a seg fault when doing > TVectorD v(2); v.Draw(); It >>doesn't occur with TMatrixD... >> >>Best regards, >> >>Steve >> >> >>root [0] TVectorD v(2) >>root [1] v.D >>Draw >>Dictionary >>DeclFileName >>DeclFileLine >>Delete >>DistancetoPrimitive >>DrawClass >>DrawClone >>Dump >>root [1] v.Dr >>Program received signal SIGSEGV, Segmentation fault. >>[Switching to Thread 1024 (LWP 22130)] >>0x4015f59d in TClass::~TClass () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>(gdb) bt >>#0 0x4015f59d in TClass::~TClass () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#1 0x40c09f7d in TTabCom::Hook () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libRint.so >>#2 0x40c01671 in gl_root_tab_hook () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libRint.so >>#3 0x4019ed60 in Getlinem () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#4 0x40c01337 in TRint::HandleTermInput () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libRint.so >>#5 0x40c0057d in TTermInputHandler::Notify () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libRint.so >>#6 0x40c19ba4 in TTermInputHandler::ReadNotify () at >>../../gcc/gcc/cp/new.cc:41 >>#7 0x4019389a in TUnixSystem::CheckDescriptors () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#8 0x40192fdb in TUnixSystem::DispatchOneEvent () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#9 0x40136969 in TSystem::InnerLoop () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#10 0x401368d9 in TSystem::Run () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#11 0x400f4946 in TApplication::Run () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libCore.so >>#12 0x40c00ed0 in TRint::Run () from >>/localscratch/s/sudriot/LocalPrograms/root/lib/libRint.so >>#13 0x080487b7 in main () >>#14 0x40c97627 in __libc_start_main (main=0x8048734 <main>, argc=1, >>ubp_av=0xbfffd2d4, init=0x8048590 <_init>, fini=0x8048850 <_fini>, >>rtld_fini=0x4000dcc4 <_dl_fini>, >> stack_end=0xbfffd2cc) at ../sysdeps/generic/libc-start.c:129 >>(gdb) >> > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:00 MET