[bind10-dev] Mac OS X builder

乔婧 qiaojingky at gmail.com
Thu Feb 17 08:17:14 UTC 2011


The core dump of this segmentation fault is as follows:

AppleMac-UsermatoMacBook-Pro-7:tests root# gdb ./qjtest.sh /cores/core.721
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC
2010)
Copyright 2004 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
"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

Reading symbols for shared libraries . done
Reading symbols for shared libraries ................
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]"

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]
.................................................................................................
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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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


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".


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".


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".


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


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".


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".

... done
#0  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000101d9bf6b in sqlite3PagerOpen ()
#2  0x0000000101d7a665 in sqlite3BtreeOpen ()
#3  0x0000000101d9513b in sqlite3BtreeFactory ()
#4  0x0000000101d95cad in openDatabase ()
#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
#6  0x000000010005ab94 in type_call (type=0x101d69b00, args=0x101f98110,
kwds=0x0) at Objects/typeobject.c:678
#7  0x000000010000c558 in PyObject_Call (func=0x101d69b00, arg=0x101f98110,
kw=0x0) at Objects/abstract.c:2160
#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
#9  0x00000001000a797d in PyEval_EvalFrameEx (f=0x1018da270,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3762
#10 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018da090,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#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
#12 0x000000010003585a in function_call (func=0x101d33380, arg=0x101fc1248,
kw=0x1018d5ec0) at Objects/funcobject.c:630
#13 0x000000010000c558 in PyObject_Call (func=0x101d33380, arg=0x101fc1248,
kw=0x1018d5ec0) at Objects/abstract.c:2160
#14 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d9990,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:4077
#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
#16 0x00000001000a7677 in fast_function [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3860
#17 0x00000001000a7677 in PyEval_EvalFrameEx (f=0x1018d97b0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3783
#18 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018d5ba0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#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
#20 0x000000010003585a in function_call (func=0x101fb79e0, arg=0x101fc10e0,
kw=0x1018d58b0) at Objects/funcobject.c:630
#21 0x000000010000c558 in PyObject_Call (func=0x101fb79e0, arg=0x101fc10e0,
kw=0x1018d58b0) at Objects/abstract.c:2160
#22 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d59d0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:4077
#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
#24 0x000000010003585a in function_call (func=0x101fb7af0, arg=0x101fb3e60,
kw=0x0) at Objects/funcobject.c:630
#25 0x000000010000c558 in PyObject_Call (func=0x101fb7af0, arg=0x101fb3e60,
kw=0x0) at Objects/abstract.c:2160
#26 0x000000010002230c in method_call (func=0x101fb7af0, arg=0x101fbca50,
kw=0x0) at Objects/classobject.c:319
#27 0x000000010000c558 in PyObject_Call (func=0x101cc64d0, arg=0x101fbca50,
kw=0x0) at Objects/abstract.c:2160
#28 0x000000010005fb53 in slot_tp_call (self=0x101fbc810, args=0x101fbca50,
kwds=0x0) at Objects/typeobject.c:4945
#29 0x000000010000c558 in PyObject_Call (func=0x101fbc810, arg=0x101fbca50,
kw=0x0) at Objects/abstract.c:2160
#30 0x00000001000a5838 in do_call [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982
#31 0x00000001000a5838 in call_function [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785
#32 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x1018d90a0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:2548
#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
#34 0x000000010003585a in function_call (func=0x101fb97c0, arg=0x101fc1128,
kw=0x1018d8f80) at Objects/funcobject.c:630
#35 0x000000010000c558 in PyObject_Call (func=0x101fb97c0, arg=0x101fc1128,
kw=0x1018d8f80) at Objects/abstract.c:2160
#36 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d8db0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:4077
#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
#38 0x000000010003585a in function_call (func=0x101fb9848, arg=0x101fb3ea8,
kw=0x0) at Objects/funcobject.c:630
#39 0x000000010000c558 in PyObject_Call (func=0x101fb9848, arg=0x101fb3ea8,
kw=0x0) at Objects/abstract.c:2160
#40 0x000000010002230c in method_call (func=0x101fb9848, arg=0x101fbc550,
kw=0x0) at Objects/classobject.c:319
#41 0x000000010000c558 in PyObject_Call (func=0x101cb2488, arg=0x101fbc550,
kw=0x0) at Objects/abstract.c:2160
#42 0x000000010005fb53 in slot_tp_call (self=0x101fbc7d0, args=0x101fbc550,
kwds=0x0) at Objects/typeobject.c:4945
#43 0x000000010000c558 in PyObject_Call (func=0x101fbc7d0, arg=0x101fbc550,
kw=0x0) at Objects/abstract.c:2160
#44 0x00000001000a5838 in do_call [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982
#45 0x00000001000a5838 in call_function [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785
#46 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x1018d8a20,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:2548
#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
#48 0x000000010003585a in function_call (func=0x101fb97c0, arg=0x101fb3ef0,
kw=0x1018d8900) at Objects/funcobject.c:630
#49 0x000000010000c558 in PyObject_Call (func=0x101fb97c0, arg=0x101fb3ef0,
kw=0x1018d8900) at Objects/abstract.c:2160
#50 0x00000001000a5d1b in PyEval_EvalFrameEx (f=0x1018d8730,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:4077
#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
#52 0x000000010003585a in function_call (func=0x101fb9848, arg=0x101fb3e18,
kw=0x0) at Objects/funcobject.c:630
#53 0x000000010000c558 in PyObject_Call (func=0x101fb9848, arg=0x101fb3e18,
kw=0x0) at Objects/abstract.c:2160
#54 0x000000010002230c in method_call (func=0x101fb9848, arg=0x101f982d0,
kw=0x0) at Objects/classobject.c:319
#55 0x000000010000c558 in PyObject_Call (func=0x101cb25a8, arg=0x101f982d0,
kw=0x0) at Objects/abstract.c:2160
#56 0x000000010005fb53 in slot_tp_call (self=0x101fbc710, args=0x101f982d0,
kwds=0x0) at Objects/typeobject.c:4945
#57 0x000000010000c558 in PyObject_Call (func=0x101fbc710, arg=0x101f982d0,
kw=0x0) at Objects/abstract.c:2160
#58 0x00000001000a5838 in do_call [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982
#59 0x00000001000a5838 in call_function [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785
#60 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x1018d7a80,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:2548
#61 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018d7190,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#62 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018c1ec0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#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
#64 0x000000010003585a in function_call (func=0x101fbdf30, arg=0x101f30cd0,
kw=0x0) at Objects/funcobject.c:630
#65 0x000000010000c558 in PyObject_Call (func=0x101fbdf30, arg=0x101f30cd0,
kw=0x0) at Objects/abstract.c:2160
#66 0x000000010002230c in method_call (func=0x101fbdf30, arg=0x1002a4050,
kw=0x0) at Objects/classobject.c:319
#67 0x000000010000c558 in PyObject_Call (func=0x101ca7e18, arg=0x1002a4050,
kw=0x0) at Objects/abstract.c:2160
#68 0x00000001000673b1 in slot_tp_init (self=0x101f8e210, args=0x1002a4050,
kwds=0x0) at Objects/typeobject.c:5205
#69 0x000000010005ab94 in type_call (type=0x1018d5060, args=0x1002a4050,
kwds=0x0) at Objects/typeobject.c:678
#70 0x000000010000c558 in PyObject_Call (func=0x1018d5060, arg=0x1002a4050,
kw=0x0) at Objects/abstract.c:2160
#71 0x00000001000a5838 in do_call [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3982
#72 0x00000001000a5838 in call_function [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3785
#73 0x00000001000a5838 in PyEval_EvalFrameEx (f=0x101e10680,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:2548
#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
#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
#76 0x00000001000a080e in builtin_exec (self=<value temporarily unavailable,
due to optimizations>, args=<value temporarily unavailable, due to
optimizations>) at Python/bltinmodule.c:790
#77 0x00000001000a797d in PyEval_EvalFrameEx (f=0x101e0f940,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3762
#78 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1003e5c30,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#79 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x1018833c0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#80 0x00000001000a8067 in PyEval_EvalFrameEx (f=0x101861ae0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3850
#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
#82 0x00000001000a7677 in fast_function [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/ceval.c:3860
#83 0x00000001000a7677 in PyEval_EvalFrameEx (f=0x100356da0,
throwflag=<value temporarily unavailable, due to optimizations>) at
Python/ceval.c:3783
#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
#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
#86 0x00000001000d0af6 in run_mod [inlined] () at
/Users/applemacuser/Downloads/bind10/Python-3.1.2/Python/pythonrun.c:1701
#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
#88 0x00000001000d0dc9 in PyRun_SimpleFileExFlags (fp=0x7fff700fff40,
filename=0x1006ac1d8 "/usr/local/bin/coverage", closeit=1,
flags=0x7fff5fbff760) at Python/pythonrun.c:1186
#89 0x00000001000e4bab in Py_Main (argc=<value temporarily unavailable, due
to optimizations>, argv=0x100306f90) at Modules/main.c:598
#90 0x0000000100000b65 in main (argc=6, argv=0x7fff5fbff900) at
./Modules/python.c:152


