Skip to Content.
Sympa Menu

freetds - Certain query results cause segfaults

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Casey Allen Shobe <cshobe AT secureworks.net>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Certain query results cause segfaults
  • Date: Fri, 19 Apr 2002 18:32:44 -0400


I got FreeTDS/PHP working!

OK, so I ran a query:
$test = sybase_query ('select * from alert', $piv_conn);
...and the apache process died.

So I ran this query:
$test = sybase_query ('select valid_until from alert', $piv_conn);
...and it worked!

So I ran this query:
$test = sybase_query ('select alert_text from alert', $piv_conn);
...and it the apache process died.

It's a standard text field, the only thing I can see different about it is
that it's the longest field of the table, and some of the entries contain
carriage returns. So I tried fetching the field from one row which was did
not contain carriage returns, and it still worked.

I'm don't know where to go from here. Here's what the column properties are:
Data Type: text
Length: 2147483647
Precision: 2147483647
Is nullable: Yes

--
Casey Allen Shobe / Network Security Analyst & PHP Developer
SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144
cshobe AT secureworks.net / http://www.secureworks.net
Content is my own and does not necessarily represent my company.




Archive powered by MHonArc 2.6.24.

Top of Page