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

segfault in libsvn_delta/text_delta.c:apply_window via ra-svn

From: Doug Porter <dsp_at_dsp.name>
Date: Wed, 14 May 2008 21:30:22 +0000

Using Subversion 1.4.6 on both Ubuntu 8.04 i386 and Windows XP
Pro (32-bit) I get a crash when running the following command:

svn di -c 5517 svn://REDACTED

Here is the backtrace from gdb:

#0 0xb7c9148d in memmove () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7eb27cf in apply_window (window=0xbfc4aaa8, baton=0x80a5310)
    at subversion/libsvn_delta/text_delta.c:629
#2 0xb7f0950d in window_handler (window=0xbfc4aaa8, window_baton=0x8098308)
    at subversion/libsvn_client/repos_diff.c:633
#3 0xb7eb1119 in write_handler (baton=0x80a0300, buffer=0x80963e0 "",
    len=0x80963ec) at subversion/libsvn_delta/svndiff.c:709
#4 0xb7e93051 in svn_stream_write (stream=0x80a0330, data=0x80963e0 "",
    len=0x80963ec) at subversion/libsvn_subr/stream.c:107
#5 0xb7becca8 in ra_svn_handle_textdelta_chunk (conn=0x808e4f8,
    pool=0x80962a0, params=0x8096360, ds=0xbfc4ab80)
    at subversion/libsvn_ra_svn/editorp.c:688
#6 0xb7bec0b1 in svn_ra_svn__drive_editorp (conn=0x808e4f8, pool=0x8091290,
    editor=0x8091d10, edit_baton=0x8091d50, aborted=0x0, for_replay=0)
    at subversion/libsvn_ra_svn/editorp.c:887
#7 0xb7bea1ee in svn_ra_svn_drive_editor2 (conn=0x808e4f8, pool=0x8091290,
    editor=0x8091d10, edit_baton=0x8091d50, aborted=0x0, for_replay=0)
    at subversion/libsvn_ra_svn/editor.c:750
#8 0xb7bea291 in svn_ra_svn_drive_editor (conn=0x808e4f8, pool=0x8091290,
    editor=0x8091d10, edit_baton=0x8091d50, aborted=0x0)
    at subversion/libsvn_ra_svn/editor.c:767
#9 0xb7be808a in ra_svn_finish_report (baton=0x8091eb0, pool=0x8091290)
    at subversion/libsvn_ra_svn/client.c:397
#10 0xb7efe695 in do_diff (diff_param=0xbfc4ad90, callbacks=0xbfc4adb4,
    callback_baton=0xbfc4ad60, ctx=0x806e600, pool=0x8091290)
    at subversion/libsvn_client/diff.c:2130
#11 0xb7efe8e5 in svn_client_diff_peg3 (options=0x806f720,
    path=0x80912c8 "svn://REDACTED", peg_revision=0xbfc4ae4c,
    start_revision=0xbfc4aef4, end_revision=0xbfc4af00, recurse=1,
    ignore_ancestry=1, no_diff_deleted=0, ignore_content_type=0,
    header_encoding=0x1 <Address 0x1 out of bounds>, outfile=0x806f758,
    errfile=0x806f7a0, ctx=0x806e600, pool=0x8091290)
    at subversion/libsvn_client/diff.c:2614
#12 0x0804d379 in svn_cl__diff (os=0x806e240, baton=0xbfc4b00c, pool=0x806e128)
    at subversion/svn/diff-cmd.c:303
#13 0x08050ca8 in main (argc=Cannot access memory at address 0xc800
) at subversion/svn/main.c:1485

-- 
dsp
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-14 23:30:39 CEST

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.