|
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-09-28 07:09:20
Markus Schöpflin wrote:
> After I finally got the regression tests running again on my machine, I
> would like to figure out, why most of the python tests are failing. For
> an example error message see http://tinyurl.com/46he3 .
>
> Has anybody any idea as to where I should start looking for this?
Here is some more info.
schoepf_at_AREA51:/vol1/tmp/boost/boost/status> dbx
/vol1/tmp/tools/bin/python2.3 core
dbx version 5.1
Type 'help' for help.
Core file created by program "python2.3"
thread 0x8 signal Segmentation fault at
[__7__ct__Q4_5boost6python3api6objectFRCQ4_5boost6python3api6object:293
+0x41c17484,0x30001083030] class object : public object_base
(dbx) where
> 0 __7__ct__Q4_5boost6python3api6objectFRCQ4_5boost6python3api6object()
["/vol1/tmp/boost/boost/boost/python/object_core.hpp":293, 0x30001083030]
1
__7__CPR134__setitem__tm__55_Q4_5boost6python3api6objectQJ17JostJ25J3apiJ36J__Q3_J19JJ25J3apiFRCQJ17JostJ25J3apiJ36JRCZ1ZRCZ2Z_v()
["/vol1/tmp/boost/boost/boost/python/object_protocol.hpp":50, 0x30001084468]
2
__7__CPR134__setitem__tm__55_Q4_5boost6python3api6objectQJ17JostJ25J3apiJ36J__Q3_J19JJ25J3apiFRCQJ17JostJ25J3apiJ36JRCZ1ZRCZ2Z_v()
["/vol1/tmp/boost/boost/boost/python/object_protocol.hpp":50, 0x30001084494]
3
__7__CPR134__setitem__tm__55_Q4_5boost6python3api6objectQJ17JostJ25J3apiJ36J__Q3_J19JJ25J3apiFRCQJ17JostJ25J3apiJ36JRCZ1ZRCZ2Z_v()
["/vol1/tmp/boost/boost/boost/python/object_protocol.hpp":50, 0x30001084494]
4
__7__CPR134__setitem__tm__55_Q4_5boost6python3api6objectQJ17JostJ25J3apiJ36J__Q3_J19JJ25J3apiFRCQJ17JostJ25J3apiJ36JRCZ1ZRCZ2Z_v()
["/vol1/tmp/boost/boost/boost/python/object_protocol.hpp":50, 0x30001084494]
and so on ...
The code in question looks the following:
...
template <class Key, class Value>
void setitem(object const& target, Key const& key, Value const& value)
{
return setitem(target, object(key), object(value));
}
...
This causes an infinite recursion. As far as I know, boost.python should
work on this platform, so does this ring a bell with anybody?
Markus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk