Brasero error 2856 bug, again, and again

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
BugCatcher1951
Level 1
Level 1
Posts: 10
Joined: Mon Aug 15, 2016 12:30 pm

Brasero error 2856 bug, again, and again

Post by BugCatcher1951 »

I cannot believe that I am having the same problem reported to the brasero developers 4 years ago (#278 - Link to original bug (#740924))!! "Assigned to Brasero maintainer(s)"

I am attempting to burn a BRay disc.

However, after 4 years, it appears that this bug is still not fixed?? Too, bad. Brasero used to be the only program I would use. Now, it is useless!!! I tried 6 times even after looking at Brasero site and others. Never could get it to burn a disc!! Why is it still in the repository?

How to get this error:

Load Folder with 30,721 items, totalling 22.6 GB Brasero says the data is only 18.7 GB How can there be a 4 GB difference in data size!?!?
Folder Permissions: Create and delete files

Press Burn (Temp file: 175.0 GB free)
Ejects media
Gives error message:
"Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1739)
Unsupported type of task operation
Session error : An internal error occurred (brasero_burn_record brasero-burn.c:2856)"


My system:
Linux Mint 18.3 Cinnamon 64-bit; Cinammon 3.6.7; Linux Kernel 4.4.0-53-generic; 15.7 GiB Memory; 2875.2 GB HDD; HDD Free Space: 462.8 GB
DAMIEN1307
Level 11
Level 11
Posts: 3755
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: Brasero error 2856 bug, again, and again

Post by DAMIEN1307 »

Many of us here in the forums stopped using brasero because it is problematic at best.

Many of us are using "xfburn" instead.

You can find it in the software manager or just install it through your terminal by copy and paste the code below.

Code: Select all

sudo apt install xfburn
ORDO AB CHAO
"I refuse to be assimilated, I refuse to become one with the Borg Collective"
Stefano_IT
Level 2
Level 2
Posts: 72
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Brasero error 2856 bug, again, and again

Post by Stefano_IT »

I also often read about complaints about Brasero.
So far I've only used it to burn ISO images and it has never failed.
(I also use Mint 18.3 and I have Brasero 3.12.1)

I wonder if it is possible to install a newer version with the bugs fixed.
Does Mint 19.2 have a newer version of Brasero?
Thank you for any information.
Linux Mint 20.1 Ulyssa - Xfce
RIH
Level 5
Level 5
Posts: 918
Joined: Sat Aug 22, 2015 3:47 am

Re: Brasero error 2856 bug, again, and again

Post by RIH »

19.2 Mint comes with Brasero 3.12.1 as well.

Like you, Stefano, I have never had issues with it burning ISO's to CD or DVD.
Never tried a Blue Ray though!!
Stefano_IT
Level 2
Level 2
Posts: 72
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Brasero error 2856 bug, again, and again

Post by Stefano_IT »

@BugCatcher1951
Searching for error on Google I found this discussion on Brasero.
https://forum.ubuntu-it.org/viewtopic.php?p=5032592

It's not about Blueray but the error code 2856 is the same.
See if with cdrkit and/or Icedax you can solve.
I checked, both is present in the Mint 18.3 application manager.
Linux Mint 20.1 Ulyssa - Xfce
carum carvi
Level 6
Level 6
Posts: 1472
Joined: Sun Apr 16, 2017 11:44 pm

Re: Brasero error 2856 bug, again, and again

Post by carum carvi »

Brasero indeed has got a bad reputation for reliability.

Xfburn is very user friendly and reliable. I use it all the time for burning Cd's and Dvd's, BUT I honestly dont know if it's very good at burning blu-rays. But you can try. It's available in LInuxMint's Software Manager.

K3b is often praised by experienced forummembers. It's quite a hassle sometimes to get it installed correctly, but it has tons of options. And it will burn blu-rays successfully.
Please read carefully the detailed installation instructions for K3b in the link below, without those instructions it is quite difficult for a new user to get it installed successfully.

viewtopic.php?f=48&t=270587&p=1515545#p1515545
DAMIEN1307
Level 11
Level 11
Posts: 3755
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: Brasero error 2856 bug, again, and again

Post by DAMIEN1307 »

YES...xfburn will burn blueray quite easily.

It is primarily based on XFCE but will work with most Ubuntu/Debian based systems regardless of the desktop being used.
K3b is often praised by experienced forummembers.
But be aware that it will pull in a LOT of KDE dependencies in order to work.

xfburn is the best over all for simplicity of downloading and usage, especially for beginners...DAMIEN

Code: Select all

sudo apt install xfburn
ORDO AB CHAO
"I refuse to be assimilated, I refuse to become one with the Borg Collective"
Stefano_IT
Level 2
Level 2
Posts: 72
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Brasero error 2856 bug, again, and again

Post by Stefano_IT »

DAMIEN1307 wrote:
Wed Oct 02, 2019 9:16 am
xfburn is the best over all for simplicity of downloading and usage, especially for beginners...DAMIEN

Code: Select all

sudo apt install xfburn
I started with Xfburn and I found myself very well, I also find it simple, with a good and functional interface.
But later I moved to Brasero because I saw that he did a checksum check.
I can not understand if even Xfburn does this, in the options I find nothing, you know if maybe this checksum checks the writing automatically and without telling the user ?
Linux Mint 20.1 Ulyssa - Xfce
DAMIEN1307
Level 11
Level 11
Posts: 3755
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: Brasero error 2856 bug, again, and again

Post by DAMIEN1307 »

To my knowledge thus far, (I can be corrected in order to learn new things), I fail to see where a checksum check comes into the equation at all, just in order to burn a simple blueray video, music video etc...What makes Brasero so special that it might be the only one, or just one of the few to do so???...Are you attempting to pirate videos that could have malware because the videos are illegal?, are you stealing top secret italian gov't videos or documents?...i would hope not, and If not, Why all this about checksum checks with nothing to do with, say installing the next version of Linux Mint???...just to burn a disk with a legal movie, music video, etc???...Maybe im missing something here but that argument is not making too much sense to me...DAMIEN
ORDO AB CHAO
"I refuse to be assimilated, I refuse to become one with the Borg Collective"
Stefano_IT
Level 2
Level 2
Posts: 72
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Brasero error 2856 bug, again, and again

Post by Stefano_IT »

Maybe my translation is not good (I use online translator) or I could not explain well what I meant.
By checksum check I mean write control.
A hash is calculated for the file to be burned (example: hash of an ISO image or a file) and during (or after) it is calculated / checked that everything has been successful.
I see nothing pirated or illegal in this.
Linux Mint 20.1 Ulyssa - Xfce
Stefano_IT
Level 2
Level 2
Posts: 72
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Brasero error 2856 bug, again, and again

Post by Stefano_IT »

Perhaps this link with images can help you understand what functions I speak.
Also some burning software for Windows have this function, sometimes activated by default, sometimes it must be activated by the user.

https://askubuntu.com/questions/54367/h ... a-data-dvd
Linux Mint 20.1 Ulyssa - Xfce
carum carvi
Level 6
Level 6
Posts: 1472
Joined: Sun Apr 16, 2017 11:44 pm

Re: Brasero error 2856 bug, again, and again

Post by carum carvi »

Xfburn indeed does not have an automated or manual chosen checksum. In all my years of burning cd's or dvd's I have never had a problem though. A checksum is on the list of future plans for Xfburn, so I have read on Github.

Below is perhaps a solution, while using Xfburn:
https://forums.bunsenlabs.org/viewtopic.php?id=1874
scdbackup
Level 2
Level 2
Posts: 88
Joined: Thu Jun 04, 2015 2:00 am

Re: Brasero error 2856 bug, again, and again

Post by scdbackup »

Hi,

the number "2856" is not an error diagnosis code but simply a line number
in the source of Brasero, where it issues the general message "Session error".
See:
https://sources.debian.org/src/brasero/ ... n.c/#L2856
So many different problems can cause the message with that number.


carum carvi wrote:
> Xfburn [...] I honestly dont know if it's very good at burning blu-rays.

It uses libburn as backend, of which i am the developer. I test BD-R once
per day with an incremental multi-session backup of about 4 GB, where
each incremental update session consumes about 100 MB.
(xorriso is not only usable for making bootable ISOs but also for backups
with ACLs, xattr, and checksums.)


Stefano_IT wrote:
> [...] checksum check [...] I can not understand if even Xfburn does this

Probably not. The underlying libisofs offers MD5 for the whole ISO filesystem
and for each data file, if desired. But i do not see a call to
iso_write_opts_set_record_md5() in Xfburn's source.

Nevertheless, optical media have their own checksumming of blocks or larger
chunks, which is nearly as good as checksums for the data payload.
If you can read all blocks of the payload without getting an i/o error,
then the burn was quite likely ok.
You just have to make sure not to read into unchartered waters at the end
of the medium. If you burnt ISO 9660 then curb your dd run to the size
given by /sbin/isosize:

Code: Select all

size=$(/sbin/isosize /dev/sr0)
blocks=$(expr $size / 2048)
dd if=/dev/sr0 bs=2048 count=$blocks of=/dev/null
If you burnt a prepared image file, then you can compare its checksum with
the one of the same number of bytes from the optical medium:

Code: Select all

size=$(ls -l image.iso | awk '{print $5}')
blocks=$(expr $size / 2048)
dd if=/dev/sr0 bs=2048 count=$blocks | md5sum
md5sum image.iso
(I assume that the image file is aligned to 2048-byte blocks, as should be
with an image for optical media. The dd run would get slow if it counted
byte-wise.)


carum carvi wrote:
> checksum is on the list of future plans for Xfburn, so I have read on Github.

I would be happy to advise any new developer of Xfburn.
But on
https://github.com/xfce-mirror/xfburn/commits/master
i only see translation and a single bug fix about a FreeBSD problem.
No development of core features to see.

Have a nice day :)

