pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/34859: ruby with native pthread broken
The following reply was made to PR pkg/34859; it has been noted by GNATS.
From: "Takayoshi Kochi" <takayoshi.kochi%gmail.com@localhost>
To: "Takahiro Kambe" <taca%back-street.net@localhost>
Cc: gnats-bugs%netbsd.org@localhost, taca%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/34859: ruby with native pthread broken
Date: Thu, 26 Oct 2006 16:58:37 +0900
Hi Kambe-san,
> > Kambe-san, do you have any idea whether "comparison of Fixnum with Float
> > failed"
> > can happen on `min' method for an array?
> Can you show where the error happened with "--verbose" option?
>
> Here is my test results.
>
> taca@gate[73]:uname -mr
> 3.1_RC3 i386
> taca@gate[74]:bsfilter -u --verbose
> start Sun, Oct 22 2006 12:47:39 +0900
> open /home/taca/.bsfilter/C.clean.sdbm 8986 tokens 170 mails by 2160.
> open /home/taca/.bsfilter/C.spam.sdbm 55712 tokens 773 mails by 2160.
> open /home/taca/.bsfilter/C.prob.sdbm 2 tokens 1 mails by 2160.
> reopen /home/taca/.bsfilter/C.prob.sdbm by 2160.
> close /home/taca/.bsfilter/C.prob.sdbm 61282 tokens 61282 mails by 2160.
> close /home/taca/.bsfilter/C.clean.sdbm 8986 tokens 170 mails by 2160.
> close /home/taca/.bsfilter/C.spam.sdbm 55712 tokens 773 mails by 2160.
> open /home/taca/.bsfilter/ja.clean.sdbm 12536 tokens 95 mails by 2160.
> open /home/taca/.bsfilter/ja.spam.sdbm 23864 tokens 647 mails by 2160.
> open /home/taca/.bsfilter/ja.prob.sdbm 2 tokens 1 mails by 2160.
> reopen /home/taca/.bsfilter/ja.prob.sdbm by 2160.
> close /home/taca/.bsfilter/ja.prob.sdbm 32386 tokens 32386 mails by 2160.
> close /home/taca/.bsfilter/ja.clean.sdbm 12536 tokens 95 mails by 2160.
> close /home/taca/.bsfilter/ja.spam.sdbm 23864 tokens 647 mails by 2160.
> end Sun, Oct 22 2006 12:48:23 +0900
Here's my result:
~% bsfilter -u --verbose
start Thu, Oct 26 2006 16:49:13 +0900
open /home/kochi/.bsfilter/C.clean.sdbm 32518 tokens 1278 mails by 5136.
open /home/kochi/.bsfilter/C.spam.sdbm 79001 tokens 8010 mails by 5136.
/home/kochi/bin/bsfilter:261:in `min': comparison of Fixnum with Float
failed (ArgumentError)
from /home/kochi/bin/bsfilter:1726:in `each'
from /home/kochi/bin/bsfilter:1726:in `min'
from /home/kochi/bin/bsfilter:1726:in `update_probability'
from /home/kochi/bin/bsfilter:1724:in `each'
from /home/kochi/bin/bsfilter:1724:in `update_probability'
from /home/kochi/bin/bsfilter:3348:in `run'
from /home/kochi/bin/bsfilter:3345:in `each'
from /home/kochi/bin/bsfilter:3345:in `run'
from /home/kochi/bin/bsfilter:3412
Mmm, this may not be informative ;(
BTW, I found that tDiary (http://www.tdiary.org) doesn't work with `no
native pthread'
version of ruby. I tested with both version 2.0.2 and 2.1.4.
Contrary to the bsfilter,
`native pthread' version of ruby works well for both versions.
I'll file this as another PR later.
--
Takayoshi Kochi
Home |
Main Index |
Thread Index |
Old Index