Subject: lib/20214: building pkgsrc/databases/py-bsddb3 throws libpthread assertion
To: None <gnats-bugs@gnats.netbsd.org>
From: None <joachim@cms.tecmath.com>
List: netbsd-bugs
Date: 02/05/2003 15:58:34
>Number: 20214
>Category: lib
>Synopsis: building pkgsrc/databases/py-bsddb3 throws libpthread assertion
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 05 06:59:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Joachim Koenig-Baltes
>Release: NetBSD 1.6N
>Organization:
>Environment:
System: NetBSD compaq 1.6N NetBSD 1.6N (JOACHIM_ISDN) #0: Mon Feb 3 11:36:17 CET 2003 joachim@compaq:/usr/src/sys/arch/i386/compile/JOACHIM_ISDN i386
Architecture: i386
Machine: i386
>Description:
trying to build pkgsrc/databases/py-bsddb3 with python2.2 with native pthreads
throws an assertion and leads to an endless loop in the python interpreter
>How-To-Repeat:
% cd /usr/pkgsrc/database/py-bsddb3; make
=> Checksum OK for bsddb3-4.1.1.tar.gz.
===> Extracting for py22-bsddb3-4.1.1nb1
===> Required installed package db4>=4.0.14: db4-4.0.14 found
===> Required installed package python22>=2.2: python22-2.2.2 found
===> Patching for py22-bsddb3-4.1.1nb1
===> Applying pkgsrc patches for py22-bsddb3-4.1.1nb1
===> Buildlinking for py22-bsddb3-4.1.1nb1
===> Configuring for py22-bsddb3-4.1.1nb1
===> Building for py22-bsddb3-4.1.1nb1
(cd /user/unix/work/NetBSD-current/pkgsrc/databases/py-bsddb3/work.i386/bsddb3-4.1.1 && /usr/bin/env USETOOLS=no MAKECONF=/dev/null USETOOLS="no" OBJECT_FMT="ELF" LDFLAGS=" -Wl,-R/usr/pkg/lib -L/usr/pkg/lib" PATH=/user/unix/work/NetBSD-current/pkgsrc/databases/py-bsddb3/work.i386/.buildlink/bin:/root/bin:/usr/X11R6/bin:/usr/pkg/sbin:/usr/sbin:/sbin:/home/joachim/bin:/usr/local/share/sbin:/usr/local/share/bin:/usr/local/sbin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS="-O2 -I/usr/pkg/include" CPPFLAGS=" -I/usr/pkg/include" FFLAGS="-O" X11PREFIX=/usr/pkg BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" BSD_INSTALL="install" BSD_INSTALL_PROGRAM_DIR="insta
ll -d -o root -g wheel -m 555" BSD_INSTALL_SCRIPT_DIR="install -d -o root -g wheel -m 555" BSD_INSTALL_DATA_DIR="install -d -o root -g wheel -m 555" BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 555" PKG_SYSCONFDIR="/usr/pkg/etc" BUILDLINK_DIR="/user/unix/work/NetBSD-current/pkgsrc/databases/py-bsddb3/work.i386/.buildlink" BUILDLINK_X11_DIR="/user/unix/work/NetBSD-current/pkgsrc/databases/py-bsddb3/work.i386/.buildlink-x11" BUILDLINK_CACHE_ALL=yes BUILDLINK_CPPFLAGS="-I/usr/pkg/include" BUILDLINK_LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" CC="cc" CXX="c++" LD="ld" /usr/pkg/bin/python2.2 setup.py --berkeley-db=/usr/pkg build)
assertion "next != 0" failed: file "/user/unix/work/NetBSD-current/src/lib/libpthread/pthread_run.c", line 118, function "pthread__next"
----------
the process then consumes 100% cpu.
>Fix:
no idea
>Release-Note:
>Audit-Trail:
>Unformatted: