Project

General

Profile

Bug #11038

creating a stepper from a lattice read in from a mad8 file that contains no beam statement generates a misleading segfault from the bowels of lsexpr

Added by Eric Stern about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
11/30/2015
Due date:
% Done:

0%

Estimated time:
Duration:

Description

See attached files bad.py and bad.lat

gstern@egstern-cd-124683:~/recycler201510/RRNOvAMu2E04272015$ synergia bad.py
[egstern-cd-124683:03551] * Process received signal
[egstern-cd-124683:03551] Signal: Segmentation fault (11)
[egstern-cd-124683:03551] Signal code: Address not mapped (1)
[egstern-cd-124683:03551] Failing at address: 0x51e9b90
[egstern-cd-124683:03551] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f3b6826c340]
[egstern-cd-124683:03551] [ 1] /home/egstern/syn2-dev/install/lib/libsynergia_foundation.so(ZNK18Reference_particle9as_lsexprEv+0x52a) [0x7f3b5b48b21a]
[egstern-cd-124683:03551] [ 2] /home/egstern/syn2-dev/install/lib/libsynergia_lattice.so(_ZNK7Lattice9as_lsexprEv+0xfd) [0x7f3b5921420d]
[egstern-cd-124683:03551] [ 3] /home/egstern/syn2-dev/install/lib/synergia/lattice/lattice.so(_ZN5boost6python7objects23caller_py_function_implINS0_6detail6callerIM7LatticeKF6LsexprvENS0_21default_call_policiesENS_3mpl7vector2IS6_RS5_EEEEEclEP7_objectSH_+0x39) [0x7f3b5968d2d9]
[egstern-cd-124683:03551] [ 4] /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0(_ZNK5boost6python7objects8function4callEP7_objectS4_+0xca) [0x7f3b5e33164a]
[egstern-cd-124683:03551] [ 5] /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0(+0x279b8) [0x7f3b5e3319b8]
[egstern-cd-124683:03551] [ 6] /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0(_ZN5boost6python21handle_exception_implENS_9function0IvEE+0x53) [0x7f3b5e33bc93]
[egstern-cd-124683:03551] [ 7] /usr/lib/x86_64-linux-gnu/libboost_python-py27.so.1.54.0(+0x262c3) [0x7f3b5e3302c3]
[egstern-cd-124683:03551] [ 8] /usr/bin/python(PyEval_EvalFrameEx+0x965) [0x499be5]
[egstern-cd-124683:03551] [ 9] /usr/bin/python(PyEval_EvalFrameEx+0xc72) [0x499ef2]
[egstern-cd-124683:03551] [10] /usr/bin/python(PyEval_EvalCodeEx+0x2ac) [0x4a090c]
[egstern-cd-124683:03551] [11] /usr/bin/python(PyEval_EvalFrameEx+0x7d2) [0x499a52]
[egstern-cd-124683:03551] [12] /usr/bin/python(PyEval_EvalCodeEx+0x2ac) [0x4a090c]
[egstern-cd-124683:03551] [13] /usr/bin/python(PyEval_EvalFrameEx+0x7d2) [0x499a52]
[egstern-cd-124683:03551] [14] /usr/bin/python() [0x4a1634]
[egstern-cd-124683:03551] [15] /usr/bin/python(PyRun_FileExFlags+0x92) [0x44e4a5]
[egstern-cd-124683:03551] [16] /usr/bin/python(PyRun_SimpleFileExFlags+0x2ee) [0x44ec9f]
[egstern-cd-124683:03551] [17] /usr/bin/python(Py_Main+0xb5e) [0x44f904]
[egstern-cd-124683:03551] [18] /lib/x86_64-linux-gnu/libc.so.6(
_libc_start_main+0xf5) [0x7f3b67eb8ec5]
[egstern-cd-124683:03551] [19] /usr/bin/python() [0x578c4e]
[egstern-cd-124683:03551]
End of error message *
Segmentation fault (core dumped)

bad.py (213 Bytes) bad.py Eric Stern, 11/30/2015 10:39 PM
bad.lat (32 Bytes) bad.lat Eric Stern, 11/30/2015 10:39 PM


Also available in: Atom PDF