Bug#746274: Same here, due to p11-kit
Jim Paris
jim at jtan.com
Sat Aug 2 19:35:35 UTC 2014
Same here, a GDB log of the crash is below. I think it was because I
had p11-kit 0.20.1-3, but libp11-kit 0.20.3-1. I fixed it by running:
sudo apt-get install p11-kit=0.20.2-5 p11-kit-modules=0.20.2-5 libp11-kit0=0.20.2-5
Jim
------
$ gdb python --args python -c "import cv2"
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2.7...Reading symbols from /usr/lib/debug/usr/bin/python2.7...done.
done.
(gdb) run
Starting program: /usr/bin/python -c import\ cv2
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
209 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory.
(gdb) thread apply all bt full
Thread 1 (Thread 0x7ffff7fb7700 (LWP 31214)):
#0 __strcmp_sse2 () at ../sysdeps/x86_64/multiarch/../strcmp.S:209
No locals.
#1 0x00007fffe23b4ed3 in asn1_find_node () from /usr/lib/x86_64-linux-gnu/libtasn1.so.3
No symbol table info available.
#2 0x00007fffe1f61ee0 in ?? () from /usr/lib/x86_64-linux-gnu/libtasn1.so.6
No symbol table info available.
#3 0x00007fffe1f62458 in asn1_array2tree () from /usr/lib/x86_64-linux-gnu/libtasn1.so.6
No symbol table info available.
#4 0x00007fffe1b33075 in ?? () from /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so
No symbol table info available.
#5 0x00007fffe1b336fd in ?? () from /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so
No symbol table info available.
#6 0x00007fffe1b269e4 in ?? () from /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so
No symbol table info available.
#7 0x00007fffe1b32a0d in ?? () from /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so
No symbol table info available.
#8 0x00007fffe1b2f0b6 in ?? () from /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so
No symbol table info available.
#9 0x00007fffe21826ce in ?? () from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
No symbol table info available.
#10 0x00007fffe21840fa in p11_kit_initialize_registered () from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
No symbol table info available.
#11 0x00007fffe522094a in gnutls_pkcs11_init () from /usr/lib/x86_64-linux-gnu/libgnutls.so.26
No symbol table info available.
#12 0x00007fffe520afa0 in gnutls_global_init () from /usr/lib/x86_64-linux-gnu/libgnutls.so.26
No symbol table info available.
#13 0x00007fffeccb8aee in ?? () from /usr/lib/x86_64-linux-gnu/libavformat.so.55
No symbol table info available.
#14 0x00007fffecd0213f in avformat_network_init () from /usr/lib/x86_64-linux-gnu/libavformat.so.55
No symbol table info available.
#15 0x00007ffff56dba64 in ?? () from /usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4
No symbol table info available.
#16 0x00007ffff7dea9fa in call_init (l=<optimized out>, argc=argc at entry=3, argv=argv at entry=0x7fffffffddf8,
env=env at entry=0x7fffffffde18) at dl-init.c:78
j = <optimized out>
jm = <optimized out>
addrs = <optimized out>
init_array = <optimized out>
#17 0x00007ffff7deaae3 in call_init (env=0x7fffffffde18, argv=0x7fffffffddf8, argc=3, l=<optimized out>) at dl-init.c:36
No locals.
#18 _dl_init (main_map=main_map at entry=0xa3ab30, argc=3, argv=0x7fffffffddf8, env=0x7fffffffde18) at dl-init.c:126
preinit_array = <optimized out>
---Type <return> to continue, or q <return> to quit---
preinit_array_size = <optimized out>
i = 9
#19 0x00007ffff7deec48 in dl_open_worker (a=a at entry=0x7fffffffd2b8) at dl-open.c:577
args = 0x7fffffffd2b8
file = <optimized out>
mode = <optimized out>
call_map = <optimized out>
dst = <optimized out>
__PRETTY_FUNCTION__ = "dl_open_worker"
new = <optimized out>
r = <optimized out>
reloc_mode = <optimized out>
nmaps = <optimized out>
l = <optimized out>
maps = <optimized out>
any_tls = <optimized out>
first_static_tls = <optimized out>
#20 0x00007ffff7dea8b4 in _dl_catch_error (objname=objname at entry=0x7fffffffd2a8, errstring=errstring at entry=0x7fffffffd2b0,
mallocedp=mallocedp at entry=0x7fffffffd2a7, operate=operate at entry=0x7ffff7dee970 <dl_open_worker>,
args=args at entry=0x7fffffffd2b8) at dl-error.c:187
errcode = 0
c = {objname = 0x7fffffffd2a8, errstring = 0x7fffffffd2b0, malloced = 0x7fffffffd2a7, errcode = 0x7fffffffd194, env = {{
__jmpbuf = {140737488343992, -5950767523013561042, 2147483650, 10683104, 140737488346616, 3, -5950767522959035090,
-5950750213403937490}, __mask_was_saved = -136426615, __saved_mask = {__val = {140737352659820, 2762155452, 1, 8,
140737353848344, 140737351931342, 140737488343872, 140737488343664, 140737349680912, 140737349688256,
140737488343936, 43158678, 140737488343920, 140737347564456, 0, 0}}}}}
catchp = 0x7ffff7fb76f8
old = <optimized out>
#21 0x00007ffff7dee43b in _dl_open (file=0xa302e0 "/usr/lib/python2.7/dist-packages/cv2.so", mode=-2147483646,
caller_dlopen=<optimized out>, nsid=-2, argc=3, argv=0x7fffffffddf8, env=0x7fffffffde18) at dl-open.c:661
args = {file = 0xa302e0 "/usr/lib/python2.7/dist-packages/cv2.so", mode = -2147483646,
caller_dlopen = 0x53a2b6 <_PyImport_GetDynLoadFunc+214>, caller_dl_open = 0x7ffff79bc02b <dlopen_doit+91>,
map = 0xa3ab30, nsid = 0, argc = 3, argv = 0x7fffffffddf8, env = 0x7fffffffde18}
objname = 0x100000132 <Address 0x100000132 out of bounds>
errstring = 0x1 <Address 0x1 out of bounds>
malloced = false
errcode = <optimized out>
__PRETTY_FUNCTION__ = "_dl_open"
#22 0x00007ffff79bc02b in dlopen_doit (a=a at entry=0x7fffffffd4d0) at dlopen.c:66
args = 0x7fffffffd4d0
#23 0x00007ffff7dea8b4 in _dl_catch_error (objname=0x9b7400, errstring=0x9b7408, mallocedp=0x9b73f8,
operate=0x7ffff79bbfd0 <dlopen_doit>, args=0x7fffffffd4d0) at dl-error.c:187
errcode = 0
c = {objname = 0x9b7400, errstring = 0x9b7408, malloced = 0x9b73f8, errcode = 0x7fffffffd3b4, env = {{__jmpbuf = {0,
---Type <return> to continue, or q <return> to quit---
-5950749620142836434, 140737488344272, 10683104, 0, 140737353767744, -5950767523021949650, -5950750213403937490},
__mask_was_saved = -136405497, __saved_mask = {__val = {511101108225, 0, 124, 140737349688256, 10187760,
140737347567568, 140737488344272, 140737351975717, 10187760, 7, 56, 10187760, 0, 10187760, 140737347567568,
140737488344272}}}}}
catchp = 0x7ffff7fb76f8
old = <optimized out>
#24 0x00007ffff79bc5dd in _dlerror_run (operate=operate at entry=0x7ffff79bbfd0 <dlopen_doit>, args=args at entry=0x7fffffffd4d0)
at dlerror.c:163
result = 0x9b73f0
#25 0x00007ffff79bc0c1 in __dlopen (file=file at entry=0xa302e0 "/usr/lib/python2.7/dist-packages/cv2.so", mode=mode at entry=2)
at dlopen.c:87
args = {file = 0xa302e0 "/usr/lib/python2.7/dist-packages/cv2.so", mode = 2, new = 0x0,
caller = 0x53a2b6 <_PyImport_GetDynLoadFunc+214>}
#26 0x000000000053a2b6 in _PyImport_GetDynLoadFunc () at ../Python/dynload_shlib.c:140
p = <optimized out>
handle = <optimized out>
funcname = "initcv2\000 \246\243\000\000\000\000\000\064\017\372\367\377\177\000\000\230\247\243\000\000\000\000\000\300\360\230\000\000\000\000\000\320,\356\367\377\177\000\000\000\000\000\000\000\000\000\000\020u\347\367\377\177\000\000\070\367\350\367\377\177\000\000\070\367\350\367\377\177\000\000|\000\000\000\377\377\377\377\060,\356\367\377\177\000\000\000\000\000\000\377\377\377\377ৣ\000\000\000\000\000\030\002\000\000\000\000\000\000\000Ƒ\000\000\000\000\000\230S\350\367\377\177\000\000h\001\373\367\377\177\000\000\300\360\230\000\000\000\000\000\000\"\367\366\377\177\000\000 \000\000\000\060\000\000\000\337\377\377\377\377\377\377\177\060,\356\367\377\177\000\000\202\240I\000\000\000\000\000\017\000\000\000\000\000\000\000\300\300\243"...
pathbuf = "\300\360\230\000\000\000\000\000\060,\356\367\377\177\000\000\001\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\333DI\000\000\000\000\000\001\000\000\000\000\000\000\000\320*\373\367\377\177\000\000\016\000\000\000\377\177\000\000h\226\347\367\377\177\000\000\350*\373\367\377\177\000\000\340\002\243\000\000\000\000\000\310\005\373\367\377\177\000\000p{\356\367\377\177\000\000\310\005\373\367\377\177\000\000\210\272I\000\000\000\000\000-\000\000\000\000\000\000\000\333DI\000\000\000\000\000\344l\347\367\377\177\000\000n\031K\000\000\000\000\000\001\001\000\000\377\177\000\000\060\020\000\000\000\000\000\000@\000\000\000\000\000\000\000p\000\000\000\377\177\000\000\b\000\000\000\000\000\000\000"...
dlopenflags = 2
#27 0x00000000005396fc in _PyImport_LoadDynamicModule () at ../Python/importdl.c:42
m = <optimized out>
lastdot = <optimized out>
shortname = 0xa2f2d0 "cv2"
packagecontext = 0x0
oldcontext = <optimized out>
p = <optimized out>
#28 0x00000000004ab2c2 in import_submodule (fullname=<optimized out>, subname=<optimized out>, mod=<optimized out>)
at ../Python/import.c:2700
buf = 0xa302e0 "/usr/lib/python2.7/dist-packages/cv2.so"
fp = 0xa3d6b0
path = <unknown at remote 0x206>
loader = 0x0
fdp = 0x10
#29 load_next () at ../Python/import.c:2515
---Type <return> to continue, or q <return> to quit---
name = 0x7ffff7e9f5a4 "cv2"
dot = 0x10 <Address 0x10 out of bounds>
p = 0xa302e0 "/usr/lib/python2.7/dist-packages/cv2.so"
#30 0x00000000004aa639 in import_module_level.isra.3 () at ../Python/import.c:2224
buf = 0xa2f2d0 "cv2"
buflen = 3
head = <optimized out>
next = <optimized out>
tail = <optimized out>
#31 0x00000000004adbf6 in PyImport_ImportModuleLevel (level=-1, fromlist=None, locals=<optimized out>,
globals={'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None},
name=0x7ffff7e9f5a4 "cv2") at ../Python/import.c:2288
result = <optimized out>
#32 builtin___import__ () at ../Python/bltinmodule.c:49
kwlist = {0x5ed6e1 "name", 0x5ed612 "globals", 0x5f7eef "locals", 0x5f28f6 "fromlist", 0x61c078 "level", 0x0}
name = 0x7ffff7e9f5a4 "cv2"
globals = {'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None}
locals = {'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None}
fromlist = None
level = -1
#33 0x00000000004cb55b in PyObject_Call (kw=<optimized out>,
arg=('cv2', {'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None), func=<built-in function __import__>) at ../Objects/abstract.c:2529
result = <optimized out>
call = 0x4ad9e0 <PyCFunction_Call>
#34 PyEval_CallObjectWithKeywords () at ../Python/ceval.c:3890
No locals.
#35 0x00000000004c60a9 in PyEval_EvalFrameEx () at ../Python/ceval.c:2334
opcode = -134541232
t = <built-in function __import__>
#36 0x00000000004c2109 in PyEval_EvalCodeEx () at ../Python/ceval.c:3253
f = <unknown at remote 0x21031>
retval = <code at remote 0x7ffff7ee2b30>
fastlocals = 0x7ffff7299670 <main_arena+80>
tstate = 0x98f0c0
u = <unknown at remote 0x10>
#37 0x000000000052fdaa in PyEval_EvalCode (
locals={'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None},
globals={'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None},
co=0x7ffff7ee2b30) at ../Python/ceval.c:667
No locals.
#38 run_mod (arena=0x9f58a0, flags=0x7fffffffdc40,
locals={'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None},
globals={'__builtins__': <module at remote 0x7ffff7f76b08>, '__name__': '__main__', '__doc__': None, '__package__': None},
---Type <return> to continue, or q <return> to quit---
filename=0x601746 "<string>", mod=<optimized out>) at ../Python/pythonrun.c:1370
co = 0x7ffff7ee2b30
#39 PyRun_StringFlags () at ../Python/pythonrun.c:1333
ret = 0x0
mod = <optimized out>
arena = 0x9f58a0
#40 0x0000000000536fba in PyRun_SimpleStringFlags () at ../Python/pythonrun.c:974
m = <optimized out>
d = <optimized out>
v = <optimized out>
#41 0x00000000004929e0 in Py_Main () at ../Modules/main.c:584
sts = 0
command = 0x98f010 "import cv2\n"
filename = 0x0
stdin_is_interactive = 1
help = 0
version = 1
saw_unbuffered_flag = 0
cf = {cf_flags = 0}
#42 0x00007ffff6f17b45 in __libc_start_main (main=0x492640 <main>, argc=3, argv=0x7fffffffddf8, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdde8) at libc-start.c:287
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 5950767523710924078, 4793660, 140737488346608, 0, 0, -5950767522541701842,
-5950747788437195474}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x5ec8e0 <__libc_csu_init>, 0x7fffffffddf8},
data = {prev = 0x0, cleanup = 0x0, canceltype = 6211808}}}
not_first_call = <optimized out>
#43 0x0000000000492565 in _start ()
No symbol table info available.
(gdb)
More information about the debian-science-maintainers
mailing list