Re: [PATCH v2 0/2] Bluetooth A2DP aptX codec support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 03 August 2018 15:32:01 Pali Rohár wrote:
> On Friday 03 August 2018 16:22:05 ValdikSS wrote:
> > When I try to switch to aptX profile from "off" profile, pulseaudio crashes:
> > 
> > E: [pulseaudio] module-bluez5-device.c: Assertion '!u->thread' failed at modules/bluetooth/module-bluez5-device.c:1491, function start_thread(). Aborting.
> 
> Try:
> 
> $ pactl unload-module module-bluetooth-policy
> 
> Seems that policy module needs to be fixed for new aptx profiles.
> 
> > Thread 1 "pulseaudio" received signal SIGABRT, Aborted.
> > 0x00007ffff44edfeb in raise () from /lib64/libc.so.6
> > (gdb) bt
> > #0  0x00007ffff44edfeb in raise () from /lib64/libc.so.6
> > #1  0x00007ffff44d85c1 in abort () from /lib64/libc.so.6
> > #2  0x00007fff7f3dab45 in start_thread (u=u@entry=0x55555593d640) at modules/bluetooth/module-bluez5-device.c:1491
> > #3  0x00007fff7f3dd263 in set_profile_cb (c=<optimized out>, new_profile=0x5555559251a0) at modules/bluetooth/module-bluez5-device.c:1859
> > #4  0x00007ffff7b5148e in pa_card_set_profile (c=c@entry=0x5555558e4c20, profile=profile@entry=0x5555559251a0, save=save@entry=true) at pulsecore/card.c:318
> > #5  0x00007fffe0a0362d in command_set_card_profile (pd=<optimized out>, command=<optimized out>, tag=127, t=<optimized out>, userdata=<optimized out>) at pulsecore/protocol-native.c:4728
> > #6  0x00007ffff6d83813 in pa_pdispatch_run (pd=0x555555a2e4b0, packet=packet@entry=0x5555558a3020, ancil_data=ancil_data@entry=0x555555975bf8, userdata=userdata@entry=0x5555558bebf0) at pulsecore/pdispatch.c:346
> > #7  0x00007fffe0a0bee9 in pstream_packet_callback (p=0x555555975960, packet=0x5555558a3020, ancil_data=0x555555975bf8, userdata=0x5555558bebf0) at pulsecore/protocol-native.c:4951
> > #8  0x00007ffff6d8629d in do_read (p=p@entry=0x555555975960, re=re@entry=0x555555975b28) at pulsecore/pstream.c:1012
> > #9  0x00007ffff6d890eb in do_pstream_read_write (p=0x555555975960) at pulsecore/pstream.c:248
> > #10 0x00007ffff6d8949d in srb_callback (srb=0x5555558b0660, userdata=0x555555975960) at pulsecore/pstream.c:287
> > #11 0x00007ffff6d89d2a in srbchannel_rwloop (sr=0x5555558b0660) at pulsecore/srbchannel.c:190
> > #12 0x00007ffff78fc8a8 in dispatch_pollfds (m=0x55555576f120) at pulse/mainloop.c:140
> > #13 pa_mainloop_dispatch (m=m@entry=0x55555576f120) at pulse/mainloop.c:898
> > #14 0x00007ffff78fcb80 in pa_mainloop_iterate (m=0x55555576f120, block=<optimized out>, retval=0x7fffffffdc18) at pulse/mainloop.c:929
> > #15 0x00007ffff78fcc20 in pa_mainloop_run (m=0x55555576f120, retval=0x7fffffffdc18) at pulse/mainloop.c:945
> > #16 0x000055555555b0c9 in main (argc=<optimized out>, argv=<optimized out>) at daemon/main.c:1144

This problem in module-bluetooth-policy is fixed in v3.

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux