GNOME Bugzilla – Bug 564748
Brasero fails to burn DVDs
Last modified: 2009-01-17 14:02:23 UTC
Please describe the problem: When burning a DVD using Brasero 0.8.2 on Ubuntu Intrepid 8.10, Brasero gives an error just before finishing the burning process. The error says "Unhandled error. Aborting." The DVD seems to work fine though. (Some data at the end of the disk might be missing?) Steps to reproduce: 1. Insert a blank DVD and start Brasero 2. Select the ISO option in Brasero 3. Select the ISO and start burning Actual results: Brasero will burn OK up to 99% and then give the Unhandled Error. Expected results: Brasero should burn the DVD fully and OK. Does this happen every time? Yes, burned 3 DVDs and it happened in all of them Other information: The disks work fine, but as brasero logs state, some data is missing in the disks. This bug was first reported in Launchpad, see https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/307939 for the brasero logs
Created attachment 124800 [details] One session log of a failed DVD
Created attachment 124801 [details] Another brasero session of a failed DVD
BraseroGrowisofs stderr: :-[ WRITE@LBA=200b50h failed with SK=0h/ASC=00h/ACQ=03h]: Input/output error BraseroGrowisofs stderr: :-( write failed: Input/output error BraseroGrowisofs called brasero_job_error BraseroGrowisofs finished with an error BraseroGrowisofs asked to stop because of an error error = 1 message = "Error no manejado, abortando" BraseroGrowisofs stopping BraseroGrowisofs got killed Session error : Error no manejado, abortando (brasero_burn_record burn.c:2524)
Hi thanks for the reports and the logs. Unfortunately, I've been hitting a wall with this bug. First because I couldn't reproduce it however hard I tried. This isn't the first time it's been filed and it seems that growisofs tends to fail just before ending DVDs with some drives. That's why I chose to enable libburn backend as a first choice since apparently it doesn't seem to have that kind of problems. Unfortunately, libburn is not shipped in many distributions. Secondly, the author of growisofs is not really responsive (and admits so on his site) which makes it difficult to track the issue properly. I'll try to email him again... At least, the error returned by the drive is the same in each case: SK=0h/ASC=00h/ACQ=03h If I don't make any mistake this means: "No sense" "Setmark detected" which looks fishy to me. But I don't have the slighest idea of what a "setmark" is. A probable cause would be the use of DAO which is not really useful for DVD-R anyway and I think I'll remove it. A few questions: Can you reliably reproduce the error or does it happen randomly? Have you ever encountered this error with k3b (shame on me for asking this ;) ) or with any other burning program?
Hello Philippe, I burned 3 dvds, the error happened in the 3 burning processes. So I might say it happens always :p I just installed K3b, the next time I burn a DVD I'll tell you if it happpens with it. By the way, I just checked in my package manager and libburn4 doesn't seem to be installed. Would installing it make Brasero automatically use it for burning instead of growisofs? Thanks for the support! PS: A quick look at google reveals a lot of people suffering from this problem! http://www.google.com.ar/search?q=SK%3D0h%2FASC%3D00h%2FACQ%3D03h&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:es-AR:unofficial&client=firefox-a&hl=en Maybe we could fill in bugs for the distributions to use libburn meanwhile?
Created attachment 125800 [details] k3b log on the same burner I burned a DVD using k3b as you requested, and it seemed to finish the burning process correctly, although it said there was an error starting the verifying procedure. I suppouse this is due to the fact that k3b automatically ejected the disc. I attach the log for you to see, as it seems k3b also uses growisofs.
Thanks for the log. It looks I'd be right to remove DAO since your successful session with k3b was done in Track At Once. I'll think about it. One question, could you test trunk if I did the change?
Sure, I will test if you remove it. Just tell me when it's removed and I'll try it :)
Created attachment 126459 [details] [review] No DAO Patch - Made by Philippe on IRC
The bug is indeed triggered by DAO with some drives (On mine it works). The patch needs to be refined. Last note: it seems to happen with both DVD- and DVD+.
Created attachment 126477 [details] [review] Refined patch using gconf Ok this is a better refined patch to fix this issue. It uses gconf key (default to true) to use or not dao mode. Use gconf-editor to disable (this is your case). Philippe it's ok to commit ?
Luis, whether DAO should be used at all with growisofs should be declared right from the start, when the plugin declares its capabilities in brasero_growisofs_export_caps (). It can be done that way: if (use_dao_gconf_key == TRUE) { BRASERO_PLUGIN_ADD_STANDARD_DVDR_FLAGS (plugin, BRASERO_BURN_FLAG_NONE); BRASERO_PLUGIN_ADD_STANDARD_DVDR_PLUS_FLAGS (plugin, BRASERO_BURN_FLAG_NONE); } else { /* All above standard flags minus DAO flag support for DVD+R then for DVD-R */ brasero_plugin_set_flags (plugin_MACRO, BRASERO_MEDIUM_DVDR_PLUS| BRASERO_MEDIUM_DUAL_L| BRASERO_MEDIUM_BLANK, (BRASERO_BURN_FLAG_BURNPROOF| BRASERO_BURN_FLAG_OVERBURN| BRASERO_BURN_FLAG_MULTI| BRASERO_BURN_FLAG_NOGRACE) & (~unsupported_MACRO), BRASERO_BURN_FLAG_NONE); brasero_plugin_set_flags (plugin_MACRO, BRASERO_MEDIUM_DVDR_PLUS| BRASERO_MEDIUM_DUAL_L| BRASERO_MEDIUM_APPENDABLE| BRASERO_MEDIUM_HAS_DATA, (BRASERO_BURN_FLAG_MERGE| BRASERO_BURN_FLAG_APPEND| BRASERO_BURN_FLAG_BURNPROOF| BRASERO_BURN_FLAG_OVERBURN| BRASERO_BURN_FLAG_MULTI| BRASERO_BURN_FLAG_NOGRACE) & (~unsupported_MACRO), BRASERO_BURN_FLAG_APPEND); brasero_plugin_set_flags (plugin_MACRO, BRASERO_MEDIUM_DVDR| BRASERO_MEDIUM_DUAL_L| BRASERO_MEDIUM_JUMP| BRASERO_MEDIUM_BLANK, (BRASERO_BURN_FLAG_BURNPROOF| BRASERO_BURN_FLAG_OVERBURN| BRASERO_BURN_FLAG_MULTI| BRASERO_BURN_FLAG_DUMMY| BRASERO_BURN_FLAG_NOGRACE) & (~unsupported_MACRO), BRASERO_BURN_FLAG_NONE); brasero_plugin_set_flags (plugin_MACRO, BRASERO_MEDIUM_DVDR| BRASERO_MEDIUM_DUAL_L| BRASERO_MEDIUM_JUMP| BRASERO_MEDIUM_APPENDABLE| BRASERO_MEDIUM_HAS_DATA, (BRASERO_BURN_FLAG_APPEND| BRASERO_BURN_FLAG_MERGE| BRASERO_BURN_FLAG_BURNPROOF| BRASERO_BURN_FLAG_OVERBURN| BRASERO_BURN_FLAG_MULTI| BRASERO_BURN_FLAG_DUMMY| BRASERO_BURN_FLAG_NOGRACE) & (~unsupported_MACRO), BRASERO_BURN_FLAG_APPEND); } With this when the plugin declares its capabilities, the library register whether or not it supports DAO right from the start and won't ask growisofs to burn a DVD+R or a DVD-R with DAO flag on. As I said my patch was rough and it was just for testing whether or not DAO was the problem. It wasn't nor the right place nor the right way to do it. As for the rest it's OK: plugin options, and GConf schema (one spelling mistake)
Since we're in a bit of a hurry for next release, I updated the patch and committed the (modified) work of Luis. NOTE: the flag to use DAO is on by default, don't forget to turn it off for your drive to work properly Emilio. Thanks for testing.