pavucontrol crashed with SIGSEGV in MainWindow::updateServer at pavucontrol.cc:848

Bug #286273 reported by David Fraser
6
Affects Status Importance Assigned to Milestone
pavucontrol (Ubuntu)
Fix Released
Undecided
Daniel T Chen

Bug Description

Binary package hint: pavucontrol

PulseAudio seems to be in a wierd state on my machine. The Volume Control crashes whenever I open it.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Mon Oct 20 06:27:41 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/pavucontrol
NonfreeKernelModules: hsfengine
Package: pavucontrol 0.9.5-1ubuntu1
PackageArchitecture: i386
ProcCmdline: pavucontrol
ProcEnviron:
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.utf8
 SHELL=/bin/bash
Signal: 11
SourcePackage: pavucontrol
StacktraceTop:
 strlen () from /lib/tls/i686/cmov/libc.so.6
 Glib::ustring::operator= () from /usr/lib/libglibmm-2.4.so.1
 ?? ()
 ?? ()
 ?? () from /usr/lib/libpulse.so.0
Title: pavucontrol crashed with SIGSEGV in strlen()
Uname: Linux 2.6.24-21-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev uucp video

Tags: apport-crash

Related branches

Revision history for this message
David Fraser (davidf) wrote :
Revision history for this message
David Fraser (davidf) wrote :

`lsb_release -rd`:
Description: Ubuntu 8.04.1
Release: 8.04

`apt-cache policy pavucontrol`:
pavucontrol:
  Installed: 0.9.5-1ubuntu1
  Candidate: 0.9.5-1ubuntu1
  Version table:
 *** 0.9.5-1ubuntu1 0
        500 http://ubuntu.mirror.ac.za hardy/universe Packages
        100 /var/lib/dpkg/status

apt-cache search pulseaudio | cut -d' ' -f1 | xargs dpkg -l 2>/dev/null | grep ^ii | cut -c1-80
ii gstreamer0.10-pulseaudio 0.9.7-2
ii libasound2-plugins 1.0.15-1ubuntu3
ii libflashsupport 1.9-0ubuntu1
ii libpulse-browse0 0.9.10-1ubuntu1
ii libpulse-mainloop-glib0 0.9.10-1ubuntu1
ii libpulse0 0.9.10-1ubuntu1
ii libpulsecore5 0.9.10-1ubuntu1
ii padevchooser 0.9.3-2ubuntu3
ii paman 0.9.4-1ubuntu1
ii paprefs 0.9.6-1ubuntu1
ii pavucontrol 0.9.5-1ubuntu1
ii pavumeter 0.9.3-1ubuntu1
ii pulseaudio 0.9.10-1ubuntu1
ii pulseaudio-esound-compat 0.9.10-1ubuntu1
ii pulseaudio-module-gconf 0.9.10-1ubuntu1
ii pulseaudio-module-hal 0.9.10-1ubuntu1
ii pulseaudio-module-x11 0.9.10-1ubuntu1
ii pulseaudio-module-zeroconf 0.9.10-1ubuntu1
ii pulseaudio-utils 0.9.10-1ubuntu1
ii vlc-plugin-pulse 0.8.6.release.e+x264svn2007122

Revision history for this message
arno_b (arno.b) wrote :

Thank for your report but can you try to obtain a backtrace by following the instructions on https://wiki.ubuntu.com/DebuggingProgramCrash and on http://live.gnome.org/GettingTraces/Details.
(install packages 'pavucontrol-dbgsym', 'pavumeter-dbgsym', 'libpulse0-dbg' and 'gdb' and see here for backtrace https://wiki.ubuntu.com/Backtrace)

Set to incomplete until we have a backtrace.

Changed in pavucontrol:
status: New → Incomplete
Revision history for this message
David Fraser (davidf) wrote :
Download full text (6.3 KiB)

davidf@golg:~$ gdb pavucontrol
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/bin/pavucontrol
[Thread debugging using libthread_db enabled]
[New Thread 0xb6e0d720 (LWP 11891)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6e0d720 (LWP 11891)]
0xb7191283 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) backtrace full
#0 0xb7191283 in strlen () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1 0xb7b1d8e8 in Glib::ustring::operator= () from /usr/lib/libglibmm-2.4.so.1
No symbol table info available.
#2 0x080500e4 in MainWindow::updateServer (this=0x812ef48, info=@0xbfa2e2a4) at pavucontrol.cc:848
No locals.
#3 0x0805078d in server_info_cb (i=0x0, userdata=0x812ef48) at pavucontrol.cc:1046
        w = <value optimized out>
