Message: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped) 

Forum: Installation and Configuration
Re: Question fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped) (John McFee)
Date: 18 Mar, 2015
From: Ben Morgan <Ben Morgan>

On Tue, 17 Mar 2015 19:10:50 GMT, John McFee wrote:
> I just installed Geant 4.10.1 on my new computer running Fedora 21. I
> had enabled OpenGL with the -DGEANT4_USE_OPENGL_X11=ON option. The only
> other options in cmake were the install examples and install data. I
> have an 8 processor machine so I did make -j8. The installation was
> successful with no errors in cmake, make or make install.
> 
> I then copied and tried to compile and run example B1. It compiled
> without error. When I run it (./exampleB1 or ./exampleB1 run1.mac),
> however, I get only this single line of output:
> 
> Segmentation fault (core dumped)
> 
> I have tried example B2a and B2b and get the same output.
> 
> Any help would be appreciated.
> 

Could you run ldd ./exampleB1 to check that it's linked to the correct set of libraries? If that doesn't reveal anything, the example can be built in Debug mode either by adding -DCMAKE_BUILD_TYPE=Debug to the cmake command line arguments, or through ccmake. Try running that through the gdb debugger. It may also help to rebuild Geant4 in Debug mode as well, though doing so for the executable should at least reveal something.

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

1 More: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (John McFee - 18 Mar, 2015)
1 More: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (John McFee - 18 Mar, 2015)
(_ Question: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (John McFee - 22 Apr, 2015)
1 None: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (Piet Verwilligen - 06 Jul, 2015)
2 Idea: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (Parimalah - 17 Oct, 2016)
... 1 Message(s)
2 Question: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (Julien Zhu - 18 May, 2015)
1 More: Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)   (John McFee - 20 May, 2015)
 Add Message Add Message
to: "Re: fresh install of Geant4.10.1 but examples fail with Segmentation fault (core dumped)"

 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 ]