From owner-freebsd-stable@FreeBSD.ORG Wed Sep 28 04:43:44 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 189CA1065676 for ; Wed, 28 Sep 2011 04:43:44 +0000 (UTC) (envelope-from vanopen@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D00858FC15 for ; Wed, 28 Sep 2011 04:43:43 +0000 (UTC) Received: by iadk27 with SMTP id k27so10341189iad.13 for ; Tue, 27 Sep 2011 21:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:organization:x-operating-system:user-agent; bh=+CJOghmTQ0u89P5EVqNrYfuLe8KQGcUUTHW0bJHLy20=; b=vzSViIbRU0fKLo+B/tGbk3aNSX1BuTAFRQN8qmIjTYHJOhUs7CZfWzNOrekVFT32rX AApWt4Le2A0q24YIkTYl5QbTmLDz6LkjI3qqAmCCBAIIc/rPDmNcKLxJOfgsaqmavH/h 1EYzlS5LbTHElFYZSJgBz/O9/PfZ3bB2KDmpo= Received: by 10.68.10.70 with SMTP id g6mr41530437pbb.65.1317185022916; Tue, 27 Sep 2011 21:43:42 -0700 (PDT) Received: from fbsd.t60.cpu ([221.226.175.138]) by mx.google.com with ESMTPS id u1sm3699035pbr.9.2011.09.27.21.43.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Sep 2011 21:43:41 -0700 (PDT) Date: Wed, 28 Sep 2011 12:43:27 +0800 From: Yue Wu To: ml-freebsd-stable Message-ID: <20110928044327.GA37166@fbsd.t60.cpu> References: <20110928010859.GA17098@fbsd.t60.cpu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: China Pharmaceutical University, Nanjing, China X-Operating-System: FreeBSD 9.0-BETA3 i386 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: luit -encoding gbk causes Segmentation fault (core dumped) in 9-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 04:43:44 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Wed, Sep 28, 2011 at 10:17:54AM +0800, Adrian Chadd wrote: > On 28 September 2011 09:08, Yue Wu wrote: > > Hello list, > > > > As the title said. When on 8-stable, luit -encdoding gbk works fine, > > anyone can figure it out what's wrong? > > > > I'm sure it's not a luit's bug because luit works fine and no any > > version updating happened before and after OS's upgrading, I just > > recompiled luit from ports after upgrade from 8-stable to 9-stable, with > > the same compiling options. > > Can you use gdb with the binary and core dump to investigate where it crashed? > That may provide some clues. > Hi, attachment is the output of gdb. -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China Pharmaceutical University(中國藥科大學) No.24, Tongjia Xiang Street, Nanjing 210009, China --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=output_gdbluit > gdb luit luit.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 `luit'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libfontenc.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libfontenc.so.1 Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb.so.2 Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00000000 in ?? () (gdb) bt #0 0x00000000 in ?? () #1 0x0804a97e in ?? () #2 0x0000005e in ?? () #3 0x00000000 in ?? () #4 0x00000001 in ?? () #5 0x0804d4a2 in ?? () #6 0xbfbfe2d8 in ?? () #7 0x00000002 in ?? () #8 0xffffffff in ?? () #9 0x00000000 in ?? () #10 0x00000190 in ?? () #11 0xbfbfe314 in ?? () #12 0x5e000000 in ?? () #13 0x00000002 in ?? () #14 0x00000002 in ?? () #15 0x00000003 in ?? () #16 0xbfbfe528 in ?? () #17 0x0804b159 in ?? () #18 0x2840c0b0 in ?? () #19 0x00000000 in ?? () #20 0xbfbfe312 in ?? () #21 0x00000002 in ?? () #22 0x2808f800 in ?? () #23 0x2808f800 in ?? () #24 0xbfbfe31c in ?? () #25 0xbfbfe36c in ?? () #26 0x435ef26c in ?? () #27 0x2808f800 in ?? () #28 0x280547b2 in dlclose () from /libexec/ld-elf.so.1 Previous frame inner to this frame (corrupt stack?) (gdb) --nFreZHaLTZJo0R7j--