Boost C++ Libraries: Ticket #5154: 1.45.0 python OS X 10.6 test_extending.py hangs https://svn.boost.org/trac10/ticket/5154 <p> The following quickstart hangs on system python and EPD 32 6.2.3 32 bit this log for ootb system python. I'll try this out on svn trunk... </p> <pre class="wiki">/usr/local/src/boost_1_45_0/libs/python/example/quickstart chi:quickstart ix$ sudo /usr/local/src/boost_1_45_0/bjam toolset=darwin --debug-configuration --verbose-test test notice: found boost-build.jam at /usr/local/src/boost_1_45_0/libs/python/example/quickstart/boost-build.jam notice: loading Boost.Build from /usr/local/src/boost_1_45_0/tools/build/v2 notice: Searching /etc /Users/ix /usr/local/src/boost_1_45_0/libs/python/example/quickstart/../../../../tools/build/v2 /usr/share/boost-build /usr/local/src/boost_1_45_0/tools/build/v2/kernel /usr/local/src/boost_1_45_0/tools/build/v2/util /usr/local/src/boost_1_45_0/tools/build/v2/build /usr/local/src/boost_1_45_0/tools/build/v2/tools /usr/local/src/boost_1_45_0/tools/build/v2/contrib /usr/local/src/boost_1_45_0/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from /usr/local/src/boost_1_45_0/tools/build/v2/site-config.jam . notice: Searching /Users/ix /usr/local/src/boost_1_45_0/libs/python/example/quickstart/../../../../tools/build/v2 /usr/share/boost-build /usr/local/src/boost_1_45_0/tools/build/v2/kernel /usr/local/src/boost_1_45_0/tools/build/v2/util /usr/local/src/boost_1_45_0/tools/build/v2/build /usr/local/src/boost_1_45_0/tools/build/v2/tools /usr/local/src/boost_1_45_0/tools/build/v2/contrib /usr/local/src/boost_1_45_0/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from /usr/local/src/boost_1_45_0/tools/build/v2/user-config.jam . notice: Searching ../../../.. for project-config configuration file project-config.jam . notice: Loading project-config configuration file project-config.jam from ../../../../project-config.jam . notice: OSX version on this machine is 10.6.6 notice: will use 'g++' for darwin, condition &lt;toolset&gt;darwin-4.2.1 notice: using strip for &lt;toolset&gt;darwin-4.2.1 at /usr/bin/strip notice: using archiver for &lt;toolset&gt;darwin-4.2.1 at /usr/bin/libtool notice: available sdk for &lt;toolset&gt;darwin-4.2.1/&lt;macosx-version&gt;10.5 at /Developer/SDKs/MacOSX10.5.sdk notice: available sdk for &lt;toolset&gt;darwin-4.2.1/&lt;macosx-version&gt;10.6 at /Developer/SDKs/MacOSX10.6.sdk notice: [python-cfg] Configuring python... notice: [python-cfg] user-specified version: "2.6" notice: [python-cfg] user-specified cmd-or-prefix: "/System/Library/Frameworks/Python.framework/Versions/2.6" notice: [python-cfg] Checking interpreter command "/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python"... notice: [python-cfg] running command '"/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python" -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2&gt;&amp;1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python" notice: [python-cfg] include path: "/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" notice: [python-cfg] library path: "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config" "/System/Library/Frameworks/Python.framework/Versions/2.6/lib" notice: [python-cfg] framework directory is "/System/Library/Frameworks/Python.framework" notice: [cmdline-cfg] Detected command-line request for darwin: toolset= darwin version= notice: [cmdline-cfg] toolset darwin already configured notice: iostreams: using prebuilt zlib notice: iostreams: using prebuilt bzip2 ...patience... ...patience... ...found 1605 targets... ...updating 9 targets... darwin.compile.c++ bin/darwin-4.2.1/debug/extending.o darwin.link.dll ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/libboost_python.dylib darwin.link.dll bin/darwin-4.2.1/debug/extending.so ^C </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5154 Trac 1.4.3 seb@… Thu, 03 Feb 2011 00:15:31 GMT <link>https://svn.boost.org/trac10/ticket/5154#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5154#comment:1</guid> <description> <p> Full log from clean build on standard system python and boost trunk - no cigar I'm afraid: this just hangs... </p> <pre class="wiki">chi:quickstart ix$ /usr/local/src/boost_trunk/bjam /usr/local/src/boost_1_45_0/bjam toolset=darwin --debug-configuration --verbose-test test notice: found boost-build.jam at /usr/local/src/boost_trunk/libs/python/example/quickstart/boost-build.jam notice: loading Boost.Build from /usr/local/src/boost_trunk/tools/build/v2 notice: Searching /etc /Users/ix /usr/local/src/boost_trunk/libs/python/example/quickstart/../../../../tools/build/v2 /usr/share/boost-build /usr/local/src/boost_trunk/tools/build/v2/kernel /usr/local/src/boost_trunk/tools/build/v2/util /usr/local/src/boost_trunk/tools/build/v2/build /usr/local/src/boost_trunk/tools/build/v2/tools /usr/local/src/boost_trunk/tools/build/v2/contrib /usr/local/src/boost_trunk/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from /usr/local/src/boost_trunk/tools/build/v2/site-config.jam . notice: Searching /Users/ix /usr/local/src/boost_trunk/libs/python/example/quickstart/../../../../tools/build/v2 /usr/share/boost-build /usr/local/src/boost_trunk/tools/build/v2/kernel /usr/local/src/boost_trunk/tools/build/v2/util /usr/local/src/boost_trunk/tools/build/v2/build /usr/local/src/boost_trunk/tools/build/v2/tools /usr/local/src/boost_trunk/tools/build/v2/contrib /usr/local/src/boost_trunk/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from /usr/local/src/boost_trunk/tools/build/v2/user-config.jam . notice: Searching ../../../.. for project-config configuration file project-config.jam . notice: Loading project-config configuration file project-config.jam from ../../../../project-config.jam . notice: OSX version on this machine is 10.6.6 notice: will use 'g++' for darwin, condition &lt;toolset&gt;darwin-4.2.1 notice: using strip for &lt;toolset&gt;darwin-4.2.1 at /usr/bin/strip notice: using archiver for &lt;toolset&gt;darwin-4.2.1 at /usr/bin/libtool notice: available sdk for &lt;toolset&gt;darwin-4.2.1/&lt;macosx-version&gt;10.5 at /Developer/SDKs/MacOSX10.5.sdk notice: available sdk for &lt;toolset&gt;darwin-4.2.1/&lt;macosx-version&gt;10.6 at /Developer/SDKs/MacOSX10.6.sdk notice: [python-cfg] Configuring python... notice: [python-cfg] user-specified version: "2.6" notice: [python-cfg] user-specified cmd-or-prefix: "/System/Library/Frameworks/Python.framework/Versions/2.6" notice: [python-cfg] Checking interpreter command "/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python"... notice: [python-cfg] running command '"/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python" -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2&gt;&amp;1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "/System/Library/Frameworks/Python.framework/Versions/2.6/bin/python" notice: [python-cfg] include path: "/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" notice: [python-cfg] library path: "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config" "/System/Library/Frameworks/Python.framework/Versions/2.6/lib" notice: [python-cfg] framework directory is "/System/Library/Frameworks/Python.framework" notice: [cmdline-cfg] Detected command-line request for darwin: toolset= darwin version= notice: [cmdline-cfg] toolset darwin already configured notice: iostreams: using prebuilt zlib notice: iostreams: using prebuilt bzip2 ...patience... ...patience... ...found 1604 targets... ...updating 54 targets... common.mkdir bin common.mkdir bin/test_ext.test common.mkdir bin/test_ext.test/darwin-4.2.1 common.mkdir bin/test_ext.test/darwin-4.2.1/debug common.mkdir bin/darwin-4.2.1 common.mkdir bin/darwin-4.2.1/debug darwin.compile.c++ bin/darwin-4.2.1/debug/extending.o common.mkdir ../../../../bin.v2 common.mkdir ../../../../bin.v2/libs common.mkdir ../../../../bin.v2/libs/python common.mkdir ../../../../bin.v2/libs/python/build common.mkdir ../../../../bin.v2/libs/python/build/darwin-4.2.1 common.mkdir ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/numeric.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/list.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/long.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/dict.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/tuple.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/str.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/slice.o common.mkdir ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/converter darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/converter/from_python.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/converter/registry.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/converter/type_id.o common.mkdir ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/enum.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/class.o ../../../../libs/python/src/object/class.cpp: In function ‘int boost::python::property_init(PyObject*, PyObject*, PyObject*)’: ../../../../libs/python/src/object/class.cpp:79: warning: deprecated conversion from string constant to ‘char*’ ../../../../libs/python/src/object/class.cpp:79: warning: deprecated conversion from string constant to ‘char*’ ../../../../libs/python/src/object/class.cpp:79: warning: deprecated conversion from string constant to ‘char*’ ../../../../libs/python/src/object/class.cpp:79: warning: deprecated conversion from string constant to ‘char*’ darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/function.o ../../../../libs/python/src/object/function.cpp: In member function ‘PyObject* boost::python::objects::function::call(PyObject*, PyObject*) const’: ../../../../libs/python/src/object/function.cpp:169: warning: comparison is always true due to limited range of data type darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/inheritance.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/life_support.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/pickle_support.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/errors.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/module.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/converter/builtin_converters.o ../../../../libs/python/src/converter/builtin_converters.cpp:369: warning: ‘boost::python::converter::&lt;unnamed&gt;::py_unicode_as_string_unaryfunc’ defined but not used darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/converter/arg_to_python_base.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/iterator.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/stl_iterator.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object_protocol.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object_operators.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/wrapper.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/import.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/exec.o darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/object/function_doc_signature.o darwin.link.dll ../../../../bin.v2/libs/python/build/darwin-4.2.1/debug/libboost_python.dylib darwin.link.dll bin/darwin-4.2.1/debug/extending.so </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 08 Aug 2011 00:27:54 GMT</pubDate> <title>version changed https://svn.boost.org/trac10/ticket/5154#comment:2 https://svn.boost.org/trac10/ticket/5154#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.45.0</span> → <span class="trac-field-new">Boost 1.46.1</span> </li> </ul> <p> Totally different build, including a locally built python-2.7.1, but the same problem: Here's the backtrace: </p> <p> <a class="missing ticket">#0</a> 0x97be8aca in ioctl () <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1" title="#1: Bugs: boost.build causes ftjam to segfault (closed: Wont Fix)">#1</a> 0x00511b24 in get_tty_settings () <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2" title="#2: Bugs: list::size should be const (closed: fixed)">#2</a> 0x00511b6d in rltty_set_default_bindings () <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3" title="#3: Bugs: automatic conversion and overload proble (closed: fixed)">#3</a> 0x0050bfee in rl_initialize () <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4" title="#4: Bugs: any_ptr in any library documentation? (closed: Fixed)">#4</a> 0x005050cc in setup_readline [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Modules/readline.c:912 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5" title="#5: Bugs: shared_ptr and self-owning objects (closed: Fixed)">#5</a> 0x005050cc in initreadline () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Modules/readline.c:1143 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6" title="#6: Bugs: tie in utility.hpp and tuple.hpp clash. (closed: Duplicate)">#6</a> 0x000dfa1e in _PyImport_LoadDynamicModule (name=0xbfffbc2b "readline", pathname=0xbfffb77b "/usr/local/gtk-stable/inst/lib/python2.7/lib-dynload/readline.so", fp=0xa09bc8e0) at ./Python/importdl.c:53 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7" title="#7: Bugs: g++ 2.96 requires NO_STRINGSTREAM (closed: Fixed)">#7</a> 0x000dd647 in load_module (name=0xbfffbc2b "readline", fp=0xa09bc8e0, pathname=&lt;value temporarily unavailable, due to optimizations&gt;, type=3, loader=0x0) at Python/import.c:1834 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8" title="#8: Bugs: prop in undirected graph + out_edges (closed: Works For Me)">#8</a> 0x000ddd21 in import_submodule (mod=0x14fed8, subname=0xbfffbc2b "readline", fullname=0xbfffbc2b "readline") at Python/import.c:2596 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9" title="#9: Bugs: config_info ambiguity error (closed: Invalid)">#9</a> 0x000de236 in load_next (mod=0x14fed8, altmod=0x14fed8, p_name=&lt;value temporarily unavailable, due to optimizations&gt;, buf=0xbfffbc2b "readline", p_buflen=0xbfffbc20) at Python/import.c:2416 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/10" title="#10: Bugs: allyourbase.jam file is bad. (closed: Out of Date)">#10</a> 0x000de532 in PyImport_ImportModuleLevel (name=0x2372b4 "readline", globals=0x477270, locals=0x14fed8, fromlist=0x14fed8, level=-1) at Python/import.c:2137 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11" title="#11: Bugs: why not using mt19937? (closed: Fixed)">#11</a> 0x000bbaef in builtin<span class="underline">_import</span> (self=0x0, args=0x2b64b0, kwds=0x0) at Python/bltinmodule.c:49 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/12" title="#12: Bugs: Can't specify VertexPredicate (closed: Fixed)">#12</a> 0x0000ffc5 in PyObject_Call (func=0x23ab48, arg=0x2b64b0, kw=0x0) at Objects/abstract.c:2529 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/13" title="#13: Bugs: iterator_adapter and abstract classes (closed: Out of Date)">#13</a> 0x000bccde in PyEval_CallObjectWithKeywords (func=0x23ab48, arg=0x2b64b0, kw=0x0) at Python/ceval.c:3882 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/14" title="#14: Feature Requests: Support for static data members (closed: Out of Date)">#14</a> 0x000c159f in PyEval_EvalFrameEx (f=0x3543b0, throwflag=0) at Python/ceval.c:2333 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/15" title="#15: Feature Requests: thread class needs join() with timeout (closed: None)">#15</a> 0x000c69fc in PyEval_EvalCodeEx (co=0x46c770, globals=0x477270, locals=0x0, args=0x2c4a5c, argcount=1, kws=0x4b5b04, kwcount=1, defs=0x49099c, defcount=4, closure=0x0) at Python/ceval.c:3253 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/16" title="#16: Feature Requests: way to defer thread creation needed (closed: None)">#16</a> 0x00041722 in function_call (func=0x494f30, arg=0x2c4a50, kw=0x4b8540) at Objects/funcobject.c:526 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/17" title="#17: Feature Requests: Socket wrapper class (closed: fixed)">#17</a> 0x0000ffc5 in PyObject_Call (func=0x494f30, arg=0x2c4a50, kw=0x4b8540) at Objects/abstract.c:2529 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/18" title="#18: Bugs: lexical_cast fails in some cases (closed: Fixed)">#18</a> 0x00022575 in instancemethod_call (func=0x494f30, arg=0x2c4a50, kw=0x4b8540) at Objects/classobject.c:2578 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/19" title="#19: Bugs: Problems building on NT &amp; Linux (closed: Out of Date)">#19</a> 0x0000ffc5 in PyObject_Call (func=0x40f0a8, arg=0x2c4a50, kw=0x4b8540) at Objects/abstract.c:2529 <a class="deleted ticket" href="https://svn.boost.org/trac10/ticket/20" title="#20: Support Requests: passwords in c++ programming (deleted)">#20</a> 0x000bf524 in do_call [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4231 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/21" title="#21: Bugs: Can't compile transitive closure example (closed: Out of Date)">#21</a> 0x000bf524 in call_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4036 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/22" title="#22: Support Requests: compilation failure on Linux RH 7.1 (closed: Wont Fix)">#22</a> 0x000bf524 in PyEval_EvalFrameEx (f=0x354240, throwflag=0) at Python/ceval.c:2666 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/23" title="#23: Bugs: Trivial doc error (closed: Fixed)">#23</a> 0x000c69fc in PyEval_EvalCodeEx (co=0x2bdec0, globals=0x2c5030, locals=0x0, args=0x4b52e4, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/24" title="#24: Bugs: smart_ptr.hpp warnings on vacpp (closed: Wont Fix)">#24</a> 0x0004161b in function_call (func=0x4b6e30, arg=0x4b52d8, kw=0x0) at Objects/funcobject.c:526 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/25" title="#25: Bugs: duplicate symbol string_compare on Sun (closed: Fixed)">#25</a> 0x0000ffc5 in PyObject_Call (func=0x4b6e30, arg=0x4b52d8, kw=0x0) at Objects/abstract.c:2529 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/26" title="#26: Feature Requests: mem_iter - iterator to object member (closed: wontfix)">#26</a> 0x00022575 in instancemethod_call (func=0x4b6e30, arg=0x4b52d8, kw=0x0) at Objects/classobject.c:2578 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/27" title="#27: Bugs: type_traits warnings on MSVC (1.26.0) (closed: Fixed)">#27</a> 0x0000ffc5 in PyObject_Call (func=0x409fd0, arg=0x2c4210, kw=0x0) at Objects/abstract.c:2529 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/28" title="#28: Bugs: template problems with common_factor.hpp (closed: Out of Date)">#28</a> 0x000bccde in PyEval_CallObjectWithKeywords (func=0x409fd0, arg=0x2c4210, kw=0x0) at Python/ceval.c:3882 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/29" title="#29: Bugs: Visual C++ and min/max specialization (closed: Fixed)">#29</a> 0x00025885 in PyInstance_New (klass=0x4a3c38, arg=0x2c4210, kw=0x0) at Objects/classobject.c:571 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/30" title="#30: Feature Requests: parser (closed: invalid)">#30</a> 0x0000ffc5 in PyObject_Call (func=0x4a3c38, arg=0x2c4210, kw=0x0) at Objects/abstract.c:2529 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/31" title="#31: Bugs: integer.hpp with MSVC 7 beta 2 (closed: Wont Fix)">#31</a> 0x000bf524 in do_call [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4231 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/32" title="#32: Support Requests: regex problem (closed: Invalid)">#32</a> 0x000bf524 in call_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4036 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/33" title="#33: Bugs: missing header (closed: None)">#33</a> 0x000bf524 in PyEval_EvalFrameEx (f=0x353f50, throwflag=0) at Python/ceval.c:2666 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/34" title="#34: Feature Requests: enhance shared_ptr with traits class (closed: Rejected)">#34</a> 0x000c69fc in PyEval_EvalCodeEx (co=0x2cb608, globals=0x2c5030, locals=0x0, args=0x34009c, argcount=2, kws=0x3400a4, kwcount=0, defs=0x4b99ec, defcount=3, closure=0x0) at Python/ceval.c:3253 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/35" title="#35: Bugs: Self division wrong in template rational (closed: Fixed)">#35</a> 0x000c4845 in fast_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4109 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/36" title="#36: Bugs: tools/build/jam_src/yyacc need exec mode (closed: Fixed)">#36</a> 0x000c4845 in PyEval_EvalFrameEx (f=0x33ff30, throwflag=0) at Python/ceval.c:4034 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/37" title="#37: Patches: Support for CodeWarrior for Palm OS 8 (closed: None)">#37</a> 0x000c69fc in PyEval_EvalCodeEx (co=0x2cc218, globals=0x2c5030, locals=0x0, args=0x3288ac, argcount=1, kws=0x3288b0, kwcount=1, defs=0x48797c, defcount=9, closure=0x0) at Python/ceval.c:3253 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/38" title="#38: Bugs: &#34;Property&#34; identifier name collision (closed: Fixed)">#38</a> 0x000c4845 in fast_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4109 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/39" title="#39: Bugs: Problem with {1,4} (closed: Works For Me)">#39</a> 0x000c4845 in PyEval_EvalFrameEx (f=0x328760, throwflag=0) at Python/ceval.c:4034 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/40" title="#40: Bugs: dijkstra_shortest_paths() loops (closed: Fixed)">#40</a> 0x000c69fc in PyEval_EvalCodeEx (co=0x299b60, globals=0x24d660, locals=0x0, args=0x3285c0, argcount=0, kws=0x3285c0, kwcount=0, defs=0x29599c, defcount=1, closure=0x0) at Python/ceval.c:3253 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/41" title="#41: Feature Requests: smart_ptr: (auto_ptr) constructor (closed: None)">#41</a> 0x000c4845 in fast_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4109 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/42" title="#42: Bugs: Can't compile example for boot thread (closed: None)">#42</a> 0x000c4845 in PyEval_EvalFrameEx (f=0x328480, throwflag=0) at Python/ceval.c:4034 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/43" title="#43: Bugs: shared_ptr and use of undefined type (closed: Fixed)">#43</a> 0x000c69fc in PyEval_EvalCodeEx (co=0x29f770, globals=0x24d660, locals=0x24d660, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/44" title="#44: Bugs: regex_match bidirectional-iterator bug (closed: Fixed)">#44</a> 0x000c6b47 in PyEval_EvalCode (co=0x29f770, globals=0x24d660, locals=0x24d660) at Python/ceval.c:667 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/45" title="#45: Tasks: build request expansion (closed: Accepted)">#45</a> 0x000eafcc in run_mod [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/pythonrun.c:1346 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/46" title="#46: Tasks: Perforce Jam 2.4 integration (closed: None)">#46</a> 0x000eafcc in PyRun_FileExFlags (fp=0xa09bc8e0, filename=0xbfffde23 "test_extending.py", start=257, globals=0x24d660, locals=0x24d660, closeit=1, flags=0xbfffdc6c) at Python/pythonrun.c:1332 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/47" title="#47: Tasks: V2 initialization behavior (closed: Fixed)">#47</a> 0x000eb334 in PyRun_SimpleFileExFlags (fp=0xa09bc8e0, filename=0xbfffde23 "test_extending.py", closeit=1, flags=0xbfffdc6c) at Python/pythonrun.c:936 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/48" title="#48: Tasks: Steal PWD from Matt Armstrong (closed: Fixed)">#48</a> 0x00102e15 in Py_Main (argc=1, argv=0xbfffdca8) at Modules/main.c:599 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/49" title="#49: Tasks: ARGV rule (closed: Fixed)">#49</a> 0x00002f35 in start () </p> Ticket anonymous Mon, 08 Aug 2011 00:54:44 GMT <link>https://svn.boost.org/trac10/ticket/5154#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5154#comment:3</guid> <description> <p> A bit more useful with debugging enabled in readline: </p> <pre class="wiki">#0 0x97be8aca in ioctl () #1 0x00512c39 in set_winsize (tty=0) at ../rltty.c:84 #2 0x00512e43 in get_tty_settings (tty=0, tiop=0xbfffb590) at ../rltty.c:458 #3 0x00513586 in rltty_set_default_bindings (kmap=0x536460) at ../rltty.c:878 #4 0x00513610 in rl_tty_set_default_bindings (kmap=0x536460) at ../rltty.c:889 #5 0x0050d301 in readline_default_bindings () at ../readline.c:1106 #6 0x0050d22a in readline_initialize_everything () at ../readline.c:1064 #7 0x0050d0a5 in rl_initialize () at ../readline.c:963 #8 0x005050cc in setup_readline [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Modules/readline.c:912 #9 0x005050cc in initreadline () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Modules/readline.c:1143 #10 0x000dfa1e in _PyImport_LoadDynamicModule (name=0xbfffbc2b "readline", pathname=0xbfffb77b "/usr/local/gtk-stable/inst/lib/python2.7/lib-dynload/readline.so", fp=0xa09bc8e0) at ./Python/importdl.c:53 #11 0x000dd647 in load_module (name=0xbfffbc2b "readline", fp=0xa09bc8e0, pathname=&lt;value temporarily unavailable, due to optimizations&gt;, type=3, loader=0x0) at Python/import.c:1834 #12 0x000ddd21 in import_submodule (mod=0x14fed8, subname=0xbfffbc2b "readline", fullname=0xbfffbc2b "readline") at Python/import.c:2596 #13 0x000de236 in load_next (mod=0x14fed8, altmod=0x14fed8, p_name=&lt;value temporarily unavailable, due to optimizations&gt;, buf=0xbfffbc2b "readline", p_buflen=0xbfffbc20) at Python/import.c:2416 #14 0x000de532 in PyImport_ImportModuleLevel (name=0x2372b4 "readline", globals=0x477270, locals=0x14fed8, fromlist=0x14fed8, level=-1) at Python/import.c:2137 #15 0x000bbaef in builtin___import__ (self=0x0, args=0x2b64b0, kwds=0x0) at Python/bltinmodule.c:49 #16 0x0000ffc5 in PyObject_Call (func=0x23ab48, arg=0x2b64b0, kw=0x0) at Objects/abstract.c:2529 #17 0x000bccde in PyEval_CallObjectWithKeywords (func=0x23ab48, arg=0x2b64b0, kw=0x0) at Python/ceval.c:3882 #18 0x000c159f in PyEval_EvalFrameEx (f=0x3543b0, throwflag=0) at Python/ceval.c:2333 #19 0x000c69fc in PyEval_EvalCodeEx (co=0x46c770, globals=0x477270, locals=0x0, args=0x2c4a5c, argcount=1, kws=0x4b5b04, kwcount=1, defs=0x49099c, defcount=4, closure=0x0) at Python/ceval.c:3253 #20 0x00041722 in function_call (func=0x494f30, arg=0x2c4a50, kw=0x4b8540) at Objects/funcobject.c:526 #21 0x0000ffc5 in PyObject_Call (func=0x494f30, arg=0x2c4a50, kw=0x4b8540) at Objects/abstract.c:2529 #22 0x00022575 in instancemethod_call (func=0x494f30, arg=0x2c4a50, kw=0x4b8540) at Objects/classobject.c:2578 #23 0x0000ffc5 in PyObject_Call (func=0x40f0a8, arg=0x2c4a50, kw=0x4b8540) at Objects/abstract.c:2529 #24 0x000bf524 in do_call [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4231 #25 0x000bf524 in call_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4036 #26 0x000bf524 in PyEval_EvalFrameEx (f=0x354240, throwflag=0) at Python/ceval.c:2666 #27 0x000c69fc in PyEval_EvalCodeEx (co=0x2bdec0, globals=0x2c5030, locals=0x0, args=0x4b52e4, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253 #28 0x0004161b in function_call (func=0x4b6e30, arg=0x4b52d8, kw=0x0) at Objects/funcobject.c:526 #29 0x0000ffc5 in PyObject_Call (func=0x4b6e30, arg=0x4b52d8, kw=0x0) at Objects/abstract.c:2529 #30 0x00022575 in instancemethod_call (func=0x4b6e30, arg=0x4b52d8, kw=0x0) at Objects/classobject.c:2578 #31 0x0000ffc5 in PyObject_Call (func=0x409fd0, arg=0x2c4210, kw=0x0) at Objects/abstract.c:2529 #32 0x000bccde in PyEval_CallObjectWithKeywords (func=0x409fd0, arg=0x2c4210, kw=0x0) at Python/ceval.c:3882 #33 0x00025885 in PyInstance_New (klass=0x4a3c38, arg=0x2c4210, kw=0x0) at Objects/classobject.c:571 #34 0x0000ffc5 in PyObject_Call (func=0x4a3c38, arg=0x2c4210, kw=0x0) at Objects/abstract.c:2529 #35 0x000bf524 in do_call [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4231 #36 0x000bf524 in call_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4036 #37 0x000bf524 in PyEval_EvalFrameEx (f=0x353f50, throwflag=0) at Python/ceval.c:2666 #38 0x000c69fc in PyEval_EvalCodeEx (co=0x2cb608, globals=0x2c5030, locals=0x0, args=0x34009c, argcount=2, kws=0x3400a4, kwcount=0, defs=0x4b99ec, defcount=3, closure=0x0) at Python/ceval.c:3253 #39 0x000c4845 in fast_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4109 #40 0x000c4845 in PyEval_EvalFrameEx (f=0x33ff30, throwflag=0) at Python/ceval.c:4034 #41 0x000c69fc in PyEval_EvalCodeEx (co=0x2cc218, globals=0x2c5030, locals=0x0, args=0x3288ac, argcount=1, kws=0x3288b0, kwcount=1, defs=0x48797c, defcount=9, closure=0x0) at Python/ceval.c:3253 #42 0x000c4845 in fast_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4109 #43 0x000c4845 in PyEval_EvalFrameEx (f=0x328760, throwflag=0) at Python/ceval.c:4034 #44 0x000c69fc in PyEval_EvalCodeEx (co=0x299b60, globals=0x24d660, locals=0x0, args=0x3285c0, argcount=0, kws=0x3285c0, kwcount=0, defs=0x29599c, defcount=1, closure=0x0) at Python/ceval.c:3253 #45 0x000c4845 in fast_function [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/ceval.c:4109 #46 0x000c4845 in PyEval_EvalFrameEx (f=0x328480, throwflag=0) at Python/ceval.c:4034 #47 0x000c69fc in PyEval_EvalCodeEx (co=0x29f770, globals=0x24d660, locals=0x24d660, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3253 #48 0x000c6b47 in PyEval_EvalCode (co=0x29f770, globals=0x24d660, locals=0x24d660) at Python/ceval.c:667 #49 0x000eafcc in run_mod [inlined] () at /Volumes/RAID1/local/gtk-stable/src/Python-2.7.2/Python/pythonrun.c:1346 #50 0x000eafcc in PyRun_FileExFlags (fp=0xa09bc8e0, filename=0xbfffde23 "test_extending.py", start=257, globals=0x24d660, locals=0x24d660, closeit=1, flags=0xbfffdc6c) at Python/pythonrun.c:1332 #51 0x000eb334 in PyRun_SimpleFileExFlags (fp=0xa09bc8e0, filename=0xbfffde23 "test_extending.py", closeit=1, flags=0xbfffdc6c) at Python/pythonrun.c:936 #52 0x00102e15 in Py_Main (argc=1, argv=0xbfffdca8) at Modules/main.c:599 #53 0x00002f35 in start () (gdb) f 1 #1 0x00512c39 in set_winsize (tty=0) at ../rltty.c:84 84 (void) ioctl (tty, TIOCSWINSZ, &amp;w); (gdb) list 79 { 80 #if defined (TIOCGWINSZ) 81 struct winsize w; 82 83 if (ioctl (tty, TIOCGWINSZ, &amp;w) == 0) 84 (void) ioctl (tty, TIOCSWINSZ, &amp;w); 85 #endif /* TIOCGWINSZ */ 86 } 87 88 #if defined (NO_TTY_DRIVER) (gdb) </pre> </description> <category>Ticket</category> </item> <item> <author>jamestwebber@…</author> <pubDate>Tue, 19 Feb 2013 23:14:56 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5154#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5154#comment:4</guid> <description> <p> (I've searched for answers to this for a long time, so I'm going to post my solution in multiple places) </p> <p> I was able to get all Boost Python tests (in /test and in /example/quickstart) by <strong>uninstalling</strong> the Homebrew-installed readline. This strongly suggests to me that a bug in readline is causing these tests to fail. </p> <p> While trying to figure this out, I noticed that only the tests using doctest were failing. doctest uses readline internally, and this might be causing an issue. As has been noted in other places, readline seems to have a bug in which it emits an extra character when first imported in python. At first this seemed unrelated but now I think it (or some other readline bug) is the cause of much headaches. </p> <p> This is rather unfortunate because uninstalling readline breaks the Python REPL (e.g. arrow keys no longer work). So obviously this is not a long-term fix, but it does answer some questions. Weirdly, readline is not necessarily for doctests to function. </p> <p> So, I don't have a patch or anything, but I think I have tracked down the bug to readline. </p> </description> <category>Ticket</category> </item> </channel> </rss>