default   Racket Bugs
Main PageQuick QueryStandard QueryAdvanced QueryHelp
Log in

View Problem Report: 12373

send email to interested parties or send email followup to audit-trail
Reporter's email: dyoo at hashcollision dot org
Number: 12373
Category: mzscheme
Synopsis: mzlib/pconvert does not deal with hashes whose keys have cycles
Class: sw-bug
Responsible: mflatt
Notify-List:
Severity: serious
Priority: medium
State: closed
Confidential: no
Arrival-Date: Wed Nov 16 17:00:01 -0500 2011
Closed-Date: Sat Nov 26 19:09:59 -0500 2011
Last-Modified: Sat Nov 26 19:09:59 -0500 2011
Originator: Danny Yoo
Organization: plt
Submitter-Id: unknown
Release: 5.2
Environment: Linux i686 / Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.124 Safari/534.30
Description: The following exhausts all of memory:


#lang racket
(require mzlib/pconvert)

(define-struct graph-node
  (value neighbors distances)
  #:transparent
  #:mutable)

(define test-graph
  (shared ([A (make-graph-node "A" (list B C) (list 10 10))]
           [B (make-graph-node "B" (list A C) (list 10 10))]
           [C (make-graph-node "C" (list A B) (list 10 10))])
    (list A B C)))

(define x (first test-graph))
(define a-hash (hash x 10))
(print-convert a-hash)
File Attachments:
How-To-Repeat:
Fix:
Release-Note:
Unformatted:

send email to interested parties or send email followup to audit-trail

Audit Trail:

State changed from "open" to "closed" by mflatt at racket-lang.org at Sat, 26 Nov 2011 19:09:59 -0500
Reason>>> A commit by mflatt at racket-lang.org has resolved this report
  http://git.racket-lang.org/plt/commit/0772cdf2e3