[php-maint] Bug#442855: Bug#442855: php5-recode: segmentation violation in function 'recode_string' in AMD64

Santiago Vila sanvila at unex.es
Fri Aug 21 22:31:55 UTC 2009


reassign 442855 php5-recode
thanks

On Mon, 17 Sep 2007, Steve Langasek wrote:

> reassign 442855 librecode0
> found 442855 3.6-12
> thanks
> 
> On Mon, Sep 17, 2007 at 03:07:14PM +0200, Rafael Jesus Alcantara Perez wrote:
> > Package: php5-recode
> > Version: 5.2.0-8+etch7
> > Severity: normal
> 
> > In Debian for AMD64 the next example generates a 'segmentation violation':
> 
> > echo '<? print recode_string("utf8..latin2", "example"); ?>' | php5
> 
> Confirmed, and the backtrace is:
> 
> (gdb) bt
> #0  0x00002b497103d12e in transform_with_libiconv ()
>    from /usr/lib/librecode.so.0
> #1  0x00002b497104942d in recode_perform_task () from
> /usr/lib/librecode.so.0
> #2  0x00002b4971047dc0 in recode_buffer_to_buffer ()
>    from /usr/lib/librecode.so.0
> #3  0x00002b4970e984b1 in zif_recode_string ()
>    from /usr/lib/php5/20060613/recode.so
> #4  0x000000000065f9a7 in execute ()
> #5  0x000000000064f3c3 in execute ()
> #6  0x0000000000632429 in zend_execute_scripts ()
> #7  0x00000000005f2bf8 in php_execute_script ()
> #8  0x00000000006b8cb5 in main ()
> (gdb)
> 
> Looks to me like it's probably a librecode bug?  Reassigning.

Well, it seems it was not, after all.

I can't reproduce this on a lenny amd64 system, so I looked at php
changelog and noticed that this bug is *suspiciously* similar to
Bug#459020 in php, which was fixed in etch in version 5.2.0-8+etch11~p1.

So, reassigning again. I believe the bug may be closed, but I leave
that to the PHP maintainers.

Cc: to recode-bugs as well, where I mistakenly forwarded this.
François: you can forget about this one :-)

Thanks.



More information about the pkg-php-maint mailing list