Bug 60872

Summary: tab-completion causes a seg fault during an interactive restore
Product: [Retired] Red Hat Linux Reporter: Ben Levenson <benl>
Component: dumpAssignee: Mike A. Harris <mharris>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-23 00:41:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace during 'restore' none

Description Ben Levenson 2002-03-08 02:30:25 UTC
Description of Problem:
Tab completion causes a segmentation fault during interactive restores.
  # RMT=/sbin/rmt RSH=rsh restore -i -f root@i386-72:/tmp/dump-test
  Connection to i386-72 established.
  restore > ext<TAB> Segmentation fault

This works properly on i386.

Version-Release number of selected component (if applicable):
dump-0.4b22-6.ia64.rpm
rmt-0.4b22-6.ia64.rpm

How Reproducible:
100%

Steps to Reproduce:
1. see 'description of problem'

Actual Results:
segmentation fault

Expected Results:
tab-completion should have expanded to the command 'extract'

Additional Information:
the seg fault occurs when trying to expand commands and directory names
within a dump volume. 
WORKAROUND: everything is restored properly as long as the commands
and directory names are typed manually.
strace to follow

Comment 1 Ben Levenson 2002-03-08 03:04:54 UTC
Created attachment 47861 [details]
strace during 'restore'

Comment 2 Mike A. Harris 2002-03-08 06:25:33 UTC
I'd suspect libreadline myself ... shooting from the hip...

This version of dump is ancient though.  Does it do this in the latest
erratum?

Comment 3 Ben Levenson 2002-03-11 17:30:56 UTC
I discovered the bug while testing the erratum packages.

Comment 4 Mike A. Harris 2002-07-30 01:55:00 UTC
Deferring for future investigation.

Comment 5 Mike A. Harris 2002-11-03 06:48:31 UTC
Does this still occur in the latest stable release, or in our current
developmental release?

Comment 6 Ben Levenson 2002-11-23 00:41:16 UTC
I just verified that dump-0.4b28-4 fixes this problem.

Comment 7 Mike A. Harris 2002-11-23 03:59:07 UTC
Closing as CURRENTRELEASE