Bug 72813 - when using cpio on large files, it hangs in glibc read()
Summary: when using cpio on large files, it hangs in glibc read()
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-28 03:00 UTC by Need Real Name
Modified: 2016-11-24 15:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-08-28 03:00:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-08-28 03:00:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

Description of problem:
cpio hangs in glibc on a read() when trying to extract from a large file. See 
the following stack trace for the exact location.

#0  0x40105c34 in __libc_read () from /lib/libc.so.6
#1  0xbffff650 in ?? ()
#2  0x8049659 in read_in_header (file_hdr=0xbffff8d0, in_des=0) at copyin.c:65
#3  0x8049ea3 in process_copy_in () at copyin.c:452
#4  0x804e2fe in main (argc=3, argv=0xbffffa14) at main.c:515
#5  0x40050b65 in __libc_start_main (main=0x804e2cc <main>, argc=3, ubp_av=0xbff
ffa14,
    init=0x8049018 <_init>, fini=0x805171c <_fini>, rtld_fini=0x4000df24 <_dl_fi
ni>,
    stack_end=0xbffffa0c) at ../sysdeps/generic/libc-start.c:111


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.obtain a large cpio file. Suggest the Oracle for Linux cpio available at 
www.oracle.com
2.attempt any cpio action.  Even attempting cpio -t will hang in glibc on a read
() operation.  I was unable to debug any further than this.
3.
	

Actual Results:  see stack trace in description.  Will not return, even if left 
running overnight.

Expected Results:  read operation in glibc should eventually return.

Additional info:

Comment 1 Need Real Name 2002-08-31 11:39:10 UTC
Very Sorry.  Was using wrong syntax. Was saying:
   cpio parms filename
instead of
   cpio parms  <  filename

Please cancel this bug report.


Note You need to log in before you can comment on or make changes to this bug.