I found it was the sqlite3 installation problem, and I downloaded a tarball and installed it over again. <div>Now the problem is fixed, finally! </div><div><br></div><div>Thanks for your help and it really directs me to the right way of solving the problem.</div>
<div><br></div><div>Qiao Jing</div><div><div><div><br><div class="gmail_quote">2011/2/17 ÇÇæº <span dir="ltr"><<a href="mailto:qiaojingky@gmail.com">qiaojingky@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The core dump of this segmentation fault is as follows:<div><br></div><div><div>AppleMac-UsermatoMacBook-Pro-7:tests root# gdb ./qjtest.sh /cores/core.721 </div><div>GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC 2010)</div>

<div>Copyright 2004 Free Software Foundation, Inc.</div><div>GDB is free software, covered by the GNU General Public License, and you are</div><div>welcome to change it and/or distribute copies of it under certain conditions.</div>

<div>Type "show copying" to see the conditions.</div><div>There is absolutely no warranty for GDB.  Type "show warranty" for details.</div><div>This GDB was configured as "x86_64-apple-darwin"..."/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/qjtest.sh": not in executable format: File format not recognized</div>

<div><br></div><div>Reading symbols for shared libraries . done</div><div>Reading symbols for shared libraries ................</div><div>warning: .o file "/Users/applemacuser/Downloads/bind10/Python-3.1.2/build/temp.macosx-10.4-x86_64-3.1/Users/applemacuser/Downloads/bind10/Python-3.1.2/Modules/timemodule.o" more recent than executable timestamp in "[memory object "/usr/local/lib/python3.1/lib-dynload/time.so" at 0x100725000]"</div>

<div><br></div><div>warning: Could not open OSO file /Users/applemacuser/Downloads/bind10/Python-3.1.2/build/temp.macosx-10.4-x86_64-3.1/Users/applemacuser/Downloads/bind10/Python-3.1.2/Modules/timemodule.o to scan for pubtypes for objfile [memory object "/usr/local/lib/python3.1/lib-dynload/time.so" at 0x100725000]</div>

<div>.................................................................................................</div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/alter.o" - no debug information available for "../sqlite-3.5.6/src/alter.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/analyze.o" - no debug information available for "../sqlite-3.5.6/src/analyze.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/attach.o" - no debug information available for "../sqlite-3.5.6/src/attach.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/auth.o" - no debug information available for "../sqlite-3.5.6/src/auth.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/btmutex.o" - no debug information available for "../sqlite-3.5.6/src/btmutex.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/btree.o" - no debug information available for "../sqlite-3.5.6/src/btree.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/build.o" - no debug information available for "../sqlite-3.5.6/src/build.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/callback.o" - no debug information available for "../sqlite-3.5.6/src/callback.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/complete.o" - no debug information available for "../sqlite-3.5.6/src/complete.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/date.o" - no debug information available for "../sqlite-3.5.6/src/date.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/delete.o" - no debug information available for "../sqlite-3.5.6/src/delete.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/expr.o" - no debug information available for "../sqlite-3.5.6/src/expr.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/fault.o" - no debug information available for "../sqlite-3.5.6/src/fault.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/func.o" - no debug information available for "../sqlite-3.5.6/src/func.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/hash.o" - no debug information available for "../sqlite-3.5.6/src/hash.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/insert.o" - no debug information available for "../sqlite-3.5.6/src/insert.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/main.o" - no debug information available for "../sqlite-3.5.6/src/main.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/malloc.o" - no debug information available for "../sqlite-3.5.6/src/malloc.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/mem1.o" - no debug information available for "../sqlite-3.5.6/src/mem1.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/mutex_unix.o" - no debug information available for "../sqlite-3.5.6/src/mutex_unix.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/opcodes.o" - no debug information available for "opcodes.c".</div><div><br>

