Re: Severe problem with PyRoot - file segmentation fault

From: James Jackson <james.jackson_at_cern.ch>
Date: Fri, 13 Jun 2008 18:08:57 +0100


Hi Wim (one yum update later),

I'm afraid I didn't build with any debug symbols, but perhaps this is helpful:

[New Thread -1211724896 (LWP 6019)]

TFile**		test.root	
  TFile*		test.root	
   OBJ: TH1F	testhist	testhist : 0 at: 0x98e9dc8
[Thread -1211724896 (LWP 6019) exited]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208592704 (LWP 6011)] 0x006dabe0 in main_arena () from /lib/tls/libc.so.6

Regards,
James.

On 13 Jun 2008, at 18:08, <WLavrijsen_at_lbl.gov> wrote:

> James,
>
>> *** Break *** segmentation violation
>> Generating stack trace...
>> *** glibc detected *** corrupted double-linked list: 0x00831858 ***
>
> saw that; our mails crossed. Could you please run under gdb:
>
> ###
> $ cat problemscript.py
> from ROOT import TFile, TH1F
> f = TFile("test.root", "recreate")
> g = TH1F("testhist", "testhist", 10, 0, 10)
> g.Fill(5)
> f.ls()
> f.Close()
> $ gdb python
> (gdb) run problemscript.py
>>>> ^D
> (gdb) where
> ###
>
> thanks.
>
>>> Yes, an f.Write() is needed.
>> Has this changed recently?
>
> Not that I'm aware of ...
>
> Best regards,
> Wim
> --
> Wim.Lavrijsen_at_cern.ch -- WLavrijsen_at_lbl.gov -- www.lavrijsen.net
>
> "Your day will be somewhat dictated by authority." --fortune
> cookie
Received on Fri Jun 13 2008 - 19:09:04 CEST

This archive was generated by hypermail 2.2.0 : Sat Jun 14 2008 - 05:50:03 CEST