Bug 150387

Summary: 4GB per file size limit for data dvds
Product: [Applications] k3b Reporter: Francois Marier <francois>
Component: Data ProjectAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: normal CC: victor.ashirov
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of the
4gb limit fix

Description Francois Marier 2007-10-01 22:14:58 UTC
Version:           1.0.3 (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Matthias Heinz <mh@familie-heinz.name> reports that "if you wanna add a file bigger than 4gb to a data dvd k3b wont let you and displays a error dialog instead saying that this is not allowed." (http://bugs.debian.org/444856)

Is there a reason for this limitation?  Bug 146244 mentions that this was fixed in some version of genisofs.

Matthias is using genisoimage 1.1.6

Francois
Comment 1 Maciej Pilichowski 2007-10-02 16:14:56 UTC
WORKSFORME. I regularly burn files ~= 4.4GB without any problem.
Comment 2 Matthias Heinz 2007-10-02 17:04:22 UTC
Created attachment 21738 [details]
Screenshot of the 

Well, i reported the bug to the debian bug tracker and here i am to show you
the dialog box.

The file i test with was a 4,5GB test file i created before.

I took a look at k3bdataurladdingdialog.cpp:327
"else if( isFile && (unsigned long long)statBuf.st_size >= 0xFFFFFFFFULL ) {"

0xFFFFFFFFULL in dec is 4294967295. Looks for me like a file size limit.
Comment 3 Victor Ashirov 2007-10-29 11:55:52 UTC
Created attachment 21935 [details]
4gb limit fix

This patch removes 4Gb check. Works for me. Please, test.
Comment 4 Francois Marier 2007-10-30 03:17:49 UTC
I can confirm that it works fine both on i386 and amd64.
Comment 5 Sebastian Trueg 2007-10-30 15:54:43 UTC
Next version of K3b will do this properly, i.e. if a proper genisoimage or mkisofs version is installed you can add 4gb files, otherwise you cannot.
Comment 6 Sebastian Trueg 2007-11-02 13:10:16 UTC
*** Bug has been marked as fixed ***.
Comment 7 mkkot 2007-12-26 01:51:26 UTC
Could you precise what is "a proper genisoimage or mkisofs version"? I have mkisofs 2.1.1a23 and it donesn't work for me.
Comment 8 Matthias Heinz 2007-12-26 12:18:47 UTC
Oh, i have the feeling this is some fscking problem with cdrecord.

I run Debian and mkisofs is just a dummy transition package for genisoimage and i've got genisoimage 1.1.6 and everybody works fine.

(could somebody slap JS for this, please?)