Bug #11780: udm_find makes php crash
| From: | cedric at anes dot com | Date: | Thu, 28 Jun 2001 14:05:25 +0000 |
| Subject: | Bug #11780: udm_find makes php crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58330@lists.php.net to get a copy of this message | ||
From: cedric@anes.com
Operating system: Linux
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: udm_find makes php crash
To reproduce the problem :
<html><body>
Hello World<br>
<?php
$udm_agent = udm_alloc_agent(
"mysql://myuser:mypass@localhost/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 ()
--
Edit Bug report at: http://bugs.php.net/?id=11780&edit=1