Comments (5)
Ok, having a stack trace would not help, if the tools runs without fault. It depends a little bit on your environment, but checkout some documentation on how to enable "core dumps" (sorry, the wording stack trace might have been misleading).
https://wiki.archlinux.org/title/Core_dump
If the tool crashes, you get a core file. Together with cornrow's executable you can trace back the issue:
gdb executable core-file
from cornrow.
Adding cornrow config if pertinent:
[bluetooth_source]
codecs = [ 0x0 ] # As defined in the A2DP specification (SBC (0x0) is mandatory)
sample_rates = [ 44100, 48000 ]
[airplay_source]
name = "KitchenAirplay"
port = 0 # port to listen on (0 for auto select)
buffer_time = 2000 # in ms (defaults to 2000ms)
#[alsa_sink]
#device = "default"
[tcp_sink]
host = "127.0.0.1"
port = 4953
from cornrow.
Hmm, this map out-of-range is suspicious.
But in any case: your config file has an error: [tcp_sink]`<- this symbol might cause an error when parsing the config file.
Maybe you can produce a stack trace?
from cornrow.
your config file has an error: [tcp_sink]`<- this symbol might cause an error when parsing the config file.
Oops, that was a result of my poor github markup. I've edited the post to show the config as it actually is: without the backtick.
Maybe you can produce a stack trace?
I tried sudo strace -s 99 -ffp 766
, 776 being the current process ID, but I'm not sure how helpful the data is. I get the following response which repeats ad infinitum:
[pid 766] clock_gettime64(CLOCK_MONOTONIC, {tv_sec=15991, tv_nsec=591824800}) = 0
[pid 766] clock_gettime64(CLOCK_MONOTONIC, {tv_sec=15991, tv_nsec=591944428}) = 0
[pid 766] epoll_wait(10, [], 128, 0) = 0
[pid 766] clock_gettime64(CLOCK_MONOTONIC, {tv_sec=15991, tv_nsec=592170463}) = 0
[pid 766] poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}], 4, 1) = 0 (Timeout)
This was done while the program is running without fault.
If you could tell me the proper way to do a stack trace, I'll run it next time the error occurs.
from cornrow.
I enabled core dumps 2 weeks ago, but it hasn't crashed since.
Not sure what happened but I'll mark this closed. Thanks again for such seamless BT/AP integration
from cornrow.
Related Issues (20)
- Install on raspberry pi HOT 1
- tested on Pi 4 HOT 7
- rpi zero conection issues HOT 4
- signal=SEGV HOT 10
- crashing with "Assertion `error == OMX_ErrorNone' failed." HOT 4
- Snapcast integration - output to ALSA loopback, FIFO, or STDOUT? HOT 6
- Configure Airplay or Bluetooth enabled HOT 1
- Usage of non-SBC codecs HOT 2
- Unmet dependency: libboost-system1.67 on bullseye HOT 2
- Compiling on Alpine HOT 3
- Unable to Connect Bluetooth Device On Raspbian Buster and Bullseye HOT 10
- Question: can I use it on OrangePi? HOT 10
- Issues building from source HOT 8
- Unable to reconnect after client "forgets" the server device HOT 1
- No audio in snapcast HOT 3
- unable to start cornrowd.service HOT 8
- Problems with sound HOT 2
- Debian bookworm support? HOT 2
- Connection problems with smartphone HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cornrow.