You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Blair Zajac <bl...@orcaware.com> on 2003/07/02 01:07:14 UTC

mailer.py core dump

I'm seeing a core dump with mailer.py.

This is on RedHat 9 with svn 0.24.2 using my own compiled python
2.2.3.

This is with revision 6346 of mailer.py, which I'm using because
it makes shorter emails.

If I back down to the mailer.py distributed with 0.24.2, there's no
core dump.  Is 6346 supposed to work with the swig bindings from 0.24.2,
or were there some API changes that made this newer mailer.py not work?

-- 
Blair Zajac <bl...@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/



$ gdb /opt/i386-linux/python/bin/python
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)...
(gdb) run ./mailer.py /export/home2/svn/repositories/test 74 mailer.conf
Starting program: /opt/i386-linux/installed/python-2.2.3/bin/python ./mailer.py
/export/home2/svn/repositories/test 74 mailer.conf
(no debugging symbols found)...(no debugging symbols found)...[New Thread 107491
9136 (LWP 1799)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1074919136 (LWP 1799)]
0x40139660 in thunk_change_file_prop (file_baton=0x8288718,
    name=0x401386b0 "U\211å\203ì\030\211]ü\213E\bè¿þÿÿ\201Ãç*", value=0x0,
    pool=0x401386b0) at subversion/bindings/swig/swigutil_py.c:773
773     subversion/bindings/swig/swigutil_py.c: No such file or directory.
        in subversion/bindings/swig/swigutil_py.c
(gdb) bt
#0  0x40139660 in thunk_change_file_prop (file_baton=0x8288718,
    name=0x401386b0 "U\211å\203ì\030\211]ü\213E\bè¿þÿÿ\201Ãç*", value=0x0,
    pool=0x401386b0) at subversion/bindings/swig/swigutil_py.c:773
#1  0x4050d505 in path_driver_cb_func (dir_baton=0xbfffec58,
    parent_baton=0x8270a00, callback_baton=0x401386b0,
    path=0x824bab9 "XXXXXXXXXXXXXXX/trunk/Documentation/IP/PriorArt/Patents/4,19
0,318.html", pool=0x82793b0) at subversion/libsvn_repos/replay.c:254
#2  0x40337356 in svn_delta_path_driver (editor=0x82481f8,
    edit_baton=0x401386b0, revision=74, paths=0x8246480,
    callback_func=0x4050d360 <path_driver_cb_func>, callback_baton=0xbfffecc0,
    pool=0x8238228) at subversion/libsvn_delta/path_driver.c:249
#3  0x4050d8a3 in svn_repos_replay (root=0x8244a38, editor=0x82481f8,
    edit_baton=0x81fc4b0, pool=0x8238228)
    at subversion/libsvn_repos/replay.c:337
#4  0x404fb209 in _wrap_svn_repos_replay ()
   from /opt/i386-linux/installed/python-2.2.3/lib/python2.2/site-packages/libsv
n/_repos.so
#5  0x080ee029 in PyCFunction_Call ()
#6  0x0807a165 in Py_MakePendingCalls ()
#7  0x0807ac19 in PyEval_EvalCodeEx ()
#8  0x080e0689 in PyStaticMethod_New ()
#9  0x080cd239 in PyObject_Call ()
#10 0x0807b985 in PyEval_CallObjectWithKeywords ()
#11 0x080f02d6 in _PyBuiltin_Init ()
#12 0x080ee029 in PyCFunction_Call ()
#13 0x0807a165 in Py_MakePendingCalls ()
#14 0x0807ac19 in PyEval_EvalCodeEx ()
#15 0x0807bbba in PyEval_CallObjectWithKeywords ()
#16 0x0807a0bb in Py_MakePendingCalls ()
#17 0x0807ac19 in PyEval_EvalCodeEx ()
#18 0x0807d167 in PyEval_EvalCode ()
#19 0x080ad46b in PyRun_FileExFlags ()
#20 0x080acc5d in PyRun_SimpleFileExFlags ()
#21 0x080534f2 in Py_Main ()
#22 0x0805307b in main ()
#23 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6

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

Re: mailer.py core dump

Posted by Blair Zajac <bl...@orcaware.com>.
Greg Stein wrote:
> 
> On Tue, Jul 01, 2003 at 06:07:14PM -0700, Blair Zajac wrote:
> > I'm seeing a core dump with mailer.py.
> >
> > This is on RedHat 9 with svn 0.24.2 using my own compiled python
> > 2.2.3.
> >
> > This is with revision 6346 of mailer.py, which I'm using because
> > it makes shorter emails.
> >
> > If I back down to the mailer.py distributed with 0.24.2, there's no
> > core dump.  Is 6346 supposed to work with the swig bindings from 0.24.2,
> > or were there some API changes that made this newer mailer.py not work?
> 
> There was a bug fix to swigutil_py.c in rev 6339 which fixed the problem
> you're seeing. I'm not sure why the new mailer.py would generate it but the
> old would not. Mike changed some of the dir_delta stuff, but that also got
> fixed again. *shrug*
> 
> Answer is: upgrade your svn installation to pick up r6339 (or merge that
> revision into your copy).
> 
> Cheers,
> -g

Thanks for the quick reply.  That did the trick.

Best,
Blair

-- 
Blair Zajac <bl...@orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/

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

Re: mailer.py core dump

Posted by Greg Stein <gs...@lyra.org>.
On Tue, Jul 01, 2003 at 06:07:14PM -0700, Blair Zajac wrote:
> I'm seeing a core dump with mailer.py.
> 
> This is on RedHat 9 with svn 0.24.2 using my own compiled python
> 2.2.3.
> 
> This is with revision 6346 of mailer.py, which I'm using because
> it makes shorter emails.
> 
> If I back down to the mailer.py distributed with 0.24.2, there's no
> core dump.  Is 6346 supposed to work with the swig bindings from 0.24.2,
> or were there some API changes that made this newer mailer.py not work?

There was a bug fix to swigutil_py.c in rev 6339 which fixed the problem
you're seeing. I'm not sure why the new mailer.py would generate it but the
old would not. Mike changed some of the dir_delta stuff, but that also got
fixed again. *shrug*

Answer is: upgrade your svn installation to pick up r6339 (or merge that
revision into your copy).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

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