| Summary: | Problem in G4NavigationHistory with gcc 3.4.3 | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | toga |
| Component: | config | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | CLOSED LATER | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
We cannot reproduce the reported problem, since we do not have yet means to test on 64-bits architectures. Geant4 is currently supported on 32-bits architectures. Installations on 64-bits systems may require an ad-hoc configuration different from the current one used for the standard Linux/g++ installation. It may also point out a configuration problem with the installed compiler. One thing that the user can try is to build the Geant4 application (and/or the whole G4 libraries) in debug mode (G4DEBUG set) and see if the problem shows up again. Yasuhiro Togano <toga@ne.rikkyo.ac.jp> writes: > Thank you very much for your comment. > > OK, I will try to build the G4 applications in debug mode. > I will report the result in a few days. > > As you commented, I think this problem is due to the gcc3.4.3. > Using the gcc3.2.3, I didn't have any problem in 64-bit environment. > > The file new_allocator.h may be added from after releasing the 3.2.3 > because I cannot find this file in version 3.2.3. Sorry, I don't build the G4 in debug mode, yet. Because the G4 is working well by using the 32bit compilation. The problem was the G4NavigationHistory and it calls the operator at new_allocator.h. The function is called internally, and this means that the problem is due to the gcc3.4.3. Now Geant4 is not supported on the 64-bits architectures. If you try to use G4 in 64-bit environment, you "should" compile them in 32- bit mode. We could verify that Geant4 7.0.p01 runs successfully in optimised mode on an AMD 64-bits system installed with SLC3 (gcc-3.2.3). Tests were also successful if using gcc-3.4.3, installed on the same system as alternate compiler (NOTE: configured with --disable-shared). *** Bug 745 has been marked as a duplicate of this bug. *** *** 'Gabriele.Cosmo@cern.ch' will be responsible for bug 745. *** |
I installed geant4.7.0.p01 and clhep 1.9.1.2. Installation had no problem, I can excute the geant4 based program, but the program doesn't run due to the problem in G4NavigationHistory. All of the programs were compiled with gcc 3.4.3 in x86_64 environment. (OS is CentOS4.) The below is the message from debug program "gdb". Program received signal SIGSEGV, Segmentation fault. 0x00000000006d1f4a in G4NavigationHistory::G4NavigationHistory () at new_allocator.h:86 86 { ::operator delete(__p); } Current language: auto; currently c++ I have no idea to solve this problem.