> With revision 1.143 of gpx.c the following command results in bus errors
> and/or segfaults:
> The problem appears to be the newly added fs_ptr. The second time around it
> is pointing to this freed memory chunk.
> I don't know if it is the correct fix, but if I add
> fs_ptr = NULL;
> to gpx_rd_init all is well once again.
good catch -- this code is my fault -- i sent robert the patch to
allow support of "unsupported" tags hanging below both routes and
route_points, in addition to the existing support on waypoints.
your change sounds right. there's some other pointer NULLing in
the deinit routine, for similar reasons. probably all of those
assignments should be in the same place -- at the end of
rd_deinit(), or the start or rd_init().
paul fox, pgf@... (arlington, ma, where it's 48.7 degrees)