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: 2020-04-07 11:06 UTC
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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!
 [2020-04-07 11:06 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2020-04-07 11:06 UTC] cmb@php.net
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: Sat Dec 21 16:01:28 2024 UTC