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 613986 - Pressing create audio cd does nothing
Pressing create audio cd does nothing
Status: RESOLVED FIXED
Product: brasero
Classification: Applications
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
: 620315 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-26 06:14 UTC by Ben
Modified: 2010-06-01 22:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
backtrace, auto generated (26.99 KB, text/plain)
2010-03-28 04:47 UTC, Ben
Details
backtrace (3.00 KB, text/plain)
2010-03-28 04:47 UTC, Ben
Details
strace (975.44 KB, text/x-log)
2010-03-28 08:30 UTC, Ben
Details
tmp file (854 bytes, application/octet-stream)
2010-03-28 08:47 UTC, Ben
Details
strace-brasero-p (767.40 KB, text/x-log)
2010-04-01 17:56 UTC, Pedro Villavicencio
Details

Description Ben 2010-03-26 06:14:34 UTC
I am forwarding this bug from downstream (https://bugs.edge.launchpad.net/ubuntu/+source/rhythmbox/+bug/543892).

If i right click on a playlist and press create audio cd or click the create audio cd button while a playlist is selected absolutely nothing happens.

If i open in a terminal i get this output:

ben@ben-desktop:~$ rhythmbox

(-r:10825): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(-r:10825): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed

(-r:10825): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(-r:10825): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed
Comment 1 Pedro Villavicencio 2010-03-26 13:09:52 UTC
Same here, the debug log shows:

(10:03:42) [0x8d51028] [source_burn] rb-disc-recorder-plugin.c:470: Burning playlist test
(10:03:42) [0x8d51028] [source_burn] rb-disc-recorder-plugin.c:474: Creating audio project
(10:03:42) [0x8d51028] [source_burn] rb-disc-recorder-plugin.c:486: Starting brasero
(10:03:42) [0x8d51028] [window_focus_cb] rb-mmkeys-plugin.c:142: window got focus, re-grabbing media keys

(-r:10800): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(-r:10800): GLib-GObject-CRITICAL **: g_object_unref: assertion `object->ref_count > 0' failed
(10:03:45) [0x8d51028] [rb_shell_quit] rb-shell.c:2572: Quitting
(10:03:45) [0x8d51028] [rb_shell_player_stop] rb-shell-player.c:3168: stopping


full debug log here:

http://launchpadlibrarian.net/42052220/rhythmbox-debug.tar.bz2
Comment 2 Jonathan Matthew 2010-03-27 07:13:25 UTC
Works for me.  Something weird about the "-r" process name.. if that actually is rhythmbox, a stack trace would probably help.  Maybe it's part of brasero?
Comment 3 Ben 2010-03-28 04:47:23 UTC
Created attachment 157302 [details]
backtrace, auto generated
Comment 4 Ben 2010-03-28 04:47:50 UTC
Created attachment 157303 [details]
backtrace
Comment 5 Jonathan Matthew 2010-03-28 06:32:16 UTC
To get a useful stack trace, you'll need to run rhythmbox under gdb with '-D something' as arguments.  It will then break at the point where it's printing the error messages about g_object_ref and g_object_unref, which is where I want a stack trace.
Comment 6 Ben 2010-03-28 08:19:29 UTC
Jonathan Mathew, This is my first time getting a stacktrace so I am basicly a noob and do not know what to do after reading that comment. I created something using strace, I will attach this as well in case it can be of any help.
Comment 7 Jonathan Matthew 2010-03-28 08:25:14 UTC
OK, no problem.  First, install the rhythmbox-dbg package - this contains debug symbols that make the stack trace much more useful.  Then, start gdb:

 $ gdb rhythmbox

and run rhythmbox inside it:

 (gdb) run -D brasero

then do whatever you need to do to reproduce the bug.  When you click on the 'create audio cd' button, rhythmbox should freeze.  Switch back to the gdb window and generate a stack trace:

 (gdb) bt

and paste the output from that in here.  If there's any debug output from rhythmbox before that, that would probably help too.
Comment 8 Ben 2010-03-28 08:30:29 UTC
Created attachment 157306 [details]
strace
Comment 9 Jonathan Matthew 2010-03-28 08:44:03 UTC
Hmm, never mind, the strace output shows that rhythmbox is starting a brasero process successfully.  If the file /tmp/brasero-tmp-project-NNR09U still exists, (or any other /tmp/brasero-tmp-project-* files), running 'brasero -p /tmp/brasero-tmp-project-*' might provide some useful information.
Comment 10 Ben 2010-03-28 08:47:13 UTC
Created attachment 157307 [details]
tmp file

yep i found it.
Comment 11 Jonathan Matthew 2010-03-28 09:45:46 UTC
Can you start brasero manually and load that project file into it?
(it works here, but obviously I don't have the files the project references)
Comment 12 Ben 2010-03-28 09:56:08 UTC
Yep it works.
Comment 13 Jonathan Matthew 2010-03-29 01:34:23 UTC
OK, this is pretty clearly a brasero bug.
Comment 14 Ben 2010-03-31 09:07:37 UTC
This bug is reproducible without using rhythmbox.

1. start a new audio disk project
2. add some songs to it.
3. save the project.
4. in nautilus find the project file and tell it to open with brasero.
5. brasero does not successfully launch

As you can see from my coraspondance with Jonathan Matthew i am very willing to provide information on this bug if you can tell me what you need.
Comment 15 Pedro Villavicencio 2010-04-01 17:56:46 UTC
Created attachment 157707 [details]
strace-brasero-p

I'm adding the strace for the process that Ben describe, If you run brasero -p project it doesn't work at all the process just exit but it doesn't crash.
Comment 16 Sebastien Bacher 2010-04-28 20:45:12 UTC
https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/571021 has a video which shows the issue on http://launchpadlibrarian.net/45836596/brasero-notburning-jcastro.ogv

https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/555485 seems to indicate recording video cds has the issue

would extra debug informations be useful there? having the default GNOME CD recording software being able to record audio or video cds again would be nice, not sure if anybody is reading the brasero bugs atm though
Comment 17 Ben 2010-04-28 20:51:36 UTC
Sebastien, I think you meant to put that comment on a different bug. This Bug is for brasero failing to open when you click create audio cd in rhythmbox or open a saved project through nautilus. See original bug description+comments.
Comment 18 Sebastien Bacher 2010-04-28 21:15:44 UTC
no I meant to add the comment there since the issues seem similar
Comment 19 Sebastien Bacher 2010-04-28 21:17:56 UTC
bug #614021 seems rather similar to the new comment indeed
Comment 20 Sebastien Bacher 2010-04-28 23:17:02 UTC
it seems that brasero success to display the dialog to record the image to a disk if it's asked to do record the cd directly but fails to open a brasero ui with the project otherwise
Comment 21 Philippe Rouquier 2010-05-21 18:19:15 UTC
Thanks for the report. This is fixed in master and stable.
Comment 22 Ben 2010-05-24 09:20:54 UTC
Philippe, Thanks for the fix. I downloaded the Ubuntu source package from Ubuntu and copied the changes from the commit. Brasero now opens using the -p option. But it still fails to open when asked by rhythmbox or nautilus (e.g. in rhythmbox press create audio cd, or in nautilus double click on a project file) I thought this was all the same bug. Do you think I should file a separate report or do you think your changes did not address the entire issue?
Comment 23 Philippe Rouquier 2010-05-24 19:40:25 UTC
Thanks for testing.
It turns out there are two bugs one in brasero and one in rhythmbox. I fixed the one in brasero which now (finally) works with the name of the project given without any option on the command line.
But, there is another one in rhythmbox. Brasero is spawned with G_SPAWN_FILE_AND_ARGV_ZERO which means that the -r switch is not seen by brasero which causes brasero not to delete the temporary project. I'll file a bug tomorrow with the patch against rhythmbox.
Comment 24 Philippe Rouquier 2010-05-24 19:40:52 UTC
Note: except for the last comment, it should work now
Comment 25 Ben 2010-05-25 03:24:44 UTC
Thanks for all your work! It looks as if nautilus does the same exact thing as rhythmbox (when you double click a project file), I suspect the patch for the two would look almost the same if you would be willing to take a look.
Comment 26 Philippe Rouquier 2010-05-25 07:48:37 UTC
Both rhythmbox and nautilus work now with the above change. I checked =) this time.
Comment 27 Ben 2010-05-25 08:24:45 UTC
Tested with both commits and it is working great!
Comment 28 Jonathan Matthew 2010-06-01 22:38:24 UTC
*** Bug 620315 has been marked as a duplicate of this bug. ***