ROOT/TRIPOLI coupling

Hello.
I’m trying to use ROOT’s geometry with TRIPOLI-4. I’m trying to run sample code from TRIPOLI’s User Guide, but it gives me a segmentation violation error. What may be wrong? Version of ROOT is 5.34, because TRIPOLI only works with CINT.

[quote]Info in TGeoManager::Import: Reading geometry from file: test_conditions.root
Info in TGeoManager::CloseGeometry: Geometry loaded from file…
Info in TGeoManager::SetTopVolume: Top volume is world. Master volume is world
Info in TGeoNavigator::BuildCache: — Maximum geometry depth set to 100
Info in TGeoManager::CloseGeometry: Voxelization retrieved from file
Info in TGeoManager::CountLevels: max level = 1, max placements = 7
Info in TGeoManager::CloseGeometry: 8 nodes/ 8 volume UID’s in Boundary Conditions Test
Info in TGeoManager::CloseGeometry: ----------------modeler ready----------------

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

#0 0x00007f75c877764a in __GI___waitpid (pid=5003, stat_loc=stat_loc
entry=0x7ffeb95f2d00, options=options
entry=0) at …/sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f75c86f0fab in do_system (line=) at …/sysdeps/posix/system.c:148
#2 0x00007f75cb3b6dd4 in TUnixSystem::StackTrace() () from /usr/lib/x86_64-linux-gnu/libCore.so
#3 0x00007f75cb3b903c in TUnixSystem::DispatchSignals(ESignals) () from /usr/lib/x86_64-linux-gnu/libCore.so
#4
#5 0x00000000005e5315 in Ge_geomROOT::init_from_file() ()
#6 0x00000000005e65a9 in Ge_geomROOT::Ge_geomROOT(std::basic_ifstream<char, std::char_traits >, int) ()
#7 0x00000000004e577b in T4_read_data::T4_read_data(char
, char*, std::ostream*, int, char const*) ()
#8 0x00000000004cd71e in T4_Main::initialize(int, char**) ()
#9 0x00000000004cbdf9 in main ()

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#5 0x00000000005e5315 in Ge_geomROOT::init_from_file() ()
#6 0x00000000005e65a9 in Ge_geomROOT::Ge_geomROOT(std::basic_ifstream<char, std::char_traits >, int) ()
#7 0x00000000004e577b in T4_read_data::T4_read_data(char
, char*, std::ostream*, int, char const*) ()
#8 0x00000000004cd71e in T4_Main::initialize(int, char**) ()
#9 0x00000000004cbdf9 in main ()

[/quote]

Hi,

[quote=“IskanderN”]The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#5 0x00000000005e5315 in Ge_geomROOT::init_from_file() ()
#6 0x00000000005e65a9 in Ge_geomROOT::Ge_geomROOT(std::basic_ifstream<char, std::char_traits >, int) ()
#7 0x00000000004e577b in T4_read_data::T4_read_data(char
, char*, std::ostream*, int, char const*) ()
#8 0x00000000004cd71e in T4_Main::initialize(int, char**) ()
#9 0x00000000004cbdf9 in main ()
===========================================================[/quote]
These classes are not part of ROOT. It looks like a TRIPOLI issue. You should report the error to the TRIPOLI developers…

Cheers, Bertrand.

Thanks!
I’ll try to get help from them then.