<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - pavucontrol crash at MainWindow::updateCard (this=0x8264400, info=...) at mainwindow.cc:319"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81116">81116</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pavucontrol crash at MainWindow::updateCard (this=0x8264400, info=...) at mainwindow.cc:319
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rdieter@math.unl.edu
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>pavucontrol
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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
<a href="http://bugzilla.gnome.org/732952">http://bugzilla.gnome.org/732952</a> ) 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@entry=0x8218b20,
command=command@entry=2, tag=tag@entry=5, t=t@entry=0x82c7cc8, 
    userdata=userdata@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@entry=0x82cd6f0, creds=creds@entry=0x82841a8, 
    userdata=userdata@entry=0x825c430) at pulsecore/pdispatch.c:331
#9  0xb6c909c5 in pstream_packet_callback (p=p@entry=0x8284000,
packet=0x82cd6f0, creds=0x82841a8, userdata=userdata@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@entry=0x826d734, e=e@entry=0x82cb898, fd=9,
f=PA_IO_EVENT_INPUT, userdata=0x80d6068)
    at pulsecore/iochannel.c:160
#13 0xb6cd6adf in dispatch_func (source=source@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@entry=0x80d6200) at gmain.c:3642
#16 0xb6d23920 in g_main_context_iterate (context=0x80d6200,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at gmain.c:3713
#17 0xb6d23dc3 in g_main_loop_run (loop=loop@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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>