All of lore.kernel.org
 help / color / mirror / Atom feed
* bluetoothctl Segmentation Fault on confirm
@ 2015-04-02 18:16 Jason Flanagan
  2015-04-03 10:51 ` Szymon Janc
  0 siblings, 1 reply; 5+ messages in thread
From: Jason Flanagan @ 2015-04-02 18:16 UTC (permalink / raw)
  To: linux-bluetooth

The issue that i'm currently having with BlueZ 5.29 is that when i say 
no to confirming a passkey i get a "Segmentation Fault". I've tried 
multiple times on multiple devices and i get the same result.

bluetoothctl
[bluetooth]#agent on
[bluetooth]#default-agent
[bluetooth]# pair XX:XX:XX:XX:XX:XX
Attempting to pair with XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Request confirmation
[agent] Confirm passkey 080443 (yes/no): no
Segmentation fault


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bluetoothctl Segmentation Fault on confirm
  2015-04-02 18:16 bluetoothctl Segmentation Fault on confirm Jason Flanagan
@ 2015-04-03 10:51 ` Szymon Janc
  2015-04-07 16:39   ` Jason Flanagan
  0 siblings, 1 reply; 5+ messages in thread
From: Szymon Janc @ 2015-04-03 10:51 UTC (permalink / raw)
  To: Jason Flanagan; +Cc: linux-bluetooth

Hi Jason,

On Thursday 02 of April 2015 14:16:59 Jason Flanagan wrote:
> The issue that i'm currently having with BlueZ 5.29 is that when i say
> no to confirming a passkey i get a "Segmentation Fault". I've tried
> multiple times on multiple devices and i get the same result.
> 
> bluetoothctl
> [bluetooth]#agent on
> [bluetooth]#default-agent
> [bluetooth]# pair XX:XX:XX:XX:XX:XX
> Attempting to pair with XX:XX:XX:XX:XX:XX
> [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
> Request confirmation
> [agent] Confirm passkey 080443 (yes/no): no
> Segmentation fault

I'm not able to reproduce this. Could you try running bluetoothctl under 
valgrind or gdb and provide full backtrace of crash?

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bluetoothctl Segmentation Fault on confirm
  2015-04-03 10:51 ` Szymon Janc
@ 2015-04-07 16:39   ` Jason Flanagan
  2015-04-07 18:54     ` Szymon Janc
  0 siblings, 1 reply; 5+ messages in thread
From: Jason Flanagan @ 2015-04-07 16:39 UTC (permalink / raw)
  To: Szymon Janc; +Cc: linux-bluetooth

Sorry for the wait, I just heard back from my supervisor that the error 
only occurs when we cross compile with the uClibc library. 
(libuClibc-0.9.33.2)
The actual error message is

bluetoothctl[2545]: segfault at 0 ip b7564efd sp bff77324 error 4 in 
libuClibc-0.9.33.2.so[b753f000+4f000]

