I don't quite understand the code-path that leads to vfprintf() being
passed a NULL file-handle, but I see that we're calling
xmlCleanupParser() in both load_gpx_string_into_list() and
load_gpx_file_into_list(), and we should *never* be calling that,
because it basically unloads libxml2.

cf.:

    http://0pointer.de/blog/projects/beware-of-xmlCleanupParser
    http://lists.fedoraproject.org/pipermail/devel/2010-January/129143.html

And, sure enough--if I remove the calls to xmlCleanupParser(), the crash
appears to be fixed.

How did this ever work? :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787953

Title:
  foxtrotgps crashed with SIGSEGV in ___vfprintf_chk()

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to