Bug 17327 - xdelta segfaults on invocation
Summary: xdelta segfaults on invocation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: xdelta
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-07 16:30 UTC by Adrian Likins
Modified: 2007-04-18 16:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-19 22:14:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Adrian Likins 2000-09-07 16:30:26 UTC
[alikins@swoop alikins]$ echo 'sdfasdfasdf' > /tmp/test1
[alikins@swoop alikins]$ echo 'sdfasdfasdfasdfasdfasdf' > /tmp/test2
[alikins@swoop alikins]$ xdelta delta /tmp/test1 /tmp/test2
%XDZ004test1test2^[[?1;2c^[[?1;2cxdelta: lseek failed: Illegal seek
Segmentation fault (core dumped)
[alikins@swoop alikins]$ 1;2c1;2c

Seems to do it on any files I try it on.

Specifiying a file to send it to seems to work,
but attempting to send it to stdout fails. 

ie
    xdelta delta /tmp/test1 /tmp/test2 diffile

works

but

	xdelta delta /tmp/test1 /tmp/test2 -
		or
	xdelta delta /tmp/test1 /tmp/test2

fail. According to the man page, this is supposed
to send output to stdout.

Comment 1 Jeff Johnson 2001-07-24 17:22:10 UTC
Presumably, this was xdelat-2.0.0, so the fix is/was to revert to xdelta-1.1.1

Comment 2 David Balažic 2001-07-26 14:27:30 UTC
[root@localhost /tmp]# xdelta delta   srvsox.wav  srvsox.wav
%XDZ004%

srvsox.wavsrvsox.wavxdelta: lseek failed: Illegal seek
Segmentation fault (core dumped)
[root@localhost /tmp]# xdelta delta  -0  srvsox.wav  srvsox.wav
%XDZ004%

srvsox.wavsrvsox.wav\owh>cvjb7(X C.n
srvsox.wav\owh>cvjb7(X C.n.n4%XDZ004%[root@localhost /tmp]#
[root@localhost /tmp]# rpm -q xdelta
xdelta-1.1.1-7


xdelta segfaults if delta file is written to tty AND compression
is used.

Same with xdelta-1.1.1-10.

The man page is outdated too. ( it misses some of the options ).

Comment 3 David Lawrence 2003-05-16 16:48:54 UTC
Changing product to RHL since we moved this component into the base distro and
end of lifed the Powertools line.

Comment 4 Shawn Walker 2003-06-27 19:29:21 UTC
xdetal 1.1.3 on RedHat 9 does not exhibit this issue.


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