ID:               22357
 User updated by:  m dot heidenwolf at ehotel dot ag
 Reported By:      m dot heidenwolf at ehotel dot ag
-Status:           Bogus
+Status:           Open
 Bug Type:         *General Issues
 Operating System: Redhat Linux 2.4.2
 PHP Version:      4.2.3
 New Comment:

Hi,

thanks for the fast respond.
A reproduce script is not that easy because i changed a lot and its not
a small Project.

Ok, i changed to php 4.3.1 but the error remains an the backtrace goes
like this:

(gdb) bt
#0  0x40158e3f in memcpy (dstpp=0x40cf9665, srcpp=0x0, len=1076731017)
at ../sysdeps/generic/memcpy.c:44
#1  0x402da381 in smart_str_appendl_ex (dest=0xbfff82b0, src=0x0,
len=1076731017, what=0)
    at
/usr/local/src/new_022403/php-4.3.1/ext/standard/php_smart_str.h:76
#2  0x402da639 in php_var_serialize_class_name (buf=0xbfff82b0,
struc=0x82b3560)
    at /usr/local/src/new_022403/php-4.3.1/ext/standard/var.c:420
#3  0x402d9de2 in php_var_serialize_intern (buf=0xbfff82b0,
struc=0x82b3560, var_hash=0xbfff82c0)
    at /usr/local/src/new_022403/php-4.3.1/ext/standard/var.c:560
#4  0x402d9f34 in php_var_serialize_intern (buf=0xbfff82b0,
struc=0x83da70c, var_hash=0xbfff82c0)
    at /usr/local/src/new_022403/php-4.3.1/ext/standard/var.c:598
#5  0x402d9f9b in php_var_serialize (buf=0xbfff82b0, struc=0x83da70c,
var_hash=0xbfff82c0)
    at /usr/local/src/new_022403/php-4.3.1/ext/standard/var.c:612
#6  0x402da04c in zif_serialize (ht=1, return_value=0x83a73c4,
this_ptr=0x0, return_value_used=1)
    at /usr/local/src/new_022403/php-4.3.1/ext/standard/var.c:635
#7  0x4035f9d3 in execute (op_array=0x81d2b70) at
/usr/local/src/new_022403/php-4.3.1/Zend/zend_execute.c:1596
#8  0x4035fc06 in execute (op_array=0x83d987c) at
/usr/local/src/new_022403/php-4.3.1/Zend/zend_execute.c:1640
#9  0x4034dac0 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /usr/local/src/new_022403/php-4.3.1/Zend/zend.c:864
#10 0x40316763 in php_execute_script (primary_file=0xbffff2c0) at
/usr/local/src/new_022403/php-4.3.1/main/main.c:1573
#11 0x403649b6 in apache_php_module_main (r=0x817d9dc,
display_source_mode=0)
    at
/usr/local/src/new_022403/php-4.3.1/sapi/apache/sapi_apache.c:55
#12 0x4036589c in send_php (r=0x817d9dc, display_source_mode=0,
    filename=0x817f834
"/home/marco/htdocs/fastbooking/bedhunter/de/buchung.php")
    at /usr/local/src/new_022403/php-4.3.1/sapi/apache/mod_php4.c:556
#13 0x40365909 in send_parsed_php (r=0x817d9dc) at
/usr/local/src/new_022403/php-4.3.1/sapi/apache/mod_php4.c:571
#14 0x080860af in ap_invoke_handler () at eval.c:41
#15 0x0809b177 in process_request_internal () at eval.c:41
#16 0x0809b1d8 in ap_process_request () at eval.c:41
#17 0x080920b5 in child_main () at eval.c:41
#18 0x08092284 in make_child () at eval.c:41
#19 0x080923f8 in startup_children () at eval.c:41
#20 0x08092a74 in standalone_main () at eval.c:41
#21 0x080932ff in main () at eval.c:41
#22 0x400f1e5e in __libc_start_main (main=0x8092f34 <main>, argc=5,
ubp_av=0xbffff6fc, init=0x804fa84 <_init>,
    fini=0x80b2ae0 <_fini>, rtld_fini=0x4000d3c4 <_dl_fini>,
