Bug #79277 [Com]: pdo_odbc accessing SAP 16.0 ASE Fatal error: Allowed memory size ...

From: Date: Mon, 10 Aug 2020 17:40:02 +0000
Subject: Bug #79277 [Com]: pdo_odbc accessing SAP 16.0 ASE Fatal error: Allowed memory size ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228492@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79277&edit=1 ID: 79277 Comment by: khleung at isfactory dot com Reported by: khleung at isfactory dot com Summary: pdo_odbc accessing SAP 16.0 ASE Fatal error: Allowed memory size ... Status: Open Type: Bug Package: PDO ODBC Operating System: CentOS 7 PHP Version: 7.4.2 Block user comment: N Private report: N New Comment: net_surfer is right! Please advise any quick fix for that. Previous Comments: ------------------------------------------------------------------------ [2020-07-01 19:52:29] net_surfer at mail dot com It appears that the issue can be reproduced 100% of the time if a nullable varchar column getting selected actually contains a null value. ------------------------------------------------------------------------ [2020-03-22 12:31:23] cmb@php.net Indeed, apparently there are no negative display sizes. I'm at a loss; that probably needs to be debugged with a Sybase DB. ------------------------------------------------------------------------ [2020-03-22 12:25:24] khleung at isfactory dot com [sybase@localhost ~]$ php sybconnect.php dsn: odbc:SB007H Connected to ASE 16 displaysize == 255 displaysize == 11 displaysize == 11 displaysize == 2 displaysize == 6 displaysize == 6 displaysize == 6 displaysize == 6 displaysize == 11 displaysize == 23 displaysize == 23 displaysize == 11 displaysize == 11 displaysize == 11 displaysize == 11 displaysize == 11 displaysize == 6 displaysize == 11 displaysize == 6 displaysize == 24 displaysize == 30 displaysize == 39 displaysize == 6 displaysize == 16 displaysize == 6 displaysize == 3 displaysize == 3 displaysize == 11 displaysize == 11 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4294967320 bytes) in /home/sybase/sybconnect.php on line 14 [sybase@localhost ~]$ Seems not what you guess ------------------------------------------------------------------------ [2020-03-22 12:23:13] hleung at isfactory dot com [sybase@localhost ~]$ php sybconnect.php dsn: odbc:SB007H Connected to ASE 16 displaysize == 255 displaysize == 11 displaysize == 11 displaysize == 2 displaysize == 6 displaysize == 6 displaysize == 6 displaysize == 6 displaysize == 11 displaysize == 23 displaysize == 23 displaysize == 11 displaysize == 11 displaysize == 11 displaysize == 11 displaysize == 11 displaysize == 6 displaysize == 11 displaysize == 6 displaysize == 24 displaysize == 30 displaysize == 39 displaysize == 6 displaysize == 16 displaysize == 6 displaysize == 3 displaysize == 3 displaysize == 11 displaysize == 11 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4294967320 bytes) in /home/sybase/sybconnect.php on line 14 [sybase@localhost ~]$ ------------------------------------------------------------------------ [2020-03-22 04:22:10] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ 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=79277 -- Edit this bug report at https://bugs.php.net/bug.php?id=79277&edit=1

« previous php.bugs (#228492) next »