Hi all:

Freshly compiled PHP 5.2.8 with PECL and PHP5-extensions support
seems to be crashing in 

#0  0x28e3e006 in hash_lookup (hashtab=0x29ea2f70, 
    key=0xbfbfea30 "\221Û\222)À{\206)p/ê)ì\r\226)`Qp(") at misc.c:349
349       for (ret = hashtab->table[hash_index (hashtab,key)]; ret; ret = 
ret->next)
[New Thread 0x28759400 (LWP 100083)]


Could this be due to librecode as seen in the top three entries
in the stack frames shown below ?


(gdb) bt
#0  0x28e3e006 in hash_lookup (hashtab=0x29ea2f70, 
    key=0xbfbfea30 "\221Û\222)À{\206)p/ê)ì\r\226)`Qp(") at misc.c:349
#1  0x29867dae in find_alias () from /usr/local/lib/librecode.so.3
#2  0x29869361 in recode_new_outer () from /usr/local/lib/librecode.so.3
#3  0x2981dd6e in zm_startup_recode ()
   from /usr/local/lib/php/20060613-debug/recode.so
#4  0x081c0f65 in zend_startup_module_ex (module=0x287cd100)
    at /usr/ports/lang/php5/work/php-5.2.8/Zend/zend_API.c:1472
#5  0x081c81d2 in zend_hash_apply (ht=0x82f0a80, 
    apply_func=0x81c0dc0 <zend_startup_module_ex>)
    at /usr/ports/lang/php5/work/php-5.2.8/Zend/zend_hash.c:673
#6  0x081c112f in zend_startup_modules ()
    at /usr/ports/lang/php5/work/php-5.2.8/Zend/zend_API.c:1519
#7  0x08166db8 in php_module_startup (sf=0x82ec200, additional_modules=0x0, 
    num_additional_modules=0)
    at /usr/ports/lang/php5/work/php-5.2.8/main/main.c:1843
#8  0x0823abf1 in php_cli_startup (sapi_module=0x82ec200)
    at /usr/ports/lang/php5/work/php-5.2.8/sapi/cli/php_cli.c:357
#9  0x0823b8a6 in main (argc=2, argv=0xbfbfeda8)
    at /usr/ports/lang/php5/work/php-5.2.8/sapi/cli/php_cli.c:716

Anybody faced this issue ?

I'm thinking of disabling the recode and threading support in
the compile time options and build PHP 5.2.8 again.

Btw, what exactly is the purpose of 'librecode' ?
Couldn't find any serious documentation on this library.


thanks
Saifi.

[Non-text portions of this message have been removed]


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

-----------------------------------------------------------
Twincling Technology Foundation
freedom of innovation
http://www.twincling.org/
-----------------------------------------------------------
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/twincling/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/twincling/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to