On 04/03/2015 06:51 AM, Szymon Janc wrote:
> Hi Jason,
>
> On Thursday 02 of April 2015 14:16:59 Jason Flanagan wrote:
>> The issue that i'm currently having with BlueZ 5.29 is that when i say
>> no to confirming a passkey i get a "Segmentation Fault". I've tried
>> multiple times on multiple devices and i get the same result.
>>
>> bluetoothctl
>> [bluetooth]#agent on
>> [bluetooth]#default-agent
>> [bluetooth]# pair XX:XX:XX:XX:XX:XX
>> Attempting to pair with XX:XX:XX:XX:XX:XX
>> [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
>> Request confirmation
>> [agent] Confirm passkey 080443 (yes/no): no
>> Segmentation fault
> I'm not able to reproduce this. Could you try running bluetoothctl under
> valgrind or gdb and provide full backtrace of crash?
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bluetoothctl Segmentation Fault on confirm
  2015-04-07 16:39   ` Jason Flanagan
@ 2015-04-07 18:54     ` Szymon Janc
  2015-04-07 20:58       ` Szymon Janc
  0 siblings, 1 reply; 5+ messages in thread
From: Szymon Janc @ 2015-04-07 18:54 UTC (permalink / raw)
  To: Jason Flanagan; +Cc: linux-bluetooth

Hi Jason,

On Tuesday 07 of April 2015 12:39:36 Jason Flanagan wrote:
> Sorry for the wait, I just heard back from my supervisor that the error
> only occurs when we cross compile with the uClibc library.
> (libuClibc-0.9.33.2)
> The actual error message is
> 
> bluetoothctl[2545]: segfault at 0 ip b7564efd sp bff77324 error 4 in
> libuClibc-0.9.33.2.so[b753f000+4f000]

OK, I was able to reproduce this with musl C library.

PS please don't top post on ML

> On 04/03/2015 06:51 AM, Szymon Janc wrote:
> > Hi Jason,
> > 
> > On Thursday 02 of April 2015 14:16:59 Jason Flanagan wrote:
> >> The issue that i'm currently having with BlueZ 5.29 is that when i say
> >> no to confirming a passkey i get a "Segmentation Fault". I've tried
> >> multiple times on multiple devices and i get the same result.
> >> 
> >> bluetoothctl
> >> [bluetooth]#agent on
> >> [bluetooth]#default-agent
> >> [bluetooth]# pair XX:XX:XX:XX:XX:XX
> >> Attempting to pair with XX:XX:XX:XX:XX:XX
> >> [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
> >> Request confirmation
> >> [agent] Confirm passkey 080443 (yes/no): no
> >> Segmentation fault
> > 
> > I'm not able to reproduce this. Could you try running bluetoothctl under
> > valgrind or gdb and provide full backtrace of crash?

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bluetoothctl Segmentation Fault on confirm
  2015-04-07 18:54     ` Szymon Janc
@ 2015-04-07 20:58       ` Szymon Janc
  0 siblings, 0 replies; 5+ messages in thread
From: Szymon Janc @ 2015-04-07 20:58 UTC (permalink / raw)
  To: Jason Flanagan; +Cc: linux-bluetooth

Hi Jason,

On Tuesday 07 of April 2015 20:54:34 Szymon Janc wrote:
> Hi Jason,
> 
> On Tuesday 07 of April 2015 12:39:36 Jason Flanagan wrote:
> > Sorry for the wait, I just heard back from my supervisor that the error
> > only occurs when we cross compile with the uClibc library.
> > (libuClibc-0.9.33.2)
> > The actual error message is
> > 
> > bluetoothctl[2545]: segfault at 0 ip b7564efd sp bff77324 error 4 in
> > libuClibc-0.9.33.2.so[b753f000+4f000]
> 
> OK, I was able to reproduce this with musl C library.

Patches that should fix the crash are on ML. Please test if that fix your 
problem.

> 
> PS please don't top post on ML
> 
> > On 04/03/2015 06:51 AM, Szymon Janc wrote:
> > > Hi Jason,
> > > 
> > > On Thursday 02 of April 2015 14:16:59 Jason Flanagan wrote:
> > >> The issue that i'm currently having with BlueZ 5.29 is that when i say
> > >> no to confirming a passkey i get a "Segmentation Fault". I've tried
> > >> multiple times on multiple devices and i get the same result.
> > >> 
> > >> bluetoothctl
> > >> [bluetooth]#agent on
> > >> [bluetooth]#default-agent
> > >> [bluetooth]# pair XX:XX:XX:XX:XX:XX
> > >> Attempting to pair with XX:XX:XX:XX:XX:XX
> > >> [CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
> > >> Request confirmation
> > >> [agent] Confirm passkey 080443 (yes/no): no
> > >> Segmentation fault
> > > 
> > > I'm not able to reproduce this. Could you try running bluetoothctl under
> > > valgrind or gdb and provide full backtrace of crash?

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-07 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 18:16 bluetoothctl Segmentation Fault on confirm Jason Flanagan
2015-04-03 10:51 ` Szymon Janc
2015-04-07 16:39   ` Jason Flanagan
2015-04-07 18:54     ` Szymon Janc
2015-04-07 20:58       ` Szymon Janc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.