Message: Fwd: Incorrect checksum for freed object Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Fwd: Incorrect checksum for freed object 

Forum: Geometry
Date: 19 May, 2010
From: John Apostolakis <John Apostolakis>

--Apple-Mail-10--394274750
Content-Type: text/plain; charset="US-ASCII"; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit

Dear AJ,

My colleagues inform me that this error was seen in the past when  
materials were statically declared in an application.   It is due to  
the problem of static object - so reviewing your application to see  
that you created materials only after you initialise Geant4 (i.e. in  
the regular methods of DetectorConstruction ) should correct this issue.

John

Begin forwarded message:

> From: AJ Richards <richard6@physics.rutgers.edu>
> Date: May 18, 2010 8:17:28 PM GMT+02:00
> To: "geometry-g4hn@slac.stanford.edu" <geometry- 
> g4hn@slac.stanford.edu>
> Subject: Incorrect checksum for freed object
>
>
> *** Discussion title: Geometry
>
> I'm trying to build my geometry using the NistManager. When I try to
> call
>
> G4NistManager* matman = G4NistManager::Instance();
>
> however, I get the following error message and the program aborts:
>
> backsplash(4004) malloc: *** error for object 0x10286adb8: incorrect
> checksum for freed object - object was probably modified after being
> freed.
>
> *** set a breakpoint in malloc_error_break to debug
>
> Abort trap
>
> I know it's aborting in this step due to print statements. I've  
> included
> G4NistManager.hh. Does anyone have any experience with a similar error
> message, or know where it might come from? Thanks.
>
> -AJ
>
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply  
> or unsubscribe) at:
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1039.html


--Apple-Mail-10--394274750
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Dear AJ,<div><br></div><div>My =
colleagues inform me that this error was seen in the past when materials =
were statically declared in an application. &nbsp; It is due to the =
problem of static object - so reviewing your application to see that you =
created materials only after you initialise Geant4 (i.e. in the regular =
methods of DetectorConstruction ) should correct this =
issue.</div><div><br></div><div>John<br><div><br><div>Begin forwarded =
message:</div><br class=3D"Apple-interchange-newline"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><blockquote =
type=3D"cite"><div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: normal normal normal =
12px/normal Helvetica; color: rgb(0, 0, 0); "><b>From:<span =
class=3D"Apple-converted-space">&nbsp;</span></b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: normal normal normal =
12px/normal Helvetica; ">AJ Richards &lt;<a =
href=3D"mailto:richard6@physics.rutgers.edu">richard6@physics.rutgers.edu<=
/a>&gt;</font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: normal normal normal =
12px/normal Helvetica; color: rgb(0, 0, 0); "><b>Date:<span =
class=3D"Apple-converted-space">&nbsp;</span></b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: normal normal normal =
12px/normal Helvetica; ">May 18, 2010 8:17:28 PM =
GMT+02:00</font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: normal normal normal =
12px/normal Helvetica; color: rgb(0, 0, 0); "><b>To:<span =
class=3D"Apple-converted-space">&nbsp;</span></b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: normal normal normal =
12px/normal Helvetica; ">"<a =
href=3D"mailto:geometry-g4hn@slac.stanford.edu">geometry-g4hn@slac.stanfor=
d.edu</a>" &lt;<a =
href=3D"mailto:geometry-g4hn@slac.stanford.edu">geometry-g4hn@slac.stanfor=
d.edu</a>&gt;</font></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; "><font face=3D"Helvetica" =
size=3D"3" color=3D"#000000" style=3D"font: normal normal normal =
12px/normal Helvetica; color: rgb(0, 0, 0); "><b>Subject:<span =
class=3D"Apple-converted-space">&nbsp;</span></b></font><font =
face=3D"Helvetica" size=3D"3" style=3D"font: normal normal normal =
12px/normal Helvetica; "><b>Incorrect checksum for freed =
object</b></font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><br></div></div><div><br>*** Discussion title: Geometry<br><br>I'm =
trying to build my geometry using the NistManager. When I try =
to<br>call<br><br>G4NistManager* matman =3D =
G4NistManager::Instance();<br><br>however, I get the following error =
message and the program aborts:<br><br>backsplash(4004) malloc: *** =
error for object 0x10286adb8: incorrect<br>checksum for freed object - =
object was probably modified after being<br>freed.<br><br>*** set a =
breakpoint in malloc_error_break to debug<br><br>Abort trap<br><br>I =
know it's aborting in this step due to print statements. I've =
included<br>G4NistManager.hh. Does anyone have any experience with a =
similar error<br>message, or know where it might come from? =
Thanks.<br><br>-AJ<br><br>------------------------------------------------=
-------------<br>Visit this GEANT4 at hypernews.slac.stanford.edu =
message (to reply or unsubscribe) at:<span =
class=3D"Apple-converted-space">&nbsp;</span><br><a =
href=3D"http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1=
039.html">http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry=
/1039.html</a><span =
class=3D"Apple-converted-space">&nbsp;</span></div></blockquote></span></d=
iv><br></div></body></html>=

--Apple-Mail-10--394274750--

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Fwd: Incorrect checksum for freed object   (AJ Richards - 19 May, 2010)
 Add Message Add Message
to: "Fwd: Incorrect checksum for freed object"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]