Re: Severe problem with PyRoot - file segmentation fault

From: <WLavrijsen_at_lbl.gov>
Date: Fri, 13 Jun 2008 10:08:17 -0700


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:05:21 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 13 2008 - 23:50:01 CEST