php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6030 Creating a table that already exists causes a segfault
Submitted: 2000-08-08 19:06 UTC Modified: 2000-10-28 22:00 UTC
From: truth at ichaos dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.1pl2 OS: RedHat 6.1 (latest patches)
Private report: No CVE-ID: None
 [2000-08-08 19:06 UTC] truth at ichaos dot com
I have a bit of code that does a CREATE TABLE using ODBC (IBM DB2 support). Basically, if I use odbc_exec($link_id, "CREATE TABLE blah ..."); where blah already exists, I immediately get "document contains no data" from netscape, and child segfaults in the error log. If table blah does not exist, it gets created and all is well.

httpd -X doesn't seem to be working right, it never seems to load the page. I'm not sure how else to get debug info for you guys.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-27 19:04 UTC] sniper@php.net
Add a gdb backtrace of the segfault, see url below:

http://bugs.php.net/bugs-generating-backtrace.php

--Jani
 [2000-10-28 22:00 UTC] sniper@php.net
No feedback, not enough info.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC