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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: truth at ichaos dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 06:00:02 2026 UTC