unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
@ 2017-11-11 10:50 Alex Vong
  2017-11-14 17:38 ` Kei Kebreau
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Vong @ 2017-11-11 10:50 UTC (permalink / raw)
  To: bug-guix, guix-devel

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

Hello all,

When I start maxima, I get the following warning message:

The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
Maxima 5.41.0 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.

Actually I encountered this problem quite a while ago after an update,
but I didn't report it since it was not fetal.

Does anyone knows what's going on?

Cheers,
Alex

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
  2017-11-11 10:50 maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled Alex Vong
@ 2017-11-14 17:38 ` Kei Kebreau
  2017-11-16 17:32   ` Alex Vong
  0 siblings, 1 reply; 6+ messages in thread
From: Kei Kebreau @ 2017-11-14 17:38 UTC (permalink / raw)
  To: Alex Vong; +Cc: guix-devel, bug-guix

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

Alex Vong <alexvong1995@gmail.com> writes:

> Hello all,
>
> When I start maxima, I get the following warning message:
>
> The SGC segfault recovery test failed with
> memprotect_bad_fault_address, SGC disabled
> The SGC segfault recovery test failed with
> memprotect_bad_fault_address, SGC disabled
> Maxima 5.41.0 http://maxima.sourceforge.net
> using Lisp GNU Common Lisp (GCL) GCL 2.6.12
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
>
> Actually I encountered this problem quite a while ago after an update,
> but I didn't report it since it was not fetal.

When did you first notice this issue?

>
> Does anyone knows what's going on?
>
> Cheers,
> Alex

Hello Alex,

This is my first time running into this issue. While I do get this
warning message using the Maxima substitute from hydra.gnu.org, when I
build Maxima 5.41.0 from source locally, this warning message does not
appear. Is this the case for you as well?

The message comes from the source code of GNU Common Lisp, but the GCL
binary from hydra.gnu.org doesn't give this error when I run it. It
seems like this comes down a bug in GCL set off by Maxima, a bug in
Maxima, a reproducibility issue, or some combination of all of
these. I'll be investigating this further.

Thank you,
Kei

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
  2017-11-14 17:38 ` Kei Kebreau
@ 2017-11-16 17:32   ` Alex Vong
  2017-11-22 17:42     ` Kei Kebreau
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Vong @ 2017-11-16 17:32 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: guix-devel, bug-guix

[-- Attachment #1: Type: text/plain, Size: 2012 bytes --]

Kei Kebreau <kkebreau@posteo.net> writes:

> Alex Vong <alexvong1995@gmail.com> writes:
>
>> Hello all,
>>
>> When I start maxima, I get the following warning message:
>>
>> The SGC segfault recovery test failed with
>> memprotect_bad_fault_address, SGC disabled
>> The SGC segfault recovery test failed with
>> memprotect_bad_fault_address, SGC disabled
>> Maxima 5.41.0 http://maxima.sourceforge.net
>> using Lisp GNU Common Lisp (GCL) GCL 2.6.12
>> Distributed under the GNU Public License. See the file COPYING.
>> Dedicated to the memory of William Schelter.
>> The function bug_report() provides bug reporting information.
>>
>> Actually I encountered this problem quite a while ago after an update,
>> but I didn't report it since it was not fetal.
>
> When did you first notice this issue?
>
I am afraid I cannot remember exactly when...

I installed wxmaxima long ago and things worked fine for a long
time. One day, after updating wxmaxima, it showed the above warning and
started to crash nondeterministically when I typed things into the
message box. The crash was fixed quickly by another update, but the
warning persisted. 

>>
>> Does anyone knows what's going on?
>>
>> Cheers,
>> Alex
>
> Hello Alex,
>
> This is my first time running into this issue. While I do get this
> warning message using the Maxima substitute from hydra.gnu.org, when I
> build Maxima 5.41.0 from source locally, this warning message does not
> appear. Is this the case for you as well?
>
Same for me. I set --prefix during configure and install it
somewhere. It starts without the warning.

> The message comes from the source code of GNU Common Lisp, but the GCL
> binary from hydra.gnu.org doesn't give this error when I run it. It
> seems like this comes down a bug in GCL set off by Maxima, a bug in
> Maxima, a reproducibility issue, or some combination of all of
> these. I'll be investigating this further.
>
> Thank you,
> Kei

Thanks for looking at it!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
  2017-11-16 17:32   ` Alex Vong
@ 2017-11-22 17:42     ` Kei Kebreau
  2017-11-22 17:46       ` Kei Kebreau
  0 siblings, 1 reply; 6+ messages in thread
From: Kei Kebreau @ 2017-11-22 17:42 UTC (permalink / raw)
  To: Alex Vong; +Cc: guix-devel, bug-guix

[-- Attachment #1: Type: text/plain, Size: 2495 bytes --]

Alex Vong <alexvong1995@gmail.com> writes:

> Kei Kebreau <kkebreau@posteo.net> writes:
>
>> Alex Vong <alexvong1995@gmail.com> writes:
>>
>>> Hello all,
>>>
>>> When I start maxima, I get the following warning message:
>>>
>>> The SGC segfault recovery test failed with
>>> memprotect_bad_fault_address, SGC disabled
>>> The SGC segfault recovery test failed with
>>> memprotect_bad_fault_address, SGC disabled
>>> Maxima 5.41.0 http://maxima.sourceforge.net
>>> using Lisp GNU Common Lisp (GCL) GCL 2.6.12
>>> Distributed under the GNU Public License. See the file COPYING.
>>> Dedicated to the memory of William Schelter.
>>> The function bug_report() provides bug reporting information.
>>>
>>> Actually I encountered this problem quite a while ago after an update,
>>> but I didn't report it since it was not fetal.
>>
>> When did you first notice this issue?
>>
> I am afraid I cannot remember exactly when...
>
> I installed wxmaxima long ago and things worked fine for a long
> time. One day, after updating wxmaxima, it showed the above warning and
> started to crash nondeterministically when I typed things into the
> message box. The crash was fixed quickly by another update, but the
> warning persisted. 
>
>>>
>>> Does anyone knows what's going on?
>>>
>>> Cheers,
>>> Alex
>>
>> Hello Alex,
>>
>> This is my first time running into this issue. While I do get this
>> warning message using the Maxima substitute from hydra.gnu.org, when I
>> build Maxima 5.41.0 from source locally, this warning message does not
>> appear. Is this the case for you as well?
>>
> Same for me. I set --prefix during configure and install it
> somewhere. It starts without the warning.
>
>> The message comes from the source code of GNU Common Lisp, but the GCL
>> binary from hydra.gnu.org doesn't give this error when I run it. It
>> seems like this comes down a bug in GCL set off by Maxima, a bug in
>> Maxima, a reproducibility issue, or some combination of all of
>> these. I'll be investigating this further.
>>
>> Thank you,
>> Kei
>
> Thanks for looking at it!

I turns out that the issue is with stratified garbage collection in
GCL. The substitute from hydra.gnu.org does in fact give me the error
when I run "(si::sgc-on t)" in the REPL. I'm preparing a patch to update
GCL to the version used in Debian stable (GCL git tag "pathnames1.13") and
we'll see if changing that definition on the master branch will do anything.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
  2017-11-22 17:42     ` Kei Kebreau
@ 2017-11-22 17:46       ` Kei Kebreau
  2017-11-25 14:15         ` bug#29256: " Alex Vong
  0 siblings, 1 reply; 6+ messages in thread
From: Kei Kebreau @ 2017-11-22 17:46 UTC (permalink / raw)
  To: Alex Vong; +Cc: guix-devel, bug-guix

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

Kei Kebreau <kkebreau@posteo.net> writes:
>
> I turns out that the issue is with stratified garbage collection in
> GCL. The substitute from hydra.gnu.org does in fact give me the error
> when I run "(si::sgc-on t)" in the REPL. I'm preparing a patch to update
> GCL to the version used in Debian stable (GCL git tag "pathnames1.13") and
> we'll see if changing that definition on the master branch will do anything.

On second thought, the patches applied to Debian Sid's GCL look useful
as well. Anyway, keep an eye out for my update patch.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#29256: maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled
  2017-11-22 17:46       ` Kei Kebreau
@ 2017-11-25 14:15         ` Alex Vong
  0 siblings, 0 replies; 6+ messages in thread
From: Alex Vong @ 2017-11-25 14:15 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: guix-devel, 29256-done

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

Kei Kebreau <kkebreau@posteo.net> writes:

> Kei Kebreau <kkebreau@posteo.net> writes:
>>
>> I turns out that the issue is with stratified garbage collection in
>> GCL. The substitute from hydra.gnu.org does in fact give me the error
>> when I run "(si::sgc-on t)" in the REPL. I'm preparing a patch to update
>> GCL to the version used in Debian stable (GCL git tag "pathnames1.13") and
>> we'll see if changing that definition on the master branch will do anything.
>
> On second thought, the patches applied to Debian Sid's GCL look useful
> as well. Anyway, keep an eye out for my update patch.

Thank you! The patch works, the warning has gone. I am closing this bug.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-25 14:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-11 10:50 maxima: The SGC segfault recovery test failed with memprotect_bad_fault_address, SGC disabled Alex Vong
2017-11-14 17:38 ` Kei Kebreau
2017-11-16 17:32   ` Alex Vong
2017-11-22 17:42     ` Kei Kebreau
2017-11-22 17:46       ` Kei Kebreau
2017-11-25 14:15         ` bug#29256: " Alex Vong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).