Re: [Chicken-users] Hash table mystery

2008-01-24 Thread Zbigniew
Alex's response below informs us why you get an error on 32-bit but not on 64. The error can only occur when there's an equivalent hash in the table (in hash-table-update!). On a 32-bit system, only the last 8 string chars are significant so reg_effective_date and reg_ineffective_date hash to the

Re: [Chicken-users] Hash table mystery

2008-01-24 Thread Alex Shinn
> "JP" == Jean-Philippe Theberge <[EMAIL PROTECTED]> writes: JP> (define BP (make-hash-table 500)) There's your problem. The parameters for MAKE-HASH-TABLE are: (make-hash-table [eq-fn hash-fn init-size]) ... so the first argument, if provided, should be a function to test if two key

Re: [Chicken-users] Hash table mystery

2008-01-24 Thread Jean-Philippe Theberge
Zbigniew wrote: Looks like I forgot to reply to the list. Removing the 500 fixed the problem. But it doesn't explain why it works on the one machine. Peter Bex confirmed the error correctly occurs on multiple platforms (including x86-64 and sparc64). If this bothers you, I would try cleaning

Re: [Chicken-users] Hash table mystery

2008-01-24 Thread Zbigniew
Looks like I forgot to reply to the list. Removing the 500 fixed the problem. But it doesn't explain why it works on the one machine. Peter Bex confirmed the error correctly occurs on multiple platforms (including x86-64 and sparc64). If this bothers you, I would try cleaning all remnants of Ch

[Chicken-users] Hash table mystery

2008-01-24 Thread Jean-Philippe Theberge
Hi, I hope you can help me as I really dont understand what is the cause of my problem here. The code below work perfecly well on my computer (Version 2.732 - linux-unix-gnu-x86-64) but give me errors on my server (Version 2.732 - linux-unix-gnu-x86) The error log say: (first few lines are