You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philip Martin <ph...@wandisco.com> on 2014/03/07 13:58:37 UTC

serf error handling problem

> Another bug is talking http on https port:
>
> $ svn ls http://svn.apache.org:443/repos/asf/subversion
> SEGV

In gdb I see that this happens on pool cleanup when exiting the
application.  The sequence is:

svn_ra_serf__open calls serf_connection_create which adds a cleanup
handler clean_conn which will do serf_connection_close.

svn_ra_serf__create_handler adds a cleanup handler handler_cleanup which
will do serf_connection_reset.

The request fails and the program starts to exit.

The clean_conn cleanup runs and closes the connection.

The handler_cleanup cleanup runs and attempts to reset the connection
and gets a SEGV.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*