Skip Menu |

This queue is for tickets about the Inline-Python CPAN distribution.

Report information
The Basics
Id: 29263
Status: resolved
Priority: 0/
Queue: Inline-Python

People
Owner: Nobody in particular
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: invalid pointer detected during test
On mandriva linux, using python 2.5.1, perl 5.8.8 and gcc 4.2.1: [guillomovitch@n2 Inline-Python-0.22]$ perl -I blib/lib/ -I blib/arch/ t/01testpl.t 1..8 # Running under perl version 5.008008 for linux # Current time local: Sun Sep 9 22:13:09 2007 # Current time GMT: Sun Sep 9 20:13:09 2007 # Using Test.pm version 1.25 ok 1 *** glibc detected *** perl: free(): invalid pointer: 0xb7994570 *** ======= Backtrace: ========= /lib/i686/libc.so.6[0xb7d234e6] /lib/i686/libc.so.6(cfree+0x90)[0xb7d27010] blib/arch//auto/Inline/Python/Python.so[0xb7e7d600] ======= Memory map: ======== 08048000-0804a000 r-xp 00000000 03:05 18237082 /usr/bin/perl5.8.8 0804a000-0804b000 rw-p 00002000 03:05 18237082 /usr/bin/perl5.8.8 0804b000-08243000 rw-p 0804b000 00:00 0 [heap] b7800000-b7821000 rw-p b7800000 00:00 0 b7821000-b7900000 ---p b7821000 00:00 0 b796f000-b797a000 r-xp 00000000 03:05 2110060 /lib/libgcc_s-4.2.1.so.1 b797a000-b797b000 rw-p 0000a000 03:05 2110060 /lib/libgcc_s-4.2.1.so.1 b797b000-b79bc000 rw-p b797b000 00:00 0 b79bd000-b79fe000 rw-p b79bd000 00:00 0 b79fe000-b7a11000 r-xp 00000000 03:05 25723630 /lib/i686/libpthread-2.6.1.so b7a11000-b7a13000 rw-p 00012000 03:05 25723630 /lib/i686/libpthread-2.6.1.so b7a13000-b7a15000 rw-p b7a13000 00:00 0 b7a3a000-b7b46000 r-xp 00000000 03:05 18304060 /usr/lib/libpython2.5.so.1.0 b7b46000-b7b6c000 rw-p 0010c000 03:05 18304060 /usr/lib/libpython2.5.so.1.0 b7b6c000-b7b72000 rw-p b7b6c000 00:00 0 b7b72000-b7b73000 r-xp 00000000 03:05 19666089 /usr/lib/gconv/ISO8859-1.so b7b73000-b7b75000 rw-p 00000000 03:05 19666089 /usr/lib/gconv/ISO8859-1.so b7b75000-b7b93000 r--p 00000000 03:05 19978107 /usr/share/locale/fr/LC_MESSAGES/libc.mo b7b93000-b7b95000 r-xp 00000000 03:05 19710755 /usr/lib/perl5/5.8.8/i386-linux/auto/Cwd/Cwd.so b7b95000-b7b96000 rw-p 00001000 03:05 19710755 /usr/lib/perl5/5.8.8/i386-linux/auto/Cwd/Cwd.so b7b96000-b7bd5000 r--p 00000000 03:05 8717285 /usr/share/locale/UTF-8/LC_CTYPE b7bd5000-b7bd6000 r--p 00000000 03:05 20107739 /usr/share/locale/fr_FR.UTF-8/LC_NUMERIC b7bd6000-b7bd7000 r--p 00000000 03:05 20107737 /usr/share/locale/fr_FR.UTF-8/LC_TIME b7bd7000-b7cbb000 r--p 00000000 03:05 8717286 /usr/share/locale/UTF-8/LC_COLLATE b7cbb000-b7cbc000 rw-p b7cbb000 00:00 0 b7cbc000-b7df6000 r-xp 00000000 03:05 25723377 /lib/i686/libc-2.6.1.so b7df6000-b7df7000 r--p 00139000 03:05 25723377 /lib/i686/libc-2.6.1.so b7df7000-b7df9000 rw-p 0013a000 03:05 25723377 /lib/i686/libc-2.6.1.so b7df9000-b7dfc000 rw-p b7df9000 00:00 0 b7dfc000-b7dfe000 r-xp 00000000 03:05 24084933 /lib/libutil-2.6.1.so b7dfe000-b7e00000 rw-p 00001000 03:05 24084933 /lib/libutil-2.6.1.so b7e00000-b7e01000 rw-p b7e00000 00:00 0 b7e01000-b7e06000 r-xp 00000000 03:05 23986527 /lib/libcrypt-2.6.1.so b7e06000-b7e08000 rw-p 00004000 03:05 23986527 /lib/libcrypt-2.6.1.so b7e08000-b7e2f000 rw-p b7e08000 00:00 0 b7e2f000-b7e52000 r-xp 00000000 03:05 25723627 /lib/i686/libm-2.6.1.so b7e52000-b7e54000 rw-p 00023000 03:05 25723627 /lib/i686/libm-2.6.1.so b7e54000-b7e56000 r-xp 00000000 03:05 23986530 /lib/libdl-2.6.1.so b7e56000-b7e58000 rw-p 00001000 03:05 23986530 /lib/libdl-2.6.1.so b7e58000-b7e6b000 r-xp 00000000 03:05 23986550 /lib/libnsl-2.6.1.so b7e6b000-b7e6d000 rw-p 00012000 03:05 23986550 /lib/libnsl-2.6.1.so b7e6d000-b7e6f000 rw-p b7e6d000 00:00 0 b7e71000-b7e78000 r-xp 00000000 03:05 19715783 /usr/lib/perl5/5.8.8/i386-linux/auto/Data/Dumper/Dumper.so b7e78000-b7e79000 rw-p 00006000 03:05 19715783 /usr/lib/perl5/5.8.8/i386-linux/auto/Data/Dumper/Dumper.so b7e79000-b7e80000 r-xp 00000000 03:05 18743425 /home/guillomovitch/cooker/perl-Inline-Python/BUILD/Inline-Python-0.22/blib/arch/auto/Inline/Python/Python.so b7e80000-b7e81000 rw-p 00006000 03:05 18743425 /home/guillomovitch/cooker/perl-Inline-Python/BUILD/Inline-Python-0.22/blib/arch/auto/Inline/Python/Python.so b7e81000-b7e84000 r-xp 00000000 03:05 19712517 /usr/lib/perl5/5.8.8/i386-linux/auto/Digest/MD5/MD5.so b7e84000-b7e85000 rw-p 00002000 03:05 19712517 /usr/lib/perl5/5.8.8/i386-linux/auto/Digest/MD5/MD5.so b7e85000-b7e86000 r--p 00000000 03:05 20107738 /usr/share/locale/fr_FR.UTF-8/LC_MONETARY b7e86000-b7e87000 r--p 00000000 03:05 20107740 /usr/share/locale/fr_FR.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES b7e87000-b7e88000 r--p 00000000 03:05 20107742 /usr/share/locale/fr_FR.UTF-8/LC_PAPER b7e88000-b7e89000 r--p 00000000 03:05 20107743 /usr/share/locale/fr_FR.UTF-8/LC_NAME b7e89000-b7e8a000 r--p 00000000 03:05 19975511 /usr/share/locale/fr_FR.UTF-8/LC_ADDRESS b7e8a000-b7e8b000 r--p 00000000 03:05 19975509 /usr/share/locale/fr_FR.UTF-8/LC_TELEPHONE b7e8b000-b7e8c000 r--p 00000000 03:05 20107744 /usr/share/locale/fr_FR.UTF-8/LC_MEASUREMENT b7e8c000-b7e93000 r--s 00000000 03:05 19666242 /usr/lib/gconv/gconv-modules.cache b7e93000-b7e94000 r--p 00000000 03:05 19975360 /usr/share/locale/fr_FR.UTF-8/LC_IDENTIFICATION b7e94000-b7f9c000 r-xp 00000000 03:05 19710126 /usr/lib/perl5/5.8.8/i386-linux/CORE/libperl.so b7f9c000-b7fa1000 rw-p 00108000 03:05 19710126 /usr/lib/perl5/5.8.8/i386-linux/CORE/libperl.so b7fa1000-b7fa4000 rw-p b7fa1000 00:00 0 b7fa4000-b7fbd000 r-xp 00000000 03:05 23986509 /lib/ld-2.6.1.so b7fbd000-b7fbe000 r--p 00018000 03:05 23986509 /lib/ld-2.6.1.so b7fbe000-b7fbf000 rw-p 00019000 03:05 23986509 /lib/ld-2.6.1.so bfda6000-bfdbd000 rw-p bfda6000 00:00 0 [stack] ffffe000-fffff000 ---p 00000000 00:00 0 [vdso] Abandon
From: agentzh [...] yahoo.cn
On Sun Sep 09 16:14:23 2007, GROUSSE wrote: Show quoted text
> On mandriva linux, using python 2.5.1, perl 5.8.8 and gcc 4.2.1: >
I'm getting exactly the same error messages on Ubuntu Feisty fawn 7.04 with Python 2.5 and Inline::Python 0.22. Is the module still under active development? Regards, -agentzh
On Tue Nov 06 09:39:01 2007, AGENT wrote: Show quoted text
> I'm getting exactly the same error messages on Ubuntu Feisty fawn 7.04 > with Python 2.5 and Inline::Python 0.22.
If I could get a stack trace with debug info (source file and line number), I may be able to fix this. Show quoted text
> Is the module still under active development?
It is again :) I'm actually very interested in reports like this.
Le Dim. Sep. 28 16:26:48 2008, NINE a écrit : Show quoted text
> On Tue Nov 06 09:39:01 2007, AGENT wrote: >
> > I'm getting exactly the same error messages on Ubuntu Feisty fawn
> 7.04
> > with Python 2.5 and Inline::Python 0.22.
> > If I could get a stack trace with debug info (source file and line > number), I may > be able to fix this.
Here is the backtrace of running 01testpl.t, with perl 5.10.0 and python 2.5.2
Download backtrace
application/octet-stream 1.7k

Message body not shown because it is not plain text.

On Sun Nov 09 09:49:12 2008, GROUSSE wrote: Show quoted text
> Here is the backtrace of running 01testpl.t, with perl 5.10.0 and python > 2.5.2
As the backtrace shows the error occuring in a very weird place: which version of Inline::Python are you using?
Le Dim. Nov. 09 10:59:44 2008, NINE a écrit : Show quoted text
> On Sun Nov 09 09:49:12 2008, GROUSSE wrote: >
> > Here is the backtrace of running 01testpl.t, with perl 5.10.0 and
> python
> > 2.5.2
> > As the backtrace shows the error occuring in a very weird place: which > version > of Inline::Python are you using?
The latest one: Inline-Python-0.25
The (just released) 0.26 should fix this issue and thus be the first to be compatible to Python 2.5. Passes all tests for me and works in my very demanding application. Please report if it works, so I can close this ticket :)
Le Lun. Nov. 10 07:39:13 2008, NINE a écrit : Show quoted text
> Please report if it works, so I can close this ticket :)
It works, thanks.