Re: Getting a primitive from a sub pad

From: OKUMURA, Akira <oxon_at_astro.isas.jaxa.jp>
Date: Mon, 11 Jul 2011 00:46:06 -0700


Hello Olivier,

I found the reason of the seg fault. In my .rootlogon.C, I include TCanvas.h.

#include <TCanvas.h>

If I comment out this line or execute root with -n, the seg fault does not happen. If this is not a known problem, I will post a new bug report at the savannah.

Regards,

--
OKUMURA, Akira oxon@{astro.isas.jaxa.jp,stanford.edu}
Institute of Space and Astronautical Science (ISAS/JAXA)
Now at KIPAC/SLAC/Stanford
Varian Physics #306, 382 Via Pueblo Mall, MC 4060
Stanford, CA 94305-4060
TEL 650-736-0971/FAX 650-724-5065
Skype : okumura.akira

On 2011/07/11, at 0:03, Olivier Couet wrote:


> Hi Akira,
>
> I do not see this problem:
>
> root [0] gROOT->SetBatch(1)
> root [1] TFile f("can.root")
> root [2] TCanvas* can = (TCanvas*)f.Get("can")
> root [3] can->Draw()
> root [4]
>
>
>
> I am using the trunk on my macbook.
>
>
> Olivier
>
> On 7/11/11 8:58 AM, "OKUMURA, Akira" <oxon_at_astro.isas.jaxa.jp> wrote:
>
>> gROOT->SetBatch(1)
>
Received on Mon Jul 11 2011 - 09:46:23 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 12 2011 - 11:50:01 CEST