Package: onak Version: 0.3.6-1 Severity: normal
once i load onak with a few keys, lookup works fine for 10 times at most, then segfaults. db4.6_recover -v seems to fix the problem. to reproduce : user=onak sudo su -m $user -c 'rm -f /var/lib/onak/*' sudo su -m $user -c 'cat /home/xavier/keys-onak-test | onak add' # keys-onak-test was generated with gpg --export -a # check if working : sudo su -m $user -c 'onak index .de' do some request until segfault : j=0;while (wget-stdout 'http://localhost:11371/pks/lookup?op=index&options=mr&search=steve' > /dev/null);do sleep .01;(( j += 1 )) ;done;echo $j platform is amd64, onak.conf : pks_bin_dir /usr/bin db_backend db4 backends_dir /usr/lib/onak/backends db_dir /var/lib/onak logfile /var/log/onak.log loglevel 3 www_port 11371 mail_dir /var/spool/onak default_language EN max_last 1 max_reply_keys 128 apache config : ScriptAlias /pks /usr/lib/cgi-bin/pks thanks. onak log : [17/03/2009 10:21:37] onak[2547]: Couldn't open num_keydb: No such file or directory [17/03/2009 10:21:37] onak[2547]: Got 6 new keys. [17/03/2009 10:22:20] lookup[2624]: Error opening key database: keydb.9.db (Cannot allocate memory) [17/03/2009 10:22:20] lookup[2626]: Error opening key database: keydb.0.db (Cannot allocate memory) -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (600, 'unstable'), (550, 'stable'), (549, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27.7.2008.12.02.ws (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages onak depends on: ii adduser 3.110 add and remove users and groups ii libc6 2.7-16 GNU C Library: Shared libraries ii libdb4.6 4.6.21-11 Berkeley v4.6 Database Libraries [ Versions of packages onak recommends: ii apache2 2.2.9-10 Apache HTTP Server metapackage ii apache2-mpm-worker [httpd] 2.2.9-10 Apache HTTP Server - high speed th Versions of packages onak suggests: ii db4.6-util 4.6.21-11 Berkeley v4.6 Database Utilities -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org