Problem 96

Summary: Cannot visualize boolean volumes with geant4-01-01-ref-03
Product: Geant4 Reporter: Paulo Mora de Freitas <mora>
Component: visualizationAssignee: John.Allison
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.1   
Hardware: PC   
OS: Linux   

Description Paulo Mora de Freitas 2000-05-16 03:08:25 CEST
The same Geant4 application with exactly the same data runs with
geant4-01-00-ref-08 but crashes with geant4-01-01-ref-03 when trying to
visualize the same boolean volumes.

 We get a lot of messages like


 Call caseEE()
 Call caseIE()
 Call caseEE()
 Call caseEE()
 Call caseEE()
 Call caseEE()
 ...
 ...

  and then the program crashes with "segmentation fault". The backtrace is :

 (gdb) backtrace
 #0  0x84acc3a in BooleanProcessor::assemblePolyhedra ()
 #1  0x84b05ee in BooleanProcessor::execute ()
 #2  0x84b06c2 in HepPolyhedron::add ()
 #3  0x8491d95 in G4UnionSolid::CreatePolyhedron ()
 #4  0x808e12a in G4VSceneHandler::RequestPrimitives ()
 #5  0x808d1d1 in G4VSceneHandler::AddThis ()
 #6  0x808a896 in G4OpenGLSceneHandler::AddThis ()
 #7  0x8491d55 in G4UnionSolid::DescribeYourselfTo ()
 #8  0x80d5107 in G4PhysicalVolumeModel::DescribeSolid ()
 #9  0x80d5066 in G4PhysicalVolumeModel::DescribeAndDescend ()
 #10 0x80d48cd in G4PhysicalVolumeModel::VisitGeometryAndGetVisReps ()
 #11 0x80d50cb in G4PhysicalVolumeModel::DescribeAndDescend ()
 #12 0x80d48cd in G4PhysicalVolumeModel::VisitGeometryAndGetVisReps ()
 #13 0x80d3a7e in G4PhysicalVolumeModel::DescribeYourselfTo ()
 #14 0x808e613 in G4VSceneHandler::ProcessScene ()
 #15 0x808fa7b in G4VViewer::ProcessView ()
 #16 0x80862ca in G4OpenGLImmediateXViewer::DrawView ()
 #17 0x809240b in G4VisManager::Draw ()
 #18 0x80956fd in G4VisManager::RefreshCurrentView ()
 #19 0x850ae55 in
G4VisSimpleCommandMessenger<G4VisCommandRefreshView>::SetNewValue ()
 #20 0x84bb91e in G4UIcommand::DoIt ()
 #21 0x84cd3dd in G4UImanager::ApplyCommand ()
 #22 0x84ccb6c in G4UImanager::ApplyCommand ()
 #23 0x84d9515 in G4UIbatch::SessionStart ()
 #24 0x84cc9bb in G4UImanager::ExecuteMacroFile ()
 #25 0x84dae4d in G4UIcontrolMessenger::SetNewValue ()
 #26 0x84bb91e in G4UIcommand::DoIt ()
 #27 0x84cd3dd in G4UImanager::ApplyCommand ()
 #28 0x80554ad in main ()
 #29 0x402a21eb in __libc_start_main (main=0x80550dc <main>, argc=3,
argv=0xbffff854,
     init=0x804cf30 <_init>, fini=0x8534668 <_fini>, rtld_fini=0x4000a610
<_dl_fini>,
     stack_end=0xbffff84c) at ../sysdeps/generic/libc-start.c:90
Comment 1 John.Allison 2000-05-16 05:03:59 CEST
Visualization of boolean volumes will be backed out of reference tags
until the problem has been understood and fixed.
Comment 2 John.Allison 2000-06-15 08:59:59 CEST
With greps-V01-01-04 and in the next reference tag and the next release
you will be able to visualize boolean solids.  If the components share
surfaces/edges, you might see only the first component.  A full implementation
allowing for components with shared surfaces/edges is still outstanding.
Comment 3 John.Allison 2000-06-22 08:42:59 CEST
The visualization of boolean solids is implemented and will be in the next
release Geant4 2.0 due end of June 2000.