Thomas
User avatar
thx-1138
Level 8
Level 8
Posts: 2105
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Brasero error 2856 bug, again, and again

Post by thx-1138 »

scdbackup wrote:
Sat Oct 05, 2019 4:31 am
.......................
I would be happy to advise any new developer of Xfburn.
...hi Thomas, taken the opportunity from the above just thought i should mention...
You might be somewhat interested having a look in this work-in-progress,
& depending on your spare time of course, maybe contact the guy there at some point down the road...
(the rest of XFCE has deprecated gtk2+ by now,
so the older Xfburn is highly unlikely to receive any kind of further attention i'd believe)...

All the best
scdbackup
Level 2
Level 2
Posts: 88
Joined: Thu Jun 04, 2015 2:00 am

Re: Brasero error 2856 bug, again, and again

Post by scdbackup »

Hi,

thx-1138 wrote:
> You might be somewhat interested having a look in this work-in-progress
> [https://gitlab.com/Katana-Steel/xfburn/ ... ad-to-gtk3]

At least somebody works hard to keep it alive over that dependency transition.


> maybe contact the guy there

I fail to see any offer to contact Rene Kjellerup. Do you see one ?

In general, the praiseworthy activity seems to be about the GUI,
whereas the wish for checksums and verification is on the plumber level.
So he might not feel in charge.

Have a nice day :)

Thomas
User avatar
thx-1138
Level 8
Level 8
Posts: 2105
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Brasero error 2856 bug, again, and again

Post by thx-1138 »

Hi Thomas, his e-mail appears to be rk.katana.steel@gmail.com, found it via lkml lists first, then also found his resume as well...
Indeed, he appears to be focused on the gui redesign, but certainly appears to have a good grasp of more lower level stuff.
Ie. i would assume porting Xfburn to gkt3 is probably a spare time project to him, more or less for the fun of it...
So yes, please don't take my comment that seriously - i really meant it in a...
'if during one afternoon during xmas holidays you find yourself having some spare time to kill,
it might worth firing up a very short e-mail / comment there, and who knows afterwards...' :)
scdbackup
Level 2
Level 2
Posts: 88
Joined: Thu Jun 04, 2015 2:00 am

Re: Brasero error 2856 bug, again, and again

Post by scdbackup »

Hi,

reviving Xfburn development would be a great thing. Besides checksums
and bootability it could need multi-session capabilities.

So now i ponder whether i should indeed send him a mail of praise for
the Xfburn life support and an offer to help deciphering the code which
is related to my libraries.

> [http://www.alchemiestick.net/?link=resume]

Obviously he's not afraid of anything.

Have a nice day :)

Thomas
User avatar
thx-1138
Level 8
Level 8
Posts: 2105
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Brasero error 2856 bug, again, and again

Post by thx-1138 »

...Stefano_IT, carum carvi: got curious (haven't had to burn a cd since early '10s probably), and searched a bit around...
You might be interested in X-CD-Roast, seems it was raised from the dead at some point during 2017.
As far as i understand it, it uses an in-house tool (vrfytool) that can compare blocksizes of data,
and somehow (above my paygrade...), it parses & compares such with the results from readcd & cdda2wav.

Also on the plus side, it's just 4 packages required (xcdroast itself, and cdrecord, mkisofs, cdda2wav),
and not...126 packages & numerous KDE libs that K3B asks here...
Worked just fine here under Mint 18.3/xenial for a test run with data cd, your mileage may vary obviously...

It doesn't support Blu-ray writing though.

Note: installing cdrecord will remove & replace wodim, installing mkisofs will remove & replace genisoimage...
Probably for the better (as pretty much Ubuntu's wiki appears to suggest regarding for Blu-ray burning per se...
and somehow i feel Thomas would agree as well)...[/s/] (see Thomas' detailed very detailed reply below) :)
Last edited by thx-1138 on Mon Oct 07, 2019 3:39 am, edited 1 time in total.
scdbackup
Level 2
Level 2
Posts: 88
Joined: Thu Jun 04, 2015 2:00 am

Re: Brasero error 2856 bug, again, and again

Post by scdbackup »

Hi,

thx-1138 wrote:
> X-CD-Roast, seems it was raised from the dead at some point during 2017.

This causes nostalgic feelings. I have seen it in use in the 1990s, when
CD burning was still a breath taking adventure.

thx-1138 pointed to:
> https://help.ubuntu.com/community/CdDvd ... ay_Burning
which says
> "Brasero and K3B can't burn Blu-ray out of the box. In order to do so
> you have to install the cdrecord package"

This is not true any more since years.

> Note: installing cdrecord will remove & replace wodim [...]
> Probably for the better [...]
> somehow i feel Thomas would agree as well

Here i have mixed feelings. :)

Replacing wodim by cdrecord (and genisoimage by mkisofs) will not do
harm. But it will hardly get you better DVD or BD handling with K3B,
which normally uses growisofs for DVD and BD, or Brasero, which uses
either growisofs or libburn. Xfburn uses libburn and libisofs fixely.
So cdrecord or mkisofs will not influence its successes or failures.

It is true that cdrecord has better capabilities about DVD and BD than
wodim has. But that is really not a difficult goal to achieve, as wodim
was composed from a CD-only version of cdrecord and a quite poor
DVD-enabling hack named dvdrecord.

growisofs and libburn (with the latter i am biased) obey MMC-5 specs when
dealing with the "modern" media, whereas cdrecord interprets them more as
an inofficial extension of old CD specs. E.g. formatting or Defect
Management are not addressed; some inapproriate SCSI commands get sent
which the drives gracefully ignore.

So i would not advise cdrecord as backend for DVD and BD.
cdrecord (and wodim) are best with CD, where they can do exotic stuff like
video CD or mixed-mode.

But not to forget:
The initial problem of this thread is something inside Brasero, not in
the backends. So the only remedy for Brasero would be if it gets developer
attention. As with Xfburn, i could give advise about burning and ISO 9660
production.

Have a nice day :)

Thomas
User avatar
thx-1138
Level 8
Level 8
Posts: 2105
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Brasero error 2856 bug, again, and again

Post by thx-1138 »

Thank you Thomas - deeply appreciated / that's excellent info!!!
Post Reply

Return to “Software & Applications”