|  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: 2020-04-07 11:06 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: ceo at l-i-e dot com Assigned:
Status: Suspended 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:
Bug Type:
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
Just trying to load some simple bitmaps and make some sprites (all: aka movie clips) out of them.


PHP 5.2.5 with Suhosin-Patch (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:

Source images can be found in 'images' directory:

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/
(gdb) backtrace
#0  0x28b9d53c in ming_gc_remove_node () from /usr/local/lib/
#1  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/
#2  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/
#3  0x28bb68b0 in destroySWFJpegBitmap () from /usr/local/lib/
#4  0x08431800 in ?? ()
#5  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/
#6  0x08269ca0 in executor_globals ()
#7  0x28badf7f in destroySWFBlock () from /usr/local/lib/
#8  0x0000001b in ?? ()
#9  0x28bd237c in __JCR_LIST__ () from /usr/local/lib/
#10 0x28badd9b in destroySWFBitmap () from /usr/local/lib/
#11 0x288af400 in ?? ()
#12 0x28b8b1a4 in __JCR_LIST__ () from /usr/local/lib/php/20060613/
#13 0x28b7924f in destroy_SWFBitmap_resource () from /usr/local/lib/php/20060613/
#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 ()


Add a Patch

Pull Requests

Add a Pull Request


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.

 [2020-04-07 11:06 UTC]
-Status: Open +Status: Suspended
 [2020-04-07 11:06 UTC]
The ming extension is unmaintained for a very long time; until
this changes, I'm suspending this ticket.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 19:01:30 2024 UTC