Message: Double delete when in MT mode Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Double delete when in MT mode 

Forum: Multithreading
Date: 15 Dec, 2016
From: Giuseppe Vacanti <Giuseppe Vacanti>

I have converted a G4 application to make use of MT. Now at the end of the run I regularly experience a core dump that seems to be due to a double delete. The problem occurs even when I have G4FORCENUMBEROFTHREADS=1, as in this case I understand I still have two threads, the master and one worker.

My working hypothesis is that the problem occurs in one of my user action classes, but they are quite simple and there is no code of any substance in the destructors.

Reading through the docs I haven't spotted anything related to destructors. Have I missed something? Does anybody have any advice on the matter?

Regards, Giuseppe

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

1 None: Re: Double delete when in MT mode   (Makoto Asai - 15 Dec, 2016)
1 None: Re: Double delete when in MT mode   (Giuseppe Vacanti - 16 Dec, 2016)
2 Idea: Re: Double delete when in MT mode   (Michael H. Kelsey - 16 Dec, 2016)
3 Note: Re: Double delete when in MT mode   (Giuseppe Vacanti - 23 Dec, 2016)
1 Question: Re: Double delete when in MT mode   (Michael H. Kelsey - 23 Dec, 2016)
4 Ok: Re: Double delete when in MT mode   (Giuseppe Vacanti - 28 Dec, 2016)
 Add Message Add Message
to: "Double delete when in MT mode"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews