Message: Re: invalid pointer when switched to Multithreading Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: invalid pointer when switched to Multithreading 

Forum: Multithreading
Re: None invalid pointer when switched to Multithreading (Tracy Sanders)
Re: More Re: invalid pointer when switched to Multithreading (Tracy Sanders)
Re: None Re: invalid pointer when switched to Multithreading (Makoto Asai)
Re: None Re: invalid pointer when switched to Multithreading (Tracy Sanders)
Date: 23 Jun, 2015
From: Makoto Asai <Makoto Asai>

Your G4Allocator objects are actually not thread-local, and for sure that is the source of your problem. Please refer to this TWiki page. You need to modify both TrackerHit.hh and TrackerHit.cc.

https://twiki.cern.ch/twiki/bin/view/Geant4/QuickMigrationGuideForGeant4V10#Thread_safety_in_user_code

Makoto

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

1 Ok: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 24 Jun, 2015)
(_ More: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 24 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Makoto Asai - 24 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Tracy Sanders - 24 Jun, 2015)
(_ None: Re: invalid pointer when switched to Multithreading   (Makoto Asai - 24 Jun, 2015)
 Add Message Add Message
to: "Re: invalid pointer when switched to Multithreading"

 Subscribe Subscribe

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