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

Problems when invoking a child process on WinNT

From: Mats Nilsson <mats.nilsson_at_xware.se>
Date: 2001-09-13 14:49:52 CEST

[WinNT, SVN M3-r88, using local repository]

Upon checking out a simple repository into two separate directories, making
different nonoverlapping changes to the same file in the different
directories, and 'cvs ci' to one of them and 'cvs up' to the other, svn
segfaults in:

strlen() line 78
apr_proc_create() line 425 + 12 bytes
close_file() line 1268 + 31 bytes
close_file() line 206 + 21 bytes
replace_file_or_dir() line 744 + 14 bytes
delta_dirs() line 1002 + 48 bytes
svn_repos_dir_delta() line 286 + 25 bytes
svn_repos_finish_report() line 184 + 62 bytes
svn_wc_crawl_revisions() line 1824 + 12 bytes
svn_client_update() line 159 + 21 bytes
svn_cl__update() line 84 + 53 bytes
main() line 364 + 20 bytes
mainCRTStartup() line 338 + 17 bytes

Apparently, the [libsvn_wc/get_editor.c (close_file)]
diffproc_attr->currdir is NULL, and strlen chokes on this.

To me it looks like a omission in apr, since the unix version of
apr_proc_create explicitly checks for NULL, whereas the WinNT version does not.

Would someone more involved in apr report this to the apr-list, please?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 2006

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.