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

Steve Langasek vorlon at debian.org
Mon Sep 17 23:28:06 UTC 2007

reassign 442855 librecode0
found 442855 3.6-12

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
#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 ()

Looks to me like it's probably a librecode bug?  Reassigning.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

More information about the pkg-php-maint mailing list