stack_end=0xbffff6ec) at ../sysdeps/generic/libc-start.c:129



regards,
marco


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

[2003-02-23 03:11:27] [EMAIL PROTECTED]

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


..and if you still get the same result, give us more information. Like
a short example script..


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

[2003-02-21 14:08:02] [EMAIL PROTECTED]

Does it happen with 4.3 ?
And can you please provide a reproduce script.

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

[2003-02-21 10:54:35] m dot heidenwolf at ehotel dot ag

Hi,

after a few code changes i get a crash like
 exit signal Segmentation fault (11)
in the apache logs.

The backtrace is:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20130)]
0x40158e47 in memcpy (dstpp=0x40c5c2cc, srcpp=0x0, len=1076992773) at
../sysdeps/generic/memcpy.c:55
55      ../sysdeps/generic/memcpy.c: No such file or directory.
        in ../sysdeps/generic/memcpy.c
(gdb) bt
#0  0x40158e47 in memcpy (dstpp=0x40c5c2cc, srcpp=0x0, len=1076992773)
at ../sysdeps/generic/memcpy.c:55
#1  0x4031a1bd in smart_str_appendl_ex (dest=0xbfff92f0, src=0x0,
len=1076992773, what=0) at php_smart_str.h:75
#2  0x4031a471 in php_var_serialize_class_name (buf=0xbfff92f0,
struc=0x81d63c0) at var.c:385
#3  0x40319c3e in php_var_serialize_intern (buf=0xbfff92f0,
struc=0x81d63c0, var_hash=0xbfff9300) at var.c:519
#4  0x40319d90 in php_var_serialize_intern (buf=0xbfff92f0,
struc=0x81ddc5c, var_hash=0xbfff9300) at var.c:557
#5  0x40319df7 in php_var_serialize (buf=0xbfff92f0, struc=0x81ddc5c,
var_hash=0xbfff9300) at var.c:571
#6  0x40319e9c in zif_serialize (ht=1, return_value=0x823ef64,
this_ptr=0x0, return_value_used=1) at var.c:594
#7  0x40243289 in execute (op_array=0x8576348) at
./zend_execute.c:1598
#8  0x4024349b in execute (op_array=0x81dca44) at
./zend_execute.c:1638
#9  0x40253f90 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at zend.c:812
#10 0x402668be in php_execute_script (primary_file=0xbffff2b0) at
main.c:1383
#11 0x4026126e in apache_php_module_main (r=0x8172aac,
display_source_mode=0) at sapi_apache.c:90
#12 0x402620dc in send_php (r=0x8172aac, display_source_mode=0,
    filename=0x817493c
"/home/marco/htdocs/fastbooking/bedhunter/de/buchung.php") at
mod_php4.c:575
#13 0x40262149 in send_parsed_php (r=0x8172aac) at mod_php4.c:590
#14 0x080860af in ap_invoke_handler () at eval.c:41
#15 0x0809b177 in process_request_internal () at eval.c:41
#16 0x0809b1d8 in ap_process_request () at eval.c:41
#17 0x080920b5 in child_main () at eval.c:41
#18 0x08092284 in make_child () at eval.c:41
#19 0x080923f8 in startup_children () at eval.c:41
#20 0x08092a74 in standalone_main () at eval.c:41
#21 0x080932ff in main () at eval.c:41
#22 0x400f1e5e in __libc_start_main (main=0x8092f34 <main>, argc=5,
ubp_av=0xbffff6ec, init=0x804fa84 <_init>,
    fini=0x80b2ae0 <_fini>, rtld_fini=0x4000d3c4 <_dl_fini>,
stack_end=0xbffff6dc) at ../sysdeps/generic/libc-start.c:129

system is running on:

php 4.2.3
openssl-0.9.6g
curl-7.9.8
zlib-1.1.4
libxml2-2.4.19
apache_1.3.26
Redhat Linux

thanks,
marco




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


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

Reply via email to