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

Subversion 1.4 does not register ne_oom_callback

From: <jklowden_at_schemamania.org>
Date: Tue, 17 Jun 2008 12:05:50 -0400


I ran into what appears to be an out of memory condition running 'svn commit'.
The process terminates with an abort and no message. I believe that's because
Subversion 1.4 does not register a callback with the neon library.

Using gdb to look at the core dump, the abort happened in ne_calloc. The
neon library I'm using (0.25) uses a DO_MALLOC macro that compares the returned
pointer to zero and, if it is zero, calls the registered callback (if any)
and calls abort(3). Scanning the svn sources with cscope for ni_oom_callback()
turns up no references.

IMO this is a bug. Subversion should report OOM conditions, and not let the
neon library simply abort the process.

I'm not subscribed to this list. If you would like me to read any reponses,
please cc me. Thank you.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-17 20:59:25 CEST

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

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