Version: (using KDE 4.3.0)
Installed from: SuSE RPMs
Large files downloaded via GHNS don't seem to get installed correctly.
Users have repeatedly complained that KStars' 1.4GB star catalog (2.1GB when unextracted) which is downloaded via GHNS (Link to providers.xml: http://edu.kde.org/kstars/downloads/providers.xml) downloads completely, but fails to install.
Here's a rather long thread on the KStars' mailing list, that discusses the issue:
Here's a very relevant message, that identifies a potential cause of the bug as a type overflow:
Probably an KTar or KGZipFilter issue.
Did you test with ktartest on the file?
If that fails, I can have a look (please include direct link to the file I should test, thanks)
What is ktartest exactly? And where could it be found
BTW link to tar file in question
GNU tar has no problems with its decompression.
*** Bug 204462 has been marked as a duplicate of this bug. ***
Like all kdelibs test programs: in kdelibs ;)
(cd kdelibs/kio/tests; make ktartest)
Indeed the bug happens in ktartest, I'll fix it.
-Asterix- dfaure 12:05 /d/kde/build/t/kdelibs/kio/tests>./ktartest USNO-NOMAD-1e8-1.0.tar.gz
ktartest(25505)/KTar KTar::createDevice: mimetype= "application/x-gzip"
ktartest(25505)/KTar KTar::createDevice: creating tempfile: "/tmp/dfaure-kde4/kde-dfaure/ktar-k25505.tar"
ktartest(25505)/KTar KTar::KTarPrivate::fillTempFile: filling tmpFile of mimetype "application/x-gzip"
QFile::at: Cannot set file position -2121848832
ktartest(25505)/KTar KTar::openArchive: skipping -2121849344 failed
ktartest(25505)/KTar KTar::KTarPrivate::readRawHeader: KTar: invalid TAR file. Header is: "Ú<
SVN commit 1013636 by dfaure:
Fix ktar bug with large files. Will backport for 4.3.1.
M +2 -2 ktar.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1013636