2011/2/16 Jeremy C. Reed <jreed at isc.org>

> On Tue, 15 Feb 2011, qiaojing wrote:
>
> > Running test: sqlite3_ds_test.py
> > /bin/sh: line 1: 44842 Segmentation fault      env
> >
> PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/l
> >
> ib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/li
> >
> b/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib
> > /python/isc/log
> >
> TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/sr
> >
> c/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branc
> >
> h --append/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/i
>
>
> Not sure if this is an email formatting problem, but notice no space
> above between "--append" and "/Users/".
>
>
> > sc/datasrc/tests/$pytest
> > make[7]: *** [check-local] Error 139
>
> So I think this means that the previous test, master_test.py, did
> successfully run using coverage.
>
> Please manually run the coverage command, like:
>
> cd src/lib/python/isc/datasrc/tests/
>
> 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
>
> (Sorry that is one long line.)
>
> Try to look at the core dump with gdb and see if there is anything of
> interest.
>
> I may try to reproduce this on Mac OS X.
>
> > When removes configure option --with-pycoverage=/usr/local/bin/coverage,
> > the problem disappears.
> > The coverage program is:
> > AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ coverage --version
> > Coverage.py, version 3.4.  http://nedbatchelder.com/code/coverage
>
>   Jeremy C. Reed
>  ISC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110217/5c80dff2/attachment.html>


More information about the bind10-dev mailing list