-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with setting up ogg flac container for icecast stream #3495
Comments
Hi, Thanks for the report. Have ever used % gdb /path/to/liquidsoap
> run <options>
...crashes
> thread apply all bt Also, could you include the first lines of the logs where it gives all the library versions? Thanks! |
Hi, Toots! As my ignorance to the inner workings of the amazing Liquidsoap is getting narrower because I am reading this special book, I decide to close my issue without actual "solving" it by relying on the fact that I probably didn't understand what I was doing in the first place. I will try to rephrase the issue next time and report back. God bless. |
Hi! Hmm ok. It looks to me like your issue was legit :-) Feel free to reopen and submit the trace if you get a chance! |
Ok after a week of tinkering with this remarkable software it is time to get back to original taste like Pringles, let me see what you suggested I should do and then provide you with an output... Can you please explain to me how to use gdb here to achieve the trace you want me? I was trying to run it, which I succeed in doing, but got confused about which exactly option to run inside it. Thank you. |
For sure would love to fix this. You need to install the Then, you launch the % gdb /path/to/liquidsoap Once started, you should have access to the
Once it crashes, you can get the stack track from all of the application's threads:
And send that to us! |
Here you are kind Sir:
|
Thanks! Did you also get the top-level error? This would indicate which thread did generate the segfault! |
Not sure if anything else was there, I already closed the terminal but I will be happy to retry the procedure if needed. |
Right before you type |
dunno if reply from email would work but you absolutely correct here is
the line you asked
Thread 4 "liquidsoap" received signal SIGSEGV, Segmentation fault.
yeahhhh reply from email works, next stop big money IT firm
|
Ha! Ok since you've installed with git clone https://github.com/savonet/ocaml-flac.git
cd ocaml-flac
git checkout generational-global-root
opam install -y . This should install the fixed Then you can confirm if that works for you! |
Dear Romain, thank you very much for your work. Everything works!
Closing the issue now in the most inspiring mood the human being can
have at 2AM.
|
Excellent. I'll release an updated binding soon. Thanks for working with me on this one! |
Hi, I don't know if I should reopen this issue or issue a new one, I now got the random core dumped errors which quits the whole program. I don't know what else besides encoder it might be related (pretty basic setup) and I only have ogg flac container enabled, and nothing else. I can test it the other way by distributing trough different containers and see if any other when working solo will produce that fatal core dump error, ah yes the issue is happening while decoder try to decode the next track, first time I thought it was particular artist, now I think it ain't that. It also might be replaygain calculation actually, anyway, what would be the process for me to debug it, to run it inside gdb and log errors that happens when it suddenly quits? |
Describe the bug
Following the manual has build the liquidsoap and everything works as expected, only problem is it not produce the connection to icecast with flac encoder, it always ends up as a segmentation failure see this: http://ix.io/4Kgi, this happens both to native flac and a flac wrapped in ogg container
To Reproduce
This is my script, I think I misconfigured replaygain also, but we can get back to that later.
Expected behavior
If I use the external encoder it works fine altough it crashes in seven hours uptime. But that again another problem, but just the proof that flac from external container works.
Version details
Archlinux, latest opam version I believe also compiled with TLS support.
Install method
OPAM
Common issues
I think I installed everything it told me to install in a quickstarter manual. Might be wrong though.
The text was updated successfully, but these errors were encountered: