Project

General

Profile

Bug #1783

Segmentation Fault when running MC

Added by Rogers, Chris almost 7 years ago. Updated almost 7 years ago.

Status:
Open
Priority:
Normal
Category:
TOF
Target version:
-
Start date:
26 October 2015
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

I get following segmentation fault when running the MC geometry 72:-

Command line was

python /home/cr67/MAUS/maus_merge/bin/simulate_mice.py --configuration_file bayes_cards.py >& log

and full log file is in "log" in attached tarball.

#0  0x00000035812ac6cd in waitpid () from /lib64/libc.so.6
#1  0x000000358123e609 in do_system () from /lib64/libc.so.6
#2  0x000000358123e940 in system () from /lib64/libc.so.6
#3  0x00007f4218f13328 in TUnixSystem::StackTrace() () from /home/cr67/MAUS/maus_merge/third_party/build/root/lib/libCore.so
#4  0x00007f4218f121a3 in TUnixSystem::DispatchSignals(ESignals) () from /home/cr67/MAUS/maus_merge/third_party/build/root/lib/libCore.so
#5  <signal handler called>
#6  0x00007f420a4b8805 in MAUS::TOFCalibrationMap::TW(MAUS::TOFChannelKey, int) const () from /home/cr67/MAUS/maus_merge/build/libMausCpp.so
#7  0x00007f420a4b9955 in MAUS::TOFCalibrationMap::dT(MAUS::TOFChannelKey, MAUS::TOFPixelKey, int) const () from /home/cr67/MAUS/maus_merge/build/libMausCpp.so
#8  0x00007f41fe646c9a in MAUS::MapCppTOFMCDigitizer::fill_tof_evt(int, int, std::vector<MAUS::fTofDig, std::allocator<MAUS::fTofDig> >&, std::vector<std::vector<MAUS::TOFDigit, std::allocator<MAUS::TOFDigit> >*, std::allocator<std::vector<MAUS::TOFDigit, std::allocator<MAUS::TOFDigit> >*> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) const () from /home/cr67/MAUS/maus_merge/build/_MapCppTOFMCDigitizer.so
#9  0x00007f41fe64ab02 in MAUS::MapCppTOFMCDigitizer::_process(MAUS::Data*) const () from /home/cr67/MAUS/maus_merge/build/_MapCppTOFMCDigitizer.so
#10 0x00007f41fe652f90 in MAUS::MapBase<MAUS::Data>::process_pyobj(_object*) const () from /home/cr67/MAUS/maus_merge/build/_MapCppTOFMCDigitizer.so
#11 0x00007f41fe64d456 in MAUS::PyWrapMapBase<MAUS::MapCppTOFMCDigitizer>::process(_object*, _object*, _object*) () from /home/cr67/MAUS/maus_merge/build/_MapCppTOFMCDigitizer.so
#12 0x00007f421fc616dd in call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4013
#13 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2666
#14 0x00007f421fc620dd in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4099
#15 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4034
#16 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2666
#17 0x00007f421fc620dd in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4099
#18 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4034
#19 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2666
#20 0x00007f421fc620dd in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4099
#21 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4034
#22 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2666
#23 0x00007f421fc6343e in PyEval_EvalCodeEx (co=0x7f421f9dd930, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=6, kws=0x0, kwcount=0, defs=0x7f421fa3c920, defcount=2, closure=0x0) at Python/ceval.c:3253
#24 0x00007f421fbe2af1 in function_call (func=0x1689848, arg=0x31a7d50, kw=0x0) at Objects/funcobject.c:526
#25 0x00007f421fbb3e23 in PyObject_Call (func=0x1689848, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2529
#26 0x00007f421fbc63ff in instancemethod_call (func=0x1689848, arg=0x31a7d50, kw=0x0) at Objects/classobject.c:2578
#27 0x00007f421fbb3e23 in PyObject_Call (func=0x2ec68c0, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2529
#28 0x00007f421fc5b103 in PyEval_CallObjectWithKeywords (func=0x2ec68c0, arg=0x33371d0, kw=<value optimized out>) at Python/ceval.c:3882
#29 0x00007f421fbc8256 in PyInstance_New (klass=<value optimized out>, arg=0x33371d0, kw=0x0) at Objects/classobject.c:571
#30 0x00007f421fbb3e23 in PyObject_Call (func=0x168d188, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2529
#31 0x00007f421fc60dea in do_call (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4231
#32 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4036
#33 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2666
#34 0x00007f421fc620dd in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4099
#35 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4034
#36 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2666
#37 0x00007f421fc6343e in PyEval_EvalCodeEx (co=0x7f421fa97a30, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253
#38 0x00007f421fc63552 in PyEval_EvalCode (co=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>) at Python/ceval.c:667
#39 0x00007f421fc83080 in run_mod (fp=0x87cf80, filename=<value optimized out>, start=<value optimized out>, globals=0x7df260, locals=0x7df260, closeit=1, flags=0x7fffa9916820) at Python/pythonrun.c:1346
#40 PyRun_FileExFlags (fp=0x87cf80, filename=<value optimized out>, start=<value optimized out>, globals=0x7df260, locals=0x7df260, closeit=1, flags=0x7fffa9916820) at Python/pythonrun.c:1332
#41 0x00007f421fc8324c in PyRun_SimpleFileExFlags (fp=0x87cf80, filename=0x7fffa99187ac "/home/cr67/MAUS/maus_merge/bin/simulate_mice.py", closeit=1, flags=0x7fffa9916820) at Python/pythonrun.c:936
#42 0x00007f421fc98704 in Py_Main (argc=<value optimized out>, argv=<value optimized out>) at Modules/main.c:599
#43 0x000000358121ed5d in __libc_start_main () from /lib64/libc.so.6
#44 0x0000000000400659 in _start ()
===========================================================

Files

mc-with-tracker.tar.gz (4.29 MB) mc-with-tracker.tar.gz Rogers, Chris, 26 October 2015 14:13
mc-with-tracker-1783-less-junk.tar.gz (1.82 MB) mc-with-tracker-1783-less-junk.tar.gz Rogers, Chris, 26 October 2015 14:26
simulate_mice.log (611 KB) simulate_mice.log Rajaram, Durga, 26 October 2015 15:08
#1

Updated by Rogers, Chris almost 7 years ago

Attached new tarball with less junk in the folder (to make it less confusing, I hope).

#2

Updated by Rajaram, Durga almost 7 years ago

I cannot reproduce this.

[durga@fermice1 maus-merge]$ bzr revno
967
[durga@fermice1 maus-merge]$ nohup python bin/simulate_mice.py -configuration_file bayes_cards.py >& simulate_mice.log

Log attached.

Also available in: Atom PDF