From owner-freebsd-questions@FreeBSD.ORG Mon Nov 17 19:15:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98C8A1065673 for ; Mon, 17 Nov 2008 19:15:46 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id 6C53B8FC18 for ; Mon, 17 Nov 2008 19:15:46 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2658908wfg.7 for ; Mon, 17 Nov 2008 11:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=vdVkbi8zmLaU/wVbL5ZHsuyAyDyJPaIZu2o9uc6NOA0=; b=SW2Sb/VsPkigviSCOPIwj3XvBnsfkuBPHxAKAOKnEEadzS6G+qNvRBtIWwLfzZie4w FmrSqc4P4YU6RwSPBMPT/poeIGXy/rYxzT/4kEKOqYrNCNiTHSAHA7zunvpbORKmjOcY lZRquA9qsKBnI66ZEvfyLWxtrd3OHa9czAymA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=lNyzDhkyxX0vl+CDN70vDT7a5xGpUGrIya0BFaZcWzFwIkEW4qToOHn/XrKR4bwEst +997qUgLcfgUbMIn0RLQTChe04oDuO/XjIv1+HprjGNgmfWFNIRXoshizMGuOcWRv+F6 TTX+hrC+NnEfPjX3c37c4Owjy0hLuPL3SFZzQ= Received: by 10.142.142.14 with SMTP id p14mr2119937wfd.248.1226949346159; Mon, 17 Nov 2008 11:15:46 -0800 (PST) Received: by 10.142.143.20 with HTTP; Mon, 17 Nov 2008 11:15:46 -0800 (PST) Message-ID: Date: Mon, 17 Nov 2008 14:15:46 -0500 From: "Tsu-Fan Cheng" To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: pkg_delete core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2008 19:15:46 -0000 hi, during recompiling some ports, I found my pkg_delete core dump on some ports (not all of them), when it dumped, it has something like this (print/acroread8): # gdb pkg_delete pkg_delete.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `pkg_delete'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libmd.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libmd.so.4 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2815dae6 in strcmp () from /lib/libc.so.7 (gdb) bt full #0 0x2815dae6 in strcmp () from /lib/libc.so.7 No symbol table info available. #1 0x0804b50c in ?? () No symbol table info available. #2 0x0810b1a0 in ?? () No symbol table info available. #3 0x00000000 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table info available. #5 0x00000000 in ?? () No symbol table info available. #6 0x00000000 in ?? () No symbol table info available. #7 0x00000000 in ?? () No symbol table info available. #8 0x00000000 in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available. #10 0x00000000 in ?? () No symbol table info available. #11 0x0810b180 in ?? () ---Type to continue, or q to quit--- No symbol table info available. #12 0xbfbfd968 in ?? () No symbol table info available. #13 0x0804adc5 in ?? () No symbol table info available. #14 0x00000000 in ?? () No symbol table info available. #15 0x0000000c in ?? () No symbol table info available. #16 0x000003e1 in ?? () No symbol table info available. #17 0x28174af5 in fwrite () from /lib/libc.so.7 No symbol table info available. Previous frame inner to this frame (corrupt stack?) (gdb) any idea?? thanks!! TFC