[Gate-users] cylindrical crystal volume crash

Eugene Gualtieri PhD gualtier at mail.med.upenn.edu
Wed Aug 18 20:01:48 CEST 2010


All:

I am encountering a segmentation fault when specifying cylindrical crystal volumes, as in the CPET scanner example.
The seg fault occurs right after the "/gate/systems/CPET/crystal/attach crystal" line (see below).  Commenting it out eliminates the crash.

I am running  GATE version name: gate_v5.0.0  (1-May-2009)                     

Thanks.

Gene


# BASE = CPET SYSTEM 
/gate/world/daughters/name CPET 
/gate/world/daughters/insert cylinder 
/gate/CPET/setMaterial Air 
/gate/CPET/geometry/setRmax 60 cm 
/gate/CPET/geometry/setRmin 0 cm 
/gate/CPET/geometry/setHeight 35 cm
/gate/CPET/vis/forceWireframe

# FISRT LEVEL = CRYSTAL 
/gate/CPET/daughters/name crystal 
/gate/CPET/daughters/insert cylinder 

/gate/systems/CPET/crystal/attach crystal
/gate/crystal/attachCrystalSD


===================
/gate/systems/CPET/crystal/attach crystal

 *** Break *** segmentation violation
Attaching to program: /proc/28902/exe, process 28902
[Thread debugging using libthread_db enabled]
0x00007f4edd7dbb0e in waitpid () from /lib/libc.so.6
error detected on stdin
A debugging session is active.

	Inferior 1 [process 28902] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/28902/exe, process 28902
*** glibc detected *** Gate: free(): invalid pointer: 0x00000000020fb268 ***
=========


---
Eugene Gualtieri, PhD
Department of Radiology
University of Pennsylvania
423 Guardian Drive / 401 Blockley Hall
Philadelphia PA, 19104
gualtier at mail.med.upenn.edu





More information about the Gate-users mailing list