|
List Info
Thread: pysvn extension crashes on AIX 5.3.
|
|
| pysvn extension crashes on AIX 5.3. |

|
2007-02-10 08:19:35 |
Hi,
I thought we had the pysvn extension working on AIX,
but a few days ago I got a report that pysvn extension
1.5.0
is crashing on AIX.
I built 1.5.1 today. It also crashes:
dagobert:cko[44] gdb /opt/local/bin/python
GNU gdb 6.5
Copyright (C) 2006 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
"powerpc-ibm-aix5.3.0.0"...
(gdb) run
Starting program: /opt/local/bin/python
Python 2.4.2 (#3, Nov 23 2006, 19:30:17)
[GCC 4.1.1] on aix5
Type "help", "copyright",
"credits" or "license" for more
information.
>>> import pysvn
>>> print pysvn.version
(1, 5, 1, 0)
>>> print pysvn.svn_version
(1, 4, 2, '')
>>> c=pysvn.Client()
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xd24be230 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string (this=<incomplete type>,
__str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc++.so.6)
(gdb) bt full
#0 0xd24be230 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string (this=<incomplete type>,
__str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc++.so.6)
No locals.
#1 0xd2a183fc in DictWrapper: ictWrapp
er () from
/opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
No symbol table info available.
#2 0xd2a5dda8 in pysvn_client::pysvn_client () from
/opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
No symbol table info available.
#3 0xd28b8900 in pysvn_module::new_client () from
/opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
No symbol table info available.
#4 0xd28b1430 in __tcf_25 () from
/opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
No symbol table info available.
#5 0xd283f048 in method_keyword_call_handler () from
/opt/local/lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
No symbol table info available.
#6 0x100baac0 in PyCFunction_Call (func=0x200a792c,
arg=0x10091c20, kw=0x2015a750) at Objects/methodobject.c:77
meth = (PyCFunction) 0x2016a674: 0xd283ed1c
<method_keyword_call_handler>
self = (PyObject *) 0x200b244c
size = -761166852
#7 0x10082a68 in PyObject_Call (func=0xfffffff4,
arg=0x2015a750, kw=0x2015a750) at Objects/abstract.c:1756
call = (ternaryfunc) 0x200b157c: 0x16
result = (PyObject *) 0x0
#8 0x10049dcc in PyEval_EvalFrame (f=0x200ebe84) at
Python/ceval.c:3766
nk = 1
func = (PyObject *) 0x200a792c
pfunc = (PyObject **) 0x200ebfd4
w = (PyObject *) 0xfffffff4
sp = (PyObject **) 0x200ebfd8
stack_pointer = (PyObject **) 0x0
next_instr = (unsigned char *) 0x200b6259
"S"
opcode = 537591308
oparg = 3
why = WHY_NOT
err = 0
x = (PyObject *) 0x3
v = (PyObject *) 0x200a792c
w = (PyObject *) 0x1
u = (PyObject *) 0x200ebfd4
t = (PyObject *) 0x200afe0c
stream = (PyObject *) 0x200a792c
fastlocals = (PyObject **) 0x200ebfd0
freevars = (PyObject **) 0x200ebfd4
retval = (PyObject *) 0x0
tstate = (PyThreadState *) 0x20035848
co = (PyCodeObject *) 0x200b55e0
instr_ub = -1
instr_lb = 537591308
instr_prev = -1
first_instr = (unsigned char *) 0x200b6244
"t"
names = (PyObject *) 0x200b0d9c
consts = (PyObject *) 0x200b234c
#9 0x1004eda8 in PyEval_EvalCodeEx (co=0x200b55e0,
globals=0x2015a750, locals=0xd2a183fc, args=0x1, argcount=0,
kws=0x200800f4, kwcount=0, defs=0x200b48b8, defcount=1,
closure=0x0) at Python/ceval.c:2736
f = (PyFrameObject *) 0x200ebe84
retval = (PyObject *) 0x200ebfd0
fastlocals = (PyObject **) 0x200ebfd0
freevars = (PyObject **) 0x200ebfd4
tstate = (PyThreadState *) 0x20035848
x = (PyObject *) 0x0
u = (PyObject *) 0x200ebfd4
defcount = 1
closure = (PyObject *) 0x200b157c
i = 537597308
n = 1
kwdict = (PyObject *) 0x0
#10 0x1004ba5c in PyEval_EvalFrame (f=0x2007ffa4) at
Python/ceval.c:3651
n = 0
pfunc = (PyObject **) 0x200800f0
w = (PyObject *) 0xfffffff4
sp = (PyObject **) 0x200800f4
stack_pointer = (PyObject **) 0x0
next_instr = (unsigned char *) 0x200b0f8d
"Z 02"
opcode = 131
oparg = 0
why = WHY_NOT
err = 0
x = (PyObject *) 0x0
v = (PyObject *) 0x200adb8c
w = (PyObject *) 0x0
u = (PyObject *) 0x200800f0
t = (PyObject *) 0x83
stream = (PyObject *) 0x200adb8c
fastlocals = (PyObject **) 0x200800f0
freevars = (PyObject **) 0x200800f0
retval = (PyObject *) 0x0
tstate = (PyThreadState *) 0x20035848
co = (PyCodeObject *) 0x2006bfa0
instr_ub = -1
instr_lb = 131
instr_prev = -1
first_instr = (unsigned char *) 0x200b0f84
"e"
names = (PyObject *) 0x200b0a54
consts = (PyObject *) 0x2005c40c
#11 0x1004eda8 in PyEval_EvalCodeEx (co=0x2006bfa0,
globals=0x2015a750, locals=0xd2a183fc, args=0x0, argcount=0,
kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
Python/ceval.c:2736
f = (PyFrameObject *) 0x2007ffa4
retval = (PyObject *) 0x200800f0
fastlocals = (PyObject **) 0x200800f0
freevars = (PyObject **) 0x200800f0
tstate = (PyThreadState *) 0x20035848
x = (PyObject *) 0x0
u = (PyObject *) 0x2006bfa0
defcount = 0
closure = (PyObject *) 0x200b157c
i = 537597308
n = 804399040
kwdict = (PyObject *) 0x0
#12 0x1004ee58 in PyEval_EvalCode (co=0xfffffff4,
globals=0x2015a750, locals=0x2015a750) at
Python/ceval.c:484
No locals.
#13 0x1003902c in PyRun_InteractiveOneFlags (fp=0x200363e0,
filename=0x10117998 "<stdin>",
flags=0x2ff228dc) at Python/pythonrun.c:1265
d = (PyObject *) 0x2004d824
v = (PyObject *) 0x2004d824
w = (PyObject *) 0x2006bfa0
n = (node *) 0x200363e0
err = {error = 16, filename = 0x10117998
"<stdin>", lineno = 0, offset = 0, text =
0x0, token = -1, expected = -1}
ps1 = 0x200afe34 ">>> "
ps2 = 0x201915a8 " 21.? 31 25?
#14 0x10039200 in PyRun_InteractiveLoopFlags (fp=0xf02892e0,
filename=0x10117998 "<stdin>",
flags=0x2ff228dc) at Python/pythonrun.c:695
local_flags = {cf_flags = 0}
#15 0x1003a4c8 in PyRun_AnyFileExFlags (fp=0xf02892e0,
filename=0x10117998 "<stdin>", closeit=0,
flags=0x2ff228dc) at Python/pythonrun.c:658
err = 269580696
#16 0x10000fc0 in Py_Main (argc=1, argv=0x2ff228dc) at
Modules/main.c:484
c = -12
sts = 0
command = 0x0
filename = 0x2015a750 ""
module = 0x0
fp = (FILE *) 0xf02892e0
p = 0xfffffff4 <Address 0xfffffff4 out of
bounds>
inspect = 0
unbuffered = 0
skipfirstline = 0
stdin_is_interactive = 1
help = 0
version = -265776352
saw_inspect_flag = 1
saw_unbuffered_flag = 0
cf = {cf_flags = 0}
ch = -761166852
#17 0x100003e8 in main (argc=-12, argv=0x2015a750) at
./Modules/ccpython.cc:10
No locals.
Any ideas what could be wrong here?
here is the build output:
dagobert:cko[33] python setup.py configure
Info: Found Python include in /opt/local/include/python2.4
Info: Found PyCXX include in
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0
Info: Found SVN include in
/opt/local/include/subversion-1
Info: Found APR include in /opt/local/include/apr-0
Info: Found SVN library in /opt/local/lib
Info: Found APR library in /opt/local/lib
Info: Creating Makefile for Source
Info: Creating Makefile for Tests
dagobert:cko[34] make
/opt/local/bin/python
../Docs/generate_cpp_docs_from_html_docs.py
/opt/local/include/subversion-1 ../Docs/pysvn_prog_ref.html
pysvn_docs.hpp pysvn_docs.cpp
svn_include /opt/local/include/subversion-1
html_doc ../Docs/pysvn_prog_ref.html
cpp_header_filename pysvn_docs.hpp
cpp_module_filename pysvn_docs.cpp
Info: Building against SVN 1.4.2 code 1004002
touch pysvn_docs.hpp
/opt/local/bin/python ../Builder/brand_version.py
../Builder/version.info pysvn_version.hpp.template
Info: Running svnversion -c ".." 2>&1
Info: revision exported
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn.o pysvn.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_callbacks.o pysvn_callbacks.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_client.o pysvn_client.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_enum_string.o pysvn_enum_string.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_transaction.o pysvn_transaction.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_revision.o pysvn_revision.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_docs.o pysvn_docs.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_path.o pysvn_path.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_arg_processing.o pysvn_arg_processing.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_converters.o pysvn_converters.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_svnenv.o pysvn_svnenv.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o pysvn_profile.o pysvn_profile.cpp
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o cxxsupport.o
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/cxxsupport.cxx
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o cxx_extensions.o
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/cxx_extensions.cxx
gcc -c -c -Wall -fPIC -I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -o cxxextensions.o
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/cxxextensions.c
g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-
5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/apr-0 -I. -DNDEBUG
-Dinit_pysvn=init_pysvn_2_4 -Dinit_pysvn_d=init_pysvn_2_4_d
-o IndirectPythonInterface.o
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/IndirectPythonInterface.cxx
g++ -shared -o pysvn/_pysvn_2_4.so pysvn.o
pysvn_callbacks.o pysvn_client.o pysvn_enum_string.o
pysvn_transaction.o pysvn_revision.o pysvn_docs.o
pysvn_path.o pysvn_arg_processing.o pysvn_converters.o
pysvn_svnenv.o pysvn_profile.o cxxsupport.o cxx_extensions.o
cxxextensions.o IndirectPythonInterface.o -L/opt/local/lib
-lsvn_client-1 -lsvn_repos-1 -lsvn_subr-1
-lsvn_delta-1 -lsvn_fs_fs-1 -lsvn_fs-1
-lsvn_ra_svn-1 -lsvn_repos-1 -lsvn_ra_local-1
-lsvn_ra_dav-1 -lsvn_diff-1 -lsvn_ra-1
-lsvn_wc-1 -lapr-0 -lneon
-laprutil-0 -liconv -lexpat -lintl
-lpthread -lz
-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
ld: 0711-224 WARNING: Duplicate symbol: thread_creds_t
ld: 0711-224 WARNING: Duplicate symbol: .global destructors
keyed to thread_creds_t
ld: 0711-224 WARNING: Duplicate symbol: .global constructors
keyed to thread_creds_t
ld: 0711-224 WARNING: Duplicate symbol: global constructors
keyed to thread_creds_t
ld: 0711-224 WARNING: Duplicate symbol: global destructors
keyed to thread_creds_t
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain
more information.
Carsten.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-02-11 14:11:25 |
First we need pysvn build with debug symbols to know where
in pysvn
its crashing.
Barry
On Feb 10, 2007, at 14:19, Carsten Koch wrote:
> Hi,
>
> I thought we had the pysvn extension working on AIX,
> but a few days ago I got a report that pysvn extension
1.5.0
> is crashing on AIX.
>
> I built 1.5.1 today. It also crashes:
>
>
> dagobert:cko[44] gdb /opt/local/bin/python
> GNU gdb 6.5
> Copyright (C) 2006 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
"powerpc-ibm-aix5.3.0.0"...
> (gdb) run
> Starting program: /opt/local/bin/python
> Python 2.4.2 (#3, Nov 23 2006, 19:30:17)
> [GCC 4.1.1] on aix5
> Type "help", "copyright",
"credits" or "license" for more
information.
>>>> import pysvn
>>>> print pysvn.version
> (1, 5, 1, 0)
>>>> print pysvn.svn_version
> (1, 4, 2, '')
>>>> c=pysvn.Client()
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1]
> 0xd24be230 in std::basic_string<char,
std::char_traits<char>,
> std::allocator<char> >::basic_string
(this=<incomplete type>,
> __str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc+
> +.so.6)
> (gdb) bt full
> #0 0xd24be230 in std::basic_string<char,
std::char_traits<char>,
> std::allocator<char> >::basic_string
(this=<incomplete type>,
> __str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc+
> +.so.6)
> No locals.
> #1 0xd2a183fc in DictWrapper: ictWrapp
er () from /opt/local/lib/
> python2.4/site-packages/pysvn/_pysvn_2_4.so
> No symbol table info available.
> #2 0xd2a5dda8 in pysvn_client::pysvn_client () from
/opt/local/lib/
> python2.4/site-packages/pysvn/_pysvn_2_4.so
> No symbol table info available.
> #3 0xd28b8900 in pysvn_module::new_client () from
/opt/local/lib/
> python2.4/site-packages/pysvn/_pysvn_2_4.so
> No symbol table info available.
> #4 0xd28b1430 in __tcf_25 () from
/opt/local/lib/python2.4/site-
> packages/pysvn/_pysvn_2_4.so
> No symbol table info available.
> #5 0xd283f048 in method_keyword_call_handler () from
/opt/local/
> lib/python2.4/site-packages/pysvn/_pysvn_2_4.so
> No symbol table info available.
> #6 0x100baac0 in PyCFunction_Call (func=0x200a792c,
> arg=0x10091c20, kw=0x2015a750) at
Objects/methodobject.c:77
> meth = (PyCFunction) 0x2016a674: 0xd283ed1c
> <method_keyword_call_handler>
> self = (PyObject *) 0x200b244c
> size = -761166852
> #7 0x10082a68 in PyObject_Call (func=0xfffffff4,
arg=0x2015a750,
> kw=0x2015a750) at Objects/abstract.c:1756
> call = (ternaryfunc) 0x200b157c: 0x16
> result = (PyObject *) 0x0
> #8 0x10049dcc in PyEval_EvalFrame (f=0x200ebe84) at
Python/ceval.c:
> 3766
> nk = 1
> func = (PyObject *) 0x200a792c
> pfunc = (PyObject **) 0x200ebfd4
> w = (PyObject *) 0xfffffff4
> sp = (PyObject **) 0x200ebfd8
> stack_pointer = (PyObject **) 0x0
> next_instr = (unsigned char *) 0x200b6259
"S"
> opcode = 537591308
> oparg = 3
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x3
> v = (PyObject *) 0x200a792c
> w = (PyObject *) 0x1
> u = (PyObject *) 0x200ebfd4
> t = (PyObject *) 0x200afe0c
> stream = (PyObject *) 0x200a792c
> fastlocals = (PyObject **) 0x200ebfd0
> freevars = (PyObject **) 0x200ebfd4
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x20035848
> co = (PyCodeObject *) 0x200b55e0
> instr_ub = -1
> instr_lb = 537591308
> instr_prev = -1
> first_instr = (unsigned char *) 0x200b6244
"t"
> names = (PyObject *) 0x200b0d9c
> consts = (PyObject *) 0x200b234c
> #9 0x1004eda8 in PyEval_EvalCodeEx (co=0x200b55e0,
> globals=0x2015a750, locals=0xd2a183fc, args=0x1,
argcount=0,
> kws=0x200800f4, kwcount=0, defs=0x200b48b8, defcount=1,
> closure=0x0) at Python/ceval.c:2736
> f = (PyFrameObject *) 0x200ebe84
> retval = (PyObject *) 0x200ebfd0
> fastlocals = (PyObject **) 0x200ebfd0
> freevars = (PyObject **) 0x200ebfd4
> tstate = (PyThreadState *) 0x20035848
> x = (PyObject *) 0x0
> u = (PyObject *) 0x200ebfd4
> defcount = 1
> closure = (PyObject *) 0x200b157c
> i = 537597308
> n = 1
> kwdict = (PyObject *) 0x0
> #10 0x1004ba5c in PyEval_EvalFrame (f=0x2007ffa4) at
Python/ceval.c:
> 3651
> n = 0
> pfunc = (PyObject **) 0x200800f0
> w = (PyObject *) 0xfffffff4
> sp = (PyObject **) 0x200800f4
> stack_pointer = (PyObject **) 0x0
> next_instr = (unsigned char *) 0x200b0f8d
"Z 02"
> opcode = 131
> oparg = 0
> why = WHY_NOT
> err = 0
> x = (PyObject *) 0x0
> v = (PyObject *) 0x200adb8c
> w = (PyObject *) 0x0
> u = (PyObject *) 0x200800f0
> t = (PyObject *) 0x83
> stream = (PyObject *) 0x200adb8c
> fastlocals = (PyObject **) 0x200800f0
> freevars = (PyObject **) 0x200800f0
> retval = (PyObject *) 0x0
> tstate = (PyThreadState *) 0x20035848
> co = (PyCodeObject *) 0x2006bfa0
> instr_ub = -1
> instr_lb = 131
> instr_prev = -1
> first_instr = (unsigned char *) 0x200b0f84
"e"
> names = (PyObject *) 0x200b0a54
> consts = (PyObject *) 0x2005c40c
> #11 0x1004eda8 in PyEval_EvalCodeEx (co=0x2006bfa0,
> globals=0x2015a750, locals=0xd2a183fc, args=0x0,
argcount=0,
> kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
at Python/
> ceval.c:2736
> f = (PyFrameObject *) 0x2007ffa4
> retval = (PyObject *) 0x200800f0
> fastlocals = (PyObject **) 0x200800f0
> freevars = (PyObject **) 0x200800f0
> tstate = (PyThreadState *) 0x20035848
> x = (PyObject *) 0x0
> u = (PyObject *) 0x2006bfa0
> defcount = 0
> closure = (PyObject *) 0x200b157c
> i = 537597308
> n = 804399040
> kwdict = (PyObject *) 0x0
> #12 0x1004ee58 in PyEval_EvalCode (co=0xfffffff4,
> globals=0x2015a750, locals=0x2015a750) at
Python/ceval.c:484
> No locals.
> #13 0x1003902c in PyRun_InteractiveOneFlags
(fp=0x200363e0,
> filename=0x10117998 "<stdin>",
flags=0x2ff228dc) at Python/
> pythonrun.c:1265
> d = (PyObject *) 0x2004d824
> v = (PyObject *) 0x2004d824
> w = (PyObject *) 0x2006bfa0
> n = (node *) 0x200363e0
> err = {error = 16, filename = 0x10117998
"<stdin>", lineno
> = 0, offset = 0, text = 0x0, token = -1, expected =
-1}
> ps1 = 0x200afe34 ">>> "
> ps2 = 0x201915a8 " 21.? 31 25?
> #14 0x10039200 in PyRun_InteractiveLoopFlags
(fp=0xf02892e0,
> filename=0x10117998 "<stdin>",
flags=0x2ff228dc) at Python/
> pythonrun.c:695
> local_flags = {cf_flags = 0}
> #15 0x1003a4c8 in PyRun_AnyFileExFlags (fp=0xf02892e0,
> filename=0x10117998 "<stdin>",
closeit=0, flags=0x2ff228dc) at
> Python/pythonrun.c:658
> err = 269580696
> #16 0x10000fc0 in Py_Main (argc=1, argv=0x2ff228dc) at
Modules/
> main.c:484
> c = -12
> sts = 0
> command = 0x0
> filename = 0x2015a750 ""
> module = 0x0
> fp = (FILE *) 0xf02892e0
> p = 0xfffffff4 <Address 0xfffffff4 out of
bounds>
> inspect = 0
> unbuffered = 0
> skipfirstline = 0
> stdin_is_interactive = 1
> help = 0
> version = -265776352
> saw_inspect_flag = 1
> saw_unbuffered_flag = 0
> cf = {cf_flags = 0}
> ch = -761166852
> #17 0x100003e8 in main (argc=-12, argv=0x2015a750) at
./Modules/
> ccpython.cc:10
> No locals.
>
>
> Any ideas what could be wrong here?
>
>
> here is the build output:
> dagobert:cko[33] python setup.py configure
> Info: Found Python include in
/opt/local/include/python2.4
> Info: Found PyCXX include in
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0
> Info: Found SVN include in
/opt/local/include/subversion-1
> Info: Found APR include in /opt/local/include/apr-0
> Info: Found SVN library in /opt/local/lib
> Info: Found APR library in /opt/local/lib
> Info: Creating Makefile for Source
> Info: Creating Makefile for Tests
> dagobert:cko[34] make
> /opt/local/bin/python
../Docs/generate_cpp_docs_from_html_docs.py /
> opt/local/include/subversion-1
../Docs/pysvn_prog_ref.html
> pysvn_docs.hpp pysvn_docs.cpp
> svn_include /opt/local/include/subversion-1
> html_doc ../Docs/pysvn_prog_ref.html
> cpp_header_filename pysvn_docs.hpp
> cpp_module_filename pysvn_docs.cpp
> Info: Building against SVN 1.4.2 code 1004002
> touch pysvn_docs.hpp
> /opt/local/bin/python ../Builder/brand_version.py
../Builder/
> version.info pysvn_version.hpp.template
> Info: Running svnversion -c ".." 2>&1
> Info: revision exported
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn.o pysvn.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_callbacks.o
> pysvn_callbacks.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_client.o
pysvn_client.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_enum_string.o
> pysvn_enum_string.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_transaction.o
> pysvn_transaction.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_revision.o
pysvn_revision.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_docs.o
pysvn_docs.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_path.o
pysvn_path.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o
pysvn_arg_processing.o
> pysvn_arg_processing.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_converters.o
> pysvn_converters.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_svnenv.o
pysvn_svnenv.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o pysvn_profile.o
pysvn_profile.cpp
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o cxxsupport.o
/tmp_mnt/home/cko/
>
cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/cxxsupport
.cxx
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o cxx_extensions.o
/tmp_mnt/home/
> cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/
> cxx_extensions.cxx
> gcc -c -c -Wall -fPIC -I/opt/local/include/python2.4
-I/tmp_mnt/
> home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0
-I/opt/local/
> include/subversion-1 -I/opt/local/include/apr-0 -I. -o
> cxxextensions.o
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/Src/cxxextensions.c
> g++ -c -Wall -fPIC -fexceptions -frtti
-I/opt/local/include/
> python2.4
-I/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0 -I/opt/local/include/subversion-1
-I/opt/local/include/
> apr-0 -I. -DNDEBUG -Dinit_pysvn=init_pysvn_2_4 -
> Dinit_pysvn_d=init_pysvn_2_4_d -o
IndirectPythonInterface.o /
>
tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4
.0/Src/
> IndirectPythonInterface.cxx
> g++ -shared -o pysvn/_pysvn_2_4.so pysvn.o
pysvn_callbacks.o
> pysvn_client.o pysvn_enum_string.o pysvn_transaction.o
> pysvn_revision.o pysvn_docs.o pysvn_path.o
pysvn_arg_processing.o
> pysvn_converters.o pysvn_svnenv.o pysvn_profile.o
cxxsupport.o
> cxx_extensions.o cxxextensions.o
IndirectPythonInterface.o -L/opt/
> local/lib -lsvn_client-1 -lsvn_repos-1
-lsvn_subr-1 -
> lsvn_delta-1 -lsvn_fs_fs-1 -lsvn_fs-1
-lsvn_ra_svn-1 -
> lsvn_repos-1 -lsvn_ra_local-1 -lsvn_ra_dav-1
-lsvn_diff-1 -
> lsvn_ra-1 -lsvn_wc-1 -lapr-0
-lneon -
> laprutil-0 -liconv -lexpat
-lintl -
> lpthread -lz
-Wl,-bI:/opt/local/lib/python2.4/
> config/python.exp
> ld: 0711-224 WARNING: Duplicate symbol: thread_creds_t
> ld: 0711-224 WARNING: Duplicate symbol: .global
destructors keyed
> to thread_creds_t
> ld: 0711-224 WARNING: Duplicate symbol: .global
constructors keyed
> to thread_creds_t
> ld: 0711-224 WARNING: Duplicate symbol: global
constructors keyed
> to thread_creds_t
> ld: 0711-224 WARNING: Duplicate symbol: global
destructors keyed to
> thread_creds_t
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to
obtain more
> information.
>
>
>
> Carsten.
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
> For additional commands, e-mail: dev-help pysvn.tigris.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-02-12 10:35:41 |
Barry Scott wrote:
> First we need pysvn build with debug symbols to know
where in pysvn its
> crashing.
(gdb) run
Starting program: /opt/local/bin/python2.4
Python 2.4.2 (#3, Nov 23 2006, 19:30:17)
[GCC 4.1.1] on aix5
Type "help", "copyright",
"credits" or "license" for more
information.
>>> import pysvn
>>> c=pysvn.Client()
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xd24bb230 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string (this=<incomplete type>,
__str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc++.so.6)
(gdb) bt full
#0 0xd24bb230 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string (this=<incomplete type>,
__str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc++.so.6)
No locals.
#1 0xd5e0c3fc in DictWrapper: ictWrapp
er (this=0x20085df4, result_wrappers= 0x2ff22220,
wrapper_name= 0x2015a750) at pysvn_converters.cpp:88
No locals.
#2 0xd5e51da8 in pysvn_client::pysvn_client
(this=0x20085d38, _module= 0x200827a8, config_dir= 0x2ff222b8, result_wrappers= 0x2ff222a0) at
pysvn_client.cpp:210
No locals.
#3 0xd5cac900 in pysvn_module::new_client (this=0x200827a8,
a_args= 0x2ff22404, a_kws= 0x2ff2240c) at
pysvn.cpp:148
args_desc = {{m_required = true, m_arg_name =
0xd5ef54ec "kind"}, {m_required = false,
m_arg_name = 0x0}, {m_required = true, m_arg_name =
0xd5ef54ec "kind"}}
args = {m_function_name = {static npos =
<optimized out>, _M_dataplus =
{<allocator<char>> =
{<new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x20082744
"Client"}},
m_arg_desc = 0x20143b60, m_args = 0x2ff22404, m_kws = 0x2ff2240c, m_checked_args =
{<MapBase<Py::Object>> = {<Object> =
{_vptr.Object = 0x20144c78, p = 0x200b1cec}, <No data
fields>}, <No data fields>},
m_min_args = 0, m_max_args = 2}
config_dir = {static npos = <optimized out>,
_M_dataplus = {<allocator<char>> =
{<new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0xf0a42e9c
""}}
result_wrappers_dict =
{<MapBase<Py::Object>> = {<Object> =
{_vptr.Object = 0x2012b7c0, p = 0x200b157c}, <No data
fields>}, <No data fields>}
#4 0xd5ca5430 in
Py::ExtensionModule<pysvn_module>::invoke_method_keywo
rd (this=0x200827a8, name= 0x2ff22400, args= 0x2ff22404, keywords= 0x2ff2240c)
at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Extensions.hxx:299
mm = (
map<std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>,Py::MethodDefExt<pysvn_module>*,std::less<std:
:basic_string<char, std::char_traits<char>,
std::allocator<char> >
>,std::allocator<std::pair<const
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >,
Py::MethodDefExt<pysvn_module>*> > > &)
0x200f3728: {_M_t = {
_M_impl =
{<allocator<std::_Rb_tree_node<std::pair<const
std::basic_string<char, std::char_traits<char>,
std::allocator<char> >,
Py::MethodDefExt<pysvn_module>*> > >> =
{<new_allocator<std::_Rb_tree_node<std::pair<con
st std::basic_string<char, std::char_traits<char>,
std::allocator<char> >,
Py::MethodDefExt<pysvn_module>*> > >> =
{<No data fields>}, <No data fields>},
_M_key_compare =
{<binary_function<std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>,std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>,bool>> = {<No data fields>}, <No data
fields>}, _M_header = {_M_color = _S_red, _M_parent =
0x200f60b8, _M_left = 0x200f6138, _M_right = 0x200f61c8},
_M_node_count = 3}}}
meth_def = (MethodDefExt<pysvn_module> *)
0x200f3748
self = (pysvn_module *) 0x200827a8
#5 0xd5c33048 in method_keyword_call_handler
(_self_and_name_tuple=0x200b28ac, _args=0x200afe0c,
_keywords=0x200b1c64)
at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/cxx_extensions.cxx:1312
self_and_name_tuple =
{<SeqBase<Py::Object>> = {<Object> =
{_vptr.Object = 0x20121fe8, p = 0x200b28ac}, <No data
fields>}, <No data fields>}
self_in_cobject = (PyObject *) 0x20036320
self_as_void = (void *) 0x200827a8
self = (ExtensionModuleBase *) 0x200827a8
py_name = {<SeqBase<Py::Char>> =
{<Object> = {_vptr.Object = 0x20121f50, p =
0x200b4bc0}, <No data fields>}, <No data
fields>}
keywords = {<MapBase<Py::Object>> =
{<Object> = {_vptr.Object = 0x20122060, p =
0x200b1c64}, <No data fields>}, <No data
fields>}
name = {static npos = <optimized out>,
_M_dataplus = {<allocator<char>> =
{<new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x20082724
"_Client"}}
args = {<SeqBase<Py::Object>> =
{<Object> = {_vptr.Object = 0x20121fe8, p =
0x200afe0c}, <No data fields>}, <No data
fields>}
result = {_vptr.Object = 0x200b1c64, p =
0x200b157c}
#6 0x100baac0 in PyCFunction_Call (func=0x200a792c,
arg=0x10091c20, kw=0x2015a750) at Objects/methodobject.c:77
meth = (PyCFunction) 0x2016a674: 0xd5c32d1c
<method_keyword_call_handler>
self = (PyObject *) 0x200b28ac
size = -706690052
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-02-12 11:31:08 |
Barry Scott wrote:
> First we need pysvn build with debug symbols to know
where in pysvn its
> crashing.
See my previous mail.
I also stepped through it. Does that help?
(gdb) step
method_keyword_call_handler
(_self_and_name_tuple=0x200b244c, _args=0x200afe0c,
_keywords=0x200b1d74) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/cxx_extensions.cxx:1289
1289 Tuple self_and_name_tuple(
_self_and_name_tuple );
Current language: auto; currently c++
(gdb) step
Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1952
1952 explicit Tuple (PyObject *pyob, bool owned =
false): Sequence (pyob, owned)
(gdb) step
Py::SeqBase<Py::Object>::SeqBase (this=0x2ff223f0,
pyob=0x200b244c, owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1285
1285 : Object(pyob, owned)
(gdb) step
Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:194
194 explicit Object (PyObject* pyob=Py::_None(),
bool owned = false): p (pyob)
(gdb) step
196 if(!owned)
(gdb) step
198 Py::_XINCREF (p);
(gdb) step
Py::_XINCREF (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/IndirectPythonInterface.cxx:574
574 Py_XINCREF(op);
(gdb) step
575 }
(gdb) step
Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:200
200 validate();
(gdb) step
Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:174
174 if (! accepts (p))
(gdb) step
Py::Object::accepts (this=0x2ff223f0, pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:262
262 return (pyob != 0);
(gdb) step
263 }
(gdb) step
Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:190
190 }
(gdb) step
Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:201
201 }
(gdb) step
Py::SeqBase<Py::Object>::SeqBase (this=0x2ff223f0,
pyob=0x200b244c, owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1287
1287 validate();
(gdb) step
Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:174
174 if (! accepts (p))
(gdb) step
Py::SeqBase<Py::Object>::accepts (this=0x2ff223f0,
pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1311
1311 return pyob && PySequence_Check
(pyob);
(gdb) step
PySequence_Check (s=0x200b244c) at Objects/abstract.c:1088
1088 Objects/abstract.c: A file or directory in the path
name does not exist..
in Objects/abstract.c
Current language: auto; currently c
(gdb) step
1090 in Objects/abstract.c
(gdb) step
1092 in Objects/abstract.c
(gdb) step
0xd2a6c9bc in Py::SeqBase<Py::Object>::accepts
(this=0x2ff223f0, pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1311
1311 return pyob && PySequence_Check
(pyob);
Current language: auto; currently c++
(gdb) step
Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:190
190 }
(gdb) step
0xd29eb92c in Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0, pyob=0x200b244c, owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1287
1287 validate();
(gdb) step
Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1954
1954 validate();
(gdb) step
Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:174
174 if (! accepts (p))
(gdb) step
Py::Tuple::accepts (this=0x2ff223f0, pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:2007
2007 return pyob && Py::_Tuple_Check
(pyob);
(gdb) step
Py::_Tuple_Check (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/IndirectPythonInterface.cxx:61
61 bool _Tuple_Check( PyObject *op ) { return
(op)->ob_type == _Tuple_Type(); }
(gdb) step
Py::_Tuple_Type () at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/IndirectPythonInterface.cxx:548
548 PyTypeObject * _Tuple_Type() { return
&PyTuple_Type; }
(gdb) step
0xd2a8b100 in Py::_Tuple_Check (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/IndirectPythonInterface.cxx:61
61 bool _Tuple_Check( PyObject *op ) { return
(op)->ob_type == _Tuple_Type(); }
(gdb) step
Py::Tuple::accepts (this=0x2ff223f0, pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:2008
2008 }
(gdb) step
Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:190
190 }
(gdb) step
Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1955
1955 }
(gdb) step
method_keyword_call_handler
(_self_and_name_tuple=0x200b244c, _args=0x200afe0c,
_keywords=0x200b1d74) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/Src/cxx_extensions.cxx:1291
1291 PyObject *self_in_cobject =
self_and_name_tuple[0].ptr();
(gdb) step
Py::SeqBase<Py::Object>::operator[] (this=0x2ff223f0,
index=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1327
1327 return seqref<T>(*this, index);
(gdb) step
Py::seqref<Py::Object>::seqref (this=0x2ff223e0,
seq= 0x2ff223f0, j=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1064
1064 : s(seq), offset(j), the_item
(s.getItem(j))
(gdb) step
Py::SeqBase<Py::Object>::getItem (this=0x2ff223f0,
i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1332
1332 return T(asObject(PySequence_GetItem
(ptr(), i)));
(gdb) step
Py::Object::ptr (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:252
252 return p;
(gdb) step
253 }
(gdb) step
0xd2a6c444 in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0, i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1332
1332 return T(asObject(PySequence_GetItem
(ptr(), i)));
(gdb) step
PySequence_GetItem (s=0x200b244c, i=0) at
Objects/abstract.c:1189
1189 Objects/abstract.c: A file or directory in the path
name does not exist..
in Objects/abstract.c
Current language: auto; currently c
(gdb) step
1192 in Objects/abstract.c
(gdb) step
1193 in Objects/abstract.c
(gdb) step
1194 in Objects/abstract.c
(gdb) step
1202 in Objects/abstract.c
(gdb) step
tupleitem (a=0x200b244c, i=0) at Objects/tupleobject.c:309
309 Objects/tupleobject.c: A file or directory in the
path name does not exist..
in Objects/tupleobject.c
(gdb) step
313 in Objects/tupleobject.c
(gdb) step
309 in Objects/tupleobject.c
(gdb) step
313 in Objects/tupleobject.c
(gdb) step
315 in Objects/tupleobject.c
(gdb) step
tupleitem (a=0x200b244c, i=0) at Objects/tupleobject.c:313
313 in Objects/tupleobject.c
(gdb) step
315 in Objects/tupleobject.c
(gdb) step
314 in Objects/tupleobject.c
(gdb) step
315 in Objects/tupleobject.c
(gdb) step
PySequence_GetItem (s=0x200b244c, i=0) at
Objects/abstract.c:1206
1206 Objects/abstract.c: A file or directory in the path
name does not exist..
in Objects/abstract.c
(gdb) step
0xd2a6c458 in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0, i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1332
1332 return T(asObject(PySequence_GetItem
(ptr(), i)));
Current language: auto; currently c++
(gdb) step
Py::asObject (p=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:513
513 return Object(p, true);
(gdb) step
Py::Object::Object (this=0x2ff223e8, pyob=0x20036320,
owned=true) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:194
194 explicit Object (PyObject* pyob=Py::_None(),
bool owned = false): p (pyob)
(gdb) step
196 if(!owned)
(gdb) step
200 validate();
(gdb) step
Py::Object::validate (this=0x2ff223e8) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:174
174 if (! accepts (p))
(gdb) step
Py::Object::accepts (this=0x2ff223e8, pyob=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:262
262 return (pyob != 0);
(gdb) step
263 }
(gdb) step
Py::Object::validate (this=0x2ff223e8) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:190
190 }
(gdb) step
Py::Object::Object (this=0x2ff223e8, pyob=0x20036320,
owned=true) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:201
201 }
(gdb) step
Py::asObject (p=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:514
514 }
(gdb) step
0xd2a6c46c in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0, i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1332
1332 return T(asObject(PySequence_GetItem
(ptr(), i)));
(gdb) step
Py::seqref<Py::Object>::seqref (this=0x2ff223e0,
seq= 0x2ff223f0, j=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1065
1065 {}
(gdb) step
0xd29e4214 in Py::SeqBase<Py::Object>::operator[]
(this=0x2ff223f0, index=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1327
1327 return seqref<T>(*this, index);
(gdb) step
Py::seqref<Py::Object>::ptr (this=0x2ff223e0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/CXX/Objects.hxx:1102
1102 return the_item.ptr();
(gdb) step
Program received signal SIGSEGV, Segmentation fault.
0xd24bb230 in std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string (this=<incomplete type>,
__str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc++.so.6)
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-03-03 04:42:46 |
I've not had must time recently to look into this.
The debug output is not pointing at any solution. I'm
wondering if
this is a problem with
PyCXX. Can you build and run the PyCXX tests?
in the pycxx-5.4.0 folder create a make file based on a
linux one and
then:
make -f your-AIX-make-file.mak test
Do the tests work?
Barry
On Feb 12, 2007, at 17:31, Carsten Koch wrote:
> Barry Scott wrote:
>> First we need pysvn build with debug symbols to
know where in
>> pysvn its
>> crashing.
>
> See my previous mail.
>
> I also stepped through it. Does that help?
>
> (gdb) step
> method_keyword_call_handler
(_self_and_name_tuple=0x200b244c,
> _args=0x200afe0c, _keywords=0x200b1d74) at
/tmp_mnt/home/cko/cko/
>
AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/cxx_extensions
.cxx:1289
> 1289 Tuple self_and_name_tuple(
_self_and_name_tuple );
> Current language: auto; currently c++
> (gdb) step
> Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1952
> 1952 explicit Tuple (PyObject *pyob, bool
owned =
> false): Sequence (pyob, owned)
> (gdb) step
> Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0, pyob=0x200b244c,
> owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1285
> 1285 : Object(pyob, owned)
> (gdb) step
> Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:194
> 194 explicit Object (PyObject*
pyob=Py::_None(), bool
> owned = false): p (pyob)
> (gdb) step
> 196 if(!owned)
> (gdb) step
> 198 Py::_XINCREF (p);
> (gdb) step
> Py::_XINCREF (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/
>
pysvn-1.5.1/Import/pycxx-5.4.0/Src/IndirectPythonInterface.c
xx:574
> 574 Py_XINCREF(op);
> (gdb) step
> 575 }
> (gdb) step
> Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:200
> 200 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::Object::accepts (this=0x2ff223f0, pyob=0x200b244c)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:262
> 262 return (pyob != 0);
> (gdb) step
> 263 }
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:201
> 201 }
> (gdb) step
> Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0, pyob=0x200b244c,
> owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1287
> 1287 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::SeqBase<Py::Object>::accepts
(this=0x2ff223f0, pyob=0x200b244c)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1311
> 1311 return pyob &&
PySequence_Check (pyob);
> (gdb) step
> PySequence_Check (s=0x200b244c) at
Objects/abstract.c:1088
> 1088 Objects/abstract.c: A file or directory in the
path name
> does not exist..
> in Objects/abstract.c
> Current language: auto; currently c
> (gdb) step
> 1090 in Objects/abstract.c
> (gdb) step
> 1092 in Objects/abstract.c
> (gdb) step
> 0xd2a6c9bc in Py::SeqBase<Py::Object>::accepts
(this=0x2ff223f0,
> pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/
> Import/pycxx-5.4.0/CXX/Objects.hxx:1311
> 1311 return pyob &&
PySequence_Check (pyob);
> Current language: auto; currently c++
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> 0xd29eb92c in Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0,
> pyob=0x200b244c, owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:1287
> 1287 validate();
> (gdb) step
> Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1954
> 1954 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::Tuple::accepts (this=0x2ff223f0, pyob=0x200b244c)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:2007
> 2007 return pyob &&
Py::_Tuple_Check (pyob);
> (gdb) step
> Py::_Tuple_Check (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/
> source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/
> IndirectPythonInterface.cxx:61
> 61 bool _Tuple_Check( PyObject *op ) { return
(op)->ob_type ==
> _Tuple_Type(); }
> (gdb) step
> Py::_Tuple_Type () at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/
> Import/pycxx-5.4.0/Src/IndirectPythonInterface.cxx:548
> 548 PyTypeObject * _Tuple_Type() { return
&PyTuple_Type; }
> (gdb) step
> 0xd2a8b100 in Py::_Tuple_Check (op=0x200b244c) at
/tmp_mnt/home/cko/
> cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/
> IndirectPythonInterface.cxx:61
> 61 bool _Tuple_Check( PyObject *op ) { return
(op)->ob_type ==
> _Tuple_Type(); }
> (gdb) step
> Py::Tuple::accepts (this=0x2ff223f0, pyob=0x200b244c)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:2008
> 2008 }
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1955
> 1955 }
> (gdb) step
> method_keyword_call_handler
(_self_and_name_tuple=0x200b244c,
> _args=0x200afe0c, _keywords=0x200b1d74) at
/tmp_mnt/home/cko/cko/
>
AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/cxx_extensions
.cxx:1291
> 1291 PyObject *self_in_cobject =
self_and_name_tuple
> [0].ptr();
> (gdb) step
> Py::SeqBase<Py::Object>::operator[]
(this=0x2ff223f0, index=0) at /
>
tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4
.0/CXX/
> Objects.hxx:1327
> 1327 return seqref<T>(*this,
index);
> (gdb) step
> Py::seqref<Py::Object>::seqref (this=0x2ff223e0,
seq= 0x2ff223f0,
> j=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1064
> 1064 : s(seq), offset(j), the_item
(s.getItem(j))
> (gdb) step
> Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0, i=0) at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> (gdb) step
> Py::Object::ptr (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:252
> 252 return p;
> (gdb) step
> 253 }
> (gdb) step
> 0xd2a6c444 in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0,
> i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> (gdb) step
> PySequence_GetItem (s=0x200b244c, i=0) at
Objects/abstract.c:1189
> 1189 Objects/abstract.c: A file or directory in the
path name
> does not exist..
> in Objects/abstract.c
> Current language: auto; currently c
> (gdb) step
> 1192 in Objects/abstract.c
> (gdb) step
> 1193 in Objects/abstract.c
> (gdb) step
> 1194 in Objects/abstract.c
> (gdb) step
> 1202 in Objects/abstract.c
> (gdb) step
> tupleitem (a=0x200b244c, i=0) at
Objects/tupleobject.c:309
> 309 Objects/tupleobject.c: A file or directory in
the path name
> does not exist..
> in Objects/tupleobject.c
> (gdb) step
> 313 in Objects/tupleobject.c
> (gdb) step
> 309 in Objects/tupleobject.c
> (gdb) step
> 313 in Objects/tupleobject.c
> (gdb) step
> 315 in Objects/tupleobject.c
> (gdb) step
> tupleitem (a=0x200b244c, i=0) at
Objects/tupleobject.c:313
> 313 in Objects/tupleobject.c
> (gdb) step
> 315 in Objects/tupleobject.c
> (gdb) step
> 314 in Objects/tupleobject.c
> (gdb) step
> 315 in Objects/tupleobject.c
> (gdb) step
> PySequence_GetItem (s=0x200b244c, i=0) at
Objects/abstract.c:1206
> 1206 Objects/abstract.c: A file or directory in the
path name
> does not exist..
> in Objects/abstract.c
> (gdb) step
> 0xd2a6c458 in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0,
> i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> Current language: auto; currently c++
> (gdb) step
> Py::asObject (p=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:513
> 513 return Object(p, true);
> (gdb) step
> Py::Object::Object (this=0x2ff223e8, pyob=0x20036320,
owned=true)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:194
> 194 explicit Object (PyObject*
pyob=Py::_None(), bool
> owned = false): p (pyob)
> (gdb) step
> 196 if(!owned)
> (gdb) step
> 200 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223e8) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::Object::accepts (this=0x2ff223e8, pyob=0x20036320)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:262
> 262 return (pyob != 0);
> (gdb) step
> 263 }
> (gdb) step
> Py::Object::validate (this=0x2ff223e8) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> Py::Object::Object (this=0x2ff223e8, pyob=0x20036320,
owned=true)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:201
> 201 }
> (gdb) step
> Py::asObject (p=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:514
> 514 }
> (gdb) step
> 0xd2a6c46c in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0,
> i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> (gdb) step
> Py::seqref<Py::Object>::seqref (this=0x2ff223e0,
seq= 0x2ff223f0,
> j=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1065
> 1065 {}
> (gdb) step
> 0xd29e4214 in Py::SeqBase<Py::Object>::operator[]
(this=0x2ff223f0,
> index=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1327
> 1327 return seqref<T>(*this,
index);
> (gdb) step
> Py::seqref<Py::Object>::ptr (this=0x2ff223e0) at
/tmp_mnt/home/cko/
>
cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hx
x:1102
> 1102 return the_item.ptr();
> (gdb) step
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xd24bb230 in std::basic_string<char,
std::char_traits<char>,
> std::allocator<char> >::basic_string
(this=<incomplete type>,
> __str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc+
> +.so.6)
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
> For additional commands, e-mail: dev-help pysvn.tigris.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-03-03 04:43:58 |
Have you succeed in building and testing 1.5.1 on some of
your other
Unix systems?
I'm assuming that is an AIX specific issue.
Barry
On Feb 12, 2007, at 17:31, Carsten Koch wrote:
> Barry Scott wrote:
>> First we need pysvn build with debug symbols to
know where in
>> pysvn its
>> crashing.
>
> See my previous mail.
>
> I also stepped through it. Does that help?
>
> (gdb) step
> method_keyword_call_handler
(_self_and_name_tuple=0x200b244c,
> _args=0x200afe0c, _keywords=0x200b1d74) at
/tmp_mnt/home/cko/cko/
>
AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/cxx_extensions
.cxx:1289
> 1289 Tuple self_and_name_tuple(
_self_and_name_tuple );
> Current language: auto; currently c++
> (gdb) step
> Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1952
> 1952 explicit Tuple (PyObject *pyob, bool
owned =
> false): Sequence (pyob, owned)
> (gdb) step
> Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0, pyob=0x200b244c,
> owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1285
> 1285 : Object(pyob, owned)
> (gdb) step
> Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:194
> 194 explicit Object (PyObject*
pyob=Py::_None(), bool
> owned = false): p (pyob)
> (gdb) step
> 196 if(!owned)
> (gdb) step
> 198 Py::_XINCREF (p);
> (gdb) step
> Py::_XINCREF (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/
>
pysvn-1.5.1/Import/pycxx-5.4.0/Src/IndirectPythonInterface.c
xx:574
> 574 Py_XINCREF(op);
> (gdb) step
> 575 }
> (gdb) step
> Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:200
> 200 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::Object::accepts (this=0x2ff223f0, pyob=0x200b244c)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:262
> 262 return (pyob != 0);
> (gdb) step
> 263 }
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> Py::Object::Object (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:201
> 201 }
> (gdb) step
> Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0, pyob=0x200b244c,
> owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1287
> 1287 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::SeqBase<Py::Object>::accepts
(this=0x2ff223f0, pyob=0x200b244c)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1311
> 1311 return pyob &&
PySequence_Check (pyob);
> (gdb) step
> PySequence_Check (s=0x200b244c) at
Objects/abstract.c:1088
> 1088 Objects/abstract.c: A file or directory in the
path name
> does not exist..
> in Objects/abstract.c
> Current language: auto; currently c
> (gdb) step
> 1090 in Objects/abstract.c
> (gdb) step
> 1092 in Objects/abstract.c
> (gdb) step
> 0xd2a6c9bc in Py::SeqBase<Py::Object>::accepts
(this=0x2ff223f0,
> pyob=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/
> Import/pycxx-5.4.0/CXX/Objects.hxx:1311
> 1311 return pyob &&
PySequence_Check (pyob);
> Current language: auto; currently c++
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> 0xd29eb92c in Py::SeqBase<Py::Object>::SeqBase
(this=0x2ff223f0,
> pyob=0x200b244c, owned=false) at
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:1287
> 1287 validate();
> (gdb) step
> Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1954
> 1954 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::Tuple::accepts (this=0x2ff223f0, pyob=0x200b244c)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:2007
> 2007 return pyob &&
Py::_Tuple_Check (pyob);
> (gdb) step
> Py::_Tuple_Check (op=0x200b244c) at
/tmp_mnt/home/cko/cko/AIX/
> source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/
> IndirectPythonInterface.cxx:61
> 61 bool _Tuple_Check( PyObject *op ) { return
(op)->ob_type ==
> _Tuple_Type(); }
> (gdb) step
> Py::_Tuple_Type () at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/
> Import/pycxx-5.4.0/Src/IndirectPythonInterface.cxx:548
> 548 PyTypeObject * _Tuple_Type() { return
&PyTuple_Type; }
> (gdb) step
> 0xd2a8b100 in Py::_Tuple_Check (op=0x200b244c) at
/tmp_mnt/home/cko/
> cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/
> IndirectPythonInterface.cxx:61
> 61 bool _Tuple_Check( PyObject *op ) { return
(op)->ob_type ==
> _Tuple_Type(); }
> (gdb) step
> Py::Tuple::accepts (this=0x2ff223f0, pyob=0x200b244c)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:2008
> 2008 }
> (gdb) step
> Py::Object::validate (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> Py::Tuple::Tuple (this=0x2ff223f0, pyob=0x200b244c,
owned=false)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:1955
> 1955 }
> (gdb) step
> method_keyword_call_handler
(_self_and_name_tuple=0x200b244c,
> _args=0x200afe0c, _keywords=0x200b1d74) at
/tmp_mnt/home/cko/cko/
>
AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/Src/cxx_extensions
.cxx:1291
> 1291 PyObject *self_in_cobject =
self_and_name_tuple
> [0].ptr();
> (gdb) step
> Py::SeqBase<Py::Object>::operator[]
(this=0x2ff223f0, index=0) at /
>
tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4
.0/CXX/
> Objects.hxx:1327
> 1327 return seqref<T>(*this,
index);
> (gdb) step
> Py::seqref<Py::Object>::seqref (this=0x2ff223e0,
seq= 0x2ff223f0,
> j=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1064
> 1064 : s(seq), offset(j), the_item
(s.getItem(j))
> (gdb) step
> Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0, i=0) at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> (gdb) step
> Py::Object::ptr (this=0x2ff223f0) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:252
> 252 return p;
> (gdb) step
> 253 }
> (gdb) step
> 0xd2a6c444 in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0,
> i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> (gdb) step
> PySequence_GetItem (s=0x200b244c, i=0) at
Objects/abstract.c:1189
> 1189 Objects/abstract.c: A file or directory in the
path name
> does not exist..
> in Objects/abstract.c
> Current language: auto; currently c
> (gdb) step
> 1192 in Objects/abstract.c
> (gdb) step
> 1193 in Objects/abstract.c
> (gdb) step
> 1194 in Objects/abstract.c
> (gdb) step
> 1202 in Objects/abstract.c
> (gdb) step
> tupleitem (a=0x200b244c, i=0) at
Objects/tupleobject.c:309
> 309 Objects/tupleobject.c: A file or directory in
the path name
> does not exist..
> in Objects/tupleobject.c
> (gdb) step
> 313 in Objects/tupleobject.c
> (gdb) step
> 309 in Objects/tupleobject.c
> (gdb) step
> 313 in Objects/tupleobject.c
> (gdb) step
> 315 in Objects/tupleobject.c
> (gdb) step
> tupleitem (a=0x200b244c, i=0) at
Objects/tupleobject.c:313
> 313 in Objects/tupleobject.c
> (gdb) step
> 315 in Objects/tupleobject.c
> (gdb) step
> 314 in Objects/tupleobject.c
> (gdb) step
> 315 in Objects/tupleobject.c
> (gdb) step
> PySequence_GetItem (s=0x200b244c, i=0) at
Objects/abstract.c:1206
> 1206 Objects/abstract.c: A file or directory in the
path name
> does not exist..
> in Objects/abstract.c
> (gdb) step
> 0xd2a6c458 in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0,
> i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> Current language: auto; currently c++
> (gdb) step
> Py::asObject (p=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:513
> 513 return Object(p, true);
> (gdb) step
> Py::Object::Object (this=0x2ff223e8, pyob=0x20036320,
owned=true)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:194
> 194 explicit Object (PyObject*
pyob=Py::_None(), bool
> owned = false): p (pyob)
> (gdb) step
> 196 if(!owned)
> (gdb) step
> 200 validate();
> (gdb) step
> Py::Object::validate (this=0x2ff223e8) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:174
> 174 if (! accepts (p))
> (gdb) step
> Py::Object::accepts (this=0x2ff223e8, pyob=0x20036320)
at /tmp_mnt/
>
home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/
> Objects.hxx:262
> 262 return (pyob != 0);
> (gdb) step
> 263 }
> (gdb) step
> Py::Object::validate (this=0x2ff223e8) at
/tmp_mnt/home/cko/cko/AIX/
>
source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:190
> 190 }
> (gdb) step
> Py::Object::Object (this=0x2ff223e8, pyob=0x20036320,
owned=true)
> at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.
4.0/
> CXX/Objects.hxx:201
> 201 }
> (gdb) step
> Py::asObject (p=0x20036320) at
/tmp_mnt/home/cko/cko/AIX/source/
> pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hxx:514
> 514 }
> (gdb) step
> 0xd2a6c46c in Py::SeqBase<Py::Object>::getItem
(this=0x2ff223f0,
> i=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1332
> 1332 return
T(asObject(PySequence_GetItem (ptr(), i)));
> (gdb) step
> Py::seqref<Py::Object>::seqref (this=0x2ff223e0,
seq= 0x2ff223f0,
> j=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1065
> 1065 {}
> (gdb) step
> 0xd29e4214 in Py::SeqBase<Py::Object>::operator[]
(this=0x2ff223f0,
> index=0) at
/tmp_mnt/home/cko/cko/AIX/source/pysvn-1.5.1/Import/
> pycxx-5.4.0/CXX/Objects.hxx:1327
> 1327 return seqref<T>(*this,
index);
> (gdb) step
> Py::seqref<Py::Object>::ptr (this=0x2ff223e0) at
/tmp_mnt/home/cko/
>
cko/AIX/source/pysvn-1.5.1/Import/pycxx-5.4.0/CXX/Objects.hx
x:1102
> 1102 return the_item.ptr();
> (gdb) step
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xd24bb230 in std::basic_string<char,
std::char_traits<char>,
> std::allocator<char> >::basic_string
(this=<incomplete type>,
> __str=<incomplete type>) from
/opt/local/lib/libstdc++.a(libstdc+
> +.so.6)
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
> For additional commands, e-mail: dev-help pysvn.tigris.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-03-03 05:14:58 |
Barry Scott wrote:
> Have you succeed in building and testing 1.5.1 on some
of your other
> Unix systems?
> I'm assuming that is an AIX specific issue.
Yes.
Just to make sure, I just built 1.5.1 on IRIX.
It works fine there:
carcosa:cko[56] python
Python 2.4.4 (#1, Dec 21 2006, 02:11:20)
[GCC 4.1.1] on irix6
Type "help", "copyright",
"credits" or "license" for more
information.
>>> import pysvn
>>> print pysvn.version
(1, 5, 1, 0)
>>> c=pysvn.Client()
>>> c.ls("http://svn/tools")
[<PysvnDirent u'http://svn/tools/branches
a>'>, <PysvnDirent u'http://svn/tools/builds'&
gt;, <PysvnDirent u'http://svn/tools/mods'>,
<PysvnDirent u'http://svn/tools/trunk'>
;]
Carsten.
P.S.: I had to tweak the link line (again) to make it
build.
The original one fails as follows:
g++ -shared -o pysvn/_pysvn_2_4.so pysvn.o
pysvn_callbacks.o pysvn_client.o pysvn_enum_string.o
pysvn_transaction.o pysvn_revision.o pysvn_docs.o
pysvn_path.o pysvn_arg_processing.o pysvn_converters.o
pysvn_svnenv.o pysvn_profile.o cxxsupport.o cxx_extensions.o
cxxextensions.o IndirectPythonInterface.o -L/opt/local/lib
-Wl,--rpath -Wl,/opt/local/lib -lsvn_client-1 -lsvn_diff-1
-lsvn_repos-1 -lcom_err -lresolv -lexpat -lneon
(null): WARNING 1 : Unknown option: -rpath (ignored).
ld32: FATAL 9 : I/O error (/opt/local/lib): No such
device
collect2: ld returned 32 exit status
make: *** [pysvn/_pysvn_2_4.so] Error 1
The following line works fine:
g++ -shared -o pysvn/_pysvn_2_4.so pysvn.o
pysvn_callbacks.o pysvn_client.o pysvn_enum_string.o
pysvn_transaction.o pysvn_revision.o pysvn_docs.o
pysvn_path.o pysvn_arg_processing.o pysvn_converters.o
pysvn_svnenv.o pysvn_profile.o cxxsupport.o cxx_extensions.o
cxxextensions.o IndirectPythonInterface.o -L/opt/local/lib
-lsvn_client-1 -lsvn_diff-1 -lsvn_repos-1 -lexpat
ld32: WARNING 84 : /usr/lib/../lib32/libm.so is not used for
resolving any symbol.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-03-03 05:26:13 |
Barry Scott wrote:
> I've not had must time recently to look into this.
>
> The debug output is not pointing at any solution. I'm
wondering if this
> is a problem with
> PyCXX. Can you build and run the PyCXX tests?
>
> in the pycxx-5.4.0 folder create a make file based on a
linux one and then:
OK. Here is the Makefile I made for AIX:
#
# Build the example on AIX.
#
CCC=g++ -c
CCCFLAGS=-fPIC -I/opt/local/include/python2.4 -I.
LDSHARED=g++ -shared
LDLIBS=-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
PYTHON=python2.4
include example_common.mak
> make -f your-AIX-make-file.mak test
>
> Do the tests work?
No, they die with "AttributeError: amethod":
dagobert:cko[61] make test
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o example.o
Demo/example.cxx
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o range.o
Demo/range.cxx
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
rangetest.o Demo/rangetest.cxx
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
cxxsupport.o Src/cxxsupport.cxx
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
cxx_extensions.o Src/cxx_extensions.cxx
/opt/local/bin/gcc -c -fPIC -I/opt/local/include/python2.4
-I. -o cxxextensions.o Src/cxxextensions.c
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
IndirectPythonInterface.o Src/IndirectPythonInterface.cxx
g++ -shared -o example.so example.o range.o rangetest.o
cxxsupport.o cxx_extensions.o cxxextensions.o
IndirectPythonInterface.o
-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
pycxx_iter.o Demo/pycxx_iter.cxx
g++ -shared -o pycxx_iter.so pycxx_iter.o cxxsupport.o
cxx_extensions.o cxxextensions.o IndirectPythonInterface.o
-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
PYTHONPATH=. python2.4 Demo/test_example.py
range object created 0x20095b88
range object destroyed 0x20095b88
Example Test starting
Trying to convert a Py::String to an Py::Int
Correctly caught exceptions.TypeError
Py::Exception value: CXX : Error creating object of type
N2Py3IntE
Py::Exception traceback: None
Numbers: ok
Py::String: ok
Py::List: ok
Py: ict: ok
Py::Tuple: ok
'gorf'
'gorf'
'blah'
'blah'
STL test: ok
Extension object test: range object created 0x20095ba8
range object created 0x20095bc8
range object destroyed 0x20095bc8
Traceback (most recent call last):
File "Demo/test_example.py", line 41, in ?
example.test()
AttributeError: amethod
make: *** [test] Error 1
Is that normal or does it indicate a problem?
Carsten.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-04-20 11:39:07 |
Hi Barry,
any news on this?
Thanks and Cheers,
Carsten.
Carsten Koch wrote:
> Barry Scott wrote:
>> I've not had must time recently to look into this.
>>
>> The debug output is not pointing at any solution.
I'm wondering if this
>> is a problem with
>> PyCXX. Can you build and run the PyCXX tests?
>>
>> in the pycxx-5.4.0 folder create a make file based
on a linux one and then:
>
> OK. Here is the Makefile I made for AIX:
>
> #
> # Build the example on AIX.
> #
> CCC=g++ -c
> CCCFLAGS=-fPIC -I/opt/local/include/python2.4 -I.
> LDSHARED=g++ -shared
>
LDLIBS=-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
> PYTHON=python2.4
>
> include example_common.mak
>
>
>> make -f your-AIX-make-file.mak test
>>
>> Do the tests work?
>
> No, they die with "AttributeError: amethod":
>
> dagobert:cko[61] make test
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
example.o Demo/example.cxx
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
range.o Demo/range.cxx
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
rangetest.o Demo/rangetest.cxx
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
cxxsupport.o Src/cxxsupport.cxx
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
cxx_extensions.o Src/cxx_extensions.cxx
> /opt/local/bin/gcc -c -fPIC
-I/opt/local/include/python2.4 -I. -o cxxextensions.o
Src/cxxextensions.c
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
IndirectPythonInterface.o Src/IndirectPythonInterface.cxx
> g++ -shared -o example.so example.o range.o rangetest.o
cxxsupport.o cxx_extensions.o cxxextensions.o
IndirectPythonInterface.o
-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
pycxx_iter.o Demo/pycxx_iter.cxx
> g++ -shared -o pycxx_iter.so pycxx_iter.o cxxsupport.o
cxx_extensions.o cxxextensions.o IndirectPythonInterface.o
-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
> PYTHONPATH=. python2.4 Demo/test_example.py
> range object created 0x20095b88
> range object destroyed 0x20095b88
> Example Test starting
> Trying to convert a Py::String to an Py::Int
> Correctly caught exceptions.TypeError
> Py::Exception value: CXX : Error creating object of
type N2Py3IntE
> Py::Exception traceback: None
> Numbers: ok
> Py::String: ok
> Py::List: ok
> Py: ict: ok
> Py::Tuple: ok
> 'gorf'
> 'gorf'
> 'blah'
> 'blah'
> STL test: ok
> Extension object test: range object created 0x20095ba8
> range object created 0x20095bc8
> range object destroyed 0x20095bc8
> Traceback (most recent call last):
> File "Demo/test_example.py", line 41, in ?
> example.test()
> AttributeError: amethod
> make: *** [test] Error 1
>
>
> Is that normal or does it indicate a problem?
>
> Carsten.
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
> For additional commands, e-mail: dev-help pysvn.tigris.org
>
>
--
___________________________________________________________
(
)
| Carsten Koch Phone: +49-4286-920001
|
| ICEM Technologies GmbH Fax: +49-4286-1608
|
| Sotheler Mühlenweg 15 mailto:Carsten.Koch icem.com
|
| 27404 Elsdorf-Hatzte, Germany http://www.icem.com |
(___________________________________________________________
)
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
| Re: pysvn extension crashes on AIX 5.3. |

|
2007-04-22 09:55:13 |
On Apr 20, 2007, at 17:39, Carsten Koch wrote:
> Hi Barry,
>
> any news on this?
Sorry I have not done anything more...
I'm going to have to talk you thru the debug need to find
the problem.
It would be far easier if I could get access to an AIX
system...
> Thanks and Cheers,
> Carsten.
>
> Carsten Koch wrote:
>> Barry Scott wrote:
>>> I've not had must time recently to look into
this.
>>>
>>> The debug output is not pointing at any
solution. I'm wondering
>>> if this
>>> is a problem with
>>> PyCXX. Can you build and run the PyCXX tests?
>>>
>>> in the pycxx-5.4.0 folder create a make file
based on a linux one
>>> and then:
>>
>> OK. Here is the Makefile I made for AIX:
>>
>> #
>> # Build the example on AIX.
>> #
>> CCC=g++ -c
>> CCCFLAGS=-fPIC -I/opt/local/include/python2.4 -I.
>> LDSHARED=g++ -shared
>>
LDLIBS=-Wl,-bI:/opt/local/lib/python2.4/config/python.exp
>> PYTHON=python2.4
>>
>> include example_common.mak
>>
>>
>>> make -f your-AIX-make-file.mak test
>>>
>>> Do the tests work?
>>
>> No, they die with "AttributeError:
amethod":
>>
>> dagobert:cko[61] make test
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
example.o Demo/
>> example.cxx
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
range.o Demo/
>> range.cxx
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
rangetest.o
>> Demo/rangetest.cxx
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
cxxsupport.o
>> Src/cxxsupport.cxx
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
>> cxx_extensions.o Src/cxx_extensions.cxx
>> /opt/local/bin/gcc -c -fPIC
-I/opt/local/include/python2.4 -I. -o
>> cxxextensions.o Src/cxxextensions.c
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
>> IndirectPythonInterface.o
Src/IndirectPythonInterface.cxx
>> g++ -shared -o example.so example.o range.o
rangetest.o
>> cxxsupport.o cxx_extensions.o cxxextensions.o
>> IndirectPythonInterface.o
-Wl,-bI:/opt/local/lib/python2.4/config/
>> python.exp
>> g++ -c -fPIC -I/opt/local/include/python2.4 -I. -o
pycxx_iter.o
>> Demo/pycxx_iter.cxx
>> g++ -shared -o pycxx_iter.so pycxx_iter.o
cxxsupport.o
>> cxx_extensions.o cxxextensions.o
IndirectPythonInterface.o -Wl,-
>> bI:/opt/local/lib/python2.4/config/python.exp
>> PYTHONPATH=. python2.4 Demo/test_example.py
>> range object created 0x20095b88
>> range object destroyed 0x20095b88
>> Example Test starting
>> Trying to convert a Py::String to an Py::Int
>> Correctly caught exceptions.TypeError
>> Py::Exception value: CXX : Error creating object
of type N2Py3IntE
>> Py::Exception traceback: None
>> Numbers: ok
>> Py::String: ok
>> Py::List: ok
>> Py: ict: ok
>> Py::Tuple: ok
>> 'gorf'
>> 'gorf'
>> 'blah'
>> 'blah'
>> STL test: ok
>> Extension object test: range object created
0x20095ba8
>> range object created 0x20095bc8
>> range object destroyed 0x20095bc8
>> Traceback (most recent call last):
>> File "Demo/test_example.py", line 41,
in ?
>> example.test()
>> AttributeError: amethod
>> make: *** [test] Error 1
>>
>>
>> Is that normal or does it indicate a problem?
Its a problem...
Barry
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe pysvn.tigris.org
For additional commands, e-mail: dev-help pysvn.tigris.org
|
|
|
|