xfs
[Top] [All Lists]

BUG 814810 - xfs_logprint core dump

To: nathans@xxxxxxxxxxxx
Subject: BUG 814810 - xfs_logprint core dump
From: pv@xxxxxxxxxxxxx (nathans@xxxxxxxxxxxx)
Date: Thu, 8 Feb 2001 16:53:32 -0800 (PST)
Cc: linux-xfs@xxxxxxxxxxx
Reply-to: sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Webexec: webpvsubmit,PvProjectIncident
Webpv: wobbly.melbourne.sgi.com
View Incident: 
http://co-op.engr.sgi.com/BugWorks/code/bwxquery.cgi?search=Search&wlong=1&view_type=Bug&wi=814810

Submitter : nathans                   Submitter Domain : engr               
Assigned Engineer : nathans           Assigned Domain : engr                
Assigned Group : xfs-linux            Category : software                   
Customer Reported : F                 Priority : 2                          
Project : xfs-linux                   Status : open                         
Description :
QA test 018 can reliably cause xfs_logprint to dump core when the
usrquota mount option has been specified via MOUNT_OPTIONS, and when
using an xfs_logprint binary linked with libefence.  Using a binary
without libefence - no core dump, so xfs_logprint likely has some
questionable memory access pattern(s) in this case.

[root@troppo xfstests]# gdb /usr/sbin/xfs_logprint 018.core
GNU gdb 19991004
Copyright 1998 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-redhat-linux"...
Core was generated by `xfs_logprint /dev/hdb7'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x804b662 in xlog_print_trans_buffer (ptr=0xbffff938, len=24, 
    i=0xbffff924, num_ops=253) at log_misc.c:373
373                                                     printf("0x%x ",
(gdb) l
368                             }
369                             for (bucket = 0; bucket < buckets;) {
370                                     printf("bucket[%d - %d]: ", bucket, 
bucket+3);
371                                     for (col = 0; col < 4; col++, bucket++) 
{
372                                             if (bucket < buckets) {
373                                                     printf("0x%x ",
374                             INT_GET(agi->agi_unlinked[bucket], 
ARCH_CONVERT));
375                                             }
376                                     }
377                                     printf("\n");
(gdb) p agi
$1 = (xfs_agi_t *) 0x40116fa8
(gdb) p agi->agi_unlinked
Cannot access memory at address 0x40116fd0
(gdb) p bucket
$2 = 12
(gdb) p buckets
$3 = 64
(gdb) p col
$4 = 0
(gdb)

<Prev in Thread] Current Thread [Next in Thread>
  • BUG 814810 - xfs_logprint core dump, nathans@xxxxxxxxxxxx <=