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

Segfault in python-binding

From: Enrico Scholz <enrico.scholz_at_informatik.tu-chemnitz.de>
Date: 2004-11-11 03:15:45 CET

Hello,

the program at http://www-user.tu-chemnitz.de/~ensc/pysvn.py segfaults
in some environments, or gives wrong results in other ones:

| [ensc@kosh python]$ python xxx.py
| 1
| 1
| 2 2004-11-11T01:09:35.099407Z
| Segmentation fault

| [ensc@morden python]$ python xxx.py
| 1
| 1
| 2 2004-11-11T01:10:02.106619Z
| 0 None

In a more complex program, I get '3148 \x1a' in the last line...

I would expect SVN_INVALID_REVNUM (-1) there. Executing the 'svn commit'
on the CLI succeeds without segfaulting.

All with

subversion-1.1.1-2
neon-0.24.7-3
apr-0.9.4-21

or a FC3 environment (vanilla 2.4 kernel without exec-shield).

Enrico

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 11 03:15:55 2004

This is an archived mail posted to the Subversion Dev mailing list.