xfs_db crashes sometimes

Bug #486801 reported by Bremm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfsdump (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xfsdump

Last night the command below worked fine. But now:

$ sudo xfs_db -c frag -r /dev/sda5
Falha de segmentação

[2046627.210827] xfs_db[16146]: segfault at 2125000 ip 0000000000434b80 sp 00007fff424ff0f8 error 4 in xfs_db[400000+71000]

Oddly, it didn't happen few hours ago. But happened few weeks ago... And I don't know which conditions trigger it.

$ LANG= df /home
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda5 xfs 260G 260G 470M 100% /home

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: b33e459d229e12d1709cecd3acd2ab9a
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Sun Nov 22 17:57:41 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: xfsdump 3.0.2 [modified: usr/sbin/xfsinvutil sbin/xfsdump sbin/xfsrestore]
ProcEnviron:
 LANGUAGE=pt_BR.UTF-8
 PATH=(custom, no user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: xfsdump
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Bremm (bremm) wrote :
Revision history for this message
Bremm (bremm) wrote :

A bit more of information.

$ zcat /var/log/message*.gz | grep xfs_db
Oct 26 05:22:25 host kernel: [763229.652721] xfs_db[28516]: segfault at 1e20000 ip 0000000000434b80 sp 00007ffff04b93b8 error 4 in xfs_db[400000+71000]
Oct 26 05:22:48 host kernel: [763252.788697] xfs_db[28521]: segfault at 2093000 ip 0000000000434b80 sp 00007fff0167f3d8 error 4 in xfs_db[400000+71000]
Oct 26 05:22:54 host kernel: [763259.059758] xfs_db[28525]: segfault at 1e58000 ip 0000000000434b80 sp 00007fff490acdd8 error 4 in xfs_db[400000+71000]
Oct 26 05:22:56 host kernel: [763260.285417] xfs_db[28526]: segfault at 1e7d000 ip 0000000000434b80 sp 00007fffc17b66f8 error 4 in xfs_db[400000+71000]
Oct 26 05:22:59 host kernel: [763263.201525] xfs_db[28527]: segfault at b66000 ip 0000000000434b80 sp 00007fffb2833a08 error 4 in xfs_db[400000+71000]
Oct 26 05:23:00 host kernel: [763264.666897] xfs_db[28529]: segfault at 24e3000 ip 0000000000434b80 sp 00007fffd5f66128 error 4 in xfs_db[400000+71000]
Oct 26 05:23:05 host kernel: [763269.985104] xfs_db[28533]: segfault at 2189000 ip 0000000000434b80 sp 00007fffc874c8c8 error 4 in xfs_db[400000+71000]
Oct 26 05:23:33 host kernel: [763297.907734] xfs_db[28541]: segfault at 13c9000 ip 0000000000434b80 sp 00007fff1ae1f3d8 error 4 in xfs_db[400000+71000]
Oct 26 05:23:48 host kernel: [763312.979388] xfs_db[28545]: segfault at 1610000 ip 0000000000434b80 sp 00007fffae723928 error 4 in xfs_db[400000+71000]
Oct 26 05:31:10 host kernel: [763754.537161] xfs_db[28672]: segfault at 26c4000 ip 0000000000434b80 sp 00007fffaac74cd8 error 4 in xfs_db[400000+71000]
Oct 26 05:32:32 host kernel: [763836.946700] xfs_db[28697]: segfault at 2070000 ip 0000000000434b80 sp 00007fff24832a18 error 4 in xfs_db[400000+71000]
Oct 26 05:35:07 host kernel: [763991.231800] xfs_db[28772]: segfault at 18ad000 ip 0000000000434b80 sp 00007fff3b37a3d8 error 4 in xfs_db[400000+71000]
Oct 26 10:24:06 host kernel: [781330.547122] xfs_db[2056]: segfault at e00000 ip 0000000000434b80 sp 00007fff73a30868 error 4 in xfs_db[400000+71000]
Oct 26 14:48:18 host kernel: [797182.282455] xfs_db[6541]: segfault at 1453000 ip 0000000000434b80 sp 00007ffffed76ed8 error 4 in xfs_db[400000+71000]
Oct 26 17:26:47 host kernel: [806691.754261] xfs_db[10129]: segfault at 2605000 ip 0000000000434b80 sp 00007fff3a78e8b8 error 4 in xfs_db[400000+71000]

Revision history for this message
Bremm (bremm) wrote :

Folks, it might be related to the free space in the partition. I'll keep testing to see what's the limit.

bremm@host:~$ sudo xfs_db -c frag -r /dev/sda5
actual 26903, ideal 19452, fragmentation factor 27,70%
bremm@host:~$ LANG= df /home
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda5 xfs 260G 258G 2.1G 100% /home

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.