<div dir="ltr">Hi Clement,<div><br></div><div>there was a change introduced in sybase part to fix #711980 (<a href="http://bugs.debian.org/711980">bugs.debian.org/711980</a>).</div>















<div class="gmail_extra"><br></div><div class="gmail_extra">And this patch:</div><div class="gmail_extra"><a href="http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/patches/fix-segfault-when-using-passwords-longer-than-30-chars.patch;h=2d7adbb42d468d124bf7a133429682b2f376cfe3;hb=refs/heads/master-wheezy">http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=blob;f=debian/patches/fix-segfault-when-using-passwords-longer-than-30-chars.patch;h=2d7adbb42d468d124bf7a133429682b2f376cfe3;hb=refs/heads/master-wheezy</a><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">was introduced to fix the problem.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't see any obvious problem in the patch, but you find it.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I would rather fix both problems than drop the patch.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ondrej</div><div class="gmail_extra"><br>
<div class="gmail_quote">
On Fri, Jul 19, 2013 at 10:33 PM, Clement Wong <span dir="ltr"><<a href="mailto:mail@clement.hk" target="_blank">mail@clement.hk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hi guys,<br>
<br>
After I upgraded from deb7u2 to deb7u3, our web servers went down for almost a day, the problem seem to come from PDO or php5-sybase, we are using PDO to connect to MSSQL server, and any query will try to allocate crazy amount of memory even if it is a tiny query.<br>


I have pages of these log, and I've replaced our domain to test. :)<br>
<br>
[Fri Jul 19 10:30:01 2013] [error] [client 87.119.183.106] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246707320 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:30:01 2013] [error] [client 87.119.183.106] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246629864 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:30:02 2013] [error] [client 87.119.183.106] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246694264 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:30:07 2013] [error] [client 83.30.84.94] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221247174360 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php?action=status" target="_blank">https://order.test.com/en/<u></u>orders.php?action=status</a><br>


[Fri Jul 19 10:30:15 2013] [error] [client 95.40.136.82] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246764120 bytes) in Unknown on line 0<br>
[Fri Jul 19 10:30:25 2013] [error] [client 10.1.4.17] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246756744 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:30:35 2013] [error] [client 10.1.4.17] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246630056 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:30:58 2013] [error] [client 83.30.84.94] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221247460344 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php?action=status" target="_blank">https://order.test.com/en/<u></u>orders.php?action=status</a><br>


[Fri Jul 19 10:31:04 2013] [error] [client 83.30.84.94] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140221246542728 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:22 2013] [error] [client 10.1.4.17] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102539624 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:23 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102539096 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:23 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102538936 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:24 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102539224 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:24 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102531608 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:24 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102531608 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:31:58 2013] [error] [client 77.253.200.58] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102514104 bytes) in Unknown on line 0<br>
[Fri Jul 19 10:32:54 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102577800 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:32:59 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687103209832 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:33:13 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687100397736 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:33:22 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102813736 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:33:29 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102890712 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


[Fri Jul 19 10:34:16 2013] [error] [client 10.1.4.17] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687103088264 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/fi/orders.php" target="_blank">https://order.test.com/fi/<u></u>orders.php</a><br>


[Fri Jul 19 10:34:20 2013] [error] [client 164.126.105.188] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 139687102814152 bytes) in Unknown on line 0, referer: <a href="https://order.test.com/en/orders.php" target="_blank">https://order.test.com/en/<u></u>orders.php</a><br>


<br>
<br>
Thanks,<br>
Clement Wong<br>
<br>
______________________________<u></u>_________________<br>
pkg-php-maint mailing list<br>
<a href="mailto:pkg-php-maint@lists.alioth.debian.org" target="_blank">pkg-php-maint@lists.alioth.<u></u>debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint" target="_blank">http://lists.alioth.debian.<u></u>org/cgi-bin/mailman/listinfo/<u></u>pkg-php-maint</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ondřej Surý <<a href="mailto:ondrej@sury.org" target="_blank">ondrej@sury.org</a>><br>
</div></div>