You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Masaru Tsuchiyama <m....@gmail.com> on 2007/05/22 12:03:46 UTC

svn.exe compiled with ra_serf crashes when doing checkout

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

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

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On 5/24/07, masaru tsuchiyama <m....@gmail.com> wrote:
> > * 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().

Hmm.  Thanks for the crash report.  I don't currently have access to a
Win32 box, so I can't test this myself at the moment.  However, I
should be able to take a look at this next week when I return home.

Was there anything special in the checkout that would have caused the
checkout report to fail?

Thanks!  -- justin

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

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

Posted by masaru tsuchiyama <m....@gmail.com>.
> * 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....@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