ID:               34978
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cdc at ccicon dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: linux i386
 PHP Version:      5.0.5
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Out of memory is not a bug in PHP, it simply means the memory limit
needs to be increased. Try setting it to 20 megs and see if that solves
the problem.


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

[2005-10-26 06:38:36] cdc at ccicon dot com

I have tested this latest snap shot.  Like the previous 5.1RC4 snap
shot, the installer phase completes successfully, however, first login
results in an out of memory error as follows:

( Fatal error: Allowed memory size of 67108864 bytes exhausted at
/usr/local/apache_src/php5-200510260230/Zend/zend_hash.c:242 (tried to
allocate 58 bytes) in
/home/www/dev/htdocs/sugarsuite-3.5.1a/data/SugarBean.php on line
1087)

This occurs with register_long_arrays=on.  Unlike the previous
snapshot, which segfaulted when register_long_arrays=off, this one
generates the same out of memory error regardless of the
register_long_arrays setting.

As this drop is not segfaulting I'm not sure how to provide a backtrace
of this problem.  Please advise.

TTYL
  CDC

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

[2005-10-26 03:55:51] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



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

[2005-10-26 00:05:04] cdc at ccicon dot com

The following is a backtrace of the segfault caused by the installer
running under php 5.0.5.  I was unable to obtain a core dump for some
reason, so this is the back trace from gdb.  I have only attached the
first 100 lines or so.  Let me know if you need the full dump, and I
will post it at a url somewhere it can be retrieved.

TTYL
  CDC
(gdb)
(gdb) run -DSSL -X
Starting program: /usr/local/apache2/bin/httpd -DSSL -X
[New Thread 1077556160 (LWP 18347)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1077556160 (LWP 18347)]
0x420744c9 in _int_malloc () from /lib/tls/libc.so.6
(gdb) bt
#0  0x420744c9 in _int_malloc () from /lib/tls/libc.so.6
#1  0x4207378d in malloc () from /lib/tls/libc.so.6
#2  0x407287f9 in _emalloc (size=1108554272) at
/usr/local/apache_src/php-5.0.5/Zend/zend_alloc.c:183
#3  0x4073de51 in _zend_hash_add_or_update (ht=0xb7386bc,
arKey=0x8cd3adc "db", nKeyLength=3, pData=0x8cd3ac8, nDataSize=4,
pDest=0xbf8000c8,
    flag=1) at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:218
#4  0x4073ee0d in zend_hash_copy (target=0xb7386bc, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:760
#5  0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27479, handlers = 0x407c8a20},
old_object=0x8a8b5bc,
    handle=20) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#6  0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#7  0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#8  0x4073ee1c in zend_hash_copy (target=0xb737bbc, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#9  0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27478, handlers = 0x407c8a20},
old_object=0x8eb42cc,
    handle=17) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#10 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#11 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#12 0x4073ee1c in zend_hash_copy (target=0xb737ad4, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#13 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27477, handlers = 0x407c8a20},
old_object=0x8a8b5bc,
    handle=20) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#14 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#15 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#16 0x4073ee1c in zend_hash_copy (target=0xb736fb4, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#17 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27476, handlers = 0x407c8a20},
old_object=0x8eb42cc,
    handle=17) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#18 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#19 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#20 0x4073ee1c in zend_hash_copy (target=0xb736ecc, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#21 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27475, handlers = 0x407c8a20},
old_object=0x8a8b5bc,
    handle=20) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#22 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#23 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#24 0x4073ee1c in zend_hash_copy (target=0xb7363ac, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#25 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27474, handlers = 0x407c8a20},
old_object=0x8eb42cc,
    handle=17) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#26 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#27 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#28 0x4073ee1c in zend_hash_copy (target=0xb736294, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#29 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27473, handlers = 0x407c8a20},
old_object=0x8a8b5bc,
    handle=20) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#30 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#31 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
---Type <return> to continue, or q <return> to quit---
#32 0x4073ee1c in zend_hash_copy (target=0xb735794, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#33 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27472, handlers = 0x407c8a20},
old_object=0x8eb42cc,
    handle=17) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#34 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#35 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#36 0x4073ee1c in zend_hash_copy (target=0xb73567c, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#37 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27471, handlers = 0x407c8a20},
old_object=0x8a8b5bc,
    handle=20) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#38 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#39 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#40 0x4073ee1c in zend_hash_copy (target=0xb734b7c, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#41 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27470, handlers = 0x407c8a20},
old_object=0x8eb42cc,
    handle=17) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#42 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#43 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#44 0x4073ee1c in zend_hash_copy (target=0xb734a94, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#45 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27469, handlers = 0x407c8a20},
old_object=0x8a8b5bc,
    handle=20) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#46 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186
#47 0x407483f5 in zval_add_ref_or_clone (p=0x10) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:127
#48 0x4073ee1c in zend_hash_copy (target=0xb733f74, source=0x38,
pCopyConstructor=0x40748370 <zval_add_ref_or_clone>, tmp=0x0, size=4)
    at /usr/local/apache_src/php-5.0.5/Zend/zend_hash.c:765
#49 0x40748441 in zend_objects_clone_members (new_object=0x38,
new_obj_val={handle = 27468, handlers = 0x407c8a20},
old_object=0x8eb42cc,
    handle=17) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:137
#50 0x407485ad in zend_objects_clone_obj (zobject=0x38) at
/usr/local/apache_src/php-5.0.5/Zend/zend_objects.c:186

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

[2005-10-25 22:29:23] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34978

-- 
Edit this bug report at http://bugs.php.net/?id=34978&edit=1

Reply via email to