backtrace: #0 0x00007ffff78753d5 in malloc_consolidate (av=av@entry=0x7ffff7bb5760 ) at malloc.c:4165 fb = maxfb = 0x7ffff7bb57b0 p = 0xe9b240 nextp = 0xe71390 unsorted_bin = 0x7ffff7bb57b8 first_unsorted = nextchunk = 0xe9b260 size = 64 nextsize = 32 prevsize = nextinuse = 0 bck = 0x0 fwd = 0xd00000000 __func__ = "malloc_consolidate" #1 0x00007ffff78760fd in _int_free (av=0x7ffff7bb5760 , p=, have_lock=0) at malloc.c:4057 size = 65728 fb = nextchunk = 0xfeac50 nextsize = 114704 nextinuse = prevsize = bck = fwd = errstr = 0x0 locked = #2 0x00007fffdccf37f2 in bu_free (ptr=0xfdaba0, str=0x7fffdee78137 "struct db_i") at /home/user/Downloads/brlcad-7.24.0/src/libbu/malloc.c:350 nul = 0x7fffdcd16e2c "(null)" #3 0x00007fffdea5024b in db_close (dbip=0xfdaba0) at /home/user/Downloads/brlcad-7.24.0/src/librt/db_open.c:379 i = 8192 dp = 0x0 nextdp = 0x0 #4 0x00007fffdee6bda4 in wdb_close (wdbp=0xd50aa0) at /home/user/Downloads/brlcad-7.24.0/src/librt/wdb.c:345 No locals. #5 0x00007fffee3e3adc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 No symbol table info available. #6 0x00007fffee3e340c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 No symbol table info available. #7 0x00007fffee5fa5fe in _call_function_pointer (argcount=1, resmem=0x7fffffffd360, restype=, atypes=, avalues=0x7fffffffd340, pProc=0x7fffdee6bc4e , flags=4353) at /build/buildd/python2.7-2.7.6/Modules/_ctypes/callproc.c:836 error_object = 0x0 cc = 2 _save = 0x9440a0 space = 0x7fffffffd488 cif = {abi = FFI_UNIX64, nargs = 1, arg_types = 0x7fffffffd320, rtype = 0x7fffee803c70 , bytes = 0, flags = 10} #8 _ctypes_callproc (pProc=pProc@entry=0x7fffdee6bc4e , argtuple=argtuple@entry=(,), flags=4353, argtypes=argtypes@entry=(,), restype=restype@entry=None, checker=checker@entry=0x0) at /build/buildd/python2.7-2.7.6/Modules/_ctypes/callproc.c:1183 i = n = 1 argcount = 1 argtype_count = resbuf = args = 0x7fffffffd380 pa = atypes = rtype = avalues = retval = 0x0 #9 0x00007fffee5fbf9e in PyCFuncPtr_call (self=, inargs=, kwds=) at /build/buildd/python2.7-2.7.6/Modules/_ctypes/_ctypes.c:3923 restype = None converters = (,) checker = 0x0 argtypes = dict = result = errcheck = 0x0 pProc = 0x7fffdee6bc4e inoutmask = outmask = numretvals = #10 0x000000000052cc20 in PyObject_Call (kw=0x0, arg=(,), func=<_FuncPtr(__name__='wdb_close') at remote 0x7fffdb568c80>) at ../Objects/abstract.c:2529 result = call = 0x7fffee5fbe90 #11 do_call (nk=, na=, pp_stack=0x7fffffffd630, func=<_FuncPtr(__name__='wdb_close') at remote 0x7fffdb568c80>) at ../Python/ceval.c:4238 callargs = kwdict = 0x0 result = 0x0 #12 call_function (oparg=, pp_stack=0x7fffffffd630) at ../Python/ceval.c:4043 func = <_FuncPtr(__name__='wdb_close') at remote 0x7fffdb568c80> w = na = nk = n = pfunc = 0x7fffdb3a61d0 x = #13 PyEval_EvalFrameEx (f=f@entry=Frame 0x7fffdb3a6050, for file /usr/local/lib/python2.7/dist-packages/brlcad-0.0.1-py2.7.egg/brlcad/wdb.py, line 125, in close (self=, db_ip=) at remote 0x7fffdb38f7e8>), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 sp = 0x7fffdb3a61d8 stack_pointer = next_instr = 0x7ffff05ea3e3 "\001d" opcode = oparg = why = WHY_NOT err = x = v = w = u = t = stream = 0x0 fastlocals = 0x7fffdb3a61c8 freevars = retval = tstate = co = instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = consts = enter = '__enter__' exit = '__exit__' #14 0x000000000052cf32 in fast_function (nk=, na=, n=1, pp_stack=0x7fffffffd770, func=) at ../Python/ceval.c:4106 retval = 0x0 fastlocals = 0x7fffdb3a61c8 i = f = Frame 0x7fffdb3a6050, for file /usr/local/lib/python2.7/dist-packages/brlcad-0.0.1-py2.7.egg/brlcad/wdb.py, line 125, in close (self=, db_ip=) at remote 0x7fffdb38f7e8>) tstate = 0x9440a0 stack = co = nd = 0 globals = argdefs = d = 0x0 #15 call_function (oparg=, pp_stack=0x7fffffffd770) at ../Python/ceval.c:4041 func = w = na = nk = n = 1 pfunc = 0x7fffdb396988 x = #16 PyEval_EvalFrameEx (f=f@entry=Frame 0x7fffdb3967f0, for file /usr/local/lib/python2.7/dist-packages/brlcad-0.0.1-py2.7.egg/brlcad/wdb.py, line 414, in __exit__ (self=, db_ip=) at remote 0x7fffdb38f7e8>, exc_type=None, exc_val=None, exc_tb=None), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 sp = 0x7fffdb396990 stack_pointer = next_instr = 0x7ffff05f2795 "\001t\001" opcode = oparg = why = WHY_NOT err = x = v = w = u = t = stream = 0x0 fastlocals = 0x7fffdb396968 freevars = retval = tstate = co = instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = consts = enter = '__enter__' exit = '__exit__' #17 0x000000000056d0aa in PyEval_EvalCodeEx (closure=, defcount=, defs=0x0, kwcount=, kws=, argcount=-616994832, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252 retval = 0x0 fastlocals = freevars = u = f = tstate = x = #18 function_call (func=func@entry=, arg=arg@entry=(, db_ip=) at remote 0x7fffdb38f7e8>, None, None, None), kw=kw@entry=0x0) at ../Objects/funcobject.c:526 argdefs = kwtuple = d = k = nk = nd = #19 0x00000000004d9854 in PyObject_Call (kw=0x0, arg=(, db_ip=) at remote 0x7fffdb38f7e8>, None, None, None), func=) at ../Objects/abstract.c:2529 result = call = 0x56cdc0 #20 instancemethod_call.8802 (func=, func@entry=, arg=(, db_ip=) at remote 0x7fffdb38f7e8>, None, None, None), arg@entry=(None, None, None), kw=kw@entry=0x0) at ../Objects/classobject.c:2602 self = klass = #21 0x000000000054a328 in PyObject_Call (kw=0x0, arg=(None, None, None), func=) at ../Objects/abstract.c:2529 result = call = 0x4d9700 #22 PyObject_CallFunctionObjArgs (callable=callable@entry=) at ../Objects/abstract.c:2760 args = (None, None, None) vargs = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffffffdbc0, reg_save_area = 0x7fffffffdaf0}} #23 0x000000000052e8a3 in PyEval_EvalFrameEx (f=f@entry=Frame 0x97af80, for file wdb_primitives.py, line 200, in (), throwflag=throwflag@entry=0) at ../Python/ceval.c:2627 exit_func = stack_pointer = 0x97b0e8 next_instr = 0xa028be "Xe\003" opcode = oparg = why = WHY_NOT err = x = v = None w = None u = None t = stream = 0x0 fastlocals = 0x97b0f8 freevars = retval = tstate = co = instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = names = consts = enter = '__enter__' exit = '__exit__' #24 0x000000000055c594 in PyEval_EvalCodeEx (co=0x7ffff7ed31b0, globals=, locals=, args=, argcount=, kws=, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3252 f = retval = 0x0 fastlocals = freevars = tstate = x = u = #25 0x00000000005b7392 in PyEval_EvalCode (co=co@entry=0x7ffff7ed31b0, globals=globals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, locals=locals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}) at ../Python/ceval.c:667 No locals. #26 0x0000000000469663 in run_mod.42576 (mod=, filename=, globals={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, locals={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, flags=, arena=) at ../Python/pythonrun.c:1370 co = 0x7ffff7ed31b0 v = #27 0x00000000004699e3 in PyRun_FileExFlags (fp=fp@entry=0x9efe20, filename=filename@entry=0x7fffffffe3f9 "wdb_primitives.py", start=start@entry=257, globals=globals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, locals=locals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdef0) at ../Python/pythonrun.c:1356 ret = mod = 0x9ff2c8 arena = 0x9ac040 #28 0x0000000000469f1c in PyRun_SimpleFileExFlags (fp=fp@entry=0x9efe20, filename=, filename@entry=0x7fffffffe3f9 "wdb_primitives.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdef0) at ../Python/pythonrun.c:948 m = d = {'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>} v = ext = 0x7fffffffe406 "s.py" set_file_name = 1 len = ret = -1 #29 0x000000000046a018 in PyRun_AnyFileExFlags (fp=fp@entry=0x9efe20, filename=filename@entry=0x7fffffffe3f9 "wdb_primitives.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdef0) at ../Python/pythonrun.c:752 No locals. #30 0x000000000046ab81 in Py_Main (argc=, argv=0x7fffffffe0a8) at ../Modules/main.c:640 c = sts = command = 0x0 filename = 0x7fffffffe3f9 "wdb_primitives.py" module = 0x0 fp = 0x9efe20 p = unbuffered = skipfirstline = stdin_is_interactive = 0 help = version = saw_unbuffered_flag = cf = {cf_flags = 0} #31 0x00007ffff7817ec5 in __libc_start_main (main=0x46ac3f
, argc=3, argv=0x7fffffffe0a8, init=, fini=, rtld_fini=, stack_end=0x7fffffffe098) at libc-start.c:287 result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -269888819808406579, 5720405, 140737488347296, 0, 0, 269888820887450573, 269871343602922445}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x5bb9c0 <__libc_csu_init>, 0x7fffffffe0a8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 6011328}}} not_first_call = #32 0x000000000057497e in _start () No symbol table info available. registers: rax 0xd00000000 55834574848 rbx 0xe9b240 15315520 rcx 0xeb2cc0 15412416 rdx 0x0 0 rsi 0x0 0 rdi 0x7ffff7bb5760 140737349637984 rbp 0x40 0x40 rsp 0x7fffffffd020 0x7fffffffd020 r8 0xe95100 15290624 r9 0x7ffff7bb57b8 140737349638072 r10 0x7ffff7bb5768 140737349637992 r11 0x7ffff7bb57b0 140737349638064 r12 0xe9b260 15315552 r13 0x20 32 r14 0xe71390 15143824 r15 0x7ffff7bb5760 140737349637984 rip 0x7ffff78753d5 0x7ffff78753d5 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 current instructions: => 0x7ffff78753d5 : cmp 0x18(%rax),%r12 0x7ffff78753d9 : jne 0x7ffff7875548 0x7ffff78753df : cmp 0x10(%rdx),%r12 0x7ffff78753e3 : jne 0x7ffff7875548 0x7ffff78753e9 : cmpq $0x3ff,0x8(%r12) 0x7ffff78753f2 : mov %rdx,0x18(%rax) 0x7ffff78753f6 : mov %rax,0x10(%rdx) 0x7ffff78753fa : jbe 0x7ffff787540a 0x7ffff78753fc : mov 0x20(%r12),%rdx 0x7ffff7875401 : test %rdx,%rdx 0x7ffff7875404 : jne 0x7ffff78757ea 0x7ffff787540a : mov 0x68(%r15),%rax 0x7ffff787540e : cmp $0x3ff,%rbp 0x7ffff7875415 : mov %rbx,0x68(%r15) 0x7ffff7875419 : mov %rbx,0x18(%rax) 0x7ffff787541d : jbe 0x7ffff787542f threads backtrace: Thread 1 (Thread 0x7ffff7fd9740 (LWP 10584)): #0 0x00007ffff78753d5 in malloc_consolidate (av=av@entry=0x7ffff7bb5760 ) at malloc.c:4165 #1 0x00007ffff78760fd in _int_free (av=0x7ffff7bb5760 , p=, have_lock=0) at malloc.c:4057 #2 0x00007fffdccf37f2 in bu_free (ptr=0xfdaba0, str=0x7fffdee78137 "struct db_i") at /home/user/Downloads/brlcad-7.24.0/src/libbu/malloc.c:350 #3 0x00007fffdea5024b in db_close (dbip=0xfdaba0) at /home/user/Downloads/brlcad-7.24.0/src/librt/db_open.c:379 #4 0x00007fffdee6bda4 in wdb_close (wdbp=0xd50aa0) at /home/user/Downloads/brlcad-7.24.0/src/librt/wdb.c:345 #5 0x00007fffee3e3adc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 #6 0x00007fffee3e340c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6 #7 0x00007fffee5fa5fe in _call_function_pointer (argcount=1, resmem=0x7fffffffd360, restype=, atypes=, avalues=0x7fffffffd340, pProc=0x7fffdee6bc4e , flags=4353) at /build/buildd/python2.7-2.7.6/Modules/_ctypes/callproc.c:836 #8 _ctypes_callproc (pProc=pProc@entry=0x7fffdee6bc4e , argtuple=argtuple@entry=(,), flags=4353, argtypes=argtypes@entry=(,), restype=restype@entry=None, checker=checker@entry=0x0) at /build/buildd/python2.7-2.7.6/Modules/_ctypes/callproc.c:1183 #9 0x00007fffee5fbf9e in PyCFuncPtr_call (self=, inargs=, kwds=) at /build/buildd/python2.7-2.7.6/Modules/_ctypes/_ctypes.c:3923 #10 0x000000000052cc20 in PyObject_Call (kw=0x0, arg=(,), func=<_FuncPtr(__name__='wdb_close') at remote 0x7fffdb568c80>) at ../Objects/abstract.c:2529 #11 do_call (nk=, na=, pp_stack=0x7fffffffd630, func=<_FuncPtr(__name__='wdb_close') at remote 0x7fffdb568c80>) at ../Python/ceval.c:4238 #12 call_function (oparg=, pp_stack=0x7fffffffd630) at ../Python/ceval.c:4043 #13 PyEval_EvalFrameEx (f=f@entry=Frame 0x7fffdb3a6050, for file /usr/local/lib/python2.7/dist-packages/brlcad-0.0.1-py2.7.egg/brlcad/wdb.py, line 125, in close (self=, db_ip=) at remote 0x7fffdb38f7e8>), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #14 0x000000000052cf32 in fast_function (nk=, na=, n=1, pp_stack=0x7fffffffd770, func=) at ../Python/ceval.c:4106 #15 call_function (oparg=, pp_stack=0x7fffffffd770) at ../Python/ceval.c:4041 #16 PyEval_EvalFrameEx (f=f@entry=Frame 0x7fffdb3967f0, for file /usr/local/lib/python2.7/dist-packages/brlcad-0.0.1-py2.7.egg/brlcad/wdb.py, line 414, in __exit__ (self=, db_ip=) at remote 0x7fffdb38f7e8>, exc_type=None, exc_val=None, exc_tb=None), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666 #17 0x000000000056d0aa in PyEval_EvalCodeEx (closure=, defcount=, defs=0x0, kwcount=, kws=, argcount=-616994832, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252 #18 function_call (func=func@entry=, arg=arg@entry=(, db_ip=) at remote 0x7fffdb38f7e8>, None, None, None), kw=kw@entry=0x0) at ../Objects/funcobject.c:526 #19 0x00000000004d9854 in PyObject_Call (kw=0x0, arg=(, db_ip=) at remote 0x7fffdb38f7e8>, None, None, None), func=) at ../Objects/abstract.c:2529 #20 instancemethod_call.8802 (func=, func@entry=, arg=(, db_ip=) at remote 0x7fffdb38f7e8>, None, None, None), arg@entry=(None, None, None), kw=kw@entry=0x0) at ../Objects/classobject.c:2602 #21 0x000000000054a328 in PyObject_Call (kw=0x0, arg=(None, None, None), func=) at ../Objects/abstract.c:2529 #22 PyObject_CallFunctionObjArgs (callable=callable@entry=) at ../Objects/abstract.c:2760 #23 0x000000000052e8a3 in PyEval_EvalFrameEx (f=f@entry=Frame 0x97af80, for file wdb_primitives.py, line 200, in (), throwflag=throwflag@entry=0) at ../Python/ceval.c:2627 #24 0x000000000055c594 in PyEval_EvalCodeEx (co=0x7ffff7ed31b0, globals=, locals=, args=, argcount=, kws=, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3252 #25 0x00000000005b7392 in PyEval_EvalCode (co=co@entry=0x7ffff7ed31b0, globals=globals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, locals=locals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}) at ../Python/ceval.c:667 #26 0x0000000000469663 in run_mod.42576 (mod=, filename=, globals={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, locals={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, flags=, arena=) at ../Python/pythonrun.c:1370 #27 0x00000000004699e3 in PyRun_FileExFlags (fp=fp@entry=0x9efe20, filename=filename@entry=0x7fffffffe3f9 "wdb_primitives.py", start=start@entry=257, globals=globals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, locals=locals@entry={'WDB': , '__builtins__': , '__file__': 'wdb_primitives.py', 'Transform': , '__package__': None, 'primitives': , '__name__': '__main__', '__doc__': None, 'brl_db': , db_ip=) at remote 0x7fffdb38f7e8>}, closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdef0) at ../Python/pythonrun.c:1356 #28 0x0000000000469f1c in PyRun_SimpleFileExFlags (fp=fp@entry=0x9efe20, filename=, filename@entry=0x7fffffffe3f9 "wdb_primitives.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdef0) at ../Python/pythonrun.c:948 #29 0x000000000046a018 in PyRun_AnyFileExFlags (fp=fp@entry=0x9efe20, filename=filename@entry=0x7fffffffe3f9 "wdb_primitives.py", closeit=closeit@entry=1, flags=flags@entry=0x7fffffffdef0) at ../Python/pythonrun.c:752 #30 0x000000000046ab81 in Py_Main (argc=, argv=0x7fffffffe0a8) at ../Modules/main.c:640 #31 0x00007ffff7817ec5 in __libc_start_main (main=0x46ac3f
, argc=3, argv=0x7fffffffe0a8, init=, fini=, rtld_fini=, stack_end=0x7fffffffe098) at libc-start.c:287 #32 0x000000000057497e in _start ()