Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

[13.1] bluetooth crashing with python call

$
0
0
I have a small python program that reads data from a bluetooth device.
the program is working fine under OS 12.3 on a netbook.

when executing it on a laptop with OS 13.1, bluetooth is crashing.
the KDE smbol in KDE disapears and /var/log/messages contains the following:

Code:

ystemd-udevd[19617]: failed to execute '/usr/lib/udev/socket:@/org/freedesktop/hal/udev_event' 'socket:@/org/freedesktop/hal/udev_event': No such file or directory
bluetoothd[1440]: Agent /blueDevil_agent replied with an error: org.freedesktop.DBus.Error.NoReply, Message did not receive a reply (timeout by message bus)
kernel: [76697.031904] bluetoothd[1440]: segfault at bf1dcfec ip b73bba2b sp bf1dcff0 error 6 in libc-2.18.so[b7356000+1ab000]
systemd[1]: bluetooth.service: main process exited, code=killed, status=11/SEGV
systemd[1]: Unit bluetooth.service entered failed state.

mostly (not always) bluetooth can be restarted via systemctl.

the python program is continuing (=waiting), but of course running into a timeout.

the crashing occurs with the python call that tries to connect to a specific device.
with different device, a bluetooth connection can be established that way.
the python program
Code:

import sys
import time
import bluetooth
from bluetooth import *

addr="00:12:6F:34:6E:32"
btsocket = bluetooth.BluetoothSocket( bluetooth.RFCOMM )

btt = btsocket.connect((addr, 1))

is there anything I can do about that, or is there a fundamental problem with the bluetooth installation?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>