Brasero crashes when trying to burn without an active GNOME session

Bug #646902 reported by Blaze
62
This bug affects 11 people
Affects Status Importance Assigned to Milestone
brasero (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Impact:
Brasero is only usable in desktop sessions that include GNOME. Running in KDE, Openbox, XFCE, or any other environment causes a crash.

Addressing:
The bug has been fixed upstream and is in the next release of Brasero already in the current development Ubuntu release (natty).

Minimal Patch:
http://git.gnome.org/browse/brasero/patch/?id=3775cd7fc7d15aa03131a1d5cdccf57f185e2b92

TEST CASE:
1) Install Kubuntu
2) Install Brasero
3) Attempt to burn a DVD
4) Observe a crash

Regression Potential:
Regression potential is low, the patch that's included is just properly cleaning up after an error when the system was unable to inhibit suspend due to GNOME not running.

-=--=----------------------
Binary package hint: brasero

am using kubuntu 10.10 am trying to burn image file to cdr,seems no matter what i do it crash,am on a brand new gateway nv59c laptop

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: brasero 2.31.92-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Fri Sep 24 11:00:42 2010
ExecutablePath: /usr/bin/brasero
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100902.1)
ProcCmdline: /usr/bin/brasero /home/username/Documents/pclinuxos-kde-2010.07.iso
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7fb10a37cab2 <g_atomic_int_exchange_and_add+2>: lock xadd %eax,(%rdi)
 PC (0x7fb10a37cab2) ok
 source "%eax" ok
 destination "(%rdi)" (0x00000024) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: brasero
StacktraceTop:
 g_atomic_int_exchange_and_add () from /lib/libglib-2.0.so.0
 g_variant_unref () from /lib/libglib-2.0.so.0
 brasero_inhibit_suspend () from /usr/lib/libbrasero-burn.so.1
 ?? () from /usr/lib/libbrasero-burn.so.1
 brasero_burn_record () from /usr/lib/libbrasero-burn.so.1
Title: brasero crashed with SIGSEGV in g_atomic_int_exchange_and_add()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors: (process:1976): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Blaze (blazevanderpool) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_atomic_int_exchange_and_add (atomic=0x24, val=-1)
 g_variant_unref (value=0x0)
 brasero_inhibit_suspend ()
 ?? () from /usr/lib/libbrasero-burn.so.1
 brasero_burn_record ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in brasero (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
visibility: private → public
Revision history for this message
Pedro Villavicencio (pedro) wrote : Re: brasero crashed with SIGSEGV in g_atomic_int_exchange_and_add()

is this still an issue with latest packages?

Changed in brasero (Ubuntu):
status: New → Incomplete
Revision history for this message
Maia Everett (linneris) wrote :

I reproduced this problem. To be more specific, this happens immediately when I try to burn something under KDE.

Stack trace:

#0 0x00007ffff3abcb72 in g_atomic_int_exchange_and_add () from /lib/libglib-2.0.so.0
#1 0x00007ffff3b20ba2 in g_variant_unref () from /lib/libglib-2.0.so.0
#2 0x00007ffff7958860 in brasero_inhibit_suspend () from /usr/lib/libbrasero-burn.so.1
#3 0x00007ffff794f10b in ?? () from /usr/lib/libbrasero-burn.so.1
#4 0x00007ffff7952073 in brasero_burn_record () from /usr/lib/libbrasero-burn.so.1
#5 0x00007ffff796ba46 in ?? () from /usr/lib/libbrasero-burn.so.1
#6 0x00007ffff796bd99 in brasero_burn_dialog_run () from /usr/lib/libbrasero-burn.so.1
#7 0x000000000044782e in brasero_app_burn ()
#8 0x0000000000447ca8 in ?? ()
#9 0x0000000000447fc0 in brasero_app_copy_disc ()
#10 0x00007ffff43a5a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff43bb4d7 in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff43bc996 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff43bcf53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff6508a23 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00007ffff43a5a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff43bada1 in ?? () from /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff43bc996 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff43bcf53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff66ec04e in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00007ffff65de95d in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00007ffff65e00ab in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff65cf9d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff43a5a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0x00007ffff43bb120 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0x00007ffff43bc7db in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff43bcf53 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff66e86df in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x00007ffff65c7e73 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff65c8f4b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff624274c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#31 0x00007ffff3ae4342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0

Changed in brasero (Ubuntu):
status: Incomplete → New
summary: - brasero crashed with SIGSEGV in g_atomic_int_exchange_and_add()
+ Brasero crashes when trying to burn without an active GNOME session
Revision history for this message
Maia Everett (linneris) wrote :

This is preceded with:

** (brasero:4300): WARNING **: Failed to inhibit the system from suspending: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

Revision history for this message
Frank_McCormick (beacon-videotron) wrote :

Same thing happens under Meerkat - I usually run IceWm and cannot burn with
Brasero - it crashes when I try.

Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

Same here under openbox and maverick 64 bit:

xx@thor:~$ brasero

** (brasero:2296): WARNING **: ERROR loading background pix : Datei »/usr/share/brasero/logo.png« konnte nicht geöffnet werden: No such file or directory

** (brasero:2296): WARNING **: Failed to inhibit the system from suspending: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Segmentation fault
xx@thor:~$

I can't burn anymore with maverick.

Revision history for this message
greenhunter (tierfreunde-hagenburg) wrote :

Anyway brasero doesn't burn in a full gnome session neither in maverick :(

Revision history for this message
Vanessa Dannenberg (vanessadannenberg) wrote :

Same error as above, when used under XFCE.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

we still need a backtrace with full debug symbols, please make sure to install libglib2, libgtk2 and brasero dbgsym packages and get a new one, thanks all.

Changed in brasero (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Hoffmann (christian-hoffie) wrote :

I'm hitting this problem on a fully updated Kubuntu 10.10. Please see the attached stack trace (with almost all debugging symbols).

Steps to reproduce:
  - open brasero
  - create a new cd (type doesn't matter, I chose data cd for simplicity)
  - add one or more files
  - click "burn" (loosely translated)
  - notice the segmention fault

Does the attached stack trace include all required information? I'm happy to provide any further information for solving this bug.

Revision history for this message
Christian Hoffmann (christian-hoffie) wrote :

Turns out the problem is already known and fixed at upstream [1].
I've successfully built a version of brasero based on the current ubuntu sources (apt-get source brasero). After applying the mentioned [2] patch, the problem no longer exists.

Hope this helps to release a fixed brasero package soon.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=632576
[2] http://git.gnome.org/browse/brasero/patch/?id=3775cd7fc7d15aa03131a1d5cdccf57f185e2b92

Revision history for this message
madbiologist (me-again) wrote :

The abovementioned fix is included in GNOME 2.32.1 - see http://ftp.gnome.org/pub/GNOME/desktop/2.32/2.32.1/NEWS

madbiologist (me-again)
Changed in brasero (Ubuntu):
status: Incomplete → New
status: New → Fix Committed
Revision history for this message
Mario Limonciello (superm1) wrote :

2.32.1 is in natty, i'm going to close the primary task.

Changed in brasero (Ubuntu):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted brasero into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in brasero (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Kent Baxley (kentb) wrote :

I am able to successfully burn media with the updated brasero packages and have not experienced any crashses in a non-Gnome environment since.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package brasero - 2.32.0-0ubuntu2.1

---------------
brasero (2.32.0-0ubuntu2.1) maverick-proposed; urgency=low

  * Don't crash when running in a non-GNOME environment. (LP: #646902)
 -- Mario Limonciello <email address hidden> Thu, 06 Jan 2011 17:10:07 -0600

Changed in brasero (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.