</div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/os.o" - no debug information available for "../sqlite-3.5.6/src/os.c".</div><div>
<br>
</div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/os_unix.o" - no debug information available for "../sqlite-3.5.6/src/os_unix.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/pager.o" - no debug information available for "../sqlite-3.5.6/src/pager.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/parse.o" - no debug information available for "parse.c".</div><div><br></div>

<div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/pragma.o" - no debug information available for "../sqlite-3.5.6/src/pragma.c".</div><div>

<br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/prepare.o" - no debug information available for "../sqlite-3.5.6/src/prepare.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/printf.o" - no debug information available for "../sqlite-3.5.6/src/printf.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/random.o" - no debug information available for "../sqlite-3.5.6/src/random.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/select.o" - no debug information available for "../sqlite-3.5.6/src/select.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/table.o" - no debug information available for "../sqlite-3.5.6/src/table.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/tokenize.o" - no debug information available for "../sqlite-3.5.6/src/tokenize.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/trigger.o" - no debug information available for "../sqlite-3.5.6/src/trigger.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/update.o" - no debug information available for "../sqlite-3.5.6/src/update.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/util.o" - no debug information available for "../sqlite-3.5.6/src/util.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vacuum.o" - no debug information available for "../sqlite-3.5.6/src/vacuum.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vdbe.o" - no debug information available for "../sqlite-3.5.6/src/vdbe.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vdbeapi.o" - no debug information available for "../sqlite-3.5.6/src/vdbeapi.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vdbeaux.o" - no debug information available for "../sqlite-3.5.6/src/vdbeaux.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vdbeblob.o" - no debug information available for "../sqlite-3.5.6/src/vdbeblob.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vdbefifo.o" - no debug information available for "../sqlite-3.5.6/src/vdbefifo.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vdbemem.o" - no debug information available for "../sqlite-3.5.6/src/vdbemem.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/where.o" - no debug information available for "../sqlite-3.5.6/src/where.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/utf.o" - no debug information available for "../sqlite-3.5.6/src/utf.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/legacy.o" - no debug information available for "../sqlite-3.5.6/src/legacy.c".</div>

<div><br></div><div><br></div><div>warning: Could not find object file "/Users/applemacuser/Downloads/bind10/sqlite-3.5.6/.libs/vtab.o" - no debug information available for "../sqlite-3.5.6/src/vtab.c".</div>

<div><br></div><div>... done</div><div>#0  0x0000000000000000 in ?? ()</div><div>(gdb) bt</div><div>#0  0x0000000000000000 in ?? ()</div><div>#1  0x0000000101d9bf6b in sqlite3PagerOpen ()</div><div>#2  0x0000000101d7a665 in sqlite3BtreeOpen ()</div>

<div>#3  0x0000000101d9513b in sqlite3BtreeFactory ()</div><div>#4  0x0000000101d95cad in openDatabase ()</div><div>#5  0x0000000101d616f9 in pysqlite_connection_init (self=0x101ccc978, args=<value temporarily unavailable, due to optimizations>, kwargs=<value temporarily unavailable, due to optimizations>) at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Modules/_sqlite/connection.c:84</div>

<div>#6  0x000000010005ab94 in type_call (type=0x101d69b00, args=0x101f98110, kwds=0x0) at Objects/typeobject.c:678</div><div>#7  0x000000010000c558 in PyObject_Call (func=0x101d69b00, arg=0x101f98110, kw=0x0) at Objects/abstract.c:2160</div>

<div>#8  0x0000000101d643c0 in module_connect (self=<value temporarily unavailable, due to optimizations>, args=0x101f98110, kwargs=0x0) at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Modules/_sqlite/module.c:74</div>

<div>#9  0x00000001000a797d in PyEval_EvalFrameEx (f=0x1018da270, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3762</div><div>#10 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018da090, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div>

<div>#11 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101cbbeb0, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fc1260, argcount=2, kws=0x1002a4068, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#12 0x000000010003585a in function_call (func=0x101d33380, arg=0x101fc1248, kw=0x1018d5ec0) at Objects/funcobject.c:630</div><div>#13 0x000000010000c558 in PyObject_Call (func=0x101d33380, arg=0x101fc1248, kw=0x1018d5ec0) at Objects/abstract.c:2160</div>

<div>#14 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d9990, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:4077</div><div>#15 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f83130, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x1018d9938, argcount=5, kws=0x1018d9960, kwcount=0, defs=0x101fb0828, defcount=1, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#16 0x00000001000a7677 in fast_function [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3860</div><div>#17 0x00000001000a7677 in PyEval_EvalFrameEx (f=0x1018d97b0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3783</div>

<div>#18 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018d5ba0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div><div>#19 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f7cc30, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fc10f8, argcount=2, kws=0x1002a4068, kwcount=0, defs=0x101fb0728, defcount=1, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#20 0x000000010003585a in function_call (func=0x101fb79e0, arg=0x101fc10e0, kw=0x1018d58b0) at Objects/funcobject.c:630</div><div>#21 0x000000010000c558 in PyObject_Call (func=0x101fb79e0, arg=0x101fc10e0, kw=0x1018d58b0) at Objects/abstract.c:2160</div>

<div>#22 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d59d0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:4077</div><div>#23 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f7cd30, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fb3e78, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#24 0x000000010003585a in function_call (func=0x101fb7af0, arg=0x101fb3e60, kw=0x0) at Objects/funcobject.c:630</div><div>#25 0x000000010000c558 in PyObject_Call (func=0x101fb7af0, arg=0x101fb3e60, kw=0x0) at Objects/abstract.c:2160</div>

<div>#26 0x000000010002230c in method_call (func=0x101fb7af0, arg=0x101fbca50, kw=0x0) at Objects/classobject.c:319</div><div>#27 0x000000010000c558 in PyObject_Call (func=0x101cc64d0, arg=0x101fbca50, kw=0x0) at Objects/abstract.c:2160</div>

<div>#28 0x000000010005fb53 in slot_tp_call (self=0x101fbc810, args=0x101fbca50, kwds=0x0) at Objects/typeobject.c:4945</div><div>#29 0x000000010000c558 in PyObject_Call (func=0x101fbc810, arg=0x101fbca50, kw=0x0) at Objects/abstract.c:2160</div>

<div>#30 0x00000001000a5838 in do_call [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982</div><div>#31 0x00000001000a5838 in call_function [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785</div>

<div>#32 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x1018d90a0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:2548</div><div>#33 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f8c830, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fc1140, argcount=2, kws=0x1002a4068, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#34 0x000000010003585a in function_call (func=0x101fb97c0, arg=0x101fc1128, kw=0x1018d8f80) at Objects/funcobject.c:630</div><div>#35 0x000000010000c558 in PyObject_Call (func=0x101fb97c0, arg=0x101fc1128, kw=0x1018d8f80) at Objects/abstract.c:2160</div>

<div>#36 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d8db0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:4077</div><div>#37 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f8c8b0, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fb3ec0, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#38 0x000000010003585a in function_call (func=0x101fb9848, arg=0x101fb3ea8, kw=0x0) at Objects/funcobject.c:630</div><div>#39 0x000000010000c558 in PyObject_Call (func=0x101fb9848, arg=0x101fb3ea8, kw=0x0) at Objects/abstract.c:2160</div>

<div>#40 0x000000010002230c in method_call (func=0x101fb9848, arg=0x101fbc550, kw=0x0) at Objects/classobject.c:319</div><div>#41 0x000000010000c558 in PyObject_Call (func=0x101cb2488, arg=0x101fbc550, kw=0x0) at Objects/abstract.c:2160</div>

<div>#42 0x000000010005fb53 in slot_tp_call (self=0x101fbc7d0, args=0x101fbc550, kwds=0x0) at Objects/typeobject.c:4945</div><div>#43 0x000000010000c558 in PyObject_Call (func=0x101fbc7d0, arg=0x101fbc550, kw=0x0) at Objects/abstract.c:2160</div>

<div>#44 0x00000001000a5838 in do_call [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982</div><div>#45 0x00000001000a5838 in call_function [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785</div>

<div>#46 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x1018d8a20, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:2548</div><div>#47 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f8c830, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fb3f08, argcount=2, kws=0x1002a4068, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#48 0x000000010003585a in function_call (func=0x101fb97c0, arg=0x101fb3ef0, kw=0x1018d8900) at Objects/funcobject.c:630</div><div>#49 0x000000010000c558 in PyObject_Call (func=0x101fb97c0, arg=0x101fb3ef0, kw=0x1018d8900) at Objects/abstract.c:2160</div>

<div>#50 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d8730, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:4077</div><div>#51 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f8c8b0, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101fb3e30, argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#52 0x000000010003585a in function_call (func=0x101fb9848, arg=0x101fb3e18, kw=0x0) at Objects/funcobject.c:630</div><div>#53 0x000000010000c558 in PyObject_Call (func=0x101fb9848, arg=0x101fb3e18, kw=0x0) at Objects/abstract.c:2160</div>

<div>#54 0x000000010002230c in method_call (func=0x101fb9848, arg=0x101f982d0, kw=0x0) at Objects/classobject.c:319</div><div>#55 0x000000010000c558 in PyObject_Call (func=0x101cb25a8, arg=0x101f982d0, kw=0x0) at Objects/abstract.c:2160</div>

<div>#56 0x000000010005fb53 in slot_tp_call (self=0x101fbc710, args=0x101f982d0, kwds=0x0) at Objects/typeobject.c:4945</div><div>#57 0x000000010000c558 in PyObject_Call (func=0x101fbc710, arg=0x101f982d0, kw=0x0) at Objects/abstract.c:2160</div>

<div>#58 0x00000001000a5838 in do_call [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982</div><div>#59 0x00000001000a5838 in call_function [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785</div>

<div>#60 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x1018d7a80, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:2548</div><div>#61 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018d7190, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div>

<div>#62 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018c1ec0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div><div>#63 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101f97ab0, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x101f30ce8, argcount=1, kws=0x0, kwcount=0, defs=0x101fa0820, defcount=6, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#64 0x000000010003585a in function_call (func=0x101fbdf30, arg=0x101f30cd0, kw=0x0) at Objects/funcobject.c:630</div><div>#65 0x000000010000c558 in PyObject_Call (func=0x101fbdf30, arg=0x101f30cd0, kw=0x0) at Objects/abstract.c:2160</div>

<div>#66 0x000000010002230c in method_call (func=0x101fbdf30, arg=0x1002a4050, kw=0x0) at Objects/classobject.c:319</div><div>#67 0x000000010000c558 in PyObject_Call (func=0x101ca7e18, arg=0x1002a4050, kw=0x0) at Objects/abstract.c:2160</div>

<div>#68 0x00000001000673b1 in slot_tp_init (self=0x101f8e210, args=0x1002a4050, kwds=0x0) at Objects/typeobject.c:5205</div><div>#69 0x000000010005ab94 in type_call (type=0x1018d5060, args=0x1002a4050, kwds=0x0) at Objects/typeobject.c:678</div>

<div>#70 0x000000010000c558 in PyObject_Call (func=0x1018d5060, arg=0x1002a4050, kw=0x0) at Objects/abstract.c:2160</div><div>#71 0x00000001000a5838 in do_call [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982</div>

<div>#72 0x00000001000a5838 in call_function [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785</div><div>#73 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x101e10680, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:2548</div>

<div>#74 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101c3c9b0, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#75 0x00000001000a973f in PyEval_EvalCode (co=<value temporarily unavailable, due to optimizations>, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:668</div>

<div>#76 0x00000001000a080e in builtin_exec (self=<value temporarily unavailable, due to optimizations>, args=<value temporarily unavailable, due to optimizations>) at Python/bltinmodule.c:790</div><div>#77 0x00000001000a797d in PyEval_EvalFrameEx (f=0x101e0f940, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3762</div>

