Project

General

Profile

Bug #1712

Memory problem in MC

Added by Rogers, Chris about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bin(aries)
Target version:
Start date:
15 July 2015
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

Durga pointed out that

python bin/simulate_mice.py --simulation_geometry_filename=Stage4.dat

makes a segmentation fault since latest rogers push to the trunk. Looks like I screwed something up. In my defence, all the tests pass (including the ones that run Stage4.dat)...


Files

valgrind.log (594 KB) valgrind.log Rogers, Chris, 15 July 2015 10:09
#1

Updated by Rogers, Chris about 8 years ago

Valgrind log attached...

#2

Updated by Rogers, Chris about 8 years ago

Looks like a stray NULL in the MCEvent. Probably the tests always have events in the detectors, so it never got caught in the tests. Pushed a fix forcing all of the MC hit vectors to be non-NULL (initialise to length 0). Revision 890.

#3

Updated by Rogers, Chris about 8 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
#4

Updated by Rajaram, Durga about 8 years ago

  • Target version changed from Future MAUS release to MAUS-v1.0.0

Also available in: Atom PDF