Message: Subtraction of G4Cons from G4Sphere crashes the visualisation Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Subtraction of G4Cons from G4Sphere crashes the visualisation 

Forum: Geometry
Date: 01 Jul, 2016
From: <Dmytro>

Hi,

In my simulation I use sphere with holes to the centre. I was successfully running this with holes created by G4Tubs and subtracted from G4Sphere. But now I changed holes to G4Cons. Everything compiles fine. But then I trying to execute the simulation it crashes during start of the visualisation (OGL). Is it a bug? If I return to the Tubs everything works OK again. But I really need to run simulations with conical holes.
Here is the segmentation violation info:

#6 0x00007f2585849530 in G4PhysicalVolumeModel::DescribeSolid(HepGeom::Transform3D const&, G4VSolid*, G4VisAttributes const*, G4VGraphicsScene&) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#7 0x00007f258584aa05 in G4PhysicalVolumeModel::DescribeAndDescend(G4VPhysicalVolume*, int, G4LogicalVolume*, G4VSolid*, G4Material*, HepGeom::Transform3D const&, G4VGraphicsScene&) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#8 0x00007f258584b3fd in G4PhysicalVolumeModel::VisitGeometryAndGetVisReps(G4VPhysicalVolume*, int, HepGeom::Transform3D const&, G4VGraphicsScene&) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#9 0x00007f258584a7e2 in G4PhysicalVolumeModel::DescribeAndDescend(G4VPhysicalVolume*, int, G4LogicalVolume*, G4VSolid*, G4Material*, HepGeom::Transform3D const&, G4VGraphicsScene&) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#10 0x00007f258584b3fd in G4PhysicalVolumeModel::VisitGeometryAndGetVisReps(G4VPhysicalVolume*, int, HepGeom::Transform3D const&, G4VGraphicsScene&) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#11 0x00007f258584bbeb in G4PhysicalVolumeModel::DescribeYourselfTo(G4VGraphicsScene&) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#12 0x00007f25858499ff in G4PhysicalVolumeModel::CalculateExtent() () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#13 0x00007f258584c0f1 in G4PhysicalVolumeModel::G4PhysicalVolumeModel(G4VPhysicalVolume*, int, HepGeom::Transform3D const&, G4ModelingParameters const*, bool) () from /usr/local/geant4.10.0-install/lib/libG4modeling.so
#14 0x00007f2585ad8250 in G4Scene::AddWorldIfEmpty(bool) () from /usr/local/geant4.10.0-install/lib/libG4vis_management.so
#15 0x00007f2585b27fe2 in G4VisCommandViewerRefresh::SetNewValue(G4UIcommand*, G4String) () from /usr/local/geant4.10.0-install/lib/libG4vis_management.so
#16 0x00007f2583bf89fd in G4UIcommand::DoIt(G4String) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#17 0x00007f2583c0ff66 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#18 0x00007f2585b2fbe4 in G4VisCommandViewerCreate::SetNewValue(G4UIcommand*, G4String) () from /usr/local/geant4.10.0-install/lib/libG4vis_management.so
#19 0x00007f2583bf89fd in G4UIcommand::DoIt(G4String) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#20 0x00007f2583c0ff66 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#21 0x00007f2585aeaf5a in G4VisCommandOpen::SetNewValue(G4UIcommand*, G4String) () from /usr/local/geant4.10.0-install/lib/libG4vis_management.so
#22 0x00007f2583bf89fd in G4UIcommand::DoIt(G4String) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#23 0x00007f2583c0ff66 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#24 0x00007f2583be9be7 in G4UIbatch::ExecCommand(G4String const&) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#25 0x00007f2583beb02b in G4UIbatch::SessionStart() () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#26 0x00007f2583c0b1b3 in G4UImanager::ExecuteMacroFile(char const*) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#27 0x00007f2583c03bf5 in G4UIcontrolMessenger::SetNewValue(G4UIcommand*, G4String) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#28 0x00007f2583bf89fd in G4UIcommand::DoIt(G4String) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#29 0x00007f2583c0ff66 in G4UImanager::ApplyCommand(char const*) () from /usr/local/geant4.10.0-install/lib/libG4intercoms.so
#30 0x000000000040fccc in main ()
===========================================================

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

1 None: Re: Subtraction of G4Cons from G4Sphere crashes the visualisation   (Dmytro - 06 Jul, 2016)
(_ More: Re: Subtraction of G4Cons from G4Sphere crashes the visualisation   (Gabriele Cosmo - 06 Jul, 2016)
(_ None: Re: Subtraction of G4Cons from G4Sphere crashes the visualisation   (John Allison - 06 Jul, 2016)
(_ None: Re: Subtraction of G4Cons from G4Sphere crashes the visualisation   (Dmytro - 08 Jul, 2016)
 Add Message Add Message
to: "Subtraction of G4Cons from G4Sphere crashes the visualisation"

 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 ]