Package: python-lightblue Version: 0.3.2-1+b2 Severity: important
On amd64 architecture, lightblue crashes with a SEGFAULT when trying to connect to OBEX FTP service. The problem doesn't exist on armel Debian with the same versions of the packages listed below. It is recent, because it didn't occur about 2-3 months ago. I include steps to reproduce through the python console, together with the backtrace. I replaced the address of the remote device with AA:BB:CC:DD:EE:FF Python 2.5.5 (r255:77872, Feb 2 2010, 00:25:36) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import lightblue.obex >>> OBEX_FTP_UUID = '\xf9\xec{\xc4\x95<\x11\xd2\x98NRT\x00\xdc\x9e\t' >>> client = lightblue.obex.OBEXClient("AA:BB:CC:DD:EE:FF", 10) >>> client.connect({"target": OBEX_FTP_UUID}) Program received signal SIGSEGV, Segmentation fault. PyDict_Next (op=0x0, ppos=0x7fffffffe098, pkey=0x7fffffffe0a8, pvalue=0x7fffffffe0a0) at ../Objects/dictobject.c:795 795 ../Objects/dictobject.c: Няма такъв файл или директория. in ../Objects/dictobject.c (gdb) bt #0 PyDict_Next (op=0x0, ppos=0x7fffffffe098, pkey=0x7fffffffe0a8, pvalue=0x7fffffffe0a0) at ../Objects/dictobject.c:795 #1 0x00007ffff459d7e9 in lightblueobex_addheaders () from /usr/lib/pymodules/python2.5/_lightblueobex.so #2 0x00007ffff459b711 in ?? () from /usr/lib/pymodules/python2.5/_lightblueobex.so #3 0x000000000048db18 in call_function (f=0x83f810, throwflag=<value optimized out>) at ../Python/ceval.c:3612 #4 PyEval_EvalFrameEx (f=0x83f810, throwflag=<value optimized out>) at ../Python/ceval.c:2304 #5 0x000000000048f4e1 in PyEval_EvalCodeEx (co=0x7ffff7f86918, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=1414680216, kws=0x7db178, kwcount=0, defs=0x7ffff7f1eba8, defcount=1, closure=0x0) at ../Python/ceval.c:2875 #6 0x000000000048def0 in fast_function (f=0x7daff0, throwflag=<value optimized out>) at ../Python/ceval.c:3708 #7 call_function (f=0x7daff0, throwflag=<value optimized out>) at ../Python/ceval.c:3633 #8 PyEval_EvalFrameEx (f=0x7daff0, throwflag=<value optimized out>) at ../Python/ceval.c:2304 #9 0x000000000048f4e1 in PyEval_EvalCodeEx (co=0x7ffff7f79198, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=1414680216, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2875 #10 0x000000000048f602 in PyEval_EvalCode (co=0x0, globals=0x7fffffffe098, locals=0x7fffffffe0a8) at ../Python/ceval.c:514 #11 0x00000000004ada7c in run_mod (fp=<value optimized out>, filename=0x4e7696 "<stdin>", flags=0x7fffffffe730) at ../Python/pythonrun.c:1273 #12 PyRun_InteractiveOneFlags (fp=<value optimized out>, filename=0x4e7696 "<stdin>", flags=0x7fffffffe730) at ../Python/pythonrun.c:792 #13 0x00000000004adcae in PyRun_InteractiveLoopFlags (fp=0x7ffff75366c0, filename=0x4e7696 "<stdin>", flags=0x7fffffffe730) at ../Python/pythonrun.c:723 #14 0x00000000004ae70b in PyRun_AnyFileExFlags (fp=0x7ffff75366c0, filename=0x4e7696 "<stdin>", closeit=0, flags=0x7fffffffe730) at ../Python/pythonrun.c:692 #15 0x000000000041464b in Py_Main (argc=<value optimized out>, argv=<value optimized out>) at ../Modules/main.c:532 #16 0x00007ffff7206abd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffffffe848) at libc-start.c:222 #17 0x0000000000413a39 in _start () -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-2-amd64 (SMP w/4 CPU cores) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-lightblue depends on: ii libbluetooth3 4.60-1 Library to use the BlueZ Linux Blu ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii libopenobex1 1.5-2 OBEX protocol library ii python 2.5.4-9 An interactive high-level object-o ii python-support 1.0.6.1 automated rebuilding support for P python-lightblue recommends no packages. python-lightblue suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org