ID:               22357
 Updated by:       [EMAIL PROTECTED]
 Reported By:      m dot heidenwolf at ehotel dot ag
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: Redhat Linux 2.4.2
 PHP Version:      4.3.2-dev
 New Comment:

http://gcc.gnu.org/gcc-2.96.html

So please "upgrade" first to a working and official version
of gcc, like 2.95.3.






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

[2003-02-24 06:58:39] m dot heidenwolf at ehotel dot ag

configure line:
CPPFLAGS='-I/usr/include/openssl -DEAPI' \
LDFLAGS='-L/usr/include/openssl' \
'./configure' \
'--with-oci8=/ora8/m01/app/oracle/product/8.1.7' \
'--disable-short-tags' \
'--enable-sockets' \
'--enable-ctype' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-curl' \
'--enable-sigchild' \
'--with-zlib' \
'--enable-bcmath' \
'--enable-debug' \


compiler:
gcc 2.96

greets,
marco

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

[2003-02-24 06:40:10] [EMAIL PROTECTED]

What configure line and compiler version are you using?


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

[2003-02-24 06:17:43] m dot heidenwolf at ehotel dot ag

Hi,

no problem, i tried the following Snaps 
php4-STABLE-200302240630
php4-STABLE-200302240830
php4-STABLE-200302241030

all with the same result

make warnings like

/usr/local/src/new_022403/php4-STABLE-200302240630/ext/standard/var_unserializer.c:751:
warning: label `yy80' defined but not used
/usr/local/src/new_022403/php4-STABLE-200302240630/ext/standard/var_unserializer.c:749:
warning: label `yy79' defined but not used
/usr/local/src/new_022403/php4-STABLE-200302240630/ext/standard/var_unserializer.c:746:
warning: label `yy78' defined but not used


and

ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/src/new_022403/php4-STABLE-200302240830/ext/mysql/libmysql/my_tempnam.c:103:
the use of `tempnam' is dangerous, better use `mkstemp'


these i had also before at 4.3.1 but php works anyway
but finally at make install i got

make[1]: *** [install-pear-installer] Ung�ltiger Maschinenbefehl
(Speicherauszug erstellt)

                                        invalid machine instruction (memory dump 
created)

i got the core file but i sadly dont know how to handle it

regards,
marco

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

[2003-02-24 03:58:12] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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


One more try. (I should have asked you to test the snapshot right away,
sorry about that)


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

[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