pulseaudio crashed with SIGSEGV in module_jack_sink_LTX_pa__init()

Bug #733424 reported by Grayson Peddie
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: pulseaudio

For some strange reason, I don't know why PulseAudio crashed when I open up ZynAddSubFX, but when I close it, start PulseAudio, and open ZynAddSubFX, it seems PulseAudio does not crash.

This is what I have for PulseAudio/JACK in /etc/pulse/jack.pa:

#!/usr/bin/pulseaudio -nF
#
load-module module-jack-sink
load-module module-jack-source

load-module module-native-protocol-unix
load-module module-volume-restore
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-suspend-on-idle
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
.ifexists module-x11-publish.so
.nofail
load-module module-x11-publish
.fail
.endif

This is how I setup my ALSA-PulseAudio bridge:

pcm.pulse
{
    type pulse
}
ctl.pulse
{
    type pulse
}
pcm.!default
{
    type pulse
}
ctl.!default
{
    type pulse
}

I will have to restart my netbook to see if the crash occurs again.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: pulseaudio 1:0.9.22+stable-queue-24-g67d18-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: grayson 7697 F.... jackd
 /dev/snd/pcmC0D0c: grayson 7697 F...m jackd
 /dev/snd/pcmC0D0p: grayson 7697 F...m jackd
 /dev/snd/seq: grayson 7621 F.... qjackctl
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x58540000 irq 45'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1025015b,00100101'
   Controls : 8
   Simple ctrls : 5
CrashCounter: 1
Date: Fri Mar 11 13:05:22 2011
ExecutablePath: /usr/bin/pulseaudio
ProcCmdline: pulseaudio -nF /etc/pulse/jack.pa
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
SegvAnalysis:
 Segfault happened at: 0xc5ea4a <module_jack_sink_LTX_pa__init+474>: mov (%eax),%esi
 PC (0x00c5ea4a) ok
 source "(%eax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: pulseaudio
StacktraceTop:
 module_jack_sink_LTX_pa__init () from /usr/lib/pulse-0.9.22/modules/module-jack-sink.so
 pa_module_load () from /usr/lib/libpulsecore-0.9.22.so
 ?? () from /usr/lib/libpulsecore-0.9.22.so
 pa_cli_command_execute_line_stateful () from /usr/lib/libpulsecore-0.9.22.so
 pa_cli_command_execute_file_stream () from /usr/lib/libpulsecore-0.9.22.so
Title: pulseaudio crashed with SIGSEGV in module_jack_sink_LTX_pa__init()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare
XsessionErrors: (nautilus:7602): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed
dmi.bios.date: 05/09/2008
dmi.bios.vendor: Acer
dmi.bios.version: v0.3305
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAcer:bvrv0.3305:bd05/09/2008:svnAcer:pnAOA150:pvr1:rvnAcer:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: AOA150
dmi.product.version: 1
dmi.sys.vendor: Acer

Revision history for this message
Grayson Peddie (graysonpeddie) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 module_jack_sink_LTX_pa__init (m=0x892feb0) at modules/jack/module-jack-sink.c:346
 pa_module_load (c=0x89341b8, name=0x892ea58 "module-jack-sink", argument=0x0) at pulsecore/module.c:112
 pa_cli_command_load (c=0x89341b8, t=0x8930470, buf=0x89300d8, fail=0x892e885) at pulsecore/cli-command.c:426
 pa_cli_command_execute_line_stateful (c=0x89341b8, s=0xbf8f08bc "load-module module-jack-sink", buf=0x89300d8, fail=0x892e885, ifstate=0xbf8f08b4) at pulsecore/cli-command.c:1744
 pa_cli_command_execute_file_stream (c=0x89341b8, f=0x8936e28, buf=0x89300d8, fail=0x892e885) at pulsecore/cli-command.c:1784

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 pulseaudio (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
David Henningsson (diwic) wrote :

Hi Grayson, and thanks for your bug report.
This patch is untested, but should solve your problem.

Btw, what version of jack are you using? Jack 1, Jack 2, or Jack-dbus?

Revision history for this message
David Henningsson (diwic) wrote :
Changed in pulseaudio (Ubuntu):
status: New → Fix Committed
tags: added: patch
Revision history for this message
Grayson Peddie (graysonpeddie) wrote :

Hi David. I'm not very certain what version of JACK I have used since I'm in the process of installing Gentoo/KDE 4.6.1 in my computer, but I believe it may be JACK 1. If only I have another computer to reproduce the bug again and apply the patch to see if the patch corrects a problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.9.22+stable-queue-24-g67d18-0ubuntu3

---------------
pulseaudio (1:0.9.22+stable-queue-24-g67d18-0ubuntu3) natty; urgency=low

  [ David Henningsson ]
  * Add separate profile for Nvidia to make it easier to select the right
    codec out of four (LP: #716371)
  * Add workaround to make it possible to control the volume of some
    USB headsets (LP: #749856, LP: #671560)

  [ Luke Yelavich ]
  * debian/control: Demote pulseaudio-module-raop to suggests, as it is
    causing various issues, including crashers, (LP: #742281, #743073)
    and re-opens (LP #688272)
  * Pull some bugfixes from the stable-queue branch:
    - 4fa7495 (vala: Some bugfixes for the vala bindings)
    - ea0a2a6 (vala: delegate FreeCb does not have a target.)
    - 64985aa (vala: move GLibMainLoop class into separate file to fix linker
               errors)
    - 9f52c10 (vala: Fix path error in the last commit.)
    - 1ade8df (build-sys: Link binaries linking libpulse to libpulsecommon too)
    - c25207f (build-sys: Link binaries linking libpulsecommon to libpulse too)
    - 4be49ae (build-sys: Link lirc libraries in right order)
    - fd5b282 (module-jack-sink/source: protect against null return in
               jack_get_ports) (LP: #733424)
    - 93e7a19 (vala: ChannelMap has no destroy function.)
  * debian/patches/0097-explicitly-link-libraries.patch: Dropped, applied
    upstream
  * debian/control, debian/rules: Add dh-autoreconf
 -- Luke Yelavich <email address hidden> Mon, 11 Apr 2011 16:58:14 +1000

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

Other bug subscribers

Remote bug watches

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