DenVdmj / xdelta

Automatically exported from code.google.com/p/xdelta (actual: https://github.com/jmacd/xdelta-devel/)
0 stars 0 forks source link

xdelta3: non-seekable source in decode: XD3_INTERNAL #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running xdelta3 3.0y on some of (bigger?) Arch's packages fails with 
"xdelta3: non-seekable source in decode: XD3_INTERNAL". The last version it 
works okay with is 3.0v2.

With 3.0y: 
xdelta3 -d -vv -s wine-1.1.40-1-i686.pkg.tar.gz wine-1.1.40-1_to_1.1.41-1-
i686.delta wine-1.1.41-1-i686.pkg.tar.xz                                       [
xdelta3: input wine-1.1.40-1_to_1.1.41-1-i686.delta window size 2.64 MiB
xdelta3: source wine-1.1.40-1-i686.pkg.tar.gz source size unknown blksize 
32.0 MiB window 64.0 MiB #bufs 2 (FIFO)
xdelta3: output wine-1.1.41-1-i686.pkg.tar.xz
xdelta3: xz -cf | wine-1.1.41-1-i686.pkg.tar.xz
xdelta3: 0: in 6.33 KiB (658 B/s): out 8.00 MiB (832 KiB/s): total in 6.33 KiB: 
out 8.00 MiB: 9.8 sec: srcpos 32.0 MiB
xdelta3: 1: in 9.55 KiB (1.00 KiB/s): out 8.00 MiB (855 KiB/s): total in 15.9 
KiB: out 16.0 MiB: 9.6 sec: srcpos 64.0 MiB
xdelta3: 2: in 342 KiB (47.4 KiB/s): out 8.00 MiB (1.11 MiB/s): total in 358 
KiB: out 24.0 MiB: 7.2 sec: srcpos 64.0 MiB
xdelta3: 3: in 117 KiB (17.0 KiB/s): out 8.00 MiB (1.16 MiB/s): total in 475 
KiB: out 32.0 MiB: 6.9 sec: srcpos 64.0 MiB
xdelta3: non-seekable source in decode: XD3_INTERNAL

With xdelta 3.0v2:

xdelta3 -d -vv -s wine-1.1.40-1-i686.pkg.tar.gz wine-1.1.40-1_to_1.1.41-1-
i686.delta wine-1.1.41-1-i686.pkg.tar.xz                                        
[/var/cache/pacman/pkg]
xdelta3: input window size: 2768060
xdelta3: wine-1.1.40-1_to_1.1.41-1-i686.delta | gzip -dcf
xdelta3: wine-1.1.40-1-i686.pkg.tar.gz | gzip -dcf => /tmp/xd3src.qU5MKu 
501.4% [ 19 MB , 95 MB ]
xdelta3: source wine-1.1.40-1-i686.pkg.tar.gz winsize 64 MB size 99932160
xdelta3: source block size: 2097152
xdelta3: output file: wine-1.1.41-1-i686.pkg.tar.xz
xdelta3: xz -cf | wine-1.1.41-1-i686.pkg.tar.xz
xdelta3: 0: in 6478 B (611 B/sec): out 8192 KB (773 KB/sec): total in 6478 B: 
out 8192 KB: 10 sec
xdelta3: 1: in 9781 B (1063 B/sec): out 8192 KB (890 KB/sec): total in 15 KB: 
out 16 MB: 9.2 sec
xdelta3: 2: in 342 KB (47 KB/sec): out 8192 KB (1133 KB/sec): total in 358 
KB: out 24 MB: 7.2 sec
xdelta3: 3: in 117 KB (18 KB/sec): out 8192 KB (1284 KB/sec): total in 475 
KB: out 32 MB: 6.4 sec
xdelta3: 4: in 714 KB (86 KB/sec): out 8192 KB (997 KB/sec): total in 1189 
KB: out 40 MB: 8.2 sec
xdelta3: 5: in 295 KB (43 KB/sec): out 8192 KB (1192 KB/sec): total in 1485 
KB: out 48 MB: 6.9 sec
xdelta3: 6: in 283 KB (38 KB/sec): out 8192 KB (1105 KB/sec): total in 1768 
KB: out 56 MB: 7.4 sec
xdelta3: 7: in 188 KB (30 KB/sec): out 8192 KB (1313 KB/sec): total in 1956 
KB: out 64 MB: 6.2 sec
xdelta3: 8: in 913 KB (96 KB/sec): out 8192 KB (864 KB/sec): total in 2870 
KB: out 72 MB: 9.5 sec
xdelta3: 9: in 168 KB (26 KB/sec): out 8192 KB (1265 KB/sec): total in 3038 
KB: out 80 MB: 6.5 sec
xdelta3: 10: in 316 KB (45 KB/sec): out 8192 KB (1181 KB/sec): total in 3354 
KB: out 88 MB: 6.9 sec
xdelta3: 11: in 72 KB (7874 B/sec): out 8192 KB (863 KB/sec): total in 3427 
KB: out 96 MB: 9.5 sec
xdelta3: 12: in 1665 B (5268 B/sec): out 276 KB (873 KB/sec): total in 3429 
KB: out 96 MB: 316 ms
xdelta3: finished in 95 sec; input 3528212  output 100945920 bytes  
(2861.11%)

Playing with -B has no effect. Unless it's PEBKAC.

Mentioned files available at 
http://www.schlunix.org/archlinux/extra/os/i686/wine-1.1.40-1-i686.pkg.tar.gz 
and http://archdelta.net/extra/os/i686/wine-1.1.40-1_to_1.1.41-1-i686.delta

The same happened to me when trying to create a delta of the jre package.

Original issue reported on code.google.com by lukasz.f...@gmail.com on 30 Mar 2010 at 6:11

GoogleCodeExporter commented 9 years ago
At me similar problem. Arch Linux and xdelta3 3.0y too.

Original comment by die.xan...@gmail.com on 21 Apr 2010 at 6:19

GoogleCodeExporter commented 9 years ago
How large a value for -B did you try?  As documented in 
http://xdelta.org/2009/10/re-3.html, there is a normal case for this error.  
You should raise the value for -B until it goes away, but keep in mind that 
this problem would not happen normally, it's a result of the delta being 
generated by a pre-3.0y binary being applied by 3.0y.

Who is in charge of the archdelta.net site?  I'd like to know how they choose 
which version of xdelta3 to use, as I'd really like people to upgrade to 3.0y.  
These problems will go away (I think) when both encode and decode are using 
3.0y or later.

Original comment by josh.mac...@gmail.com on 1 Aug 2010 at 3:34

GoogleCodeExporter commented 9 years ago
I believe I tried different -B values, including the highest possible, without 
success. 

Quoting from the archdelta maintainer's original post ( 
https://bbs.archlinux.org/viewtopic.php?pid=717016#p717016 ): "I'm using 
xdelta3 (3.0v-2) because the 3.0w version has a bug where it doesn't decompress 
input files correctly (netting a delta thats almost the same size as the 
package)."

Original comment by lukasz.f...@gmail.com on 1 Aug 2010 at 8:08

GoogleCodeExporter commented 9 years ago
I filed issue 113 about the failure related to -B.

However, I would like archlinux to upgrade past 3.0v and will post again on 
that forum.

Original comment by josh.mac...@gmail.com on 24 Aug 2010 at 4:59

GoogleCodeExporter commented 9 years ago
FYI, the version currently present in Arch repository is 3.0z.

http://www.archlinux.org/packages/?q=xdelta

Original comment by lukasz.f...@gmail.com on 24 Aug 2010 at 2:23

GoogleCodeExporter commented 9 years ago
Release 3.0.0 fixes this issue and the related issue 113.  Thanks.

Original comment by josh.mac...@gmail.com on 9 Jan 2011 at 8:47