You are here: php related segmentation fault with Apache 2.0.55 « PHP « IT news, forums, messages
php related segmentation fault with Apache 2.0.55

Posted by kristina clair on 11/17/05 23:31

Hello,

I am seeing Apache segmentation faults with some processes which turn
out to be php related. This is a newly upgraded Apache from Apache
2.0.54 to Apache 2.0.55. The scripts that are failing with the new
Apache work with no problems with the old Apache.

Traceback from Apache is below.

Let me know if I should provide any more info. php version is 4.3.10,
and linux distro is fedora core 3 - php and apache are both compiled
from source, not installed from rpm.

Thanks,
Kristina

#0 zend_hash_index_update_or_next_insert (ht=0xb7d247a0, h=4, pData=0xbfffec70,
nDataSize=12, pDest=0x0, flag=1) at
/usr/local/src/php-4.3.10/Zend/zend_hash.c:392
nIndex = 4
p = (Bucket *) 0x7068702e
#1 0xb7c6bf23 in zend_list_insert (ptr=0x9b57ba4, type=162888612)
at /usr/local/src/php-4.3.10/Zend/zend_list.c:45
index = 4
le = {ptr = 0xda1a0c4, type = 2, refcount = 1}
#2 0xb7c6c05e in zend_register_resource (rsrc_result=0x0,
rsrc_pointer=0xda1a0c4,
rsrc_type=2) at /usr/local/src/php-4.3.10/Zend/zend_list.c:98
rsrc_id = 162888612
#3 0xb7c452f8 in _php_stream_alloc (ops=0x9b57ba4, abstract=0x9b57ba4,
persistent_id=0x0, mode=0xb762f895 "rb")
at /usr/local/src/php-4.3.10/main/streams.c:281
le = {ptr = 0x24, type = 1126289980, refcount = 797960056}
ret = (php_stream *) 0xda1a0c4
#4 0xb7c46b06 in _php_stream_fopen_from_fd (fd=16, mode=0xb762f895 "rb",
persistent_id=0x0) at /usr/local/src/php-4.3.10/main/streams.c:2067
self = (php_stdio_stream_data *) 0x9c0871c
stream = (php_stream *) 0x9c08730
sb = {st_dev = 16, __pad1 = 0, st_ino = 3230021650, st_mode = 33188,
st_nlink = 1, st_uid = 42807, st_gid = 100, st_rdev = 0, __pad2 = 0,
st_size = 1179, st_blksize = 32768, st_blocks = 8, st_atim = {tv_sec
= 1124473602,
tv_nsec = 315743024}, st_mtim = {tv_sec = 1126289980, tv_nsec = 797960056},
st_ctim = {tv_sec = 1126289980, tv_nsec = 799959752}, __unused4 = 0,
__unused5 = 0}
#5 0xb7c46c9d in _php_stream_fopen (
filename=0xda143d8 "/home/serve/STJOSEPHGC/eventsdb.php",
mode=0xb762f895 "rb",
opened_path=0xbffff1a8, options=165)
at /usr/local/src/php-4.3.10/main/streams.c:1999
realpath = 0xd993454 "/mnt/nfs/STJOSEPHGC/eventsdb.php"
st = {st_dev = 16, __pad1 = 0, st_ino = 3230021650, st_mode = 33188,
st_nlink = 1, st_uid = 42807, st_gid = 100, st_rdev = 0, __pad2 = 0,
st_size = 1179, st_blksize = 32768, st_blocks = 8, st_atim = {tv_sec
= 1124473602,
tv_nsec = 315743024}, st_mtim = {tv_sec = 1126289980, tv_nsec = 797960056},
st_ctim = {tv_sec = 1126289980, tv_nsec = 799959752}, __unused4 = 0,
__unused5 = 0}
open_flags = 0
fd = 16
ret = (php_stream *) 0x0
persistent = 16
persistent_id = 0x0
#6 0xb7c47fb5 in php_plain_files_stream_opener (wrapper=0xb7cf3dc4,
path=0xda143d8 "/home/serve/STJOSEPHGC/eventsdb.php", mode=0xb762f895 "rb",
options=165, opened_path=0xbffff1a8, context=0x0)
at /usr/local/src/php-4.3.10/main/streams.c:2463
No locals.
#7 0xb7c485dc in _php_stream_open_wrapper_ex (
path=0xda143d8 "/home/serve/STJOSEPHGC/eventsdb.php", mode=0xb762f895 "rb",
options=173, opened_path=0xa5, context=0x0)
at /usr/local/src/php-4.3.10/main/streams.c:2660
stream = (php_stream *) 0x0
wrapper = (php_stream_wrapper *) 0xb7cf3dc4
path_to_open = 0xda143d8 "/home/serve/STJOSEPHGC/eventsdb.php"
#8 0xb75d84ce in ?? ()
from /home/sys/Zend/lib/Optimizer-2.5.7/php-4.3.x/ZendOptimizer.so
No symbol table info available.
#9 0x0da143d8 in ?? ()
No symbol table info available.
#10 0xb762f895 in ?? ()
from /home/sys/Zend/lib/Optimizer-2.5.7/php-4.3.x/ZendOptimizer.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#11 0x000000ad in ?? ()
No symbol table info available.
#12 0xbffff1a8 in ?? ()
No symbol table info available.
#13 0x00000000 in ?? ()
No symbol table info available.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация