<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>203414</bug_id>
          
          <creation_ts>2009-08-11 12:40:18 +0000</creation_ts>
          <short_desc>Large files don&apos;t seem to get installed</short_desc>
          <delta_ts>2009-08-20 12:46:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Akarsh Simha">akarsh.simha</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>alexey.skladnoy</cc>
    
    <cc>faure</cc>
    
    <cc>mboquien</cc>
    
    <cc>pindle</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>810117</commentid>
    <comment_count>0</comment_count>
    <who name="Akarsh Simha">akarsh.simha</who>
    <bug_when>2009-08-11 12:40:18 +0000</bug_when>
    <thetext>Version:            (using KDE 4.3.0)
Installed from:    SuSE RPMs

Large files downloaded via GHNS don&apos;t seem to get installed correctly.

Users have repeatedly complained that KStars&apos; 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&apos;s a rather long thread on the KStars&apos; mailing list, that discusses the issue:
http://lists.kde.org/?l=kstars-devel&amp;m=124979648307943&amp;w=2

Here&apos;s a very relevant message, that identifies a potential cause of the bug as a type overflow:
http://lists.kde.org/?l=kstars-devel&amp;m=124993060615429&amp;w=2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>810622</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2009-08-12 06:15:08 +0000</bug_when>
    <thetext>Probably an KTar or KGZipFilter issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>811769</commentid>
    <comment_count>2</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-08-14 01:14:16 +0000</bug_when>
    <thetext>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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>812887</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Khudiakov">alexey.skladnoy</who>
    <bug_when>2009-08-16 16:08:56 +0000</bug_when>
    <thetext>What is ktartest exactly? And where could it be found 

BTW link to tar file in question 
http://download.kde.org/apps/kstars/USNO-NOMAD-1e8-1.0.tar.gz

GNU tar has no problems with its decompression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815308</commentid>
    <comment_count>4</comment_count>
    <who name="Médéric Boquien">mboquien</who>
    <bug_when>2009-08-19 23:02:04 +0000</bug_when>
    <thetext>*** Bug 204462 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815533</commentid>
    <comment_count>5</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-08-20 12:10:56 +0000</bug_when>
    <thetext>Like all kdelibs test programs: in kdelibs ;)
(cd kdelibs/kio/tests; make ktartest)

Indeed the bug happens in ktartest, I&apos;ll fix it.
-Asterix- dfaure 12:05 /d/kde/build/t/kdelibs/kio/tests&gt;./ktartest USNO-NOMAD-1e8-1.0.tar.gz
ktartest(25505)/KTar KTar::createDevice: mimetype= &quot;application/x-gzip&quot;
ktartest(25505)/KTar KTar::createDevice: creating tempfile: &quot;/tmp/dfaure-kde4/kde-dfaure/ktar-k25505.tar&quot;
ktartest(25505)/KTar KTar::KTarPrivate::fillTempFile: filling tmpFile of mimetype &quot;application/x-gzip&quot;
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: &quot;Ú&lt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>815566</commentid>
    <comment_count>6</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-08-20 12:46:33 +0000</bug_when>
    <thetext>SVN commit 1013636 by dfaure:

Fix ktar bug with large files. Will backport for 4.3.1.
BUG: 203414


 M  +2 -2      ktar.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1013636</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>