Re: [Musicpd-dev-team] Segmentation fault in master/HEAD when launching mpd --no-config

2013-09-26 Thread Max Kellermann
On 2013/09/26 17:19, Jean-Baptiste Denis j...@jbdenis.net wrote:
 Hello,
 
 I was playing with the last git version of mpd when I encountered a
 segfault simply by lauching : mpd --no-config
 
 The problem seems to be the dereference of the param variable in the
 DatabaseGlobalInit function call of glue_db_init_and_load function
 in src/Main.cxx.

Indeed, a nullptr check was missing.  Fixed it.  Next time, please use
the bug tracker: http://bugs.musicpd.org/

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] Segmentation fault in master/HEAD when launching mpd --no-config

2013-09-26 Thread Jean-Baptiste Denis
On 09/26/2013 05:34 PM, Max Kellermann wrote:

 Indeed, a nullptr check was missing.  Fixed it.

Thank you.

 Next time, please use the bug tracker: http://bugs.musicpd.org/

Oups sorry, totally missed that.

Jean-Baptiste



--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team