php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26288 Segmentation Fault while getting NULL values from a row of a table
Submitted: 2003-11-17 09:43 UTC Modified: 2003-11-25 15:34 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: kiranhariharan at in dot ibm dot com Assigned:
Status: No Feedback Package: ODBC related
PHP Version: 4.3.5-dev (built: Nov 18 2003 19:22:58) OS: x86_64 SuSE Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kiranhariharan at in dot ibm dot com
New email:
PHP Version: OS:

 

 [2003-11-17 09:43 UTC] kiranhariharan at in dot ibm dot com
Description:
------------
Hi,

I have installed PHP 4.2.2 on x86_64_AMD machine having SuSE Linux installed on it. I have a DB2 database which has several tables in it.

I wrote a PHP code which fetches data from a row, that has null values in it using odbc_fetch_row(), I get segmentation fault. The same PHP script to access the table runs fine on Windows OS (to mention the PHP version I have on Windows OS is 4.3.3). I beleive there is some problem when it comes to handling the NULL values from a table at this version.

1) Can someone please let me know whether there are any reported bugs with 4.2.2 PHP version on Linux platforms. If that is so, also please advice me to which version of PHP I would have to move (a stable PHP version).

2) Also, is there any seperate PHP 4.3 rpm for x86_64AMD architecture and where to download it from?


Thanks in advance,
Kiran H.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-18 07:55 UTC] kiranhariharan at in dot ibm dot com
I have faced the same problem as mentioned with PHP v4.3.4 also. 

Could someone help me to tell what is going wrong?
 [2003-11-18 08:41 UTC] kiranhariharan at in dot ibm dot com
Hi,
 I have tried using cvs snapshot it shows similar problem in 4.3.5 (built: Nov 18 2003 19:22:58)

Thank you
 [2003-11-19 10:07 UTC] iliaa@php.net
Please recompile PHP with --enable-debug and then generate a backtrace of the crash.
 [2003-11-25 15:34 UTC] sniper@php.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 "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 07:01:29 2024 UTC