cvs commit: ports/textproc/libxml2 Makefile ports/textproc/libxml2/files patch-configure patch-threads.c

Maxim Sobolev sobomax at FreeBSD.org
Mon Jan 4 11:22:33 UTC 2010


Alex Dupre wrote:
> ale         2009-12-01 09:48:07 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     textproc/libxml2     Makefile 
>     textproc/libxml2/files patch-configure 
>   Added files:
>     textproc/libxml2/files patch-threads.c 
>   Log:
>   Build thread-safe library and do it in the right way to not break other ports.

This breaks PHP/Pear on my 7.2 amd64 box, reverting the change fixes the 
issue. Please resolve ASAP:

****************************************************************************
===>   Returning to build of pear-MDB2_Driver_pgsql-1.5.0.b2
===>   Generating packing list
===>   Generating temporary packing list
===>  Checking if databases/pear-MDB2_Driver_pgsql already installed
install ok: channel://pear.php.net/MDB2_Driver_pgsql-1.5.0b2
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/databases/pear-MDB2_Driver_pgsql.
*** Error code 1

# gdb php /usr/ports/databases/pear-MDB2_Driver_pgsql/php.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging 
symbols found)...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/lib/librt.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols 
found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging 
symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000008021907b0 in ?? ()
(gdb) bt
#0  0x00000008021907b0 in ?? ()
#1  0x0000000800c16ac5 in xmlFreeRMutex () from /usr/local/lib/libxml2.so.5
#2  0x0000000800c6589a in xmlDictCleanup () from /usr/local/lib/libxml2.so.5
#3  0x0000000800baf9af in xmlCleanupParser () from 
/usr/local/lib/libxml2.so.5
#4  0x0000000000443368 in php_libxml_shutdown ()
#5  0x0000000000443399 in zm_shutdown_libxml ()
#6  0x000000000050ddd1 in module_destructor ()
#7  0x000000000051488a in zend_hash_apply_deleter ()
#8  0x0000000000514af8 in zend_hash_graceful_reverse_destroy ()
#9  0x0000000000509f67 in zend_shutdown ()
#10 0x00000000004c5e6a in php_module_shutdown ()
#11 0x000000000058eafb in main ()

-Maxim


More information about the cvs-ports mailing list