php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58427 SWFBitmap Crash
Submitted: 2008-11-24 22:19 UTC Modified: 2008-11-24 22:21 UTC
From: ceo at l-i-e dot com Assigned:
Status: Open Package: ming (PECL)
PHP Version: 5.2.5 OS: BSD 5.4-RELEASE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ceo at l-i-e dot com
New email:
PHP Version: OS:

 

 [2008-11-24 22:19 UTC] ceo at l-i-e dot com
Description:
------------
Just trying to load some simple bitmaps and make some sprites (all: aka movie clips) out of them.

FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0:

PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 15 2008 01:05:16)

It's a shared web server with a build outside my control, so taking out Suhosin is not really an option. Sorry!



Reproduce code:
---------------
http://6112northwolcott.com/firetux/index.phps

Source images can be found in 'images' directory:
http://6112northwolcott.com/firetux/images/

The Gimp made most of them, except tux, which is the original from Wikipedia.


Expected result:
----------------
Tux running across the top of the movie, with digits 0 through 9 below him.


Actual result:
--------------
#0  0x28b9d53c in ming_gc_remove_node () from /usr/local/lib/libming.so.4
(gdb) backtrace
#0  0x28b9d53c in ming_gc_remove_node () from /usr/local/lib/libming.so.4
#1  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/libming.so.4
#2  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/libming.so.4
#3  0x28bb68b0 in destroySWFJpegBitmap () from /usr/local/lib/libming.so.4
#4  0x08431800 in ?? ()
#5  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/libming.so.4
#6  0x08269ca0 in executor_globals ()
#7  0x28badf7f in destroySWFBlock () from /usr/local/lib/libming.so.4
#8  0x0000001b in ?? ()
#9  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/libming.so.4
#10 0x28badd9b in destroySWFBitmap () from /usr/local/lib/libming.so.4
#11 0x288af400 in ?? ()
#12 0x28b8b1a4 in __JCR_LIST__ () from /usr/local/lib/php/20060613/ming.so
#13 0x28b7924f in destroy_SWFBitmap_resource () from /usr/local/lib/php/20060613/ming.so
#14 0x0815359f in list_entry_destructor ()
#15 0x081522e8 in zend_hash_apply_deleter ()
#16 0x08152387 in zend_hash_graceful_reverse_destroy ()
#17 0x0814757c in zend_deactivate ()
#18 0x08105bda in php_request_shutdown ()
#19 0x081d0221 in main ()
(gdb)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-24 22:21 UTC] ceo at l-i-e dot com
php.core and php (binary) are in "images" directory, in case you can get more from gdb with those.

YOU ROCK!
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC