Message: Re: Ancestor's tracking problem [maybe by linux version] Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Ancestor's tracking problem [maybe by linux version] 

Forum: Event and Track Management
Re: Question Ancestor's tracking problem [maybe by linux version] (Margot )
Date: 29 Aug, 2017
From: Jaafar EL Bakkali <Jaafar EL Bakkali>

Hi,

to determine the line of C++ code that causes a segmentation fault you should:

in CMakeLists.txt add the following line:

add_compile_options( "-g" )

then you need to use valgrind tool in order to get the line of code that could crash your programme.

Regards, Ja3far

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

1 Question: Re: Ancestor's tracking problem [maybe by linux version]   (Margot - 05 Sep, 2017)
(_ Idea: Re: Ancestor's tracking problem [maybe by linux version]   (Jaafar EL Bakkali - 06 Sep, 2017)
(_ Feedback: Re: Ancestor's tracking problem [maybe by linux version]   (Margot - 06 Sep, 2017)
(_ Idea: Re: Ancestor's tracking problem [maybe by linux version]   (Jaafar EL Bakkali - 06 Sep, 2017)
 Add Message Add Message
to: "Re: Ancestor's tracking problem [maybe by linux version]"

 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 ]