From owner-freebsd-hackers@FreeBSD.ORG Sun May 20 23:25:39 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15B8B16A469 for ; Sun, 20 May 2007 23:25:39 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id EA95713C455 for ; Sun, 20 May 2007 23:25:38 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4KNPcaQ023684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 20 May 2007 16:25:38 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4KNPb7W031437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 20 May 2007 16:25:38 -0700 Message-ID: <4650D8F1.3060701@u.washington.edu> Date: Sun, 20 May 2007 16:25:37 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.20.160839 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: More questions about BDB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 23:25:39 -0000 Ok, I've run into a strange issue with BDB's hash tables. Does anyone know what the following means? db_dump185: seq: Invalid argument Backstory: When dumping out a large amount of data it appears that there's an expected directive which isn't being inserted by Ruby's BDB1.85 facility into the database, or the directive is inappropriately expected by the dumping tool that I'm using (possible byte precision overlap, incorrect coding/heuristics somewhere). The only thing I can find regarding the directive under the /usr/src/lib/libc/db/hash directory is something in hash.c and ndbm.c, where it looks like seq according to ndbm.c links together two (or more) sets of data, because of a data length issue and integer sizes, I think. Thanks, -Garrett