emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#68350: closed (Segmentation fault using list-head with negative k)


From: GNU bug Tracking System
Subject: bug#68350: closed (Segmentation fault using list-head with negative k)
Date: Thu, 11 Jan 2024 18:59:02 +0000

Your message dated Thu, 11 Jan 2024 19:58:18 +0100
with message-id <14502FE5-C04B-4835-A438-46D0C5D44F5D@sarc.name>
and subject line Re: bug#68350: Segmentation fault using list-head with 
negative k
has caused the debbugs.gnu.org bug report #68350,
regarding Segmentation fault using list-head with negative k
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68350: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68350
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Segmentation fault using list-head with negative k Date: Tue, 09 Jan 2024 19:36:06 +0000
Hello List

If this has been reported before I didn't find it. Here's the recipe:

$ guile -q
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (list-head '(1 2 3) -1)
Segmentation fault

Argument -1 is an improper argument and an error is expected, but not a
segmentation fault.

With positive integers out of bounds I see an exception, not segfault.

This is an apt-installed guile on Debian

$ dpkg -l | grep guile
ii  guile-3.0                               3.0.8-2                             
         amd64        GNU extension language and Scheme interpreter
ii  guile-3.0-doc                           3.0.8-2                             
         all          Documentation for Guile 3.0
ii  guile-3.0-libs:amd64                    3.0.8-2                             
         amd64        Core Guile libraries

Thanks for all the work

--
Tomas



--- End Message ---
--- Begin Message --- Subject: Re: bug#68350: Segmentation fault using list-head with negative k Date: Thu, 11 Jan 2024 19:58:18 +0100

> On 11 Jan 2024, at 18:57, Tomas Nordin <tomasn@posteo.net> wrote:
> 
> lloda <lloda@sarc.name> writes:
> 
>> I think this is another dupe of https://debbugs.gnu.org/58154.
> 
> Highly possible. Like Ricardo I cannot reproduce this with a local build
> I made from the tip of the repo. (I saw the same segfault using list-ref
> with the debian 3.0.8 version FWIW.)

I looked it up and it is indeed the same bug. It's fixed in 3.0.9.

Thanks for the report!




--- End Message ---

reply via email to

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