[PHP-DEV] Bug #11780 Updated: udm_find makes php crash From: cedric <email protected>
Date: 06/29/01

ID: 11780
User Update by: cedric <email protected>
Status: Open
Bug Type: Unknown/Other Function
Operating system: Linux
PHP Version: 4.0.6
Description: udm_find makes php crash

BTW, if it can help, I'm using mnoGoSearch 3.1.16
and MySQL 3.23.35

Previous Comments:
---------------------------------------------------------------------------

[2001-06-28 10:05:25] cedric <email protected>
To reproduce the problem :

<html><body>
Hello World<br>
<?php
        $udm_agent = udm_alloc_agent( "mysql://myuser:mypass <email protected>/mnoGoSearch/","single");
        if ( $udm_agent == false )
                echo "Agent NOK<br>";
        else
                echo "Agent OK<br>";
        $res = udm_find( $udm_agent, "word" );
?>
</body></html>

Important notice: It seems to crash ONLY when the word
belongs the dictionary (dict table).
(This seems to prove that the udm_agent is well-defined)

Configuration :
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --enable-trans-sid --with-curl --with-mnogosearch=/usr/local/bin/mnogosearch --enable-debug

Apache 1.3.19

Backtrace:

#0 _dl_lookup_versioned_symbol (undef_name=0x804bf7a "unlink", ref=0xbffffd18, symbol_scope=0x0,
    reference_name=0x40010187 "", version=0x40151048, reloc_type=7) at do-lookup.h:82
#1 0x40009cfa in fixup (l=0x40013368, reloc_offset=1668) at dl-runtime.c:75
#2 0x40009e70 in _dl_runtime_resolve () at dl-runtime.c:170
#3 0x80779b3 in main ()

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=11780

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>