most boost.python tests fail on Tru64

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? Markus

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@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

--- Markus Sch�pflin <markus.schoepflin@comsoft.de> wrote:
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?
...
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?
I just checked out the latest CVS (HEAD) and all tests compile here using our build system (scons). All test run fine except for the numpy test (?). For completeness: I'm not compiling the tests that are expected to fail with compiler errors. Markus, are you still using -model ansi? We had to back this option out because the binaries compiled with -model ansi didn't run on 3rd-party platforms due to missing or incompatible runtime libraries. Ralf __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail

Ralf W. Grosse-Kunstleve wrote:
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?
...
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?
I just checked out the latest CVS (HEAD) and all tests compile here using our build system (scons). All test run fine except for the numpy test (?). For completeness: I'm not compiling the tests that are expected to fail with compiler errors.
Could you please post the exact compiler command line you are using to compile and link one of the python tests? Are you using v41 of the compiler, too?
Markus, are you still using -model ansi? We had to back this option out because the binaries compiled with -model ansi didn't run on 3rd-party platforms due to missing or incompatible runtime libraries.
I'm using the out-of-the-box current boost state. And yes, this includes -model ansi. But I'm pretty sure that this isn't the problem because I always had these errors since I first tried boost.python, I just never got around debugging them. Markus
participants (2)
-
Markus Schöpflin
-
Ralf W. Grosse-Kunstleve