Re: large hashtable crashes SBCL and GCL



Thanks! Juho's comment was exactly right; Daniel's fix is probably accidental. (I was reading beyond the end of an array, but never looked at the bogus values... maybe the GC did though!)

The reason I had no *earmuffs* is that I was typing x and y in repeatedly for tests, and didn't want to type *x* and *y* so much.
But I agree stylistically it's preferable.

No need to look further.

Anecdote -- when I was first learning Lisp in 1966 at MIT, I found that programs could be debugged by emptying my bladder.

How? ...It meant leaving a program listing by a computer terminal (one of maybe 6 or so in a big room on the 9th floor of Project MAC/AI lab, a room which housed a PDP-6 too) for a few minutes. When I returned, some anonymous hacker would have gone over to "my" terminal, picked up the listing, and scribbled a bug fix on the paper. Considering that many listings had no comments...

Thanks again.
RJF


D Herring wrote:
rjf wrote:
in http://www.cs.berkeley.edu/~fateman/lisp/bughash.lisp

I took only a cursory look at your file, but
- comment out the defvar x and y (what!?! no *earmuffs*?!?)
- redefine the test
(defun test(n m &optional (d 5)) ;try these parameters for now.
(let ((x (make-racg n d))
(y (make-racg m d)))
(length (car (mulhash1 x y))) ;; some number returned
))

gets rid of the crash without changing the results of the first three tests.

No idea whether it changes other functionality significantly.

- Daniel
.



Relevant Pages

  • Re: Windows XP Explorer: how to restore "Text Document" to New...
    ... I was so focused on looking for "Text Document" in Templates that ... Although it would still be useful to know how to create a new listing here. ... how do I fix this so that it knows to create a new .txt file in my ... TweakUI for XP might fix it: ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP Explorer: how to restore "Text Document" to New...
    ... Although it would still be useful to know how to create a new listing here. ... Note that I do NOT need to fix the file 'association', but I need to fix 'whatever' makes Explorer show only "Text" in the right-clicked pop-up 'New' file list, so that it shows "Text Document" instead and thus lets me create a .txt file. ... But somehow, in the last few months, my Explorer window only gives me the option to create a new "Text", which results in an error when I select it. ... The other options it lists, like Word docs, Excel docs, etc., all still work as before. ...
    (microsoft.public.windowsxp.general)
  • Re: FC2 Make modules_install fails everytime
    ... I have no idea what is going wrong, what that error is, or how to fix ... but perhaps a listing of your /boot directory might ... > When trying to build a kernel it fails every time I run the make ... > I read somewhere you could make the file by hand, but hey I don't use a ...
    (Fedora)
  • Google does not respect page location + how to force www. use?
    ... to be accessed from a subdomain also appears as part of the main domain. ... A search result page that shows the double listing using the words 'maleisie ... How can I fix this double entry? ... duplicate content, would there be a penalty if the site gets a double ...
    (alt.internet.search-engines)
  • Program listings
    ... With WinXP Home, when I go to Start>Programs, the program listing are in ... How can I fix that to read in one verticle column? ...
    (microsoft.public.windowsxp.general)