[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

serf error handling problem

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 07 Mar 2014 12:58:37 +0000

> 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*
Received on 2014-03-07 13:59:14 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.