After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591959 - Checksum computation broken on files >4GB
Checksum computation broken on files >4GB
Status: RESOLVED OBSOLETE
Product: brasero
Classification: Applications
Component: general
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-08-16 11:29 UTC by JK
Modified: 2018-09-21 16:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description JK 2009-08-16 11:29:38 UTC
Hi!

 I've just burned a DL DVD that contained a file that was bigger than 4GB. Brasero detected this case correctly and displayed a warning that the result wouldn't work on MacOS. The burning process finished without an error, but the data verification failed on the >4GB file (all others passed the test). However, I did my own test and computed the checksum of both files using "md5sum" (on Ubuntu 9.04) and they are equal! 

 Unfortunately, I did not save the logfile. But I examined it, and everything seemed OK, except for the checksum of that particular file.


Steps to reproduce:

Enable the image checksum plugin and burn a DVD with a file bigger than 4GB (please don't ask me to attach one ;)


Regards

JK
Comment 1 Philippe Rouquier 2009-08-26 14:44:44 UTC
Thanks for that report.

(In reply to comment #0)

> Enable the image checksum plugin and burn a DVD with a file bigger than 4GB
> (please don't ask me to attach one ;)
> 
I won't ;). I recently fixed a problem that happened with DVDs -R(W) and +R only. The problem was that a session for these media is always aligned on a 16 sector boundary padding the session if the image is not big enough. Therefore the size reported through MMC commands for a written track was not the same as the one of the image written which explained differing checksums.
Please could you test if the fix helped fixing this bug?
Comment 2 JK 2009-08-27 08:01:56 UTC
I'll test this but it may take a while. Since I don't want to "waste" DL DVDs (they're still pretty expensive) I'll probably need a DVD-RW...

 But honestly, it doesn't sound like your fix has something to do with the bug. If I understood it correctly, the whole session is aligned, not any particular files. If the file-checksums would be influenced by the padding, then all checksums would be incorrect, isn't it? And the checksum computed by 'md5sum' would then be incorrect too, imho. I've burned a couple of DVDs in the past weeks (only "data projects", no images) and never had problems with checksums. Even on that particular DVD, it was only the >4GB file...

If you don't want to wait, you can create a test-file by doing sth. like:

dd if=/dev/urandom of=/tmp/fat_one bs=1024 count=4200000

and try to burn it. But you probably already knew this ;)

Regards 

JK
Comment 3 Serg Bormant 2009-11-17 19:48:16 UTC
I seems to me brasero calculate session checksum (or whatelse) and compare it to file checksums. 
It was data project, each file was ~1.5Gb in size. 
As you can see, file checksums are good but compared to "d41d8cd98f00b204e9800998ecf8427e (current)" all three times. This is wrong.

$ cat /tmp/brasero_tmp*.md5
8b4328665b8d3c02fe3a34f4c23f7e5c  arch3.tar.bz2
31d77ce56834c222d4ed6a5317dc042e  arch.tar.bz2
262bd80d7f835f32aa36ee29ef9191b7  arch2.tar.bz2

$ tail brasero-session.log
Preparing to checksum (type 4 .checksum.md5) (brasero_burn_record_session brasero-burn.c:2364)
BraseroChecksumFiles called brasero_job_get_output_type
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_action
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles called brasero_job_get_current_track
BraseroChecksumFiles Found file 0x9efb868
BraseroChecksumFiles called brasero_job_set_current_action
BraseroChecksumFiles Getting file /arch3.tar.bz2
BraseroChecksumFiles comparing checksums for file /file3.tar.bz2 : 8b4328665b8d3c02fe3a34f4c23f7e5c (from md5 file) / d41d8cd98f00b204e9800998ecf8427e (current)
BraseroChecksumFiles Wrong checksum
BraseroChecksumFiles Getting file /arch.tar.bz2
BraseroChecksumFiles comparing checksums for file /file.tar.bz2 : 31d77ce56834c222d4ed6a5317dc042e (from md5 file) / d41d8cd98f00b204e9800998ecf8427e (current)
BraseroChecksumFiles Wrong checksum
BraseroChecksumFiles Getting file /arch2.tar.bz2
BraseroChecksumFiles Tried to set an insane progress value (1,500000)
BraseroChecksumFiles comparing checksums for file /arch2.tar.bz2 : 262bd80d7f835f32aa36ee29ef9191b7 (from md5 file) / d41d8cd98f00b204e9800998ecf8427e (current)
BraseroChecksumFiles Wrong checksum
BraseroChecksumFiles called brasero_job_error
BraseroChecksumFiles finished with an error
BraseroChecksumFiles asked to stop because of an error
Comment 4 Serg Bormant 2009-11-17 19:56:35 UTC
It was Brasero 2.28.2 on Ubuntu 9.10.
Comment 5 Serg Bormant 2009-11-19 14:48:58 UTC
Note: file*.tar.bz2 instead of arch*.tr.bz2 is a my typo in log. Original file name does not matter.
Comment 6 Tobias Mueller 2010-01-24 18:21:07 UTC
Reopening as the requested information has apparently been provided.
Comment 7 Marius Kotsbak 2012-10-01 06:13:28 UTC
Any news about this bug? Does anyone experience it with more recent versions?
Comment 8 Forest 2013-08-13 00:59:12 UTC
It happens to me with Brasero 3.6.1 running on ubuntu 13.04 amd64.
Comment 9 GNOME Infrastructure Team 2018-09-21 16:44:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/brasero/issues/68.