ID: 15703 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: SWF related Operating System: Red Hat Linux 7.1 PHP Version: 4.2.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-11-11 09:43:13] [EMAIL PROTECTED] I used php 4.2.3 and apache 2.0.43 this time and swf extension is still causing segmentation fault. PHP Configure -------------- ./configure --with-config-file-path=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --prefix=/wwwroot/php --enable-trans-sid --with-java --with-swf --enable-debug Here is gdb output when a file with phpinfo() is accessed: [root@sukhwinder php-4.2.3]# gdb /wwwroot/bin/httpd GNU gdb 5.0rh-5 Red Hat Linux 7.1 Copyright 2001 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) run -X Starting program: /wwwroot/bin/httpd -X [New Thread 1024 (LWP 9038)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 9038)] 0x40454bf9 in zm_activate_swf (type=1, module_number=2, tsrm_ls=0x8100f60) at swf.c:173 173 SWFG(use_file) = 0; (gdb) ------------------------------------------------------------------------ [2002-05-11 11:59:18] [EMAIL PROTECTED] This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. Thank you for the report. ------------------------------------------------------------------------ [2002-04-25 18:27:59] [EMAIL PROTECTED] This has been hiding as feedback under Apache2, but it's most likely not Apache2 related, and I didn't want this patch, if valid, to be forgotten. So I'm reopening and reclassifying as SWF related. Thanks... ------------------------------------------------------------------------ [2002-04-19 11:41:19] [EMAIL PROTECTED] Please try again with Apache 2.0.35 (GA) and PHP from CVS (either the 4.2.0 branch or HEAD). ------------------------------------------------------------------------ [2002-03-08 14:46:48] [EMAIL PROTECTED] I don't know much about cvs and how diff works. So I couldn't make anything out of these lines. One thing I did was, removed --with-swf from configure option and everything worked fine. I want to help but I have a very slow pentium-1 computer and a slow dial up connection (in punjab-IN) so it takes at least one hour to compile php alone. I know little C so if you tell me what to add, what to remove and where then I can make that change and try to compile again and see if that works. ------------------------------------------------------------------------ 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/15703 -- Edit this bug report at http://bugs.php.net/?id=15703&edit=1
