SegSmentation fault on crash
04 October 2012
We sometimes get a segmentation fault when we get an exception in python that causes python to exit - something to do with RStream::is_open() apparently
I think I know what caused this although debugging is difficult when it doesn't happen every time. In any case I will put in a fix.
Did you try with valgrind?
No I just spotted something that could be causing it.
The problem I have is reproducing this effect. Then can use Valgrind ;-)
Anyway I think I know what the likely suspect is and so have fixed it anyway. Although having a prescription to reproduce it would help me confirm that it is indeed fixed.
Well, for example when I run
valgrind python /home/cr67/MAUS/maus_merge/bin/utilities/json_to_root.py --input_json_file_name=test_root_io_offline_analysis_IN.json >& valgrind.log
with the attached data file test_root_io_offline_analysis_IN.json I get attached valgrind log valgrind.log
- Category set to Data Structure
- Status changed from Open to Closed
- % Done changed from 0 to 100
- Target version changed from Future MAUS release to MAUS-v0.6.0
Also available in: Atom