Edit report at https://bugs.php.net/bug.php?id=63481&edit=1
ID: 63481
Updated by: mike@php.net
Reported by: aurelijus at astdev dot lt
Summary: Segmentation fault caused by unserialize()
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: RHEL 6 & Mac OS X 10.7.4
PHP Version: 5.4.8
Assigned To: mike
Block user comment: N
Private report: N
New Comment:
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at
http://www.php.net/downloads.php
Previous Comments:
------------------------------------------------------------------------
[2013-08-30 09:04:25] arjen at react dot com
Thanx!
The testcase in the original bugreport by aurelijus at astdev dot lt is also
fixed on 5.4.20, don't know by which commit.
Create new issue for calling 'parent::serialize()' issue, which still crashes:
https://bugs.php.net/bug.php?id=65591
This issues can be closed.
------------------------------------------------------------------------
[2013-08-19 22:13:10] mike@php.net
See bug #65481
------------------------------------------------------------------------
[2013-07-29 18:11:56] mike@php.net
Yes, please. I already have a possible fix for the second issue.
------------------------------------------------------------------------
[2013-06-06 09:57:11] arjen at react dot com
I believe these are different issues, the backtrace is quite different.
Got the following results using php-5.4.15 from php.net:
Original report: https://gist.github.com/anonymous/5720457
Backtrace of https://gist.github.com/aurelijus/4713758:https://gist.github.com/anonymous/5720464
I tried reducing the original testcase, got a segfault but again the backtrace is quite different.
Testscript http://3v4l.org/3WCpP (crashes >= 5.4.0)
Backtrace at https://gist.github.com/anonymous/5720491
Should I create a seperate issue for it?
------------------------------------------------------------------------
[2013-03-08 15:44:18] zach dot quintana at gmail dot com
I'm also experiencing a similar bug, but will unserializing a class that doesn't
implement serializable. Need the code?
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=63481--
Edit this bug report at https://bugs.php.net/bug.php?id=63481&edit=1