bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] OpenBSD + GNU APL 1.8: Segfault immediately on apl startup


From: Dr. Brian Callahan
Subject: Re: [Bug-apl] OpenBSD + GNU APL 1.8: Segfault immediately on apl startup
Date: Sun, 21 Jul 2019 10:09:47 -0400
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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

[Prev in Thread] Current Thread [Next in Thread]