From owner-freebsd-ports@FreeBSD.ORG Thu Jul 12 06:43:40 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B489516A400 for ; Thu, 12 Jul 2007 06:43:40 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 6645713C45B for ; Thu, 12 Jul 2007 06:43:40 +0000 (UTC) (envelope-from schneecrash@gmail.com) Received: by py-out-1112.google.com with SMTP id a73so110645pye for ; Wed, 11 Jul 2007 23:43:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BznKvGERQSXsIL4GseRMh/FCxaptWNH4kNiB67RlDNmB6fF6vl+ELAEu/C3Qna1i7+pBsovJCa8k1b7FTaYOmvghEbFtVqHFD8jrTxpZp2N/osWMkVhCy7RvrJ7m9qoYxqiwuMB536fNyJoLlC/b53Q28CIy44jTjvxCCRt2tzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=CJ8/R30Fa1LIEdlw6EjPvEykVjMXK/U7NUWayfkrR8LXfT4LZntWV16aexrdwxm+Q4g1jXGYAg6lPyB51FGX4r0rQhyL6qd04Xmy428mkqcduwDNn7qFb2SqyJIj1qq4mOsPVys8HtowOAJHPSAJtvYQPtMoXbFpIwvz0yavWxY= Received: by 10.64.153.4 with SMTP id a4mr377259qbe.1184222619283; Wed, 11 Jul 2007 23:43:39 -0700 (PDT) Received: by 10.64.150.3 with HTTP; Wed, 11 Jul 2007 23:43:39 -0700 (PDT) Message-ID: <70f41ba20707112343n6626aec8vc5c354de9c16f72b@mail.gmail.com> Date: Wed, 11 Jul 2007 23:43:39 -0700 From: snowcrash+freebsd Sender: schneecrash@gmail.com To: "Stanislav Sedov" In-Reply-To: <20070712100341.9601d252.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <70f41ba20707111230y66532185o7fd8a335d7c72694@mail.gmail.com> <20070711214025.GD95578@darklight.org.ru> <70f41ba20707111535q32cfde90p21f218e128d9bc4c@mail.gmail.com> <20070712100341.9601d252.stas@FreeBSD.org> X-Google-Sender-Auth: a82f48f6b83d1553 Cc: freebsd-ports@freebsd.org, Yuri Pankov Subject: Re: coredump on portupgrade of installed ruby-1.8.6, 1 to ruby-1.8.6_1, 1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 06:43:40 -0000 hi, > Builds fine with your cflags on i386/current. > > Could you, please, send me your `dmesg` output as well as the coredump > along with the executable, that produces it? @: % make ------------------------------------------------------------ ... /usr/local/libexec/ccache/cc -O2 -pipe -funroll-loops -s -frename-registers -fomit-frame-pointer -march=pentium-mmx -fPIC -DRUBY_EXPORT -rdynamic -L. main.o libruby18-static.a -lcrypt -lm -rpath=/usr/local/lib -pthread -o miniruby ./lib/fileutils.rb:1236: [BUG] Segmentation fault ruby 1.8.6 (2007-03-13) [i386-freebsd6] Abort trap (core dumped) *** Error code 134 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.6. *** Error code 1 Stop in /usr/ports/lang/ruby18. ------------------------------------------------------------ % dmesg ------------------------------------------------------------ Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p5 #2: Mon Jun 4 12:15:53 PDT 2007 root@router.mydomain.com:/usr/obj/usr/src/sys/CUSTOM_ROUTER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by National Semi (266.64-MHz 586-class CPU) Origin = "Geode by NSC" Id = 0x540 Stepping = 0 Features=0x808131 real memory = 268435456 (256 MB) avail memory = 257470464 (245 MB) cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 sis0: port 0xe100-0xe1ff mem 0xa0000000-0xa0000fff irq 10 at device 6.0 on pci0 sis0: Silicon Revision: DP83816A miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: xx:xx:xx:xx:xx:xx sis1: port 0xe200-0xe2ff mem 0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: on sis1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: xx:xx:xx:xx:xx:xx sis2: port 0xe300-0xe3ff mem 0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0 sis2: Silicon Revision: DP83816A miibus2: on sis2 ukphy2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis2: Ethernet address: xx:xx:xx:xx:xx:xx Geode GPIO@ = 6100 Geode Soekris net4801 comBIOS ver. 1.30 20070326 Copyright (C) 2000-2007 isab0: port 0x6100-0x613f,0x6200-0x623f at device 18.0 on pci0 isa0: on isab0 pci0: at device 18.1 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0 ata0: on atapci0 ata1: on atapci0 Geode CBA@ 0x6000 Geode rev: 06 03 Timecounter "Geode" frequency 27000000 Hz quality 1000 pci0: at device 18.5 (no driver attached) ohci0: mem 0xa0003000-0xa0003fff irq 11 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered pmtimer0 on isa0 orm0: at iomem 0xc8000-0xd0fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: unable to get the current command byte value. sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A Timecounters tick every 10.000 msec ad0: 38154MB at ata0-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a sis1: discard oversize frame (ether type 8864 flags 3 len 1510 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) sis1: discard oversize frame (ether type 8864 flags 3 len 1514 > max 1506) Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...1 1 1 1 0 0 0 done All buffers synced. Uptime: 17d19h29m27s Rebooting... Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p5 #2: Mon Jun 4 12:15:53 PDT 2007 root@router.mydomain.com:/usr/obj/usr/src/sys/CUSTOM_ROUTER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by National Semi (266.65-MHz 586-class CPU) Origin = "Geode by NSC" Id = 0x540 Stepping = 0 Features=0x808131 real memory = 268435456 (256 MB) avail memory = 257470464 (245 MB) cpu0 on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 sis0: port 0xe100-0xe1ff mem 0xa0000000-0xa0000fff irq 10 at device 6.0 on pci0 sis0: Silicon Revision: DP83816A miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: xx:xx:xx:xx:xx:xx sis1: port 0xe200-0xe2ff mem 0xa0001000-0xa0001fff irq 10 at device 7.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: on sis1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: xx:xx:xx:xx:xx:xx sis2: port 0xe300-0xe3ff mem 0xa0002000-0xa0002fff irq 10 at device 8.0 on pci0 sis2: Silicon Revision: DP83816A miibus2: on sis2 ukphy2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis2: Ethernet address: xx:xx:xx:xx:xx:xx Geode GPIO@ = 6100 Geode Soekris net4801 comBIOS ver. 1.30 20070326 Copyright (C) 2000-2007 isab0: port 0x6100-0x613f,0x6200-0x623f at device 18.0 on pci0 isa0: on isab0 pci0: at device 18.1 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 18.2 on pci0 ata0: on atapci0 ata1: on atapci0 Geode CBA@ 0x6000 Geode rev: 06 03 Timecounter "Geode" frequency 27000000 Hz quality 1000 pci0: at device 18.5 (no driver attached) ohci0: mem 0xa0003000-0xa0003fff irq 11 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered pmtimer0 on isa0 orm0: at iomem 0xc8000-0xd0fff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: unable to get the current command byte value. sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A Timecounters tick every 10.000 msec ad0: 38154MB at ata0-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a ticket: 3 != [1]4 pid 7535 (miniruby), uid 0: exited on signal 6 (core dumped) pid 30966 (miniruby), uid 0: exited on signal 6 (core dumped) pid 35121 (miniruby), uid 0: exited on signal 6 (core dumped) pid 35243 (miniruby), uid 0: exited on signal 6 (core dumped) pid 41953 (miniruby), uid 0: exited on signal 6 (core dumped) pid 17852 (miniruby), uid 0: exited on signal 6 (core dumped) ------------------------------------------------------------ and, % gdb ./work/ruby-1.8.6/miniruby ./work/ruby-1.8.6/miniruby.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 `miniruby'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.3 Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /lib/libpthread.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.2 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2824fecb in kill () from /lib/libc.so.6 [New LWP 100085] (gdb) bt #0 0x2824fecb in kill () from /lib/libc.so.6 #1 0x28175236 in raise () from /lib/libpthread.so.2 #2 0x2824eb78 in abort () from /lib/libc.so.6 #3 0x080f43f5 in rb_bug () #4 0x313a6272 in ?? () #5 0x3a363332 in ?? () #6 0x00000020 in ?? () #7 0x00000000 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () #12 0x00000000 in ?? () #13 0x00000000 in ?? () #14 0x00000000 in ?? () #15 0x00000000 in ?? () ---Type to continue, or q to quit--- q Quit (gdb) q ------------------------------------------------------------ % cd /usr/ports/lang/ruby18/work/ruby-1.8.6 % ls -al miniruby -rwxr-xr-x 1 root wheel 827048 Jul 11 23:18 miniruby* attached as miniruby.bz2, sent 2 u offlist ... thanks!