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

Re: svn.exe compiled with ra_serf crashes when doing checkout

From: masaru tsuchiyama <m.tmatma_at_gmail.com>
Date: 2007-05-24 14:05:44 CEST

> * The crash happens at serf_sess->conns[i] = NULL in
> svn_ra_serf__cleanup_serf_session.
The crash happens in cancel_request(), not svn_ra_serf__cleanup_serf_session().

This is the first half of the craph senenerio.
1. process_connection() returns APR_EGENERAL in serf\context.c
2. serf_context_run() returns EGENERAL in serf\context.c
3. finish_report() prints "Error retrieving REPORT 20014" in
    subversion\libsvn_ra_serf\update.c.
4. main() call svn_pool_destroy()
5. the crash happens in cancel_request().

serf\context.c
    if (*list == request) { <=== this is the code which crashes.
        *list = request->next;
    }
    else {
        serf_request_t *scan = *list;

        while (scan->next && scan->next != request)
            scan = scan->next;

        if (scan->next) {
            scan->next = scan->next->next;
        }
    }

Masaru.

2007/5/22, Masaru Tsuchiyama <m.tmatma@gmail.com>:
> I experienced crash for svn.exe.
>
> When runing the below command, the crash happens.
> svn co -r 25092 https://svn.collab.net/repos/svn/trunk 25092
>
> Conditions:
> * OS (Windows XP 32bit)
> * Compiler(Visual C++6)
> * svn is trunk r25092 with ra_serf.
> * serf is trunk r1106.
> * not always crash
> * both Debug/Release Configuration
> * The crash happens at serf_sess->conns[i] = NULL in
> svn_ra_serf__cleanup_serf_session.
> * the following message was displayed, then in 30 seconds,
> svn.exe crashed.
> A 25092\subversion\bindings\swig\ruby\libsvn_swig_ruby
> A 25092\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.h
> A 25092\subversion\bindings\swig\ruby\libsvn_swig_ruby\swigutil_rb.c
> A 25092\subversion\bindings\swig\perl\native\Core.pm
> A 25092\subversion\bindings\swig\perl\native\Fs.pm
> svn: Error retrieving REPORT (20014): Error string not specified yet
> * This command seems not to crash.
> svn co -r 25097 http://svn.collab.net/repos/svn/trunk 25097
> * This command also crashes.
> svn co -r 25092 http://svn.collab.net/repos/svn/trunk 25092-2
>
> This is the message.
> A 25092-2\tools\backup
> A 25092-2\tools\backup\hot-backup.py.in
> A 25092-2\tools\hook-scripts\commit-email.rb
> A 25092-2\tools\hook-scripts\log-police.py
> svn: Error retrieving REPORT (20014): Error string not specified yet
>
> * This is command line for gen-make.py.
> gen-make.py
> -t dsp
> --with-sqlite=..\common\sqlite3
> --enable-ml --enable-nls
> --with-openssl=..\common\openssl-0.9.8d
> --with-libintl=..\common\svn-win32-libintl
> --with-swig=C:\swigwin-1.3.31
> --with-serf=..\common\serf
> --with-berkeley-db=..\common\db4-win32
> --with-zlib=..\common\zlib
> --with-httpd=..\common\httpd-2.0.59
>
> Regards.
>
> Masaru Tsuchiyama
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 24 14:05:52 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.