mpictor/StepClassLibrary — Issue #79: fedex_plus segfault with PLIB Part 25 IsoIec
Author: mpictor
Created: 2011-10-16 18:51:41+00:00
State: open

`$ gdb --args ../bin/fedex_plus ../../../archive_sc4/PLIB/Part25/Part25-IS/Released-Part25-IS/LongForm25IsoIec.exp`
GNU gdb (GDB) 7.2-debian
This GDB was configured as "x86_64-linux-gnu".
Reading symbols from /opt/step/scl/build/bin/fedex_plus...done.
`(gdb) r`
Starting program: /opt/step/scl/build/bin/fedex_plus ../../../archive_sc4/PLIB/Part25/Part25-IS/Released-Part25-IS/LongForm25IsoIec.exp
../../../archive_sc4/PLIB/Part25/Part25-IS/Released-Part25-IS/LongForm25IsoIec.exp:3849: WARNING: Implicit downcast to program_reference.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79b30f5 in EXPresolve_op_dot (expr=0x9aa108, scope=0x9a3c90)
at /opt/step/scl/src/express/expr.c:329
329 op2->return_type = v->type;
(gdb) bt

#0 0x00007ffff79b30f5 in EXPresolve_op_dot (expr=0x9aa108, scope=0x9a3c90)
at /opt/step/scl/src/express/expr.c:329
#1 0x00007ffff79b76e5 in EXP_resolve (expr=0x9aa108, scope=0x9a3c90, typecheck=0x673110)
at /opt/step/scl/src/express/resolve.c:490
#2 0x00007ffff79b77b7 in EXP_resolve (expr=0x9aa1b8, scope=0x9a3c40, typecheck=0x6730c0)
at /opt/step/scl/src/express/resolve.c:508
#3 0x00007ffff79b3a7d in EXPresolve_op_relational (e=0x9aa6e0, s=0x9a3c40)
at /opt/step/scl/src/express/expr.c:579
#4 0x00007ffff79b76e5 in EXP_resolve (expr=0x9aa6e0, scope=0x9a3c40, typecheck=0x673110)
at /opt/step/scl/src/express/resolve.c:490
#5 0x00007ffff79b3c70 in EXPresolve_op_default (e=0x9aa738, s=0x9a3c40)
at /opt/step/scl/src/express/expr.c:624
#6 0x00007ffff79b3d4b in EXPresolve_op_logical (e=0x9aa738, s=0x9a3c40)
at /opt/step/scl/src/express/expr.c:646
#7 0x00007ffff79b76e5 in EXP_resolve (expr=0x9aa738, scope=0x9a3c40, typecheck=0x673110)
at /opt/step/scl/src/express/resolve.c:490
#8 0x00007ffff79b8791 in STMTresolve (statement=0x6a1e48, scope=0x9a3c40)
at /opt/step/scl/src/express/resolve.c:862
#9 0x00007ffff79b840b in STMTlist_resolve (list=0x9a8488, scope=0x9a3c40)
at /opt/step/scl/src/express/resolve.c:809
#10 0x00007ffff79b87ac in STMTresolve (statement=0x6a1e70, scope=0x9a3c40)
at /opt/step/scl/src/express/resolve.c:863
#11 0x00007ffff79b840b in STMTlist_resolve (list=0x9a8490, scope=0x9a3c40)
at /opt/step/scl/src/express/resolve.c:809
#12 0x00007ffff79b8af4 in STMTresolve (statement=0x6a1e98, scope=0x9a3c40)
at /opt/step/scl/src/express/resolve.c:903
#13 0x00007ffff79b840b in STMTlist_resolve (list=0x9a8498, scope=0x9a3b00)
at /opt/step/scl/src/express/resolve.c:809
#14 0x00007ffff79b8c28 in ALGresolve_expressions_statements (s=0x9a3b00, statements=0x9a8498)
at /opt/step/scl/src/express/resolve.c:928
#15 0x00007ffff79ba205 in SCOPEresolve_expressions_statements (s=0x674380)
at /opt/step/scl/src/express/resolve.c:1692