Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2009 13:39:57 +0000 (GMT)
From:      Saifi Khan <saifi.khan@twincling.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   PHP 5.2.8 crash (segmentation fault 11)
Message-ID:  <Pine.LNX.4.64.0901241338001.6062@localhost>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-1164620919-1232760478=:5821
Content-Type: TEXT/PLAIN; CHARSET=X-UNKNOWN
Content-Transfer-Encoding: 8BIT
Content-ID: <Pine.LNX.4.64.0901241338003.6062@localhost>

Hi all:

Freshly compiled PHP 5.2.8 with PECL and PHP5-extensions support
on FreeBSD 7.1 (i386) 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)]


The stack frame are 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 pointers as to how to solve this issue ?


thanks
Saifi.
--8323328-1164620919-1232760478=:5821--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.64.0901241338001.6062>