On Wed, Aug 11, 2010 at 09:44:57PM +0200, Jiri B. wrote:
> Hello,
> 
> mpd core dumps if executed with bad arguments. It doesn't affect
> running mpd, still playing :)

It's because the mpd developers havn't read the manual of the library
they are using:
http://library.gnome.org/devel/glib/stable/glib-Message-Logging.html#g-error

I'm certainly not going to patch this.

Tobias

> 
> jirib
> 
> # mpd -kill 
> 
> ** ERROR **: option parsing failed: Unknown option -kill
> 
> aborting...
> Abort trap (core dumped) 
> # rm *.core
> # mpd -create-db
> 
> ** ERROR **: option parsing failed: Unknown option -create-db
> 
> aborting...
> Abort trap (core dumped) 
> # rm *.core
> # mpd -verbose   
> 
> ** ERROR **: option parsing failed: Unknown option -verbose
> 
> aborting...
> Abort trap (core dumped) 
> # rm *.core
> # mpd --foobar
> 
> ** ERROR **: option parsing failed: Unknown option --foobar
> 
> aborting...
> Abort trap (core dumped) 
> # rm *.core

Reply via email to