Bug#557553: geneweb: Search and navigaition fails

2010-05-05 Thread Mara Raram
Hi,

after upgrading to kubuntu lucid lynx last weekend, this bug bit me, too.

Are there any news on the subject?

Regards
Mara

-- 
Suspicion always haunts the guilty mind.
-- Wm. Shakespeare



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-05-05 Thread Christian PERRIER
Quoting Mara Raram (marara...@googlemail.com):
 Hi,
 
 after upgrading to kubuntu lucid lynx last weekend, this bug bit me, too.
 
 Are there any news on the subject?


I'm afraid there aren't any. The bug has been sent upstream and I just
can wait...not being a wizard in Ocaml programming.




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Stéphane Glondu
Wolfgang Rohdewald a écrit :
 the original bug submitter posted a simple way how to reproduce
 the bug:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557553#15
 
 could you please try that on a 64bit distribution?

I was able to reproduce the bug on an amd64 box. Here is a backtrace:

Wserver: uncaught exception: End_of_file
Raised by primitive operation at file , line 0, characters 0-0
Called from file some.ml, line 664, characters 14-44
Called from file some.ml, line 688, characters 7-46
Called from file request.ml, line 734, characters 17-35
Called from file request.ml, line 754, characters 12-39
Re-raised at file request.ml, line 755, characters 38-41
Called from file gwd.ml, line 1467, characters 23-116
Called from file gwd.ml, line 1635, characters 12-95
Called from file wserver.ml, line 338, characters 6-51


Cheers,

-- 
Stéphane




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Stéphane Glondu
Stéphane Glondu a écrit :
 I was able to reproduce the bug on an amd64 box. Here is a backtrace:
 
 Wserver: uncaught exception: End_of_file
 Raised by primitive operation at file , line 0, characters 0-0
 Called from file some.ml, line 664, characters 14-44
 Called from file some.ml, line 688, characters 7-46
 Called from file request.ml, line 734, characters 17-35
 Called from file request.ml, line 754, characters 12-39
 Re-raised at file request.ml, line 755, characters 38-41
 Called from file gwd.ml, line 1467, characters 23-116
 Called from file gwd.ml, line 1635, characters 12-95
 Called from file wserver.ml, line 338, characters 6-51

More precisely, in database.ml, around line 441:

  if Sys.file_exists fname_inx_acc then
let ic_inx_acc = Secure.open_in_bin fname_inx_acc in
do {
  seek_in ic_inx_acc (Iovalue.sizeof_long * (table_size + i));
  let pos = input_binary_int ic_inx_acc in
  close_in ic_inx_acc;
  seek_in ic_inx pos;
  (Iovalue.input ic_inx : array dsk_istr)
}
  else (* compatibility *)

where:

 - fname_inx_acc = /var/lib/geneweb/test.gwb/names.acc
 - size of fname_inx_acc = 131064
 - Iovalue.sizeof_long * (table_size + i) = 131864

Obviously, Iovalue.sizeof_long is too big. Dividing it by two makes the
original query work (it seems). But I cannot give any guarantee that it
doesn't break something else.

Has the upstream author been contacted about this issue?


Cheers,

-- 
Stéphane




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Christian PERRIER
Quoting Stéphane Glondu (glo...@debian.org):
 Stéphane Glondu a écrit :
  I was able to reproduce the bug on an amd64 box. Here is a backtrace:
  
  Wserver: uncaught exception: End_of_file
  Raised by primitive operation at file , line 0, characters 0-0
  Called from file some.ml, line 664, characters 14-44
  Called from file some.ml, line 688, characters 7-46
  Called from file request.ml, line 734, characters 17-35
  Called from file request.ml, line 754, characters 12-39
  Re-raised at file request.ml, line 755, characters 38-41
  Called from file gwd.ml, line 1467, characters 23-116
  Called from file gwd.ml, line 1635, characters 12-95
  Called from file wserver.ml, line 338, characters 6-51
 
 More precisely, in database.ml, around line 441:
 
   if Sys.file_exists fname_inx_acc then
 let ic_inx_acc = Secure.open_in_bin fname_inx_acc in
 do {
   seek_in ic_inx_acc (Iovalue.sizeof_long * (table_size + i));
   let pos = input_binary_int ic_inx_acc in
   close_in ic_inx_acc;
   seek_in ic_inx pos;
   (Iovalue.input ic_inx : array dsk_istr)
 }
   else (* compatibility *)
 
 where:
 
  - fname_inx_acc = /var/lib/geneweb/test.gwb/names.acc
  - size of fname_inx_acc = 131064
  - Iovalue.sizeof_long * (table_size + i) = 131864
 
 Obviously, Iovalue.sizeof_long is too big. Dividing it by two makes the
 original query work (it seems). But I cannot give any guarantee that it
 doesn't break something else.
 
 Has the upstream author been contacted about this issue?

