Date: 01/02/01
- Next message: dnl: "[PHP-DEV] [php-dev] php imap-utf-7 bug"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7968 Updated: Unable to find extension php_ifx.dll"
- Next in thread: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8487 Updated: Crashing while reading a RSS file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8487
User Update by: matt <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Reproduceable crash
Description: Crashing while reading a RSS file
Got the latest Snap (php4-200101021545)
did this:
./configure --with-apxs=/www/bin/apxs --with-mysql --with-ttf=/usr/local/ --with-xml --with-gd=/usr --enable-gd-imgstrttf
make
got this:
[root <email protected> php4-200101021545]# make
Making all in Zend
make[1]: Entering directory `/usr/local/src/php4-200101021545/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/php4-200101021545/Zend'
Making all in main
make[1]: Entering directory `/usr/local/src/php4-200101021545/main'
make[2]: Entering directory `/usr/local/src/php4-200101021545/main'
/bin/sh /usr/local/src/php4-200101021545/libtool --silent --mode=compile gcc -I. -I/usr/local/src/php4-200101021545/main -I/usr/local/src/php4-200101021545/main -I/usr/local/src/php4-200101021545 -I/www/include -I/usr/local/src/php4-200101021545/Zend -I/usr/local//include/freetype -I/usr/local/src/php4-200101021545/ext/mysql/libmysql -I/usr/local/src/php4-200101021545/ext/xml/expat/xmltok -I/usr/local/src/php4-200101021545/ext/xml/expat/xmlparse -I/usr/local/src/php4-200101021545/TSRM -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c php_ini.c
php_ini.c: In function `php_init_config':
php_ini.c:189: `ZEND_PATHS_SEPARATOR' undeclared (first use in this function)
php_ini.c:189: (Each undeclared identifier is reported only once
php_ini.c:189: for each function it appears in.)
make[2]: *** [php_ini.lo] Error 1
make[2]: Leaving directory `/usr/local/src/php4-200101021545/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php4-200101021545/main'
make: *** [all-recursive] Error 1
[root <email protected> php4-200101021545]#
Previous Comments:
---------------------------------------------------------------------------
[2001-01-02 19:22:06] sniper <email protected>
Please try the latest snapshot from http://snaps.php.net/ as this should be fixed now. And if it crashes too, please add a shortest possible script into this report which can
be used to reproduce this.
--Jani
---------------------------------------------------------------------------
[2000-12-29 20:30:45] matt <email protected>
Here is the BT:
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /www/bin/./httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x4036f142 in call_user_function_ex (function_table=0x80c9b18, object_pp=0x81f12a0, function_name=0x81f4d6c,
retval_ptr_ptr=0xbfffc3a8, param_count=3, params=0x81f4a54, no_separation=1, symbol_table=0x0) at zend_execute_API.c:365
365 if (Z_TYPE_PP(object_pp) != IS_OBJECT) {
(gdb) bt
#0 0x4036f142 in call_user_function_ex (function_table=0x80c9b18, object_pp=0x81f12a0, function_name=0x81f4d6c,
retval_ptr_ptr=0xbfffc3a8, param_count=3, params=0x81f4a54, no_separation=1, symbol_table=0x0) at zend_execute_API.c:365
#1 0x4036efc0 in call_user_function (function_table=0x80c9b18, object_pp=0x81f12a0, function_name=0x81f4d6c,
retval_ptr=0x81f4a8c, param_count=3, params=0xbfffc450) at zend_execute_API.c:325
#2 0x403f0b4f in xml_call_handler (parser=0x81f126c, handler=0x81f4d6c, argc=3, argv=0xbfffc450) at xml.c:361
#3 0x403f127b in _xml_startElementHandler (userData=0x81f126c, name=0x81f0794 "RSS", attributes=0x81226f0) at xml.c:648
#4 0x40402de9 in doContent (parser=0x81f17a8, startTagLevel=0, enc=0x40435840,
s=0x8107f93 "<rss version="0.91">n <channel>n <title> Insurance industry news</title>n <link>http://www.moreover.com>n <description>Insurance industry news - news headlines from around the web, ref"..., end=0x8108f3a "", nextPtr=0x0)
at xmlparse.c:1268
#5 0x4040258d in contentProcessor (parser=0x81f17a8,
start=0x8107f93 "<rss version="0.91">n <channel>n <title> Insurance industry news</title>n <link>http://www.moreover.com>n <description>Insurance industry news - news headlines from around the web, ref"..., end=0x8108f3a "", endPtr=0x0)
at xmlparse.c:957
#6 0x40404527 in prologProcessor (parser=0x81f17a8,
s=0x8107f93 "<rss version="0.91">n <channel>n <title> Insurance industry news</title>n <link>http://www.moreover.com>n <description>Insurance industry news - news headlines from around the web, ref"..., end=0x8108f3a "", nextPtr=0x0)
at xmlparse.c:2036
#7 0x4040210d in php_XML_Parse (parser=0x81f17a8,
s=0x8107eec "<?xml version="1.0" encoding="iso-8859-1"?>n<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"n"http://my.netscape.com/publish/formats/rss-0.91.dtd">n<rss version="0.91">n <channel>n"..., len=4174, isFinal=1)
at xmlparse.c:767
#8 0x403f25b6 in php_if_xml_parse (ht=3, return_value=0x81f1734, this_ptr=0x0, return_value_used=1) at xml.c:1221
#9 0x40368c3f in execute (op_array=0x81f0730) at ./zend_execute.c:1519
#10 0x40368e7a in execute (op_array=0x80f880c) at ./zend_execute.c:1559
#11 0x40376fe1 in zend_execute_scripts (type=8, file_count=3) at zend.c:729
#12 0x403881cf in php_execute_script (primary_file=0xbffff8f0) at main.c:1221
#13 0x40384b02 in apache_php_module_main (r=0x80f4b24, display_source_mode=0) at sapi_apache.c:89
#14 0x40385415 in send_php (r=0x80f4b24, display_source_mode=0, filename=0x0) at mod_php4.c:506
#15 0x4038544a in send_parsed_php (r=0x80f4b24) at mod_php4.c:517
#16 0x80542e3 in ap_invoke_handler ()
#17 0x8067819 in process_request_internal ()
#18 0x8067c38 in ap_internal_redirect ()
#19 0x401bae92 in handle_dir () from /www/libexec/mod_dir.so
#20 0x80542e3 in ap_invoke_handler ()
#21 0x8067819 in process_request_internal ()
#22 0x806787c in ap_process_request ()
#23 0x805f11e in child_main ()
#24 0x805f2ac in make_child ()
#25 0x805f409 in startup_children ()
#26 0x805fa36 in standalone_main ()
#27 0x80601c3 in main ()
#28 0x4008cb65 in __libc_start_main (main=0x805fe7c <main>, argc=2, ubp_av=0xbffffb64, init=0x804e864 <_init>,
fini=0x809419c <_fini>, rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffffb5c) at ../sysdeps/generic/libc-start.c:111
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8487
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: dnl: "[PHP-DEV] [php-dev] php imap-utf-7 bug"
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #7968 Updated: Unable to find extension php_ifx.dll"
- Next in thread: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8487 Updated: Crashing while reading a RSS file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

