[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
Yorick - View topic - Yeti: h_next broken on 64-bit OS

 




Reply to topic  [ 3 posts ] 
Yeti: h_next broken on 64-bit OS 
Author Message
Yorick Guru

Joined: Sat Jan 22, 2005 2:44 pm
Posts: 86
Location: Pasadena, CA
Post Yeti: h_next broken on 64-bit OS
I am still worried about yeti's hash tables for "complex" keywords. I get failures on 64bit OSs in h_next whenever there are special characters
included in keys (space, -, ., /, _,....)

I have looked at yeti_hash.c ... but cannot figure out where the bug is in Y_h_next. I would be happy to help debugging, but my knowledge of C is weak. I have also notice that the bug only appears with "key phrases" of more than eight characters, including the "special" character.

Thanks,
Thierry

Edit: I am only picking this up because I am concerned that this sort of problem
may affect other hash functions in yeti -- however, as far as I know, it all seems
to work perfectly well elsewhere....

================= sparc ===================
>yorick
Copyright (c) 2005. The Regents of the University of California.
All rights reserved. Yorick 2.1.05x ready. For help type 'help'
#include "yeti.i"
Yeti 6.2.2 ready. Copyright (c) 1996-2007, Eric THIEBAUT.
h=h_new("one two",1,"two three",2)
h_next(h,h_first(h))
"two three"
sizeof(long)
4
=================ia64/x86_64==================
>yorick
Copyright (c) 2005. The Regents of the University of California.
All rights reserved. Yorick 2.1.05x ready. For help type 'help'
#include "yeti.i"
Yeti 6.2.2 ready. Copyright (c) 1996-2007, Eric THIEBAUT.
h=h_new("one two",1,"two three",2)
h_next(h,h_first(h))
ERROR (*main*) hash entry not found
WARNING source code unavailable (try dbdis function)
now at pc= 1 {of 18 } failed at pc= 11
To enter debug mode, type <RETURN> now (then dbexit to get out)
sizeof(long)
8
/* however */
h_first(h)
"two three"
h("one two")
1
h("two three")
2


Sat Jan 10, 2009 5:20 pm
Profile YIM
Yorick Guru

Joined: Wed Nov 24, 2004 12:51 pm
Posts: 97
Location: Observatoire de Lyon (France)
Post bug fixed in Yeti 6.2.3
Hi,

The issue is fixed in Yeti 6.2.3 (http://www-obs.univ-lyon1.fr/labo/perso/eric.thiebaut/yeti_download.html). Sorry for this looooooong delay.[/url]


Sun Apr 19, 2009 4:33 am
Profile WWW
Yorick Guru

Joined: Sat Jan 22, 2005 2:44 pm
Posts: 86
Location: Pasadena, CA
Post 
Thank you Eric. Still hashing happily....


Mon Apr 20, 2009 7:14 pm
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.