Hi, I have now tried this on three different Installations of Debian-Woody (=stable) and all show the same behaviour. Is someone here who uses Debian-Woody (x86) and is able to do what's outlined in my mail below without root crashing? Chris On Thu, May 27, 2004 at 01:16:53PM +0200, Christian Vogel wrote: > using root-4.00.03 and 04, compiled with gcc-3.3 or gcc-2.95 > I get a fatal error after saving a postscript file, the moment > when TPostScript is being destroyed. To reproduce: > > TF1 f("sin(x)","sin(x)"); > f.Draw(); > MENU: File -> Save As -> c1.ps > > or... > > TPostScript *ps = new TPostScript("test.ps") > TF1 f("sin(x)","sin(x)"); > f.Draw(); > delete ps; > > This is on Linux/x86, debian-woody. > > Chris > > > chris@pi2105:~$ root > > ******************************************* > > * * > > * W E L C O M E to R O O T * > > * * > > * Version 4.00/04 27 May 2004 * > > * * > > * You are welcome to visit our Web site * > > * http://root.cern.ch * > > * * > > ******************************************* > > FreeType Engine v2.1.3 used to render TrueType fonts. > > Compiled for linux with thread support. > > CINT/ROOT C/C++ Interpreter version 5.15.133, Apr 18 2004 > > Type ? for help. Commands must be C++ statements. > > Enclose multiple statements between { }. > > root [0] TPostScript *ps = new TPostScript("test.ps") > > root [1] TF1 f("sin(x)","sin(x)"); > > root [2] f.Draw(); > > <TCanvas::MakeDefCanvas>: created default TCanvas with name c1 > > root [3] delete ps; > > Fatal in <operator delete>: storage area overwritten > > aborting > > Generating stack trace... > > /usr/bin/addr2line: rootn.exe: No such file or directory > > /usr/bin/addr2line: rootn.exe: No such file or directory > > 0x40026746 in __builtin_vec_delete + 0x1e from /usr/opt/root/lib/root/libNew.so.4.00 > > 0x401b9613 in TVirtualPS::~TVirtualPS(void) + 0x57 from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x419f49e2 in TPostScript::~TPostScript(void) + 0x66 from /usr/opt/root-4.00.04/lib/root/libPostscript.so > > 0x41a09280 in <unknown> from /usr/opt/root-4.00.04/lib/root/libPostscript.so > > 0x4079da2e in G__call_cppfunc + 0x28a from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x4078c29a in G__interpret_func + 0x7ea from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x407720a9 in G__getfunction + 0x17b5 from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x4079cd48 in G__delete_operator + 0x2fc from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x407b5f85 in G__exec_delete + 0x55 from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x407bc6c7 in G__exec_statement + 0x1b07 from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x4074bb88 in G__exec_tempfile_core + 0x2b4 from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x4074bd4d in G__exec_tempfile_fp + 0x25 from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x407c6717 in G__process_cmd + 0x5143 from /usr/opt/root/lib/root/libCint.so.4.00 > > 0x401da8f0 in TCint::ProcessLine(char const *, TInterpreter::EErrorCode *) + 0xac from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x4014e88e in TApplication::ProcessLine(char const *, bool, int *) + 0x5ce from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x410bcbca in TRint::HandleTermInput(void) + 0x1ea from /usr/opt/root/lib/root/libRint.so.4.00 > > 0x410bbc12 in TTermInputHandler::Notify(void) + 0x2a from /usr/opt/root/lib/root/libRint.so.4.00 > > 0x410bd339 in TTermInputHandler::ReadNotify(void) + 0x25 from /usr/opt/root/lib/root/libRint.so.4.00 > > 0x40243f19 in TUnixSystem::CheckDescriptors(void) + 0xf5 from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x40243681 in TUnixSystem::DispatchOneEvent(bool) + 0x105 from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x401a6d47 in TSystem::InnerLoop(void) + 0x2f from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x401a6ccb in TSystem::Run(void) + 0x6f from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x4014f2b3 in TApplication::Run(bool) + 0x33 from /usr/opt/root/lib/root/libCore.so.4.00 > > 0x410bc5cb in TRint::Run(bool) + 0x303 from /usr/opt/root/lib/root/libRint.so.4.00 > > 0x080487e7 in main + 0x87 from rootn.exe > > 0x4117714f in __libc_start_main + 0xbb from /lib/libc.so.6 > > 0x080486a1 in __register_frame_info + 0x31 from rootn.exe > > > -- > programming java / steaming mugs of fresh brewed code / chill, jobless winter. > -- gnovos on the kuro5hin.org Textad Haiku Contest > -- Windows (ms): Will install needless data on whole system
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET