GNU bug report logs - #68362
Segmentation fault when a procedure is called with no arguments

Previous Next

Package: guile;

Reported by: Yuval Langer <yuval.langer <at> gmail.com>

Date: Wed, 10 Jan 2024 04:14:02 UTC

Severity: normal

Full log


Message #8 received at 68362 <at> debbugs.gnu.org (full text, mbox):

From: Yuval Langer <yuval.langer <at> gmail.com>
To: 68362 <at> debbugs.gnu.org
Subject: Wrong Guile version and a new error message
Date: Wed, 10 Jan 2024 06:24:34 +0200
Sorry,

I have provided the wrong version number used to produce the
segmentation fault.  The true version is:

    guile (GNU Guile) 3.0.5
    Packaged by Debian (3.0.5-deb+3.0.5-4)
    Copyright (C) 2021 Free Software Foundation, Inc.

    License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

as that is the one specified in ./rsv2scm's shebang.

Using the Guix version:

    $ printf "\xfe" | guile -L . -e main -s rsv2scm

I get the following error:

    Backtrace:
    In ice-9/boot-9.scm:
      1752:10  7 (with-exception-handler _ _ #:unwind? _ # _)
    In unknown file:
               6 (apply-smob/0 #<thunk 7fcdb7dbc300>)
    In ice-9/boot-9.scm:
        724:2  5 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
    In ice-9/eval.scm:
        619:8  4 (_ #(#(#<directory (guile-user) 7fcdb7dbfc80>)))
    In rsv2scm:
        13:12  3 (main _)
    In rsv/arbitrary-null.scm:
       144:23  2 (rsv->scm #f #<input: file 0>)
       116:11  1 (row->scm #f 0 #<input: file 0>)
         84:4  0 (read-null-value _ _ _)

    rsv/arbitrary-null.scm:84:4: In procedure read-null-value:
    Wrong number of arguments to 254

The byte value being piped into guile is 254.  Weird.

Thank you,
Yuval Langer.




This bug report was last modified 1 year and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.