Skip to content
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

forked-daapd core-dumps on exit #430

Closed
vbonline opened this issue Oct 30, 2017 · 5 comments

Comments

@vbonline
Copy link

commented Oct 30, 2017

log after systemctl stop forked-daapd.service:

Oct 30 21:21:42 castle systemd[1]: Stopping DAAP/DACP (iTunes), RSP and MPD server, supports AirPlay and Remote...
Oct 30 21:21:42 castle forked-daapd[20391]: [ LOG] main: Got SIGTERM or SIGINT
Oct 30 21:21:42 castle forked-daapd[20391]: [ LOG] main: Stopping gracefully
Oct 30 21:21:42 castle forked-daapd[20391]: [ LOG] main: mDNS deinit
Oct 30 21:21:42 castle forked-daapd[20391]: [ LOG] main: Remote pairing deinit
Oct 30 21:21:42 castle forked-daapd[20391]: [ LOG] main: MPD deinit
Oct 30 21:21:42 castle systemd[1]: forked-daapd.service: Main process exited, code=dumped, status=11/SEGV
Oct 30 21:21:42 castle systemd[1]: Stopped DAAP/DACP (iTunes), RSP and MPD server, supports AirPlay and Remote.
Oct 30 21:21:42 castle systemd[1]: forked-daapd.service: Unit entered failed state.
Oct 30 21:21:42 castle systemd[1]: forked-daapd.service: Failed with result 'core-dump'.

System sets the service to failed after that and doesn't restart it after a reboot. A manual systemctl start forked-daapd.service starts without failure.

Version:

[2017-10-30 21:24:03] [ LOG] main: Forked Media Server Version 25.0 taking off
[2017-10-30 21:24:03] [ LOG] main: Built Oct 23 2017 with:
[2017-10-30 21:24:03] [ LOG] main: - ffmpeg
[2017-10-30 21:24:03] [ LOG] main: - iTunes XML
[2017-10-30 21:24:03] [ LOG] main: - MPD
[2017-10-30 21:24:03] [ LOG] main: - Device verification
[2017-10-30 21:24:03] [ LOG] main: - ALSA

ejurgensen added a commit that referenced this issue Oct 30, 2017
…NULL pointers (issue #430)
@ejurgensen ejurgensen added the bug label Oct 30, 2017
@ejurgensen

This comment has been minimized.

Copy link
Owner

commented Oct 30, 2017

Fixed, thanks for reporting the error.

@stevesss

This comment has been minimized.

Copy link

commented May 4, 2018

--
I'm having the same problem after forked-daapd v. 26 had been working flawlessly on ubuntu 16.04. I tried booting with different kernels, 4.15.0-13-generic, 4.48, etc but no luck. I'm looking for help since I haven't been able to figure this out on my own after a few days of dealing with it. Help?

[2018-05-04 10:00:48] [ LOG] main: Player deinit
[2018-05-04 10:00:52] [ LOG] scan: Scanned 400 files...
[2018-05-04 10:00:52] [ LOG] main: Library scanner deinit
[2018-05-04 10:00:52] [ LOG] lib: Library init scan completed in 5 sec (196 changes)
[2018-05-04 10:00:52] [ LOG] main: Cache deinit
[2018-05-04 10:00:52] [ LOG] main: Worker deinit
[2018-05-04 10:00:52] [ LOG] main: Database deinit
[2018-05-04 10:00:52] [ LOG] main: mDNS deinit
[2018-05-04 10:00:52] [ LOG] main: Exiting.

@gerroon

This comment has been minimized.

Copy link

commented Feb 4, 2019

same on Debian Buster Systemd

@ejurgensen

This comment has been minimized.

Copy link
Owner

commented Feb 4, 2019

Can you provide a way of reproducing the error you observe in Debian Buster? If so then please open a new issue on that. I just tried (with the version of forked-daapd from the Debian repo, so 26.4+dfsg1-1) and it seemed ok, but I just made a pretty minimal test.

@gerroon

This comment has been minimized.

Copy link

commented Feb 4, 2019

I will thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.