Project

General

Profile

Bug #1149

SegSmentation fault on crash

Added by Rogers, Chris over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Data Structure
Target version:
Start date:
04 October 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

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


Files

test_root_io_offline_analysis_IN.json (8.77 MB) test_root_io_offline_analysis_IN.json Rogers, Chris, 12 November 2012 17:01
valgrind.log (228 KB) valgrind.log Rogers, Chris, 12 November 2012 17:01
#1

Updated by Richards, Alexander over 11 years ago

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.

Cheers
Alex

#2

Updated by Rogers, Chris over 11 years ago

Did you try with valgrind?

#3

Updated by Richards, Alexander over 11 years ago

No I just spotted something that could be causing it.

#4

Updated by Richards, Alexander over 11 years ago

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.

Cheers
Alex

#5

Updated by Rogers, Chris over 11 years ago

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

#6

Updated by Rogers, Chris almost 11 years ago

  • Category set to Data Structure
  • Status changed from Open to Closed
  • % Done changed from 0 to 100

I think this is fixed

#7

Updated by Rajaram, Durga over 10 years ago

  • Target version changed from Future MAUS release to MAUS-v0.6.0

Also available in: Atom PDF