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

Re: Segfault in swig-python tests

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: Wed, 11 Mar 2009 14:05:45 -0700

On Wed, Mar 11, 2009 at 10:32 AM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> Hyrum K. Wright wrote:
>> There a segfault in one of the swig python tests:
>>
>> hwright_at_orac:~/dev/svn-trunk$ cd /home/hwright/dev/svn-trunk/
>> subversion/bindings/swig/python; \
>>  >   /usr/bin/python /home/hwright/dev/svn-trunk/subversion/bindings/
>> swig/python/tests/run_all.py --verbose
>> ...
>> test_diff_editor4 (wc.SubversionWorkingCopyTestCase) ... Segmentation
>> fault
>> hwright_at_orac:~/dev/svn-trunk/subversion/bindings/swig/python$
>>
>> Can somebody familiar with the swig python tests look at this?
>
> Attached is a stack trace.  I'm having a very hard time wrapping my head
> around all the vtable structure and baton wrapping stuff that's going on in
> subversion/libsvn_wc/deprecated.c, especially since it appears that some of
> the wrapping functions get recycled in various layers of the wrapping.  Is
> it possible that we've got code passing one version of a baton to code
> expecting another version?
>
> --
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1308721
> #0  0xb7ab91b3 in dir_props_changed2 (adm_access=0x0, state=0x0, tree_conflicted=0xa4516f8, path=0xa3fe1c8 "8\\O\n\b", propchanges=0xa3fdf20, originalprops=0xa4536f0, diff_baton=0x0) at subversion/libsvn_wc/deprecated.c:840
> #1  0xb7ab91e6 in dir_props_changed2 (adm_access=0x0, state=0x0, tree_conflicted=0x0, path=0xa4516f8 "", propchanges=0xa3fe1c8, originalprops=0xa3fdf20, diff_baton=0xa4536f8) at subversion/libsvn_wc/deprecated.c:840
> #2  0xb7abe344 in close_directory (dir_baton=0xa2ece98, pool=0xa4f5c38) at subversion/libsvn_wc/diff.c:2006
> #3  0xb7a8a223 in close_directory (dir_baton=0xa2ece88, pool=0xa4f5c38) at subversion/libsvn_delta/cancel.c:256

>
>

That looks similar to the stack trace I'm getting.

--
Joe
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1309452
Received on 2009-03-11 22:07:40 CET

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.