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

double free bug in threaded programs

From: Dan Christian <dchristian_at_google.com>
Date: 2007-05-09 19:58:24 CEST

I have a program that runs svn in multiple threads. Each thread has
it's own memory pool and working copy. In fact, nothing should be
shared between threads.

I'm experiencing occasional double free faults when using DAV with
https. The stack traces fall into just two trace patterns (see
attached). I've seen this for a while (1.4.3), but only recently was
I able to capture a stack trace. I'm running the trunk from Monday
morning on ubuntu edgy.

I also get segmentation faults when using DAV over http. I haven't
been able to capture a stack trace from these.

Any tips on debugging this?

Are there known problems (and hopefully work arounds) when using SSL
in a threaded environment?

-Dan C

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed May 9 19:58:50 2007

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.