If you want to find a SIGSEGV trap run the whole thing under GDB. This link might help.
http://www.unknownroad.com/rtfm/gdbtut/gdbsegfault.html Set the trap on the line issuing the error message. It will let you see the stack. Good programming practice for setting things like SIGSEGV is to remember the current setting, install your handler, and then call the saved setting. This creates a chain of handlers. I believe Julia is open source. If Julia isn't doing that, then fix it and post a patch. An easier path is to just comment out the SIGSEGV setting code and see if the fault goes away. Tim On Thursday, December 29, 2022 at 11:01:26 AM UTC-5 [email protected] wrote: > Le mar. 27 déc. 2022 à 14:41, Waldek Hebisch > <[email protected]> a écrit : > > > > On Tue, Dec 27, 2022 at 10:52:04AM +0100, Grégory Vanuxem wrote: > > > Hello Waldek, > > > > > > Le mar. 27 déc. 2022 à 02:43, Waldek Hebisch > > > <[email protected]> a écrit : > > > > > > > > On Wed, Dec 21, 2022 at 12:38:15PM +0100, Grégory Vanuxem wrote: > > > > > Hello Waldek, hello all, > > > [SNIPPET] > > > > > > >> The base is done for me, but... The Julia library requires an > > > >> initialisation and I can't figure out how to initialize its > environment at > > > >> startup, I always encounter a fatal error: ReadOnlyMemoryError > > > > > > > I have never seen such a message. > > > > > > Me too, and, difficult to debug in fact. > > <snip> > > > > > fatal: error thrown and no exception handler available. > > > > > ReadOnlyMemoryError() > > > > > unknown function (ip: 0x52f7062f) > > > > <snip> > > > > Just a little remark: Google says that "error thrown and no > > exception handler available" is Julia error message. Since > > you are _not_ calling Julia this must be exception handler > > installed by Julia. But sbcl depends on exceptions and > > its execetions should go to sbcl handlers. If Julia and > > sbcl wants to take over the same signal (likely SIGSEGV), > > then you are in trouble. > > You're in touch with God I believe*, thanks. I believe something is right > here. > __ > Greg > * not yo be taken literally (SIGTRAP for info) > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/955b588c-3404-4969-be57-f15bb94fdcc3n%40googlegroups.com.
