From owner-freebsd-i386@FreeBSD.ORG Wed Feb 20 06:30:06 2008 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB5D016A5D1 for ; Wed, 20 Feb 2008 06:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 291C313C4EF for ; Wed, 20 Feb 2008 06:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1K6U3pl076614 for ; Wed, 20 Feb 2008 06:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1K6U2lx076613; Wed, 20 Feb 2008 06:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 20 Feb 2008 06:30:02 GMT Resent-Message-Id: <200802200630.m1K6U2lx076613@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Andrianov <666.root@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1979616A400 for ; Wed, 20 Feb 2008 06:20:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0BB2F13C467 for ; Wed, 20 Feb 2008 06:20:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1K6Hkvq098360 for ; Wed, 20 Feb 2008 06:17:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1K6HkgT098359; Wed, 20 Feb 2008 06:17:46 GMT (envelope-from nobody) Message-Id: <200802200617.m1K6HkgT098359@www.freebsd.org> Date: Wed, 20 Feb 2008 06:17:46 GMT From: Dmitry Andrianov <666.root@gmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/120872: fstat exit on signall 11 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 06:30:06 -0000 >Number: 120872 >Category: i386 >Synopsis: fstat exit on signall 11 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 20 06:30:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dmitry Andrianov >Release: FreeBSD 7 RC2 >Organization: 79.120.123.5 >Environment: FreeBSD zingel.dubki.ru 7.0-RC2 FreeBSD 7.0-RC2 #0: Sun Feb 17 00:02:07 EET 2008 admin666@zingel.dubki.ru:/usr/obj/usr/src/sys/BEASTIE-RC4 i386 >Description: Hello. I beg pardon for my language. There was a 'little' problem at the use of command fstat: *********** root@zingel:/$ fstat -M /COPYRIGHT Segmentation fault: 11 ************ root@zingel:/$ truss -f /usr/bin/fstat -M /COPYRIGHT 98975: munmap(0x28185094,453623) = 0 (0x0) 98975: munmap(0x2818434c,1160) = 0 (0x0) 98975: fstat(4,{mode=-r-xr-xr-x ,inode=141340,size=6327435,blksize=4096}) = 0 (0x0) 98975: mmap(0x0,6327435,PROT_READ,MAP_PRIVATE,4,0x0) = 1402195968 (0x5393d000) 98975: munmap(0x5393d000,6327435) = 0 (0x0) 98975: lseek(4,0x0,SEEK_SET) = 0 (0x0) 98975: read(4,"\^?ELF\^A\^A\^A\t\0\0\0\0\0\0\0"...,52) = 52 (0x34) 98975: fstat(4,{mode=-r-xr-xr-x ,inode=141340,size=6327435,blksize=4096}) = 0 (0x0) 98975: mmap(0x0,1160,PROT_READ,0x0,4,0x54434c) = 672678732 (0x2818434c) 98975: mmap(0x0,453623,PROT_READ,0x0,4,0x59a094) = 672682132 (0x28185094) 98975: lseek(4,0x5447d4,SEEK_SET) = 5523412 (0x5447d4) 98975: read(4,"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M-.R\0\0\M-p\^EJ\M-@\M-h\^A\0\0"...,16384) = 16384 (0x4000) 98975: read(4,":\M-,\0\0\M^H\M-|\M^R\M-@\^D\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"a\M-~\0\0P\^D\M^H\M-@\^D\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M-|S\^A\0\M-4\M-W\M^M\M-@\^D\0"...,16384) = 16384 (0x4000) 98975: read(4,"E\M-9\^A\0\M-x\M-;\M^M\M-@\^D\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M-1$\^B\0\M-`\M^_\\\M-@\M-R\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"$\M^I\^B\0L\^T\M^P\M-@\f\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M^W\M-\\^B\0Ha\M^H\M-@\^D\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"F?\^C\0\M-h\M-z\M^T\M-@\^X\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M-{\M-<\^C\0\\\M-F\M^M\M-@\^D\0"...,16384) = 16384 (0x4000) 98975: read(4,"\0\^\\^D\0d\M-H\M^M\M-@\^D\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"\240}\^D\0\M-l\M-I\M^M\M-@\^D\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M-K\M-N\^D\0\M-@+\M^R\M-@,\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"?"\^E\0\M-`\M-LH\M-@^\^D\0\0\^R"...,16384) = 16384 (0x4000) 98975: read(4,"<`\^E\0\M-P\M-c\^?\M-@\^X\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"\M-;\M^^\^E\0@\M-w_\M-@X\0\0\0"...,16384) = 16384 (0x4000) 98975: read(4,"a\M-]\^E\0\^P!U\M-@\M^B\0\0\0\^R"...,16384) = 16384 (0x4000) 98975: munmap(0x28185094,453623) = 0 (0x0) 98975: munmap(0x2818434c,1160) = 0 (0x0) 98975: SIGNAL 11 (SIGSEGV) ----------------------------- root@zingel:/$ gdb fstat 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)... (gdb) r -M /COPYRIGHT Starting program: /usr/bin/fstat -M /COPYRIGHT (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x28084112 in _kvm_minidump_freevtop () from /lib/libkvm.so.4 (gdb) where #0 0x28084112 in _kvm_minidump_freevtop () from /lib/libkvm.so.4 #1 0x2808452b in _kvm_kvatop () from /lib/libkvm.so.4 #2 0x28085087 in kvm_read () from /lib/libkvm.so.4 #3 0x280848f2 in _kvm_initvtop () from /lib/libkvm.so.4 #4 0x2808534a in kvm_read () from /lib/libkvm.so.4 #5 0x0804a5fa in ?? () #6 0x00000000 in ?? () #7 0xbfbfe3b8 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0xbfbfe3b8 in ?? () .... #1475 0x00000000 in ?? () #1476 0x00000000 in ?? () #1477 0x00000000 in ?? () #1478 0x00000000 in ?? () #1479 0x00000000 in ?? () #1480 0x00000000 in ?? () #1481 0x00000000 in ?? () #1482 0x102454ff in ?? () #1483 0x2024448d in ?? () #1484 0x5440f750 in ?? () #1485 0x00020000 in ?? () #1486 0x688e0375 in ?? () #1487 0x01a1b814 in ?? () #1488 0xcd500000 in ?? () #1489 0x90feeb80 in ?? () #1490 0x102454ff in ?? () #1491 0x1424448d in ?? () #1492 0x5440f750 in ?? () #1493 0x00020000 in ?? () #1494 0x688e0375 in ?? () #1495 0x0158b814 in ?? () #1496 0xcd500000 in ?? () #1497 0x90feeb80 in ?? () #1498 0xbfbfec30 in ?? () #1499 0x00000003 in ?? () #1500 0xbfbfec40 in ?? () #1501 0x0000001e in ?? () Error accessing memory address 0xbfc00000: Bad address. (gdb) i r eax 0x3a36 14902 ecx 0x48682e31 1214787121 edx 0x28300000 674234368 ebx 0x28087424 671642660 esp 0xbfbfe1e0 0xbfbfe1e0 ebp 0xbfbfe1f8 0xbfbfe1f8 esi 0x8e11ec 9310700 edi 0x0 0 eip 0x28084112 0x28084112 eflags 0x10202 66050 cs 0x33 51 ss 0x3b 59 ds 0x3b 59 es 0x3b 59 fs 0x3b 59 gs 0x1b 27 -------------------------- I thank you after attention, all good. >How-To-Repeat: fstat -M /COPYRIGHT >Fix: >Release-Note: >Audit-Trail: >Unformatted: