Re: Seg. fault in TPolyLine::DistanceToPrimative

From: Rene BRUN <brun_at_mail.cern.ch>
Date: Sat, 22 Jan 2005 10:38:27 +0100 (MET)


Marc,

Strange that it crashes in TPolyLine::DistancetoPrimitive. The only possibility that I see is that one your points has an invalid floating point value.
Could you save your canvas as canvas.root and send this file?

Rene Brun

On Fri, 21
Jan
2005, Mark Messier wrote:

> Hi,
>
> I recently updated to root 4.02.00. Since then an event display program
> which worked previously now crashes when I move the mouse over elements
> drawn on a 2D histogram. The gdb stack trace is appended. The last call
> is to TPolyLine::DistanceToPrimative. Has anyone else seen this? Any
> ideas why this may have once worked, but now does not?
>
> Thanks,
> Mark
>
> 0 0xb627cebf in TPolyLine::DistancetoPrimitive(int, int) ()
> from /usr/local/cern/root/4.02.00/lib/libGraf.so
> #1 0xb60a963b in TPad::Pick(int, int, TObjLink*&) ()
> from /usr/local/cern/root/4.02.00/lib/libGpad.so
> #2 0xb60a9603 in TPad::Pick(int, int, TObjLink*&) ()
> from /usr/local/cern/root/4.02.00/lib/libGpad.so
> #3 0xb608223a in TCanvas::Pick(int, int, TObjLink*&) ()
> from /usr/local/cern/root/4.02.00/lib/libGpad.so
> #4 0xb608aa57 in TCanvas::Pick(int, int, TObject*) ()
> from /usr/local/cern/root/4.02.00/lib/libGpad.so
> #5 0xb608a27e in TCanvas::HandleInput(EEventType, int, int) ()
> from /usr/local/cern/root/4.02.00/lib/libGpad.so
> #6 0xb57f3629 in TRootEmbeddedCanvas::HandleContainerMotion(Event_t*)
> ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #7 0xb57f3d34 in TRootEmbeddedContainer::HandleMotion(Event_t*) ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #8 0xb5769f89 in TGFrame::HandleEvent(Event_t*) ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #9 0xb57490ff in TGClient::HandleEvent(Event_t*) ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #10 0xb5748d7d in TGClient::ProcessOneEvent() ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #11 0xb5748e85 in TGClient::HandleInput() ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #12 0xb574758a in TGInputHandler::Notify() ()
> from /usr/local/cern/root/4.02.00/lib/libGui.so
> #13 0xb69b053c in TUnixSystem::DispatchOneEvent(bool) ()
> from /usr/local/cern/root/4.02.00/lib/libCore.so
> #14 0xb68ec044 in TSystem::InnerLoop() ()
> from /usr/local/cern/root/4.02.00/lib/libCore.so
> #15 0xb68ebfe9 in TSystem::Run() ()
> from /usr/local/cern/root/4.02.00/lib/libCore.so
> #16 0xb688951e in TApplication::Run(bool) ()
> from /usr/local/cern/root/4.02.00/lib/libCore.so
> #17 0xb5f2aacd in TRint::Run(bool) ()
> from /usr/local/cern/root/4.02.00/lib/libRint.so
> #18 0xb72715e5 in EVDRootEnv::Run() (this=0x8e52060)
> at
> /data/en/2b/users/messier/mippsoft/work/EventDisplay/EVDRootEnv.cxx:73
> #19 0x08058e8b in main (argc=2, argv=0xbfffbc34)
> at
> /data/en/2b/users/messier/mippsoft/work/EventDisplay/EVDMain.cc:75
>
>
>
Received on Sat Jan 22 2005 - 10:38:33 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET