Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

ILC model crashing #13

Open
Eothred opened this issue May 6, 2013 · 1 comment
Open

ILC model crashing #13

Eothred opened this issue May 6, 2013 · 1 comment
Assignees
Labels

Comments

@Eothred
Copy link
Member

Eothred commented May 6, 2013

Currently on my laptop, the ILC model is crashing. I have found out that it is due to the line 'use, sequence=EFF1;' in the last init file, but no idea why. The script runs fine in Mad-X.

>>> from cern import cpymad
>>> ilc=cpymad.model('ilc')

  +++++++++++++++++++++++++++++++++++++++++++
  +    MAD-X 5.01.00  (64 bit, Linux)       +
  +           Production Version            +
  + Code Modification Date: 2013.03.13      +
  + Execution Time Stamp: 06.05.13 18.07.45 +
  +++++++++++++++++++++++++++++++++++++++++++
cb =        33.35640952 ;
e0_bds =                250 ;
brho_bds =         8339.10238 ;
*** Error in `python': double free or corruption (fasttop): 0x000000000222d8b0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x788ae)[0x7ff11f31c8ae]
/lib/libc.so.6(+0x79587)[0x7ff11f31d587]
/usr/lib/libmadx.so.1(delete_char_p_array+0xa4)[0x7ff119ecb364]
/usr/lib/libmadx.so.1(use_sequ+0x4f8)[0x7ff119eb87d8]
/usr/lib/libmadx.so.1(exec_command+0xa0d)[0x7ff119ea4fdd]
/usr/lib/libmadx.so.1(process+0x3d)[0x7ff119ebf71d]
/usr/lib/libmadx.so.1(pro_input_+0x2ea)[0x7ff119ec18ba]
/usr/lib/libmadx.so.1(madx_input+0x11d)[0x7ff119ee4eed]
/usr/lib/libmadx.so.1(exec_command+0x11fd)[0x7ff119ea57cd]
/usr/lib/libmadx.so.1(process+0x3d)[0x7ff119ebf71d]
/usr/lib/libmadx.so.1(pro_input_+0x2ea)[0x7ff119ec18ba]
/home/ylevinse/.local/lib/python2.7/site-packages/cern/madx.so(+0x8e14)[0x7ff11d740e14]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(+0x57b18)[0x7ff11f8c4b18]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/home/ylevinse/.local/lib/python2.7/site-packages/cern/madx.so(+0xec20)[0x7ff11d746c20]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(+0x57b18)[0x7ff11f8c4b18]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/home/ylevinse/.local/lib/python2.7/site-packages/cern/madx.so(+0x83d7)[0x7ff11d7403d7]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2069)[0x7ff11f9450b9]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4f83)[0x7ff11f947fd3]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4f83)[0x7ff11f947fd3]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88d)[0x7ff11f94942d]
/usr/lib/libpython2.7.so.1.0(+0x6cfa6)[0x7ff11f8d9fa6]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(+0x57b18)[0x7ff11f8c4b18]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(+0x9bed2)[0x7ff11f908ed2]
/usr/lib/libpython2.7.so.1.0(+0x9bb6c)[0x7ff11f908b6c]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2069)[0x7ff11f9450b9]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4f83)[0x7ff11f947fd3]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88d)[0x7ff11f94942d]
/usr/lib/libpython2.7.so.1.0(+0x6cfa6)[0x7ff11f8d9fa6]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(+0x57b18)[0x7ff11f8c4b18]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(+0x9bed2)[0x7ff11f908ed2]
/usr/lib/libpython2.7.so.1.0(+0x9bb6c)[0x7ff11f908b6c]
/usr/lib/libpython2.7.so.1.0(PyObject_Call+0x4e)[0x7ff11f8b655e]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2069)[0x7ff11f9450b9]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88d)[0x7ff11f94942d]
/usr/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7ff11f949502]
/usr/lib/libpython2.7.so.1.0(+0xf506a)[0x7ff11f96206a]
/usr/lib/libpython2.7.so.1.0(PyRun_InteractiveOneFlags+0x154)[0x7ff11f963cc4]
/usr/lib/libpython2.7.so.1.0(PyRun_InteractiveLoopFlags+0x4e)[0x7ff11f963e9e]
/usr/lib/libpython2.7.so.1.0(PyRun_AnyFileExFlags+0x4c)[0x7ff11f96443c]
/usr/lib/libpython2.7.so.1.0(Py_Main+0xc12)[0x7ff11f9748e2]
/lib/libc.so.6(__libc_start_main+0xf5)[0x7ff11f2c5a15]
...
@ghost ghost assigned Eothred May 6, 2013
@Eothred
Copy link
Member Author

Eothred commented May 7, 2013

Right, so I figured out this is due to commit r4092 in Mad-X, the new garbage collector by Laurent. Not sure what is going on though..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant