Debian Bug report logs - #736317
php5-sybase: PHP tries to allocate 127tb of memory in version 5.4.4-14+deb7u3 or above

version graph

Package: php5-sybase; Maintainer for php5-sybase is (unknown);

Reported by: Sjors van der Pluijm <sjors@youngguns.nl>

Date: Wed, 22 Jan 2014 08:48:02 UTC

Severity: normal

Found in version php5/5.4.4-14+deb7u7

Fixed in version php5/5.4.4-14+deb7u14

Done: Ondřej Surý <ondrej@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#736317; Package php5-sybase. (Wed, 22 Jan 2014 08:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Sjors van der Pluijm <sjors@youngguns.nl>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 22 Jan 2014 08:48:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sjors van der Pluijm <sjors@youngguns.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-sybase: PHP tries to allocate 127tb of memory in version 5.4.4-14+deb7u3 or above
Date: Wed, 22 Jan 2014 09:35:36 +0100
Package: php5-sybase
Version: 5.4.4-14+deb7u7
Severity: normal

Dear Maintainer,

After upgrade 5.4.4-14+deb7u2 to 5.4.4-14+deb7u3 (and u4, u5, u6 and u7) PHP tries to allocate 127tb of memory on random scripts. 
As this problem only occours on this set up, I think it's relate to the mssql connection this setup uses.
After downgrading all the PHP packages to version -u2 the problem was resolved.

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-sybase depends on:
ii  dpkg                                   1.16.12
ii  libapache2-mod-php5 [phpapi-20100525]  5.4.4-14+deb7u7
ii  libc6                                  2.13-38
ii  libsybdb5                              0.91-2+deb7u1
ii  php5-cli [phpapi-20100525]             5.4.4-14+deb7u7
ii  php5-common                            5.4.4-14+deb7u7
ii  ucf                                    3.0025+nmu3

php5-sybase recommends no packages.

php5-sybase suggests no packages.

-- no debconf information






Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#736317; Package php5-sybase. (Mon, 24 Feb 2014 10:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bogdan <bogdar@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 24 Feb 2014 10:24:04 GMT) (full text, mbox, link).


Message #10 received at 736317@bugs.debian.org (full text, mbox, reply):

From: Bogdan <bogdar@gmail.com>
To: 736317@bugs.debian.org
Subject: Bug confirmation
Date: Mon, 24 Feb 2014 13:21:01 +0300
[Message part 1 (text/plain, inline)]
Debian side:

ii  libsybdb5:amd64                    0.91-2+deb7u1
amd64        libraries for connecting to MS SQL and Sybase SQL servers
ii  php5-sybase                        5.4.4-14+deb7u7
amd64        Sybase / MS SQL Server module for php5

Windows side:

Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)   Jun 28 2012
08:36:30   Copyright (c) Microsoft Corporation  Developer Edition (64-bit)
on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)

<?php
        $hostname = "1.2.3.4";
        $port = 1433;
        $dbname = "DWH";
        $username = "USER";
        $pw = "PASSWORD";
        $dbh = new PDO
("dblib:host=$hostname:$port;dbname=$dbname","$username","$pw");

    $stmt = $dbh->query("SELECT 2 + 3");

?>

Please, consider this bug critical because dblib is unusable..
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#736317; Package php5-sybase. (Thu, 25 Sep 2014 20:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Sjors van der Pluijm <sjors@youngguns.nl>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 25 Sep 2014 20:33:04 GMT) (full text, mbox, link).


Message #15 received at 736317@bugs.debian.org (full text, mbox, reply):

From: Sjors van der Pluijm <sjors@youngguns.nl>
To: 736317@bugs.debian.org
Subject: Issue resolved?
Date: Thu, 25 Sep 2014 22:22:16 +0200
This issue seems to be resolved in PHP 5.4.4-14+deb7u14. After updating to 
this version earlier today, the error did not occour so far.



Marked as fixed in versions php5/5.4.4-14+deb7u14. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Sun, 19 Oct 2014 12:48:08 GMT) (full text, mbox, link).


Marked Bug as done Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Sun, 19 Oct 2014 12:48:09 GMT) (full text, mbox, link).


Notification sent to Sjors van der Pluijm <sjors@youngguns.nl>:
Bug acknowledged by developer. (Sun, 19 Oct 2014 12:48:10 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 17 Nov 2014 07:27:14 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 02:51:27 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.