<div>#78 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1003e5c30, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div><div>#79 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018833c0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div>

<div>#80 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x101861ae0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3850</div><div>#81 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x101c56330, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x100356f28, argcount=0, kws=0x100356f28, kwcount=0, defs=0x101c93628, defcount=1, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#82 0x00000001000a7677 in fast_function [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3860</div><div>#83 0x00000001000a7677 in PyEval_EvalFrameEx (f=0x100356da0, throwflag=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:3783</div>

<div>#84 0x00000001000a96cf in PyEval_EvalCodeEx (co=0x10058dc30, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3198</div>

<div>#85 0x00000001000a973f in PyEval_EvalCode (co=<value temporarily unavailable, due to optimizations>, globals=<value temporarily unavailable, due to optimizations>, locals=<value temporarily unavailable, due to optimizations>) at Python/ceval.c:668</div>

<div>#86 0x00000001000d0af6 in run_mod [inlined] () at /Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/pythonrun.c:1701</div><div>#87 0x00000001000d0af6 in PyRun_FileExFlags (fp=0x7fff700fff40, filename=0x1006ac1d8 "/usr/local/bin/coverage", start=<value temporarily unavailable, due to optimizations>, globals=0x10031c800, locals=0x10031c800, closeit=1, flags=0x7fff5fbff760) at Python/pythonrun.c:1658</div>

<div>#88 0x00000001000d0dc9 in PyRun_SimpleFileExFlags (fp=0x7fff700fff40, filename=0x1006ac1d8 "/usr/local/bin/coverage", closeit=1, flags=0x7fff5fbff760) at Python/pythonrun.c:1186</div><div>#89 0x00000001000e4bab in Py_Main (argc=<value temporarily unavailable, due to optimizations>, argv=0x100306f90) at Modules/main.c:598</div>

<div>#90 0x0000000100000b65 in main (argc=6, argv=0x7fff5fbff900) at ./Modules/python.c:152</div><div><br></div><br><div class="gmail_quote">2011/2/16 Jeremy C. Reed <span dir="ltr"><<a href="mailto:jreed@isc.org" target="_blank">jreed@isc.org</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, 15 Feb 2011, qiaojing wrote:<br>
<br>
> Running test: sqlite3_ds_test.py<br>
> /bin/sh: line 1: 44842 Segmentation fault      env<br>
> PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/l<br>
> ib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/li<br>
> b/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib<br>
> /python/isc/log<br>
> TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/sr<br>
> c/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branc<br>
> h --append/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/i<br>
<br>
<br>
</div>Not sure if this is an email formatting problem, but notice no space<br>
above between "--append" and "/Users/".<br>
<div><br>
<br>
> sc/datasrc/tests/$pytest<br>
> make[7]: *** [check-local] Error 139<br>
<br>
</div>So I think this means that the previous test, master_test.py, did<br>
successfully run using coverage.<br>
<br>
Please manually run the coverage command, like:<br>
<br>
cd src/lib/python/isc/datasrc/tests/<br>
<br>
env PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/log TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branch --append /Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/ sqlite3_ds_test.py<br>


<br>
(Sorry that is one long line.)<br>
<br>
Try to look at the core dump with gdb and see if there is anything of<br>
interest.<br>
<br>
I may try to reproduce this on Mac OS X.<br>
<div><div></div><div><br>
> When removes configure option --with-pycoverage=/usr/local/bin/coverage, <br>
> the problem disappears.<br>
> The coverage program is:<br>
> AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ coverage --version<br>
> Coverage.py, version 3.4.  <a href="http://nedbatchelder.com/code/coverage" target="_blank">http://nedbatchelder.com/code/coverage</a><br>
<br>
</div></div><font color="#888888">  Jeremy C. Reed<br>
  ISC</font></blockquote></div></div></div><br></div>
</blockquote></div><br></div></div></div>