Re: Shockwave Flash extension segfaults..
| From: | Sterling Hughes | Date: | Fri, 25 Aug 2000 17:51:43 +0000 |
| Subject: | Re: Shockwave Flash extension segfaults.. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30678@lists.php.net to get a copy of this message | ||
Check out swf_openfile() documentation with the annotated manual, follow
some of the annotation instructions (I'll add them to the docs when I
remember and have the time). If you still have a problem, please file a bug
report including the backtrace and system information.
Sterling
> I'm not completely sure that this is a PHP problem,
> but using the example given on snaps.php.net
> php segfaults.. I know why this is, it can't find the font file,
> BUT it shouldn't SEGFAULT now should it..
>
> (gdb) bt
> #0 0x40120f01 in buffered_vfprintf (s=0x8154dc8,
> format=0x812cf73 "flashfntread: can't open input file %s\n",
> args=0xbfffdb4c) at vfprintf.c:1752
> #1 0x4011c856 in _IO_vfprintf (s=0x8154dc8,
> format=0x812cf73 "flashfntread: can't open input file %s\n",
> ap=0xbfffdb4c)
> at vfprintf.c:1018
> #2 0x401246f7 in fprintf (stream=0x8154dc8,
> format=0x812cf73 "flashfntread: can't open input file %s\n")
> at fprintf.c:32
> #3 0x80fec1c in ss_0161 ()
> #4 0x80f9f1b in swf_definefont ()
> #5 0x80bb82a in php_if_swf_definefont (ht=2, return_value=0x81b03fc,
> this_ptr=0x0, return_value_used=0) at swf.c:789
> #6 0x80f36ac in execute (op_array=0x81ac00c) at ./zend_execute.c:1519
> #7 0x80cf528 in zend_execute_scripts (type=8, file_count=3) at zend.c:712
> #8 0x80633b8 in php_execute_script (primary_file=0xbffff994) at
> main.c:1179
> #9 0x8061d69 in main (argc=2, argv=0xbffff9f4) at cgi_main.c:709
> #10 0x400efcb3 in __libc_start_main (main=0x80617b4 <main>, argc=2,
> argv=0xbffff9f4, init=0x8060388 <_init>, fini=0x810266c <_fini>,
> rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff9ec)
> at ../sysdeps/generic/libc-start.c:78
>
> -- CaPS
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>