Hi Jürgen --

Sure. This is the output:
++ constructing DynamicObject::all_values
++ constructing DynamicObject::all_index_exprs
++ constructing Workspace::the_workspace
++ constructing StateIndicator::top_level_error
++ constructing Parallel::all_CPUs
++ constructing Macro::all_macros
Segmentation fault (core dumped)

~Brian

On 7/21/19 6:45 AM, Dr. Jürgen Sauermann wrote:
Hi Brian,

thanks for reporting this. It looks like something goes wrong in the order of initialization
of static class members.

Could you please change line *35* of file *src/static_Objects* to read:

*bool static_Objects::show_constructors = true;*

and recompile and run GNU APL again? It will crash again but
the output before that is relevant (no stackdump needed).

The segfault is somewhat obscure because *cerr << endl *fails, but
this happens inside an assertion that should not trigger in the first place.

Best Regards,
Jürgen



On 7/21/19 3:07 AM, Dr. Brian Callahan wrote:
Hi list --

I am in the process of updating the OpenBSD package of GNU APL to 1.8. It builds ok, but segfaults immediately upon running the apl binary.

There is a (unfortunately very large) gdb backtrace attached to this email. It seems to be a problem with the custom COUT/CERR handling but I'm not well-versed in GNU APL internals.

Happy to test out any patches.

~Brian



Reply via email to