[soundnua]: gnome-control-center crashed with SIGSEGV in signal_emit_unlocked_R()

Bug #953950 reported by NoahY
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Fix Released
Medium
Conor Curran

Bug Description

Switching the input sound source to my Alesis USB mixer causes the sound control applet to crash, and I can't use the mixer now. It was working prior to recent Precise upgrades.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gnome-control-center 1:3.3.91-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Tue Mar 13 17:05:07 2012
ExecutablePath: /usr/bin/gnome-control-center
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: gnome-control-center sound-nua
SegvAnalysis:
 Segfault happened at: 0x7f7b4965a06e: mov %esi,0x6c(%rsp)
 PC (0x7f7b4965a06e) ok
 source "%esi" ok
 destination "0x6c(%rsp)" (0x7fff4ed26fcc) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: gnome-control-center
StacktraceTop:
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 gtk_cell_area_apply_attributes () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
Title: [soundnua]: gnome-control-center crashed with SIGSEGV in g_signal_emit_valist()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: admin debian-tor sambashare vboxusers
usr_lib_gnome-control-center:
 deja-dup 21.90-0ubuntu1
 gnome-bluetooth 3.2.2-0ubuntu3
 indicator-datetime 0.3.91-0ubuntu1

Revision history for this message
NoahY (noahy) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 signal_emit_unlocked_R (node=0x7f7b4bd45b00, detail=0, instance=0x7f7b4bfe10c0, emission_return=0x0, instance_and_params=0x7f7b4bfebe20) at /build/buildd/glib2.0-2.31.20/./gobject/gsignal.c:3402
 g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=0, var_args=<optimized out>) at /build/buildd/glib2.0-2.31.20/./gobject/gsignal.c:3295
 g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.31.20/./gobject/gsignal.c:3352
 gtk_cell_area_apply_attributes (area=0x7f7b4bfe10c0, tree_model=0x7f7b4be1f0f0, iter=0x7fff4ed273d0, is_expander=0, is_expanded=0) at /build/buildd/gtk+3.0-3.3.18/./gtk/gtkcellarea.c:2362
 set_cell_data (treeview=<optimized out>, accessible=<optimized out>, cell=<optimized out>) at /build/buildd/gtk+3.0-3.3.18/./gtk/a11y/gtktreeviewaccessible.c:327

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 gnome-control-center (Ubuntu):
importance: Undecided → Medium
summary: [soundnua]: gnome-control-center crashed with SIGSEGV in
- g_signal_emit_valist()
+ signal_emit_unlocked_R()
tags: removed: need-amd64-retrace
visibility: private → public
Changed in gnome-control-center (Ubuntu):
importance: Medium → Low
Revision history for this message
Conor Curran (cjcurran) wrote :

Could you provide me with some pulse info.

Please from command line input 'pactl list cards' and paste the output here.

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Conor Curran (cjcurran)
status: New → In Progress
Revision history for this message
Conor Curran (cjcurran) wrote :

Is this reproducible everytime ?
I will need that info for the Alesis USB card. Marking incomplete until there is some feedback provided.

Changed in gnome-control-center (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
NoahY (noahy) wrote :

Thanks for taking a look at this.

Yes, it's reproducible every time. As soon as I click on the entry for the mixer (Input tab, Record sound from "PCM2900 Audio Codec Analog Stereo"), the "Sound" window crashes.

It is only since the "Sound" control panel changed to a new look.

Attached is the output of `pactl list cards`.

Changed in gnome-control-center (Ubuntu):
status: Incomplete → In Progress
Revision history for this message
Conor Curran (cjcurran) wrote :

thanks for that, could you also provide the debug trace from running the control center.

Open a terminal and run gnome-control-center soundnua'. Then from the control centre recreate the bug and copy and paste the trace on the terminal to a comment here.

Thanks Noahy.

Conor

Revision history for this message
Conor Curran (cjcurran) wrote :

And if you are up for it a stack trace would be so so helpful.
https://wiki.ubuntu.com/Backtrace

Revision history for this message
NoahY (noahy) wrote :

Here's the terminal debug... I'll try to get a stack trace, but I've not had much luck figuring out how to do it in the past. Wish me luck :)

Revision history for this message
NoahY (noahy) wrote :

Okay, here's the stack trace, hope it is correct.

Revision history for this message
NoahY (noahy) wrote :

Okay, here's the stack trace, hope it is correct.

Revision history for this message
Conor Curran (cjcurran) wrote :

Lovely, thanks Noahy. Looking now.

Revision history for this message
Conor Curran (cjcurran) wrote :

More debug output

Revision history for this message
Conor Curran (cjcurran) wrote :

Noahy, could copy that file attached above using:

open terminal.
cd to the directory where the libsoundnua.so exists and run this command :

sudo cp libsoundnua.so /usr/lib/control-center-1/panels/

Then run the control center from terminal, reproduce the crash and copy and paste the complete terminal output here.

Thanks !

Revision history for this message
NoahY (noahy) wrote :

Here it is, thanks again for your work.

Revision history for this message
Conor Curran (cjcurran) wrote :

I have just tried to reproduce this with my pcmcia layla, alas no luck !
Noahy could you do the same with this libsound.so and attach again the trace from running the control centre from terminal.
Sorry about this but you are my only means for debugging this . I have a feeling it must be something to do with USB sound cards.

That produced output should confirm that the usb card is returning is no ports when in fact 'pactl list cards' shows that there are ports.

The problem I can see is that my software recognizes the device as a bluetooth device which is a special case whereby the card is valid while the device has no port name.

Revision history for this message
NoahY (noahy) wrote :

Hi Conor,

Thanks again, I do hope there is some way to get this working again; it worked fine in Oneiric.

Here's the terminal output.

Conor Curran (cjcurran)
Changed in gnome-control-center (Ubuntu):
importance: Low → Medium
Revision history for this message
Conor Curran (cjcurran) wrote :

Waiting on test device to arrive Noahy, fix coming by weekend.

Revision history for this message
NoahY (noahy) wrote :

Wonderful, thank you. Let me know if I can help with the testing.

Revision history for this message
iGadget (igadget) wrote :

I'm experiencing the exact same problem, only my USB device is a Roland UA-25 EX.

Revision history for this message
Daniel BERMON (daniel-bermon) wrote :

Hello, if this can help, i have the same problem. My usb device is a Berhinger UCA202. I can send more info or do some tests if it helps.

Revision history for this message
Conor Curran (cjcurran) wrote :

Hi Noay, Daniel

I have been testing today to try to reproduce this. I have number of duplicates which give roughly the same error, they are all slightly different hence why I have not marked as duplicate but I suspect that a singular fix 'should' resolve them all.

Could you please try something ?

Please modify /usr/share/pulseaudio/alsa-mixer/paths/analog-input.conf
comment out "required = volume" from the [Element Capture] section.

You can comment out with '#'.

Then restart and see if the bug is still present.

thanks,
Conor

Revision history for this message
NoahY (noahy) wrote :

Hey Conor,

Yes, that seems to do it. Commenting out that line, then

killall pulseaudio

and my mixer works fine again.

Revision history for this message
Daniel BERMON (daniel-bermon) wrote :

Hi Connor,

Commenting the line you mentionned solved the problem here too.

Thanks,
Daniel

Conor Curran (cjcurran)
Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
John Leach (johnleach) wrote :

Same here on Quantal - commenting out the volume line as suggested by cjcurran fixed it for me too.

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.