[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2021-08-06 Thread Robie Basak
Done, thanks. ** Also affects: php5 (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: php5 (Ubuntu Precise) Status: New => Won't Fix ** Changed in: php5 (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2021-08-06 Thread Dani Llewellyn
This bug is for a version of PHP5 in Precise Pangolin, which exited mainstream support in 2017, and ended ESM in 2019. I vote that this bug be closed as WONTFIX (I don't have permission to set WONTFIX on this issue). ** Tags added: precise -- You received this bug notification because you are a

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-28 Thread Alexey Skryabin
** Description changed: - DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS" - php --version - PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch + Description: + Passing object with __toString() causes segfault in random script iteration. When casted to string beforehand, it runs OK. + Test case: Code as a

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-14 Thread Alexey Skryabin
Bazaar merge directive file with patch, changelog and series ** Attachment added: "bug.bzr" https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1198882/+attachment/3772517/+files/bug.bzr -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-14 Thread Alexey Skryabin
Archive with patch, series and changelog ** Attachment added: "bug.tgz" https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1198882/+attachment/3772427/+files/bug.tgz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.la

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-14 Thread Alexey Skryabin
This is tar.gz archive with new changelog, series and file with patch(bug1198882.diff) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1198882 Title: __toString() which stores $this reference triggers

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-14 Thread Robie Basak
This has been on my todo list, but I regret that it's pretty low down on my list at the moment. If you'd like to speed things up, instructions below. > What should I do to help make a patch upstream in Precise? Please see the procedure here: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-14 Thread Alexey Skryabin
libapache2-mod-php5 also does not contain the error in Saucy. What should I do to help make a patch upstream in Precise? I have to make bzr send on some address or patch attached here enough? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-02 Thread Alexey Skryabin
No, php-cli Saucy not contain this bug(libapache2-mod-php5 not tested yet) patch rebuild with quilt, atach in message ** Patch added: "bug1198882.patch" https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1198882/+attachment/3758041/+files/bug1198882.patch -- You received this bug notificati

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-02 Thread Robie Basak
Thanks for identifying the fix! Could you please verify that this bug is fixed in Saucy? If not, we have to fix it there at the same time, so that users upgrading in the future don't get a regression. Next, see the Ubuntu packaging guide for instructions on how to turn this patch into something s

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-02 Thread Robie Basak
** Bug watch added: bugs.php.net/ #61165 http://bugs.php.net/bug.php?id=61165 ** Also affects: php via http://bugs.php.net/bug.php?id=61165 Importance: Unknown Status: Unknown ** Changed in: php5 (Ubuntu) Status: Confirmed => Triaged ** Tags added: bitesize patch -- You

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-02 Thread Alexey
I find fix bug on php git repo - http://git.php.net/?p=php-src.git;a=blob;f=Zend/zend_API.c;h=3b87145e6cd850b7c524ddac13ef19f6f43b4c62;hb=1ee93c83ff7278f09be64b496a208a1c453f8b7c and create patch file,but im not sure I designed the patch correctly. Test script work correct with this patch. Patch

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-01 Thread Robie Basak
Please can you identify the specific commit that fixed this issue in 5.3.27? Then we can cherry-pick that fix to 12.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1198882 Title: __toString() whic

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-01 Thread Алексей
Yes, it problem fixed in 5.3.27 I uploaded build php 5.3.27 in https://launchpad.net/~rip84/+archive/php5, but not sure, what did the right thing. Script work fine in this build. I will test today project, which contains a more complex code causing an error. -- You received this bug notificati

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-01 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make Ubuntu better. Confirmed with php5-cli 5.3.10-1ubuntu3.7. Could you please test the upstream 5.3.27 version built from source? If this fixes the problem, then we'll need to identify and cherry-pick the fix in Ubuntu and issue a

[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-07-09 Thread Алексей
** Description changed: - Bug described on https://bugs.php.net/bug.php?id=60701 not fixes in current version. - Code as + ProblemType: Package + DistroRelease: Ubuntu 12.04 + Package: php5 + Code as a = $this; - return 'waa?'; - } + public $a; + pub