#0 0x00007fe10da3e227 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 [Error: raise.c was not found in source tree] #1 0x00007fe10da3fe8a in __GI_abort () at abort.c:89 [Error: abort.c was not found in source tree] #2 0x00007fe10f26fe1f in pa_sink_input_assert_ref (o=) at ./pulsecore/sink-input.h:257 252: } thread_info; 253: 254: void *userdata; 255: }; 256: 257: PA_DECLARE_PUBLIC_CLASS(pa_sink_input); 258: #define PA_SINK_INPUT(o) pa_sink_input_cast(o) 259: 260: enum { 261: PA_SINK_INPUT_MESSAGE_SET_SOFT_VOLUME, 262: PA_SINK_INPUT_MESSAGE_SET_SOFT_MUTE, #3 pa_sink_input_finish_move (i=i@entry=0xe2db20, dest=dest@entry=0xd8e0e0, save=save@entry=false) at pulsecore/sink-input.c:1753 1748: /* Called from main context */ 1749: int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, bool save) { 1750: struct volume_factor_entry *v; 1751: void *state = NULL; 1752: 1753: pa_sink_input_assert_ref(i); 1754: pa_assert_ctl_context(); 1755: pa_assert(PA_SINK_INPUT_IS_LINKED(i->state)); 1756: pa_assert(!i->sink); 1757: pa_sink_assert_ref(dest); 1758: #4 0x00007fe10f2730fd in pa_sink_move_all_finish (s=0xd8e0e0, q=q@entry=0xe96de0, save=save@entry=false) at pulsecore/sink.c:918 913: pa_assert_ctl_context(); 914: pa_assert(PA_SINK_IS_LINKED(s->state)); 915: pa_assert(q); 916: 917: while ((i = PA_SINK_INPUT(pa_queue_pop(q)))) { 918: if (pa_sink_input_finish_move(i, s, save) < 0) 919: pa_sink_input_fail_move(i); 920: 921: pa_sink_input_unref(i); 922: } 923: #5 0x00007fe10849fe8f in card_set_profile (c=0xe2c7f0, new_profile=0xd648c0) at modules/alsa/module-alsa-card.c:255 250: 251: if (!am->sink) 252: am->sink = pa_alsa_sink_new(c->module, u->modargs, __FILE__, c, am); 253: 254: if (sink_inputs && am->sink) { 255: pa_sink_move_all_finish(am->sink, sink_inputs, false); 256: sink_inputs = NULL; 257: } 258: } 259: 260: if (nd->profile && nd->profile->input_mappings) #6 0x00007fe10f24ff9a in pa_card_set_profile (c=c@entry=0xe2c7f0, profile=profile@entry=0xd648c0, save=save@entry=true) at pulsecore/card.c:296 291: return 0; 292: } 293: 294: pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CARD_PROFILE_CHANGING], profile); 295: 296: if ((r = c->set_profile(c, profile)) < 0) 297: return r; 298: 299: pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CARD|PA_SUBSCRIPTION_EVENT_CHANGE, c->index); 300: 301: pa_log_info("Changed profile of card %u \"%s\" to %s", c->index, c->name, profile->name); #7 0x00007fe1090ddc43 in command_set_card_profile (pd=0xe89ec0, command=90, tag=3058, t=0xd046c0, userdata=0xe83020) at pulsecore/protocol-native.c:4907 4902: 4903: CHECK_VALIDITY(c->pstream, profile, tag, PA_ERR_NOENTITY); 4904: 4905: CHECK_ACCESS(c, command, tag, card->index, profile_name); 4906: 4907: if ((ret = pa_card_set_profile(card, profile, true)) < 0) { 4908: pa_pstream_send_error(c->pstream, tag, -ret); 4909: return; 4910: } 4911: 4912: pa_pstream_send_simple_ack(c->pstream, tag); #8 0x00007fe10efeb542 in pa_pdispatch_run (pd=0xe89ec0, packet=packet@entry=0xd79ba0, ancil_data=ancil_data@entry=0xf70460, userdata=userdata@entry=0xe83020) at pulsecore/pdispatch.c:342 337: run_action(pd, r, command, ts); 338: 339: } else if (pd->callback_table && (command < pd->n_commands) && pd->callback_table[command]) { 340: const pa_pdispatch_cb_t *cb = pd->callback_table+command; 341: 342: (*cb)(pd, command, tag, ts, userdata); 343: } else { 344: pa_log("Received unsupported command %u", command); 345: goto finish; 346: } 347: #9 0x00007fe1090e6a55 in pstream_packet_callback (p=0xf701d0, packet=0xd79ba0, ancil_data=0xf70460, userdata=0xe83020) at pulsecore/protocol-native.c:5027 5022: 5023: pa_assert(p); 5024: pa_assert(packet); 5025: pa_native_connection_assert_ref(c); 5026: 5027: if (pa_pdispatch_run(c->pdispatch, packet, ancil_data, c) < 0) { 5028: pa_log("invalid packet."); 5029: native_connection_unlink(c); 5030: } 5031: } 5032: #10 0x00007fe10efede5f in do_read (p=p@entry=0xf701d0, re=re@entry=0xf70398) at pulsecore/pstream.c:879 874: 875: } else if (re->packet) { 876: 877: if (p->receive_packet_callback) 878: #ifdef HAVE_CREDS 879: p->receive_packet_callback(p, re->packet, &p->read_ancil_data, p->receive_packet_callback_userdata); 880: #else 881: p->receive_packet_callback(p, re->packet, NULL, p->receive_packet_callback_userdata); 882: #endif 883: 884: pa_packet_unref(re->packet); #11 0x00007fe10eff04db in do_pstream_read_write (p=0xf701d0) at pulsecore/pstream.c:189 184: 185: p->mainloop->defer_enable(p->defer_event, 0); 186: 187: if (!p->dead && p->srb) { 188: do_write(p); 189: while (!p->dead && do_read(p, &p->readsrb) == 0); 190: } 191: 192: if (!p->dead && pa_iochannel_is_readable(p->io)) { 193: if (do_read(p, &p->readio) < 0) 194: goto fail; #12 0x00007fe10eff0889 in srb_callback (srb=, userdata=0xf701d0) at pulsecore/pstream.c:228 223: pa_assert(PA_REFCNT_VALUE(p) > 0); 224: pa_assert(p->srb == srb); 225: 226: pa_pstream_ref(p); 227: 228: do_pstream_read_write(p); 229: 230: /* If either pstream or the srb is going away, return false. 231: We need to check this before p is destroyed. */ 232: b = (PA_REFCNT_VALUE(p) > 1) && (p->srb == srb); 233: pa_pstream_unref(p); #13 0x00007fe10eff111a in srbchannel_rwloop (sr=0xd4e990) at pulsecore/srbchannel.c:190 185: pa_ringbuffer_peek(&sr->rb_read, &q); 186: pa_log("In rw loop from srbchannel, before callback, count = %d", q); 187: #endif 188: 189: if (sr->callback) { 190: if (!sr->callback(sr, sr->cb_userdata)) { 191: #ifdef DEBUG_SRBCHANNEL 192: pa_log("Aborting read loop from srbchannel"); 193: #endif 194: return; 195: } #14 0x00007fe10ed850f7 in dispatch_pollfds (m=0xced070) at pulse/mainloop.c:655 650: continue; 651: 652: pa_assert(e->pollfd->fd == e->fd); 653: pa_assert(e->callback); 654: 655: e->callback(&m->api, e, e->fd, map_flags_from_libc(e->pollfd->revents), e->userdata); 656: e->pollfd->revents = 0; 657: r++; 658: k--; 659: } 660: #15 pa_mainloop_dispatch (m=m@entry=0xced070) at pulse/mainloop.c:898 893: 894: if (m->quit) 895: goto quit; 896: 897: if (m->poll_func_ret > 0) 898: dispatched += dispatch_pollfds(m); 899: } 900: 901: if (m->quit) 902: goto quit; 903: #16 0x00007fe10ed854fc in pa_mainloop_iterate (m=0xced070, block=, retval=0x7ffc4d420438) at pulse/mainloop.c:929 924: goto quit; 925: 926: if ((r = pa_mainloop_poll(m)) < 0) 927: goto quit; 928: 929: if ((r = pa_mainloop_dispatch(m)) < 0) 930: goto quit; 931: 932: return r; 933: 934: quit: #17 0x00007fe10ed855a0 in pa_mainloop_run (m=m@entry=0xced070, retval=retval@entry=0x7ffc4d420438) at pulse/mainloop.c:944 939: } 940: 941: int pa_mainloop_run(pa_mainloop *m, int *retval) { 942: int r; 943: 944: while ((r = pa_mainloop_iterate(m, 1, retval)) >= 0) 945: ; 946: 947: if (r == -2) 948: return 1; 949: else #18 0x0000000000406f95 in main (argc=, argv=) at daemon/main.c:1152 1147: #ifdef HAVE_SYSTEMD_DAEMON 1148: sd_notify(0, "READY=1"); 1149: #endif 1150: 1151: retval = 0; 1152: if (pa_mainloop_run(mainloop, &retval) < 0) 1153: goto finish; 1154: 1155: pa_log_info("Daemon shutdown initiated."); 1156: 1157: #ifdef HAVE_SYSTEMD_DAEMON