musicpd 0.14.1 not starting

Few days back, I upgraded my MPD from version 0.13.2 to the latest version in the ports (0.14.1) and the new version failed to start at all.

When I try to start, it says
Code:
Starting musicpd.
Assertion failed: (urllen), function song_alloc, file song.c, line 38.
Abort trap (core dumped)

Any ideas what could be causing this? Or is something wrong in the source?
 
kamikaze said:
Are all your ports up to date? Or at least all the ones mpd depends on?
Yes, my ports are up to date. No dependency or installation problems. Just that I cannot start it.
 
You might try deleting the mpd database (which will be rebuilt when you start mpd again). By default, the database is ~/.mpd/db (as specified in ~/.mpdconf).

EDIT: A backtrace would be really helpful too:

* Recompile mpd with $ make WITH_DEBUG=1 && make deinstall reinstall
* Crash mpd again to generate a core file with debugging symbols
* Open the core file with $ gdb mpd -core mpd.core
* Give gdb the [cmd=gdb>]bt[/cmd] command to get the trace
* Paste trace :3
 
[Solved] musicpd 0.14.1 not starting

Thank you very much kamikaze and hark. The problem as you suspected was caused by the [font="Courier New"]mpd.db[/font] file.
 
Back
Top