LISTSERV mailing list manager LISTSERV 16.5

Help for LCD-SIM Archives


LCD-SIM Archives

LCD-SIM Archives


LCD-SIM@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCD-SIM Home

LCD-SIM Home

LCD-SIM  February 1999

LCD-SIM February 1999

Subject:

Re: crashing in asc2root & fastmc on OSF1 system

From:

Richard Dubois <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

08 Feb 1999 16:11:58 -0800Mon, 08 Feb 1999 16:11:58 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (144 lines)

Hi Homer,

 We saw similar warnings about the Clear function on Solaris (the only place we've run the
RootApps), but it sounded less dire. Only that Event::Clear was hiding TObject::Clear. It
seemed to have no effect, so we didn't worry about it. The DEC compiler seems more picky.

 It may be that we have to name Event's Clear function to something else. Do you want to give
that a whirl?

Richard

Homer Neal wrote:

> Hi Richard,
>
> I tried to create the RootApps but I ran into the following problems which
> are likely strongly related. For Asc2root I get the following crash:
>
> ylws41> ~/asc2root pyth_sugra.asc pyth_sugra.root
> Welcome to asc2root.
> Fatal in <operator delete>: storage area overwritten
> aborting
> Abort process
>
> The same happens for fastmc:
>
> ylws41> ~/fastMC /group/ppg/prj/lcd/lcd_input/pythia/std.output SmallTrackSmear.par out.asc
> Fatal in <operator delete>: storage area overwritten
> aborting
> Abort process
>
> The Event shared library was created successfully and it appears to work.
> I have successfully used it in Root to read Root files of events.
>
> ****************************************************************************
>
> When I build fastmc, the following warning (the first one) is common:
>
> ****************************************************************************
> cxx -O -nostdnew -D__osf__ -D__alpha -I/group/ppg/prj/lcd/root/root/include
> -I../src/ -I/group/ppg/prj/lcd/root/root/include
> -I/group/ppg/prj/lcd/fastmc/RootApps//Event/prod/src/
> -I/group/ppg/prj/lcd/stdhep/  -O      -c \
> ../src/TrackFullSmear.cxx -o ../bin/OSF1/TrackFullSmear.o
> cxx: Warning: /group/ppg/prj/lcd/fastmc/RootApps//Event/prod/src/Event.h, line
> 33: "void Event::Clear()" does not match "TObject::Clear" -- virtual function
> override intended?
> void Clear();
> -----^
> cxx: Warning: ../src/TrackFullSmear.cxx, line 84: conversion from pointer to
> smaller integer
>           (int)(tk->GetParticle()));
> ----------^
>
> --------------------------------------------------------------------------
>
> The crash is occurring in the root initialization. Instead of the full
> asc2root routine I tried the stripped routine below which gives the same
> error.
> #include <stdio.h>
>
> #include "TROOT.h"
>
> main(int argc,char *argv[]) {
>
>    printf("Welcome to rint (ver 1).\n");
>
>    TROOT simple("simple","Example of creation of a tree");
>
>    return(0);
> }
>
> The link command I use for asc2root is:
> $(exe):  $(dirbinfiles)
>         if [ -f  $(exe) ] ; then rm $(exe) ; fi
>         ld -L/usr/lib/cmplrs/cxx \
>         -rpath /usr/lib/cmplrs/cxx -expect_unresolved "*" \
>         -g0 -O1 -call_shared \
>         /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o $+ \
>         -o $(exe) $(EVENTLIB) $(LIBS) -lcxxstd -lcxx -lexc -lots -lc
> which produces:
> ld -L/usr/lib/cmplrs/cxx \
> -rpath /usr/lib/cmplrs/cxx -expect_unresolved "*" \
> -g0 -O1 -call_shared \
>  /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o ../bin/OSF1/rint_han.o \
> -o ../bin/OSF1/rint_han
> /group/ppg/prj/lcd/fastmc/RootApps//Event/prod/bin/OSF1/libEvent.so
> -L/group/ppg/prj/lcd/root/root/lib -lNew -lBase -lCint -lClib -lCont -lFunc
> -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPostscript
> -lProof -lTree -lUnix -lZip -lm -lcxxstd -lcxx -lexc -lots -lc
>
> For asc2root, theree are no warnings/errors in the compiling or linking
> but it crashes upon execution.
>
> In the debugger, the traceback looks like:
>
> signal IOT/Abort trap at >*[__kill, 0x3ff800e9c28]      beq     r19,
> 0x3ff800e9c40
> (dbx) where
> >  0 __kill(0x3ff800de590, 0x3ffc0085c98, 0x0, 0x3ff00000000, 0x3ff80174cc8)
> [0x3ff800e9c28]
>    1 (unknown)() [0x3ff8019bca0]
>    2 __tis_raise(0x3ff80174cc8, 0x3ffc0080310, 0x3ff8011391c, 0x6,
> 0x3ff8015e32c) [0x3ff80113918]
>    3 raise(0x3ff8011391c, 0x6, 0x3ff8015e32c, 0x140026bd8, 0x3ff80174cf4)
> [0x3ff8015e328]
>    4 abort(0x3ffbf3f78c0, 0x0, 0x0, 0x0, 0xffffffff00000000) [0x3ff80174cf0]
>    5 Abort__11TUnixSystemXi(0x0, 0x0, 0xffffffff00000000, 0x3ffc0080310,
> 0x3ffbfe2c298) [0x3ffbf3f78bc]
>    6 DefaultErrorHandler__XiUcPCcPCc(0x3ffbfe2c3d8, 0xbb8, 0x3ffffebde08, 0x1,
> 0x11fffe438) [0x3ffbfe2c294]
>    7 ErrorHandler(0x3ff80199004, 0x1f40, 0x3ff800d3f84, 0x10, 0x3ff80135e74)
> [0x3ffbfe2c3d4]
>    8 Fatal__XPCcPCce(0x3ffbf661d88, 0x3ffbf661dd8, 0x0, 0x1, 0x0)
> [0x3ffbfe2c5e0]
>    9 __dl__XPv(0x3ffbfff1f18, 0x3ffbfe0a628, 0x3ffffebde08, 0x1, 0x1)
> [0x3ffbf662748]
>   10 __dla__XPv(0x1, 0x3, 0x3ffbfe2aad0, 0x1, 0x1400011b0) [0x3ffbfff1f14]
>   11 __ct__4TEnvXPCc(0x3ff00000000, 0x200000000, 0x3ffbf3f5398, 0x1400011b0,
> 0x140001390) [0x3ffbfe2aacc]
>   12 InitSystem__5TROOTXv(0x1, 0x140002d00, 0x0, 0x200000000, 0x140001300)
> [0x3ffbfed5604]
>   13 __ct__5TROOTXPCcPCcPPXv_v(0x120002dc0, 0x11fffecc8, 0x11fffecd8,
> 0x11fffeb08, 0x120002db8) [0x3ffbfed2638]
> More (n if no)?
>   14 main(0x3ff80016140, 0x8008460d, 0x14006eae0, 0x3ffc00802a0, 0x3ffffed1adc)
> [0x120003478]
>
> Any suggestions?
>
> Many thanks for any help.

--
Richard Dubois
SLD, Stanford Linear Accelerator Center
[log in to unmask]
http://www.slac.stanford.edu/~richard/
650-926-3824
650-926-2923 (FAX)




Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

May 2015
March 2015
February 2015
January 2013
November 2012
June 2012
July 2011
April 2011
September 2010
June 2010
February 2010
October 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
September 2006
August 2006
July 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
August 2005
July 2005
June 2005
May 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
April 2003
March 2003
February 2003
January 2003
July 2002
October 2001
June 2001
May 2001
March 2001
February 2001
December 2000
November 2000
October 2000
June 2000
April 2000
March 2000
February 2000
January 2000
November 1999
October 1999
September 1999
August 1999
July 1999
June 1999
May 1999
April 1999
March 1999
February 1999
January 1999

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use