#4 0xb739d189 in context_get_server_info_callback (pd=0x82d7bc0, command=2, tag=3, t=0x82dfb80, userdata=0x80cf798) at pulse/introspect.c:117
        i = {user_name = 0x82df8df "davidf", host_name = 0x82df8e7 "golg", server_version = 0x82df8d7 "0.9.10", server_name = 0x82df8cb "pulseaudio",
  sample_spec = {format = PA_SAMPLE_S16LE, rate = 44100, channels = 2 '\002'}, default_sink_name = 0x0, default_source_name = 0x0, cookie = 816279667}
        p = (pa_server_info *) 0xbfa2e2a4
        __func__ = "context_get_server_info_callback"
        __PRETTY_FUNCTION__ = "context_get_server_info_callback"
#5 0xb73c5ed8 in run_action (pd=0x82d7bc0, r=0x81f18d8, command=2, ts=0x82dfb80) at pulsecore/pdispatch.c:185
        callback = (pa_pdispatch_cb_t) 0xb739d100 <context_get_server_info_callback>
        userdata = (void *) 0x80cf798
        tag = 3
        __func__ = "run_action"
        __PRETTY_FUNCTION__ = "run_action"
#6 0xb73c62b9 in pa_pdispatch_run (pd=0x82d7bc0, packet=0x82df8b0, creds=0x82dbdc0, userdata=0x80cd100) at pulsecore/pdispatch.c:236
        r = (struct reply_info *) 0x8050770
        tag = 3
        command = 2
        ts = (pa_tagstruct *) 0x82dfb80
        ret = <value optimized out>
        __func__ = "pa_pdispatch_run"
        __PRETTY_FUNCTION__ = "pa_pdispatch_run"
#7 0xb739c939 in pstream_packet_callback (p=0x82dbcf8, packet=0x82df8b0, creds=0x82dbdc0, userdata=0x80cd100) at pulse/context.c:306
        __func__ = "pstream_packet_callback"
        __PRETTY_FUNCTION__ = "pstream_packet_callback"
#8 0xb73c76e7 in do_something (p=0x82dbcf8) at pulsecore/pstream.c:818
        __func__ = "do_something"
        __PRETTY_FUNCTION__ = "do_something"
#9 0xb73bc138 in callback (m=0x812885c, e=0x82dbcc8, fd=6, f=PA_IO_EVENT_INPUT, userdata=0x82dbaf0) at pulsecore/iochannel.c:121
        io = <value optimized out>
        changed = <value optimized out>
        __func__ = "callback"
        __PRETTY_FUNCTION__ = "callback"
#10 0xb73e3584 in ?? () from /usr/lib/libpulse-mainloop-glib.so.0
No symbol table info a...

Read more...

Revision history for this message
David Fraser (davidf) wrote :

For some reason, this machine is currently showing up no source/sink devices (a separate problem I am debugging) - that may be an unexpected condition that the volume control program is crashing on

arno_b (arno.b)
Changed in pavucontrol:
status: Incomplete → New
Revision history for this message
David Fraser (davidf) wrote :

The problem was a known problem on Dell Ubuntu systems upgrading kernels - see http://linux.dell.com/wiki/index.php/Ubuntu_8.04#Known_Issues

After rebooting with the kernel modules fixed up, the volume control program no longer crashes.

I'm not sure if you still want to debug this... it seemed to happen when there were no devices which I guess is a good corner case

Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in pavucontrol (Ubuntu):
assignee: nobody → crimsun
status: New → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work! I just changed "LP 286273" to "LP: 286273". :-)

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

This bug was fixed in the package pavucontrol - 0.9.7-1ubuntu2

---------------
pavucontrol (0.9.7-1ubuntu2) jaunty; urgency=low

  * 0002-Handle-noninitialised-data.patch: Backport from upstream
    01e4826b653065268e7a4b8d57e528836e167a23, makes pavucontrol
    more robust against LP: #286273.

 -- Daniel T Chen <email address hidden> Thu, 02 Apr 2009 00:21:20 -0400

Changed in pavucontrol (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Fishy (marc-fishy) wrote :

Sorry to reply to this old post.

Problem is not fixed for me (jaunty 9.04) and the Dell page link is broken.
Does someone has a valid link (or explanation ?) to give me.

That'd be great
thanks
Marc

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.