[pulseaudio-tickets] [Bug 81116] New: pavucontrol crash at MainWindow::updateCard (this=0x8264400, info=...) at mainwindow.cc:319

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 9 08:59:13 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81116

          Priority: medium
            Bug ID: 81116
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: pavucontrol crash at MainWindow::updateCard
                    (this=0x8264400, info=...) at mainwindow.cc:319
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: rdieter at math.unl.edu
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: pavucontrol
           Product: PulseAudio

Since upgrade to pulseaudio-5.0, there seem to be cases where card profile
struct isn't fully initialized (name field particularly), so experience crashes
in applications that don't handle this.

Examples include: gnome-settings-daemon, gnome-shell ( see
http://bugzilla.gnome.org/732952 ) and pavucontrol (here).

(gdb) backtrace
#0  __strcmp_sse4_2 () at ../sysdeps/i386/i686/multiarch/strcmp-sse4.S:217
#1  0x0806ea50 in operator() (this=0xbfffe8e8, lhs=..., lhs=..., rhs=...,
rhs=...) at mainwindow.cc:43
#2  _M_get_insert_unique_pos (__k=..., this=0xbfffe8e8) at
/usr/include/c++/4.8.2/bits/stl_tree.h:1324
#3  std::_Rb_tree<pa_card_profile_info, pa_card_profile_info,
std::_Identity<pa_card_profile_info>, profile_prio_compare,
std::allocator<pa_card_profile_info> >::_M_insert_unique (this=0xbfffe8e8,
__v=...) at /usr/include/c++/4.8.2/bits/stl_tree.h:1377
#4  0x0806a5cd in insert (__x=..., this=0xbfffe8e8) at
/usr/include/c++/4.8.2/bits/stl_set.h:463
#5  MainWindow::updateCard (this=0x8264400, info=...) at mainwindow.cc:319
#6  0xb6c9f06a in context_get_card_info_callback (pd=pd at entry=0x8218b20,
command=command at entry=2, tag=tag at entry=5, t=t at entry=0x82c7cc8, 
    userdata=userdata at entry=0x82cb8c8) at pulse/introspect.c:971
#7  0xb64618b0 in run_action (pd=0x8218b20, r=0x82cb9a0, command=2,
ts=0x82c7cc8) at pulsecore/pdispatch.c:279
#8  0xb6461cd0 in pa_pdispatch_run (pd=0x8218b20,
packet=packet at entry=0x82cd6f0, creds=creds at entry=0x82841a8, 
    userdata=userdata at entry=0x825c430) at pulsecore/pdispatch.c:331
#9  0xb6c909c5 in pstream_packet_callback (p=p at entry=0x8284000,
packet=0x82cd6f0, creds=0x82841a8, userdata=userdata at entry=0x825c430)
    at pulse/context.c:335
#10 0xb646686b in do_read (p=0x8284000) at pulsecore/pstream.c:830
#11 do_pstream_read_write (p=0x8284000) at pulsecore/pstream.c:185
#12 0xb6451230 in callback (m=m at entry=0x826d734, e=e at entry=0x82cb898, fd=9,
f=PA_IO_EVENT_INPUT, userdata=0x80d6068)
    at pulsecore/iochannel.c:160
#13 0xb6cd6adf in dispatch_func (source=source at entry=0x826d700, callback=0x0,
userdata=0x0) at pulse/glib-mainloop.c:586
#14 0xb6d23556 in g_main_dispatch (context=0x80d6200) at gmain.c:3066
#15 g_main_context_dispatch (context=context at entry=0x80d6200) at gmain.c:3642
#16 0xb6d23920 in g_main_context_iterate (context=0x80d6200,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at gmain.c:3713
#17 0xb6d23dc3 in g_main_loop_run (loop=loop at entry=0x8218ac8) at gmain.c:3907
#18 0xb74246dd in gtk_main () at gtkmain.c:1158
#19 0xb7deba05 in Gtk::Main::run_impl (this=0xbfffee1c) at main.cc:440
#20 0xb7dec03b in Gtk::Main::run (window=...) at main.cc:399
#21 0x08053e18 in main (argc=1, argv=0xbfffef34) at pavucontrol.cc:683

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140709/0032535b/attachment.html>


More information about the pulseaudio-bugs mailing list