Message: Re: Geant4.10.01 segmentation violation when exiting Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Geant4.10.01 segmentation violation when exiting 

Forum: Installation and Configuration
Re: None Geant4.10.01 segmentation violation when exiting (Florian Zenoni)
Date: 11 Dec, 2014
From: Michael H. Kelsey <Michael H. Kelsey>

On Thu, 11 Dec 2014 08:55:41 GMT, Florian Zenoni wrote:
> I have just installed the Geant4 version 10.1 and recompiled my code.
> Now when I run my executable with the GUI and I quit through 'exit'
> command, I obtain a segmentation violation.

Which physics list are you using with your application?

Do you get the same crash if you run your application without the GUI?

> I have attached the entire stack trace of all threads.

The key lines are the ones at the end with the G4-specific code. It looks as though there's a double delete, of one of the NeutronHP processes (G4NeutronHPInelastic) but there isn't enough detail to be certain.

Would you be willing to do a debug build of G4 (add "-DCMAKE_BUILD_TYPE=Debug" to your |cmake| command) and run your application again? That would provide specific line numbers, and would also allow you to run in the debugger (gdb, lldb, etc.) if you wish or need to.

> Do you have any idea why this happens?

We have not seen this in our tests using the prepackaged HP physics lists (FTFP_BERT_HP, Shielding, QBBC).

   -- Michael Kelsey

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

1 None: Re: Geant4.10.01 segmentation violation when exiting   (Florian Zenoni - 12 Dec, 2014)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 21 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (Koi, Tatsumi - 23 Feb, 2015)
(_ Note: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (Koi, Tatsumi - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (Koi, Tatsumi - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 24 Feb, 2015)
(_ None: Re: Geant4.10.01 segmentation violation when exiting   (C Mos - 26 Feb, 2015)
 Add Message Add Message
to: "Re: Geant4.10.01 segmentation violation when exiting"

 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 ]