Not until now (we hadn't enough information, imho).

As you guys did a lot of good investigation, I think it is now OK to
get in touch with Daniel about this bug.

Daniel, the whole story is at:

http://bugs.debian.org/557553




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Daniel de Rauglaudre
Hi,

  Obviously, Iovalue.sizeof_long is too big. Dividing it by two makes the
  original query work (it seems). But I cannot give any guarantee that it
  doesn't break something else.

Which version (ident src/iovalue.ml)? I indeed found bugs for 64 bits
architectures. In src/iovalue.ml, sizeof_long is now defined as (line
14 of that file):
   value sizeof_long = Sys.word_size / 8;

-- 
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Stéphane Glondu
Daniel de Rauglaudre a écrit :
 Which version (ident src/iovalue.ml)? I indeed found bugs for 64 bits
 architectures. In src/iovalue.ml, sizeof_long is now defined as (line
 14 of that file):
value sizeof_long = Sys.word_size / 8;

(* $Id: iovalue.ml,v 5.9 2009-03-10 21:10:29 ddr Exp $ *)
[...]
value sizeof_long = Sys.word_size / 8;


Cheers,

-- 
Stéphane




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Daniel de Rauglaudre
On Mon, Apr 05, 2010 at 07:57:02PM +0200, Christian PERRIER wrote:

 I bet that I'll need to do another CVS snapshot..:-)

For iovalue.ml, latest version is indeed 5.9, therefore ok. Perhaps
another error indeed.

-- 
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-05 Thread Christian PERRIER
Quoting Daniel de Rauglaudre (daniel.de_rauglau...@inria.fr):
 Hi,
 
   Obviously, Iovalue.sizeof_long is too big. Dividing it by two makes the
   original query work (it seems). But I cannot give any guarantee that it
   doesn't break something else.
 
 Which version (ident src/iovalue.ml)? I indeed found bugs for 64 bits
 architectures. In src/iovalue.ml, sizeof_long is now defined as (line
 14 of that file):
value sizeof_long = Sys.word_size / 8;


The overall version is a CVS snapshot as of Oct. 31 2009.

iovalue.ml is:

(* $Id: iovalue.ml,v 5.9 2009-03-10 21:10:29 ddr Exp $ *)


I bet that I'll need to do another CVS snapshot..:-)




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2010-04-04 Thread Wolfgang Rohdewald
On Samstag 03 April 2010, Sylvain Le Gall wrote:
 If you are able to create a simple script that set everything
 up and generates the bug, I can try to see if I can get the
 backtrace and be more precise than a simple End_of_file
 error.

the original bug submitter posted a simple way how to reproduce
the bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557553#15

could you please try that on a 64bit distribution?


-- 
Wolfgang



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-03 Thread Sylvain Le Gall
[Ce message a aussi été publié sur gmane.linux.debian.devel.ocaml.]
On 02-04-2010, Christian PERRIER bubu...@debian.org wrote:

 --GYaKytDE8aa4+VVK
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 Quoting Wolfgang Rohdewald (wolfg...@rohdewald.de):
 I now have the same bug after migrating from ubuntu 9.10 32bit
 to ubuntu 10.4 64bit.
=20
 Did anybody already find a solution for this?


 As of now, no. As already mentioned in the bug history, I need help
=66rom Ocaml gurus for this.


You must start by getting a backtrace for this. However, this can be
quite hard to get.

If you are able to create a simple script that set everything up and
generates the bug, I can try to see if I can get the backtrace and be
more precise than a simple End_of_file error.

Regards
Sylvain Le Gall





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-03 Thread Christian PERRIER
Quoting Sylvain Le Gall (gil...@debian.org):

 If you are able to create a simple script that set everything up and
 generates the bug, I can try to see if I can get the backtrace and be
 more precise than a simple End_of_file error.

*I* can't get the backtrace as all my machines having geneweb are
using i386.

Maybe the original bug submitter of Wolfgang who just followed up to
this bug may help in getting this?




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2010-04-02 Thread Wolfgang Rohdewald
I now have the same bug after migrating from ubuntu 9.10 32bit
to ubuntu 10.4 64bit.

Did anybody already find a solution for this?




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2010-04-02 Thread Christian PERRIER
Quoting Wolfgang Rohdewald (wolfg...@rohdewald.de):
 I now have the same bug after migrating from ubuntu 9.10 32bit
 to ubuntu 10.4 64bit.
 
 Did anybody already find a solution for this?


As of now, no. As already mentioned in the bug history, I need help
from Ocaml gurus for this.




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2009-11-24 Thread Pär-Ola Nilsson

Christian Perrier wrote:

Quoting Pär-Ola Nilsson (p...@home.se):

  

I then add a family consisting of father john doe and mother jane
do which succed.
I then go to the front page and try to navigate - by the list of
all surnames by alphabetic order
I then select either long or short display end then click on doe
and then I get the failure:

2009-11-23 19:35:14 (26034) test?m=N;v=doe;t=A
 From: localhost
 Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.245.1 Safari/532.5
 Referer: http://localhost:2317/test?m=N;tri=S;o=A;k=
 #accesses 59 (#welcome 7) since 23/11/2009
Wserver: uncaught exception: End_of_file




Hmm, I just did the exact same sequence after adding your test
database to my local tree and.got no error.

Could you send the output of ls -lR /var/lib/geneweb?

Are you using unstable or testing?


  
It's a mishmash but mostly unstable, some testing and some select 
experimental.


Tried the same thing on a i386 box mostly testing with some unstable and 
that works.

Tried the same on another amd64 box mostly unstable and some testing, failes
Another i386 box at work mostly unstable and some testing, works

Seems its amd64 boxes that fail.

Attached ls-lR

Regards

Pär-Ola

/var/lib/geneweb:
total 4
drwxrws--- 2 root geneweb   50 23 nov 13.15 cnt
drwxrws--- 2 root geneweb6  8 nov 19.09 etc
drwxrws--- 2 root geneweb6  8 nov 19.09 images
drwxrwsr-x 2 peje geneweb 4096 23 nov 19.28 test.gwb
-rw-rw-rw- 1 peje geneweb0 23 nov 19.26 test.lck

/var/lib/geneweb/cnt:
total 4
-rw-rw-rw- 1 geneweb geneweb  0 23 nov 13.14 gwd.lck
-rw-rw-rw- 1 geneweb geneweb  0 23 nov 13.15 test.lck
-rw-rw 1 geneweb geneweb 23 23 nov 19.38 test.txt

/var/lib/geneweb/etc:
total 0

/var/lib/geneweb/images:
total 0

/var/lib/geneweb/test.gwb:
total 196
-rw-rw-r-- 1 pejegeneweb219 23 nov 19.26 base
-rw-rw-r-- 1 pejegeneweb  8 23 nov 19.26 base.acc
-rw-rw-r-- 1 pejegeneweb 12 23 nov 19.26 command.txt
-rw-rw-r-- 1 pejegeneweb  0 23 nov 19.26 fnames.dat
-rw-rw-r-- 1 pejegeneweb 21 23 nov 19.26 fnames.inx
-rw-rw-r-- 1 pejegeneweb 131064 23 nov 19.26 names.acc
-rw-rw-r-- 1 pejegeneweb  32820 23 nov 19.26 names.inx
-rw-rw-r-- 1 pejegeneweb118 23 nov 19.26 particles.txt
-rw-rw 1 geneweb geneweb241 23 nov 19.28 patches
-rw-rw-r-- 1 pejegeneweb  0 23 nov 19.26 snames.dat
-rw-rw-r-- 1 pejegeneweb 21 23 nov 19.26 snames.inx
-rw-rw-r-- 1 pejegeneweb154 23 nov 19.26 strings.inx


Bug#557553: geneweb: Search and navigaition fails

2009-11-24 Thread Christian Perrier
tags 557553 help
thanks

Quoting Pär-Ola Nilsson (p...@home.se):

 Hmm, I just did the exact same sequence after adding your test
 database to my local tree and.got no error.
 
 Could you send the output of ls -lR /var/lib/geneweb?
 
 Are you using unstable or testing?
 
 
 It's a mishmash but mostly unstable, some testing and some select
 experimental.
 
 Tried the same thing on a i386 box mostly testing with some unstable
 and that works.
 Tried the same on another amd64 box mostly unstable and some testing, failes
 Another i386 box at work mostly unstable and some testing, works
 
 Seems its amd64 boxes that fail.


Oh, nice catch. So, we apparently have something that fails on amd64
but not i386.

I might need some help by the Ocaml team to track this down. It is
more and more likely that this goes far beyond my own skills.

Ocaml folks, would you mind looking at this bug report that apparently
shows up only on amd64, for geneweb?




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2009-11-23 Thread Christian Perrier
Quoting Pär-Ola Nilsson (p...@home.se):

 I then add a family consisting of father john doe and mother jane
 do which succed.
 I then go to the front page and try to navigate - by the list of
 all surnames by alphabetic order
 I then select either long or short display end then click on doe
 and then I get the failure:
 
 2009-11-23 19:35:14 (26034) test?m=N;v=doe;t=A
  From: localhost
  Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
 (KHTML, like Gecko) Chrome/4.0.245.1 Safari/532.5
  Referer: http://localhost:2317/test?m=N;tri=S;o=A;k=
  #accesses 59 (#welcome 7) since 23/11/2009
 Wserver: uncaught exception: End_of_file


Hmm, I just did the exact same sequence after adding your test
database to my local tree and.got no error.

Could you send the output of ls -lR /var/lib/geneweb?

Are you using unstable or testing?




signature.asc
Description: Digital signature


Bug#557553: geneweb: Search and navigaition fails

2009-11-22 Thread Par-Ola Nilsson
Package: geneweb
Version: 5.02~cvs20091031-2
Severity: normal


If I search for a person I get a blank page and the following in
/etc/log/geneweb.log:
2009-11-22 20:30:26 (29174) anton?m=NGn=Nilssont=N
  From: localhost
  Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091112 
Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1)
  Referer: http://localhost:2317/anton
  #accesses 1,299 (#welcome 44) since 28/10/2008
Wserver: uncaught exception: End_of_file

Other ways to navigate to a person get the same results.

Downgrading to 5.01-8 bring back functionality.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'testing'), (60, 'stable'), (49, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages geneweb depends on:
ii  adduser   3.111  add and remove users and groups
ii  debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii  iso-codes 3.11.1-1   ISO language, territory, currency,
ii  isoquery  0.18-1 Search and display various ISO cod
ii  libc6 2.10.1-7   GNU C Library: Shared libraries
ii  lsb-base  3.2-23 Linux Standard Base 3.2 init scrip
ii  perl-base [perl5-base]5.10.1-7   minimal Perl system

geneweb recommends no packages.

Versions of packages geneweb suggests:
ii  gwsetup  5.02~cvs20091031-2  utilities to configure and manipul
ii  gwtp 5.02~cvs20091031-2  web interface interacting with Gen
ii  iceweasel [www-brows 3.5.5-1 lightweight web browser based on M
ii  konqueror [www-brows 4:4.3.2-1   KDE 4's advanced file manager, web
ii  lynx 2.8.8dev.1-1Text-mode WWW Browser (transitiona
ii  lynx-cur [www-browse 2.8.8dev.1-1Text-mode WWW Browser with NLS sup
ii  menu 2.1.42  generates programs menu for all me
ii  opera [www-browser]  10.01.4682.gcc4.qt3 The Opera Web Browser
ii  w3m [www-browser]0.5.2-2.1   WWW browsable pager with excellent

-- debconf information:
  geneweb/run_mode: Manual
  geneweb/remainingdir:
  geneweb/remove_databases: false
  geneweb/port: 2316
  geneweb/lang: English



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557553: geneweb: Search and navigaition fails

2009-11-22 Thread Christian Perrier
Quoting Par-Ola Nilsson (p...@home.se):
 Package: geneweb
 Version: 5.02~cvs20091031-2
 Severity: normal
 
 
 If I search for a person I get a blank page and the following in
 /etc/log/geneweb.log:
 2009-11-22 20:30:26 (29174) anton?m=NGn=Nilssont=N
   From: localhost
   Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091112 
 Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1)
   Referer: http://localhost:2317/anton
   #accesses 1,299 (#welcome 44) since 28/10/2008
 Wserver: uncaught exception: End_of_file
 
 Other ways to navigate to a person get the same results.
 
 Downgrading to 5.01-8 bring back functionality.


I haven't been able to reproduce this with my own database.

Can you try the same action on another database?

In order to be able to reproduce this, would you mind sending the
tarball of your database to this bug report (I understand there may be
confidentiality issues)?




signature.asc
Description: Digital signature