Message: crash with Geant4 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None crash with Geant4 

Keywords: crash with geant4 7.0p1 when starting the run and performing the overlapping test
Forum: Geometry
Date: 07 Nov, 2005
From: Dridi <Dridi>

Dear Geant4 users,

I am a new Geant4 user, and I have to simulate a 4pi BaF2 calorimeter.
This calorimeter is basically made by paving a sphere thanks to regular
pentagons and irregular hexagons. I used geant4 7.0p1 for performing my
test My geometry is made of :

- 1 cylindical beam pipe in aluminium 
- 2 hemisphericals neutrons absorbers (NA) (6Li based) 
- 40 BaF2 crystals (12 regulars pentagons and 28 irregulars hexagons) 
- 40 Photomulipliers (PMT) with their housing 
- A spherical honey comb (HC) structure build in a similar way than the crystals

Visually everything seems to be all right. But when I want to start a
run or when performing an overlapping test the program simply crash. For
trying to find the problem I have tested many combination between the
various calorimeter components, like for instance: 

1) each parts alone = no problem 
2) crystals + PMT + HC = aborted 
3) crystals + PMT = no problem 
4) PMT + HC = no problem 
5) crystals + HC = aborted 
6) crystals + NA + PMT = aborted 
7) crystals + NA = no problem 
8) NA + PMT = no problem 

and so on. 

At the end I did not succeed to find any logic for crashing or not.

In debugging I found the problem came during the "SmartVoxelisation"
operation.

Idle> geometry/test/grid_test

Program received signal SIGABRT, Aborted. gdb) backtrace

#0  0x04734cef in raise () from /lib/tls/libc.so.6
#1  0x047364f5 in abort () from /lib/tls/libc.so.6
#2  0x018b6527 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#3  0x018b6574 in std::terminate () from /usr/lib/libstdc++.so.5
#4  0x018b66e6 in __cxa_throw () from /usr/lib/libstdc++.so.5
#5  0x0186feab in std::__throw_length_error () from /usr/lib/libstdc++.so.5
#6  0x00f494ba in std::vector<G4SmartVoxelNode*, std::allocator<G4SmartVoxelNode*> >::reserve ()
#7  0x00f47d3d in G4SmartVoxelHeader::BuildNodes ()
#8  0x00f46b82 in G4SmartVoxelHeader::BuildVoxelsWithinLimits ()
#9  0x00f45927 in G4SmartVoxelHeader::G4SmartVoxelHeader ()
#10 0x00f486eb in G4SmartVoxelHeader::RefineNodes ()
#11 0x00f46f56 in G4SmartVoxelHeader::BuildVoxelsWithinLimits ()
#12 0x00f45927 in G4SmartVoxelHeader::G4SmartVoxelHeader ()
#13 0x00f486eb in G4SmartVoxelHeader::RefineNodes ()
#14 0x00f46f56 in G4SmartVoxelHeader::BuildVoxelsWithinLimits ()
#15 0x00f45f0a in G4SmartVoxelHeader::BuildVoxels ()
#16 0x00f457c4 in G4SmartVoxelHeader::G4SmartVoxelHeader ()
#17 0x00f3d4d1 in G4GeometryManager::BuildOptimisations ()
#18 0x00f3d2e8 in G4GeometryManager::CloseGeometry ()
#19 0x00ee703e in G4GeometryMessenger::CheckGeometry ()
#20 0x00ee7211 in G4GeometryMessenger::GridTest ()
#21 0x00ee6abb in G4GeometryMessenger::SetNewValue ()
#22 0x03b03d98 in G4UIcommand::DoIt ()
#23 0x03b16ba3 in G4UImanager::ApplyCommand ()
#24 0x03b16247 in G4UImanager::ApplyCommand ()
#25 0x00bf134d in G4UIterminal::ExecuteCommand ()
#26 0x00bf0fb2 in G4UIterminal::SessionStart ()
#27 0x0804edb2 in main (argc=1, argv=0x0) at miniTAC.cc:110

But since I am really not a Geant4 expert, this does not tell me how to
solve my problem. If anyone can help it will be for me very invaluable.

Thanks in advance

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

1 Feedback: Re: crash with Geant4   (Gabriele Cosmo - 08 Nov, 2005)
(_ None: crash with Geant4 : Problem with "smart voxels"   (Walid DRIDI - 09 Nov, 2005)
(_ More: Re: crash with Geant4 : Problem with "smart voxels"   (Gabriele Cosmo - 09 Nov, 2005)
 Add Message Add Message
to: "crash with Geant4"

 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 ]