xfs
[Top] [All Lists]

BUG 800493 - xfs_db suspect memory allocation

To: dxm@xxxxxxxxxxxx
Subject: BUG 800493 - xfs_db suspect memory allocation
From: pv@xxxxxxxxxxxxx (nathans@xxxxxxxxxxxx)
Date: Tue, 29 Aug 2000 22:50:56 -0700 (PDT)
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=800493

Submitter : nathans                   Submitter Domain : engr               
Assigned Engineer : dxm               Assigned Domain : engr                
Assigned Group : xfs-linux            Category : software                   
Customer Reported : F                 Priority : 3                          
Project : xfs-linux                   Status : open                         
Description :
Linking tools with libefence.a, qa test 004 fails due to xfs_db
attempting to malloc zero bytes...

003 - output mismatch (see 003.out.bad)
4a5,7
> 
> ElectricFence Aborting: Allocating 0 bytes, probably a bug.
> FAILED - core file
5a9,11
> 
> ElectricFence Aborting: Allocating 0 bytes, probably a bug.
> FAILED - core file

(gdb) r -c "push sb" /dev/hda5
Starting program: /home/nathans/isms/linux-xfs/cmd/xfs/db/./xfs_db -c "push sb" 
/dev/hda5

  Electric Fence 2.0.5 Copyright (C) 1987-1998 Bruce Perens.

ElectricFence Aborting: Allocating 0 bytes, probably a bug.

Program received signal SIGILL, Illegal instruction.
0x40037d41 in __kill () from /lib/libc.so.6
(gdb) where
#0  0x40037d41 in __kill () from /lib/libc.so.6
#1  0x80d21ab in EF_Abort ()
#2  0x80d196e in memalign ()
#3  0x80d1ed7 in malloc ()
#4  0x806a9c7 in xmalloc (size=0) at malloc.c:74
#5  0x806a3b5 in read_bbs (bbno=0, count=0, bufp=0x4011dbd0, bbmap=0x0)
    at io.c:487
#6  0x806a78a in set_cur (t=0x0, d=0, c=0, ring_flag=0, bbmap=0x0) at io.c:575
#7  0x8069ba7 in push_f (argc=2, argv=0x4011bff4) at io.c:256
#8  0x805e48a in command (argc=2, argv=0x4011bff4) at command.c:113
#9  0x806e568 in main (argc=4, argv=0xbffffaf4) at main.c:57
(gdb) q

<Prev in Thread] Current Thread [Next in Thread>
  • BUG 800493 - xfs_db suspect memory allocation, nathans@xxxxxxxxxxxx <=