2017-08-21 16:29:39

by Florian Sievert

[permalink] [raw]
Subject: Segfault on audio pairing

Hi all,

I run into an issue with bluetooth when trying to connect to an audio
speaker on my Fedora 26 system. I was able to reproduce this at least on
two other Fedora systems with different hardware and thus opened up an
issue in redhat's bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=1469961

While performing a discussion on the fedora user mailing list, some guy
confirmed the issue as well and pointed out that some similiar Arch
Linux does exist:

https://bugs.archlinux.org/task/53442

I was pointed to this mailing list to raise the issue and asking for
further advisory on debugging this segfault. The issue is 100%
reproducable here on my system and seems just to occur when connecting
an audio speaker via bluetooth to the system. All other bluetooth
devices seems to be working fine. Some logs and the segfault are
attached to the redhat issue. So how may I help to narrow down this
segfault?

Many thanks in advance,
Florian



2017-08-30 16:07:45

by Florian Sievert

[permalink] [raw]
Subject: Re: Segfault on audio pairing

Hi,

the affected devices here are:
1) Bose Soundlink Mini
2) Anker SoundCore

> Hi,
>
> On Wed, Aug 23, 2017 at 12:17 PM, Konrad Zapalowicz
> <[email protected]> wrote:
>> On 08/21, Luiz Augusto von Dentz wrote:
>>> Hi Florian,
>>>
>>> On Mon, Aug 21, 2017 at 7:29 PM, Florian Sievert <[email protected]> wrote:
>>>> Hi all,
>>>>
>>>> I run into an issue with bluetooth when trying to connect to an audio
>>>> speaker on my Fedora 26 system. I was able to reproduce this at least on
>>>> two other Fedora systems with different hardware and thus opened up an
>>>> issue in redhat's bugzilla:
>>>>
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1469961
>>>>
>>>> While performing a discussion on the fedora user mailing list, some guy
>>>> confirmed the issue as well and pointed out that some similiar Arch
>>>> Linux does exist:
>>>>
>>>> https://bugs.archlinux.org/task/53442
>>>>
>>>> I was pointed to this mailing list to raise the issue and asking for
>>>> further advisory on debugging this segfault. The issue is 100%
>>>> reproducable here on my system and seems just to occur when connecting
>>>> an audio speaker via bluetooth to the system. All other bluetooth
>>>> devices seems to be working fine. Some logs and the segfault are
>>>> attached to the redhat issue. So how may I help to narrow down this
>>>> segfault?
>>> There have been at least one fix related to some headset that are using GATT:
>>>
>>> https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=5252296b725ef159992be5372f60721bd9adca48
>> Florian,
>>
>> I can add that it fixes a crash that I have been observing with Sony
>> MDR-1000X and possibly also with Sony SBH52.
> It might be a good idea to compile a list of affected headsets so we
> can probably add to the changelog when releasing.
>


2017-08-23 10:37:58

by Konrad Zapalowicz

[permalink] [raw]
Subject: Re: Segfault on audio pairing

On 08/23, Luiz Augusto von Dentz wrote:
> Hi,
>
> On Wed, Aug 23, 2017 at 12:17 PM, Konrad Zapalowicz
> <[email protected]> wrote:
> > On 08/21, Luiz Augusto von Dentz wrote:
> >> Hi Florian,
> >>
> >> On Mon, Aug 21, 2017 at 7:29 PM, Florian Sievert <[email protected]> wrote:
> >> > Hi all,
> >> >
> >> > I run into an issue with bluetooth when trying to connect to an audio
> >> > speaker on my Fedora 26 system. I was able to reproduce this at least on
> >> > two other Fedora systems with different hardware and thus opened up an
> >> > issue in redhat's bugzilla:
> >> >
> >> > https://bugzilla.redhat.com/show_bug.cgi?id=1469961
> >> >
> >> > While performing a discussion on the fedora user mailing list, some guy
> >> > confirmed the issue as well and pointed out that some similiar Arch
> >> > Linux does exist:
> >> >
> >> > https://bugs.archlinux.org/task/53442
> >> >
> >> > I was pointed to this mailing list to raise the issue and asking for
> >> > further advisory on debugging this segfault. The issue is 100%
> >> > reproducable here on my system and seems just to occur when connecting
> >> > an audio speaker via bluetooth to the system. All other bluetooth
> >> > devices seems to be working fine. Some logs and the segfault are
> >> > attached to the redhat issue. So how may I help to narrow down this
> >> > segfault?
> >>
> >> There have been at least one fix related to some headset that are using GATT:
> >>
> >> https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=5252296b725ef159992be5372f60721bd9adca48
> >
> > Florian,
> >
> > I can add that it fixes a crash that I have been observing with Sony
> > MDR-1000X and possibly also with Sony SBH52.
>
> It might be a good idea to compile a list of affected headsets so we
> can probably add to the changelog when releasing.

Good idea. From my side:

1) Sony MDR-1000X
2) Sony SBH52

There was also a report from Per who used a Plantronics headset however
I'm not sure what is the status with the above patch applied.

/K

>
> --
> Luiz Augusto von Dentz

2017-08-23 09:23:06

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Segfault on audio pairing

Hi,

On Wed, Aug 23, 2017 at 12:17 PM, Konrad Zapalowicz
<[email protected]> wrote:
> On 08/21, Luiz Augusto von Dentz wrote:
>> Hi Florian,
>>
>> On Mon, Aug 21, 2017 at 7:29 PM, Florian Sievert <[email protected]> wrote:
>> > Hi all,
>> >
>> > I run into an issue with bluetooth when trying to connect to an audio
>> > speaker on my Fedora 26 system. I was able to reproduce this at least on
>> > two other Fedora systems with different hardware and thus opened up an
>> > issue in redhat's bugzilla:
>> >
>> > https://bugzilla.redhat.com/show_bug.cgi?id=1469961
>> >
>> > While performing a discussion on the fedora user mailing list, some guy
>> > confirmed the issue as well and pointed out that some similiar Arch
>> > Linux does exist:
>> >
>> > https://bugs.archlinux.org/task/53442
>> >
>> > I was pointed to this mailing list to raise the issue and asking for
>> > further advisory on debugging this segfault. The issue is 100%
>> > reproducable here on my system and seems just to occur when connecting
>> > an audio speaker via bluetooth to the system. All other bluetooth
>> > devices seems to be working fine. Some logs and the segfault are
>> > attached to the redhat issue. So how may I help to narrow down this
>> > segfault?
>>
>> There have been at least one fix related to some headset that are using GATT:
>>
>> https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=5252296b725ef159992be5372f60721bd9adca48
>
> Florian,
>
> I can add that it fixes a crash that I have been observing with Sony
> MDR-1000X and possibly also with Sony SBH52.

It might be a good idea to compile a list of affected headsets so we
can probably add to the changelog when releasing.

--
Luiz Augusto von Dentz

2017-08-23 09:17:39

by Konrad Zapalowicz

[permalink] [raw]
Subject: Re: Segfault on audio pairing

On 08/21, Luiz Augusto von Dentz wrote:
> Hi Florian,
>
> On Mon, Aug 21, 2017 at 7:29 PM, Florian Sievert <[email protected]> wrote:
> > Hi all,
> >
> > I run into an issue with bluetooth when trying to connect to an audio
> > speaker on my Fedora 26 system. I was able to reproduce this at least on
> > two other Fedora systems with different hardware and thus opened up an
> > issue in redhat's bugzilla:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1469961
> >
> > While performing a discussion on the fedora user mailing list, some guy
> > confirmed the issue as well and pointed out that some similiar Arch
> > Linux does exist:
> >
> > https://bugs.archlinux.org/task/53442
> >
> > I was pointed to this mailing list to raise the issue and asking for
> > further advisory on debugging this segfault. The issue is 100%
> > reproducable here on my system and seems just to occur when connecting
> > an audio speaker via bluetooth to the system. All other bluetooth
> > devices seems to be working fine. Some logs and the segfault are
> > attached to the redhat issue. So how may I help to narrow down this
> > segfault?
>
> There have been at least one fix related to some headset that are using GATT:
>
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=5252296b725ef159992be5372f60721bd9adca48

Florian,

I can add that it fixes a crash that I have been observing with Sony
MDR-1000X and possibly also with Sony SBH52.

/K

>
> --
> Luiz Augusto von Dentz
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2017-08-21 20:55:22

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Segfault on audio pairing

Hi Florian,

On Mon, Aug 21, 2017 at 7:29 PM, Florian Sievert <[email protected]> wrote:
> Hi all,
>
> I run into an issue with bluetooth when trying to connect to an audio
> speaker on my Fedora 26 system. I was able to reproduce this at least on
> two other Fedora systems with different hardware and thus opened up an
> issue in redhat's bugzilla:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1469961
>
> While performing a discussion on the fedora user mailing list, some guy
> confirmed the issue as well and pointed out that some similiar Arch
> Linux does exist:
>
> https://bugs.archlinux.org/task/53442
>
> I was pointed to this mailing list to raise the issue and asking for
> further advisory on debugging this segfault. The issue is 100%
> reproducable here on my system and seems just to occur when connecting
> an audio speaker via bluetooth to the system. All other bluetooth
> devices seems to be working fine. Some logs and the segfault are
> attached to the redhat issue. So how may I help to narrow down this
> segfault?

There have been at least one fix related to some headset that are using GATT:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=5252296b725ef159992be5372f60721bd9adca48

--
Luiz Augusto von Dentz