[krbdev.mit.edu #7860] libdb2 hanging on regular distribution

Pierre Labastie via RT rt-comment at krbdev.mit.edu
Wed Feb 12 08:14:44 EST 2014


Not sure I am sending to the right place, sorry, I am not sure I 
understand this bug system...

I have reproduced the hanging with a Debian distribution (jessie/sid) on 
a real machine:

$ uname -a
Linux xxxx 3.12-1-amd64 #1 SMP Debian 3.12.9-1 (2014-02-01) x86_64 GNU/Linux

$ less /etc/os-release
PRETTY_NAME="Debian GNU/Linux jessie/sid"
NAME="Debian GNU/Linux"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

After applying the patch to avoid using system dictionaries, I run "make 
check", from the source dictionary and the tests stopped at the same point:
making check in plugins/kdb/db2/libdb2/recno...
make[3]: Entering directory 
`/sources/mitkrb/krb5-1.12.1/src/plugins/kdb/db2/libdb2/recno'
make[3]: Leaving directory 
`/sources/mitkrb/krb5-1.12.1/src/plugins/kdb/db2/libdb2/recno'
making check in plugins/kdb/db2/libdb2/test...
make[3]: Entering directory 
`/sources/mitkrb/krb5-1.12.1/src/plugins/kdb/db2/libdb2/test'
gcc -DHAVE_CONFIG_H  -I../../../../../include -I../../../../../include 
-I. -I./../include -I../include -I./../mpool -I./../btree -I./../hash 
-I./../db -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE  -g -O2 -Wall -Wcast-align 
-Wshadow -Wmissing-prototypes -Wno-format-zero-length -Woverflow 
-Wstrict-overflow -Wmissing-format-attribute -Wmissing-prototypes 
-Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function 
-Wunused-label -Wunused-variable -Wunused-value -Wunknown-pragmas 
-Wsign-compare -Werror=uninitialized -Werror=pointer-arith 
-Werror=declaration-after-statement 
-Werror-implicit-function-declaration -pthread -c dbtest.c
gcc -L.. -L../../../../../lib -Wl,--enable-new-dtags -Wl,-rpath 
-Wl,/usr/lib -g -O2  -o dbtest dbtest.o  -ldb -lkrb5support
LD_LIBRARY_PATH=`echo -L.. -L../../../../../lib | sed -e "s/-L//g" -e 
"s/ /:/g"`; export LD_LIBRARY_PATH;  srcdir=. TMPDIR=.  /bin/sh ./run.test
Test 1: btree, hash: small key, small data pairs
Test 1: recno: small key, small data pairs
Test 2: btree, hash: small key, medium data pairs
Test 2: recno: small key, medium data pairs
(interrupted by hitting ^C)
after interruption, t1 contains lines of the form:
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
t2 contains records in the form:
p
k1
dabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
g
k1
and "cmp t1 t3" gives no errors.

Now, if do:
$ cd plugins/kdb/db2/libdb2/test
$ LD_LIBRARY_PATH=../../../../../lib:.. srcdir=. tmpdir=. bash run.test 
test3
Test 3: hash: small key, big data pairs
(interrupted by hitting ^C after 2 hours)

The output of the line "Test ..." is immediate, then nothing happens. So 
it looks like the problem is not only with recno.
After interruption, t1 contains binary data, t2 contains records in the 
form:
p
k/bin/./netstat
D/bin/./netstat
g
k/bin/./netstat

and t3 is empty.

Regards,
Pierre




More information about the krb5-bugs mailing list