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 . Jürgen Sauermann
Subject: Re: [Bug-apl] OpenBSD + GNU APL 1.8: Segfault immediately on apl startup
Date: Sun, 21 Jul 2019 12:45:19 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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]