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

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

[debbugs-tracker] bug#12809: closed (segfault with (weird use of) make-s


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#12809: closed (segfault with (weird use of) make-struct and make-vtable)
Date: Mon, 05 Nov 2012 22:31:01 +0000

Your message dated Mon, 05 Nov 2012 17:26:37 -0500
with message-id <address@hidden>
and subject line Re: bug#12809: segfault with (weird use of) make-struct and 
make-vtable
has caused the debbugs.gnu.org bug report #12809,
regarding segfault with (weird use of) make-struct and make-vtable
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
12809: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12809
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: segfault with (weird use of) make-struct and make-vtable Date: Mon, 5 Nov 2012 22:29:50 +0100

This code makes guile segfault, tested in the versions 2.0.6.49 and 2.0.6.66 ..

--------
(define v-blocks (make-vtable "pR")) ;; note that this is a protected tail array read-only

(define block-2 (make-struct v-blocks 1 ;; note that this only has one element
                             '((0 2 2 0)
                               (0 2 2 0)
                               (0 0 0 0)
                               (0 0 0 0))))

;; (struct-ref block-2 0)
;; => Segmentation fault (core dumped)
------

There isn't really any reason (for me) to use make-struct or make-vtable (instead of srfi-9) as they are very low level, but it still shouldn't segfault.
So now it's reported.

--
// add

--- End Message ---
--- Begin Message --- Subject: Re: bug#12809: segfault with (weird use of) make-struct and make-vtable Date: Mon, 05 Nov 2012 17:26:37 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
This is a duplicate of bug #12808, so I'm closing this one.

    Mark


--- End Message ---

reply via email to

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