xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 704] New: Segfault on mkfs.xfs on uninitialized devi

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 704] New: Segfault on mkfs.xfs on uninitialized devices on ppc
From: bugzilla-daemon@xxxxxxxxxxx
Date: Fri, 14 Jul 2006 08:01:28 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=704

           Summary: Segfault on mkfs.xfs on uninitialized devices on ppc
           Product: Linux XFS
           Version: Current
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: acorliss@xxxxxxxxxxxxxxxx


xfsprogs v2.7.3 compiled for ppc32, running on ppc64 (POWER5).  Segfaults when
creating new filesystems on uninitialized block devices (partitions/lvs that
have never had a previous filesystem).  Works fine if passed a '-f'.  Strace
output snippet:

open("/dev/rootvg/lvtest2", O_RDWR|O_EXCL|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFBLK|0600, st_rdev=makedev(253, 5), ...}) = 0
ioctl(4, BLKBSZSET, 0xffa7e168)         = 0
fstat64(4, {st_mode=S_IFBLK|0600, st_rdev=makedev(253, 5), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xffa7e1f0)      = 0
ioctl(4, BLKSSZGET, 0xffa7f5f8)         = 0
chdir("/root")                          = 0
mmap(NULL, 2424832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x
f7d80000
mmap(NULL, 2424832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x
f7b30000
close(3)                                = 0
stat64("/dev/rootvg/lvtest2", {st_mode=S_IFBLK|0600, st_rdev=makedev(253, 5), ..
.}) = 0
open("/dev/rootvg/lvtest2", O_RDONLY|O_LARGEFILE) = 3
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 576) = 576
_llseek(3, 512, [512], SEEK_SET)        = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
_llseek(3, 1024, [1024], SEEK_SET)      = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 228) = 228
_llseek(3, 3072, [3072], SEEK_SET)      = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
_llseek(3, 8192, [8192], SEEK_SET)      = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1376) = 137
6
_llseek(3, 8192, [8192], SEEK_SET)      = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
_llseek(3, 8192, [8192], SEEK_SET)      = 0
read(3, "\0\0\0\0\0\0\0\0", 8)          = 8
_llseek(3, 32768, [32768], SEEK_SET)    = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 168) = 168
_llseek(3, 32768, [32768], SEEK_SET)    = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048) = 204
8
_llseek(3, 65536, [65536], SEEK_SET)    = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 
32768
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 704] New: Segfault on mkfs.xfs on uninitialized devices on ppc, bugzilla-daemon <=