[mapserver-dev] How can I make multiple calls to msLoadMap?

Stephen Woodbridge woodbri at swoodbridge.com
Sun Jan 4 12:40:38 EST 2009


Stephen Woodbridge wrote:
> Hi devs,
> 
> I have a C application that needs to load multiple mapfiles.
> Is this possible? I get a SEGV on the second call, and in gdb it looks 
> like the stack is totally wasted with infinite recursion into some libc6 
> call to analyze_tree().
> 
> Is there something I need to cleanup or reinitialize after the first 
> call to get the second call to work?
> 
> Any thoughts would be appreciated.
> 
> -Steve W

Ahh, nevermind - valgrind is your friend, and pointed me to the errors 
in my ways.

Back to your regularly scheduled programming.

-Steve W


More information about the mapserver-dev mailing list