lukasjapan / bt-speaker

A simple Bluetooth Speaker Daemon for the Raspberry Pi 3
GNU General Public License v3.0
495 stars 95 forks source link

random silents and errors after a short time #9

Open hmirzaei opened 7 years ago

hmirzaei commented 7 years ago

Hello,

Thank you for sharing this project. I am able to install bt-speaker on RPi and pair a device. But there are random short silences around every 3 seconds. and after 30 seconds I get this

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.029027] Internal error: : 11 [#1] ARM

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.082299] Process bt_speaker.py (pid: 387, stack limit = 0xd8ea4188)

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.085174] Stack: (0xd8ea5dd0 to 0xd8ea6000)

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.088136] 5dc0:                                     00000001 da61a9c0 d8ea5dfc d8ea5de8

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.093978] 5de0: c04d6728 c04d6450 00000001 d8093800 d8ea5e14 d8ea5e00 c04d68a4 c04d6718

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.099795] 5e00: d8093800 00000040 d8ea5e2c d8ea5e18 c04ddb44 c04d687c 00000000 da61a9c0

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.105621] 5e20: d8ea5e64 d8ea5e30 bf3935d8 c04ddb30 c0026168 fffffff2 d8093800 d8093800

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.111541] 5e40: d7ce4dc0 00000040 00000260 d8ea5e90 d8ea4000 00000000 d8ea5e8c d8ea5e68

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.117696] 5e60: bf3c1e50 bf3934f4 00000040 d8ea5ef0 d8ea5f08 d8d6d500 00000000 00000260

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.124312] 5e80: d8ea5edc d8ea5e90 c04cd508 bf3c1df4 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.131236] 5ea0: 00000260 d8ea5ee8 00000001 00000001 00000000 00000000 00000040 d8ea5f08

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.138450] 5ec0: bedeb5e8 d8d6d500 d8ea5f80 00000000 d8ea5f4c d8ea5ee0 c0144260 c04cd474

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.145901] 5ee0: 00000260 d8ea5ef0 bedea978 00000260 00000000 00000000 00000260 d8ea5ee8

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.153425] 5f00: 00000001 00000001 d8d6d500 00000000 00000000 00000000 00000000 00000000

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.161209] 5f20: 00000000 00000000 d8e4f3c0 00000260 d8d6d500 bedea978 d8ea5f80 c000ffc4

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.169004] 5f40: d8ea5f7c d8ea5f50 c0144fa0 c014419c c0161bdc c01617a4 d8ea5f7c d8d6d500

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.176865] 5f60: d8d6d501 00000260 bedea978 c000ffc4 d8ea5fa4 d8ea5f80 c0146180 c0144f14

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.184674] 5f80: 00000000 00000000 00000077 00000a00 000002a0 00000003 00000000 d8ea5fa8

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.192525] 5fa0: c000fe40 c0146138 00000077 00000a00 0000000a bedea978 00000260 00000260

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.200352] 5fc0: 00000077 00000a00 000002a0 00000003 bedea974 01c32678 bedea978 00000000

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.208175] 5fe0: 00000000 bedea958 b6e9c504 b6e9ccb4 80000010 0000000a 00000000 00000000

Message from syslogd@raspberrypi at Jul  7 23:25:51 ...
 kernel:[   70.288533] Code: e3500000 0a000007 f5d0f000 e1902f9f (e2422001)
lukasjapan commented 7 years ago

Sounds like an error that comes from the kernel and killing the process...

If the error refers to errno 11 (EAGAIN) it could be related to the bluetooth/wifi issue. Maybe I should try to catch it but that won't improve stuttering/silence.

The only advice I can give is to try again on a fresh os and/or make sure you are not using wifi at the same time.