hi, just in case somebody wants to debug this, here is a full backtrace from python2.7-dbg:
bzed@harris ~% gdb --args python2.7-dbg -c 'import zbar' GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 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 "arm-linux-gnueabihf". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/python2.7-dbg...done. (gdb) run Starting program: /usr/bin/python2.7-dbg -c import\ zbar [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. strlen () at ../ports/sysdeps/arm/strlen.S:29 29 ../ports/sysdeps/arm/strlen.S: No such file or directory. (gdb) thread apply all Please specify a command following the thread ID list (gdb) thread apply all bt full Thread 1 (Thread 0xb6ff9000 (LWP 4115)): #0 strlen () at ../ports/sysdeps/arm/strlen.S:29 No locals. #1 0x000875cc in PyString_FromString (str=0x3 <Address 0x3 out of bounds>) at ../Objects/stringobject.c:121 size = 3067538440 op = 0xb6fdf308 __PRETTY_FUNCTION__ = "PyString_FromString" #2 0x00074e28 in PyDict_GetItemString (v= {'__new__': <built-in method __new__ of type object at remote 0xb6fe0200>, 'scan': <method_descriptor at remote 0xb6ca2b78>, 'results': <getset_descriptor at remote 0xb6ca2bb8>, 'set_config': <method_descriptor at remote 0xb6ca2a38>, '\xb5\x89\xb0\x02\xaf\xf8`\xb9`z`"L|DO\xf0': <getset_descriptor at remote 0xb6ca2bf8>, 'enable_cache': <method_descriptor at remote 0xb6ca2ab8>, 'parse_config': <method_descriptor at remote 0xb6ca2a78>, 'recycle': <method_descriptor at remote 0xb6ca2b38>}, key=0x3 <Address 0x3 out of bounds>) at ../Objects/dictobject.c:2421 kv = '\xb5\x89\xb0\x02\xaf\xf8`\xb9`z`"L|DO\xf0' rv = 0x0 #3 0x0009f3e4 in add_getset (type=0xb6fe0200, gsp=0xb6fe01c8) at ../Objects/typeobject.c:3626 descr = <getset_descriptor at remote 0xb6ca2bf8> dict = {'__new__': <built-in method __new__ of type object at remote 0xb6fe0200>, 'scan': <method_descriptor at remote 0xb6ca2b78>, 'results': <getset_descriptor at remote 0xb6ca2bb8>, 'set_config': <method_descriptor at remote 0xb6ca2a38>, '\xb5\x89\xb0\x02\xaf\xf8`\xb9`z`"L|DO\xf0': <getset_descriptor at remote 0xb6ca2bf8>, 'enable_cache': <method_descriptor at remote 0xb6ca2ab8>, 'parse_config': <method_descriptor at remote 0xb6ca2a78>, 'recycle': <method_descriptor at remote 0xb6ca2b38>} #4 0x000a0bbe in PyType_Ready (type=0xb6fe0200) at ../Objects/typeobject.c:4037 dict = {'__new__': <built-in method __new__ of type object at remote 0xb6fe0200>, 'scan': <method_descriptor at remote 0xb6ca2b78>, 'results': <getset_descriptor at remote 0xb6ca2bb8>, 'set_config': <method_descriptor at remote 0xb6ca2a38>, '\xb5\x89\xb0\x02\xaf\xf8`\xb9`z`"L|DO\xf0': <getset_descriptor at remote 0xb6ca2bf8>, 'enable_cache': <method_descriptor at remote 0xb6ca2ab8>, 'parse_config': <method_descriptor at remote 0xb6ca2a78>, 'recycle': <method_descriptor at remote 0xb6ca2b38>} bases = (<type at remote 0x1ec918>,) base = 0x1ec918 i = 1 n = 1 __PRETTY_FUNCTION__ = "PyType_Ready" #5 0xb6fd1f7a in initzbar () at /build/buildd-zbar_0.10+doc-7+b1-armhf-GrwGYn/zbar-0.10+doc/python/zbarmodule.c:126 ei = 46 mod = 0x0 dict = <unknown at remote 0xbefff090> tp_dict = <unknown at remote 0x1078bf> #6 0x0011438c in _PyImport_LoadDynamicModule (name=0x330130 "zbar", pathname=0x35a6d8 "/usr/lib/python2.7/dist-packages/zbar_d.so", fp=0x3672f0) at ../Python/importdl.c:53 m = 0x0 lastdot = 0x0 shortname = 0x330130 "zbar" packagecontext = 0x0 oldcontext = 0x0 p = 0xb6fd1e69 <initzbar> #7 0x00111126 in load_module (name=0x330130 "zbar", fp=0x3672f0, pathname=0x35a6d8 "/usr/lib/python2.7/dist-packages/zbar_d.so", type=3, loader=0x0) at ../Python/import.c:1866 modules = ('zbar', {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None) m = <unknown at remote 0xf8e31b00> err = -1 #8 0x00112b2c in import_submodule (mod=None, subname=0x330130 "zbar", fullname=0x330130 "zbar") at ../Python/import.c:2645 buf = 0x35a6d8 "/usr/lib/python2.7/dist-packages/zbar_d.so" fp = 0x3672f0 path = 0x0 loader = 0x0 fdp = 0xb6dff0f8 modules = {'copy_reg': <module at remote 0xb6d628c0>, 'sre_compile': <module at remote 0xb6d77850>, '_sre': <module at remote 0xb6d77a48>, 'encodings': <module at remote 0xb6d92ab8>, 'site': <module at remote 0xb6d97188>, '__builtin__': <module at remote 0xb6df1508>, 'sysconfig': <module at remote 0xb6d6d8f8>, '__main__': <module at remote 0xb6d8bfc0>, 'encodings.encodings': None, 'abc': <module at remote 0xb6d4c428>, 'posixpath': <module at remote 0xb6daac08>, '_weakrefset': <module at remote 0xb6d517e0>, 'errno': <module at remote 0xb6d9e888>, 'encodings.codecs': None, 'sre_constants': <module at remote 0xb6d81508>, 're': <module at remote 0xb6d73738>, '_abcoll': <module at remote 0xb6d46e00>, 'types': <module at remote 0xb6db6e00>, '_codecs': <module at remote 0xb6c96508>, 'encodings.__builtin__': None, '_sysconfigdata_d': <module at remote 0xb6ca6540>, '_warnings': <module at remote 0xb6d8bdc8>, 'genericpath': <module at remote 0xb6db10a8>, 'stat': <module at remote 0xb6dafc08> , 'zipimp ort': <module at remote 0xb6d...(truncated) m = 0x0 #9 0x00112318 in load_next (mod=None, altmod=None, p_name=0xbefff184, buf=0x330130 "zbar", p_buflen=0xbefff188) at ../Python/import.c:2460 name = 0xb6d81824 "zbar" dot = 0x0 len = 4 p = 0x330130 "zbar" result = <unknown at remote 0x7e783> #10 0x001118c4 in import_module_level (name=0x0, globals={'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals= {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, fromlist=None, level=-1) at ../Python/import.c:2175 buf = 0x330130 "zbar" buflen = 4 parent = None head = <unknown at remote 0xb6ff9000> next = <unknown at remote 0x10cb33> tail = <unknown at remote 0x1> #11 0x00111c12 in PyImport_ImportModuleLevel (name=0xb6d81824 "zbar", globals={'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals= {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, fromlist=None, level=-1) at ../Python/import.c:2233 result = <unknown at remote 0xbefff1e8> #12 0x000e7ffe in builtin___import__ (self=0x0, args=('zbar', {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None), kwds=0x0) at ../Python/bltinmodule.c:49 kwlist = {0x1b9020 "name", 0x1b8cd4 "globals", 0x1b8d00 "locals", 0x1b9028 "fromlist", 0x1b9034 "level", 0x0} name = 0xb6d81824 "zbar" globals = {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None} locals = {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None} fromlist = None level = -1 #13 0x00077e6e in PyCFunction_Call (func=<built-in function __import__>, arg= ('zbar', {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None), kw=0x0) at ../Objects/methodobject.c:85 f = 0xb6df2678 meth = 0xe7f89 <builtin___import__> self = 0x0 size = 4 #14 0x000299c6 in PyObject_Call (func=<built-in function __import__>, arg=('zbar', {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None), kw=0x0) at ../Objects/abstract.c:2529 result = <unknown at remote 0xbefff28c> call = 0x77ded <PyCFunction_Call> #15 0x000f9e54 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg= ('zbar', {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None), kw=0x0) at ../Python/ceval.c:3890 result = 'zbar' #16 0x000f54e6 in PyEval_EvalFrameEx (f=Frame 0x32b0e0, for file <string>, line 1, in <module> (), throwflag=0) at ../Python/ceval.c:2333 stack_pointer = 0x32b224 next_instr = 0xb6c9dfcd "Z" opcode = -1226889608 oparg = 0 why = WHY_NOT err = 0 x = <built-in function __import__> v = <built-in function __import__> w = ('zbar', {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, {...}, None) u = -1 t = 0x0 stream = 0x0 fastlocals = 0x32b220 freevars = 0x32b220 retval = 0x0 tstate = 0x2d1068 co = 0xb6d94628 instr_ub = -1 instr_lb = 0 instr_prev = -1 first_instr = 0xb6c9dfc4 "d" names = ('zbar',) consts = (-1, None) filename = 0xb6c9fbdc "<string>" __PRETTY_FUNCTION__ = "PyEval_EvalFrameEx" #17 0x000f846c in PyEval_EvalCodeEx (co=0xb6d94628, globals={'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals= {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253 f = Frame 0x32b0e0, for file <string>, line 1, in <module> () retval = 0x0 fastlocals = 0x32b220 freevars = 0x32b220 tstate = 0x2d1068 x = [<unknown at remote 0xdbdbdbdb>, <unknown at remote 0xdbdbdbdb>] u = <unknown at remote 0xb6c9de28> __PRETTY_FUNCTION__ = "PyEval_EvalCodeEx" #18 0x000efcf6 in PyEval_EvalCode (co=0xb6d94628, globals={'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals= {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}) at ../Python/ceval.c:667 No locals. #19 0x001200dc in run_mod (mod=0x334688, filename=0x1bf42c "<string>", globals={'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals= {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=0xbefff5c8, arena=0x3386c8) at ../Python/pythonrun.c:1365 co = 0xb6d94628 v = <unknown at remote 0x334688> #20 0x00120002 in PyRun_StringFlags (str=0x2d1008 "import zbar\n", start=257, globals={'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals= {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=0xbefff5c8) at ../Python/pythonrun.c:1328 ret = 0x0 mod = 0x334688 arena = 0x3386c8 #21 0x0011ee82 in PyRun_SimpleStringFlags (command=0x2d1008 "import zbar\n", flags=0xbefff5c8) at ../Python/pythonrun.c:969 m = <module at remote 0xb6d8bfc0> d = {'__builtins__': <module at remote 0xb6df1508>, '__name__': '__main__', '__doc__': None, '__package__': None} v = <unknown at remote 0x1> #22 0x00135950 in Py_Main (argc=3, argv=0xbefff784) at ../Modules/main.c:583 c = 99 sts = 0 command = 0x2d1008 "import zbar\n" filename = 0x0 module = 0x0 fp = 0xb6f0e680 p = 0x0 unbuffered = 0 skipfirstline = 0 stdin_is_interactive = 1 help = 0 version = 0 saw_unbuffered_flag = 0 cf = {cf_flags = 0} #23 0x0001d4fa in main (argc=3, argv=0xbefff784) at ../Modules/python.c:23 No locals. (gdb) Cheers, Bernd -- Bernd Zeimetz Debian GNU/Linux Developer http://bzed.de http://www.debian.org GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org