Re: bluez: bluetoothd: segmentation fault

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

 



> [AO_ALSA] alsa-lib: pcm_bluetooth.c:1531:(audioservice_recv) Error
receiving data \
> from audio service: Success(0) [AO_ALSA] alsa-lib: \
> pcm_bluetooth.c:1547:(audioservice_expect) Bogus message BT_GETCAPABILITIES_REQ \
> received while BT_GETCAPABILITIES_RSP was expected [AO_ALSA] Playback open error: \
> Invalid argument 
> 


I believe, but cannot prove, that this is caused by the bug I found in
pcm_bluetooth.c the other day (see a previous post) which causes random
memory corruption.

If you can test, try editing audio/pcm_bluetooth.c around line 801.  Try
replacing:


        revents[0] = (pfds[0].revents & ~POLLIN) | POLLOUT;
	revents[1] = (pfds[1].revents & ~POLLIN);

with:

        *revents = (pfds[0].revents & ~POLLIN) | (pfds[1].revents & ~POLLIN)| POLLOUT;

and rebuild.

Thanks,
David


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux