Package: python-zbar
Severity: grave
Version: 0.10+doc-7

root@plugwash:/# gdb python
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-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...Reading symbols from 
/usr/lib/debug/usr/bin/python2.7...done.
done.
(gdb) run
Starting program: /usr/bin/python
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1".
Python 2.7.3 (default, Jan  2 2013, 22:35:13)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import zbar
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) bt
#0  strlen () at ../ports/sysdeps/arm/strlen.S:29
#1  0x0018c684 in PyString_FromString (str=
   0x20776f6c <Address 0x20776f6c out of bounds>)
   at ../Objects/stringobject.c:121
#2  0x000396bc in PyDict_GetItemString (key=<optimized out>, v=0xb6cd1a50)
   at ../Objects/dictobject.c:2421
#3  PyType_Ready (type=0xb6ac5384) at ../Objects/typeobject.c:3626
#4  0xb6ab7ee8 in initzbar ()
   at 
/build/buildd-zbar_0.10+doc-7+b2-armel-RjFsDq/zbar-0.10+doc/python/zbarmodule.c:126
#5  0x00173750 in _PyImport_LoadDynamicModule (name=0x315d40 "zbar", pathname=
   0x316d48 "/usr/lib/python2.7/dist-packages/zbar.so", fp=<optimized out>)
   at ../Python/importdl.c:53
#6  0x000321a0 in load_module.38003 (name=0x315d40 "zbar", fp=0x33ccf8,
   pathname=<optimized out>, type=3, loader=0x0) at ../Python/import.c:1866
#7  0x000323d4 in import_submodule.38014 (mod=0x273a28, subname=
   0x315d40 "zbar", fullname=0x315d40 "zbar") at ../Python/import.c:2645
#8  0x0010b9fc in load_next.38019 (mod=0x273a28, altmod=0x273a28,
   p_name=<optimized out>, buf=0x315d40 "zbar", p_buflen=0xbefff934)
   at ../Python/import.c:2460
#9  0x00032bf0 in import_module_level.isra.1.38040 (name=0x0,
   globals=<optimized out>, fromlist=0x273a28, level=-1)
   at ../Python/import.c:2175
#10 0x00121334 in PyImport_ImportModuleLevel (level=-1, fromlist=0x273a28,
   locals=<optimized out>, globals=0xb6d62660, name=0xb6cd0eb4 "zbar")
   at ../Python/import.c:2233
#11 builtin___import__.31832 (self=<optimized out>, args=<optimized out>,
   kwds=<optimized out>) at ../Python/bltinmodule.c:49
#12 0x000741e8 in PyCFunction_Call (func=0xb6d4eb70, arg=<optimized out>,
   kw=<optimized out>) at ../Objects/methodobject.c:85
#13 0x000732f8 in PyObject_Call (func=0xb6d4eb70, arg=<optimized out>,
   kw=<optimized out>) at ../Objects/abstract.c:2529
#14 0x0007cd00 in PyEval_CallObjectWithKeywords (func=0xb6d4eb70, arg=
   0xb6d24c00, kw=<optimized out>) at ../Python/ceval.c:3890
#15 0x000bd7cc in PyEval_EvalFrameEx (f=<optimized out>,
   throwflag=<optimized out>) at ../Python/ceval.c:2333
#16 0x000c1fd8 in PyEval_EvalCodeEx (co=0xb6cb08d8, globals=<optimized out>,
   locals=<optimized out>, args=<optimized out>, argcount=0, kws=0x0,
   kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
#17 0x0015776c in PyEval_EvalCode (locals=0xb6d62660, globals=0xb6d62660, co=
   0xb6cb08d8) at ../Python/ceval.c:667
#18 run_mod (mod=<optimized out>, filename=<optimized out>, globals=
   0xb6d62660, locals=<optimized out>, flags=0xbefffc2c, arena=0x2ef2b8)
   at ../Python/pythonrun.c:1365
#19 0x001585b8 in PyRun_InteractiveOneFlags (fp=0xb6ecc538, filename=
   0x1b4ee4 "<stdin>", flags=0xbefffc2c) at ../Python/pythonrun.c:852
#20 0x00158870 in PyRun_InteractiveLoopFlags (fp=0xb6ecc538, filename=
   0x1b4ee4 "<stdin>", flags=0xbefffc2c) at ../Python/pythonrun.c:772
#21 0x00158978 in PyRun_AnyFileExFlags (fp=0xb6ecc538, filename=
   0x1b4ee4 "<stdin>", closeit=0, flags=0xbefffc2c)
   at ../Python/pythonrun.c:741
#22 0x0015915c in Py_Main (argc=<optimized out>, argv=0xbefffda4)
   at ../Modules/main.c:639
---Type <return> to continue, or q <return> to quit---
#23 0xb6daf694 in __libc_start_main (main=<optimized out>,
   argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=
   0x19308c <__libc_csu_fini>, rtld_fini=0x20ae0 <_start+44>, stack_end=
   0xbefffda4) at libc-start.c:228
#24 0x00020ae0 in _start ()
(gdb)

This was originally reported to me by a raspbian user. I have
confirmed it in debian armel, debian armhf and raspbian chroots
(all on amv7 machines). The above gdb session is from a debian
armel chroot.


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to