Message: Re: Segmentation fault for delete kernel Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Segmentation fault for delete kernel 

Forum: Run Management
Re: Question Segmentation fault for delete kernel (Ioan-Charly)
Date: 17 Apr, 2014
From: Ioan-Charly <Ioan-Charly>

I found something more!

In my primaryGeneratorAction, i create two dynamic matrix to save information  that comes from a text file. If i put these in comment i didn't have the segmentation fault...

My purpose is to estimate the energy deposit by a x-ray tube. I simulate the x-ray tube with another simulation and save the information in a text file.
Now, i want to use this information in my simulation. It is for that the two dynamic matrix in my primaryGeneratorAction where i open the text file in the constructor of this one and save it in the matrix.
I delete these matrix in the destructor of the primaryGeneratorAction.

Any ideas to help me ?

Thanks,

Ioan-Charly

 

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

1 None: Re: Segmentation fault for delete kernel   (Ioan-Charly - 17 Apr, 2014)
 Add Message Add Message
to: "Re: Segmentation fault for delete kernel"

 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 ]