Re: PHP 4.0 Bug #8312 Updated: apache child crashes when calling include or require functions

From: Date: Mon, 08 Jan 2001 15:04:44 +0000
Subject: Re: PHP 4.0 Bug #8312 Updated: apache child crashes when calling include or require functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43384@lists.php.net to get a copy of this message
hello, yes, i have tried 4.04 - the same result. regards, Martynas Sklizmantas On Monday 08 January 2001 16:42, you wrote: > ID: 8312 > Updated by: sniper > Reported By: saint@xxx.lt > Status: Feedback > Bug Type: Reproduceable crash > Assigned To: > Comments: > > Okay, I tried to include the same page you did, and it > worked just fine. Have you tried PHP 4.0.4 ? > Does it work any better? > > --Jani > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-01-02 09:18:48] sniper@php.net > Could you please add a sample script which causes > this crash into this bug report? > It propably isn't the include/require which crashes > but something which you have in the included files. > > --Jani > > --------------------------------------------------------------------------- > > [2000-12-19 19:00:41] sniper@php.net > Feedback : > -------- > backtrace with gdb (using php standalone binary): > Starting program: /usr/bin/php test.php > > Program received signal SIGSEGV, Segmentation fault. > > 0x806a96d in php_network_getaddresses (host=0x81b500c "centras.lt", > sal=0xbfffc2e8) at network.c:113 > 113 *(struct sockaddr_in *)*sap = > (gdb) bt > #0 0x806a96d in php_network_getaddresses (host=0x81b500c "centras.lt", > sal=0xbfffc2e8) at network.c:113 > #1 0x806a9f7 in php_hostconnect (host=0x81b500c "centras.lt", port=80, > socktype=1, timeout=0) at network.c:165 > #2 0x806691e in php_fopen_url_wrap_http (path=0x818b81c > "http://centras.lt/index.html", mode=0x811f023 > "rb", options=1, > issock=0xbfffe814, > socketd=0xbfffe818, opened_path=0xbfffe900) at fopen-wrappers.c:472 > #3 0x80675bd in php_fopen_url_wrapper (path=0x818b81c > "http://centras.lt/index.html", mode=0x811f023 > "rb", options=1, > issock=0xbfffe814, > socketd=0xbfffe818, opened_path=0xbfffe900) at fopen-wrappers.c:880 > #4 0x806639e in php_fopen_wrapper (path=0x818b81c > "http://centras.lt/index.html", mode=0x811f023 > "rb", options=1, > issock=0xbfffe814, > socketd=0xbfffe818, opened_path=0xbfffe900) at fopen-wrappers.c:265 > #5 0x806315e in php_fopen_wrapper_for_zend (filename=0x818b81c > "http://centras.lt/index.html", > opened_path=0xbfffe900) at main.c:493 > #6 0x80d5070 in open_file_for_scanning (file_handle=0xbfffe8f8) at > zend-scanner.c:2830 > #7 0x80d5193 in compile_file (file_handle=0xbfffe8f8, type=2) at > zend-scanner.c:2928 > #8 0x80d5314 in compile_filename (type=2, filename=0x81b87a4) at > zend-scanner.c:2982 > #9 0x80f5913 in execute (op_array=0x81b46cc) at ./zend_execute.c:2014 > #10 0x80ce96b in zend_execute_scripts (type=8, file_count=3) at zend.c:717 > #11 0x8063f5c in php_execute_script (primary_file=0xbffffb48) at > main.c:1200 #12 0x80626fc in main (argc=2, argv=0xbffffbc4) at > cgi_main.c:715 > > script which was executed: > > <?php > include ("http://centras.lt/index.html"); > ?> > > > --------------------------------------------------------------------------- > > [2000-12-18 07:27:48] saint@xxx.lt > <?php > include ("http://www.server.com/index.html"); > ?> > --with-apache=../apache_1.3.12 --with-config-file=/usr/local/etc/php4 > --with-exec-dir=/usr/local/bin/php4 --enable-track-vars --disable-debug > --disable-short-tags --with-gdbm --with-imap --with-mcrypt --with-mhash > --with-mysql --with-xml --with-zlib > > it crashes with/without zend debug, with 1.3.14 and 1.3.12 apache server. > on turbolinux server this works ok, crashes just on debian with the same > compile time settings etc. > > --------------------------------------------------------------------------- > > > Full Bug description available at: http://bugs.php.net/?id=8312

« previous php.dev (#43384) next »