You are not logged in.

#1 2022-05-16 08:45:12

foxxy
Member
Registered: 2018-07-15
Posts: 6

Process unkillable when connecting to unreachable BT device

When connecting to an unreachable Bluetooth device, the process hangs. SIGKILL doesn't work, the syscall is hung trying to connect. I have to SysRq to force a reboot. The software ran fine for years without this issue. It appeared 6 months ago, disappeared for a month, and has reappeared. Here's a Python program that causes the issue:

import socket

with socket.socket(family=socket.AF_BLUETOOTH,
                   proto=socket.BTPROTO_RFCOMM) as sock:
    print('Connecting, try ^C')
    sock.connect(('00:18:E4:40:00:06', 1))

I get the same issue with a C program, so I don't think it's to do with user-land software. I don't know where is best or how to report this issue, so I've put it here.

Sometimes I can `sudo rmmod btusb` and then `^C` works, but this is above 50/50.

Last edited by foxxy (2022-05-16 08:51:25)

Offline

#3 2022-05-17 09:54:57

foxxy
Member
Registered: 2018-07-15
Posts: 6

Re: Process unkillable when connecting to unreachable BT device

Thanks seth. I tried all linked suggestions, sadly they didn't help. I'm going to try the LTS kernel to see if that has the issue.

Offline

Board footer

Powered by FluxBB