I attached a simple script which crashes pike. The code has cyclic dependencies within the same pmod, and ends up having parent_identifier=-1 in find_external_context. When compiled with debug, running
pike -M lib test.pike
results in the following backtrace.
/home/el/code/rw/pike/src/interpret.c:778: Fatal error: Identifier out of range, loc->parent_identifer=-1! Backtrace at time of fatal: lib/Test.pmod/FOO.pmod:8: Test.A()->__INIT() lib/Test.pmod/module.pmod:5: Test.A()->__INIT() test.pike:3: /main()->main(1,({"/home/el/code/rw/pike_bugs/1/test.pike"})) Aborted
Arne
pike-devel@lists.lysator.liu.se