[freetds] Re: MSSQL error on certain Tables [php]

Robert Kruse rkruse at 2440media.com
Fri May 21 14:49:14 EDT 2004


On 5/20/04 10:26 AM, "ZIGLIO, Frediano, VF-IT"
<Frediano.Ziglio at vodafone.com> wrote:

> ...
>> 
>> I can't seem to get a real error message. Netscape gives me a
>> pop-up "Page
>> contains no data". Safari errors, "Safari can't open the
>> page." Opera never
>> loads or errors.
>> 
>> Apache gives me:
>> [Wed May 19 09:20:03 2004] [notice] child pid 1028 exit
>> signal Bus error
>> (10)
>> 
>> 
>>> 2. Set out to isolate the problem
>>> 
>>> - Start with the single most effective step: try the same php script
>>> using the command-line cli php interpreter to get Apache out of the
>>> picture. One less variable to care about. You most likely
>> already have
>>> the cli version of php installed even if you aren't aware of it. In
>>> recent versions of PHP such as yours, it's automatically built
>>> alongside the Apache module.
>> 
>> Whenever I run a php page that works fine in the browser from
>> cli php on the
>> command line it always errors "Call to undefined function:
>> mssql_connect()
>> ... Segmentation fault (core dumped)". So I haven't been successful in
>> getting cli php to work.
>> 
>> Thanks for your help.
>> 
>>> On the whole, I suspect a 64-bit or IRIX issue somewhere.
>>> 
> 
> 
> Did you notice any difference from others tables? For example do they
> contain some strange data (like bigint) ?
> I don't know if there's a gdb equivalent in IRIX (there should be)
> however knowing where the program core would be very helpful..
> 
> freddy77

The data types seem pretty normal (just int, varchar, text, datetime, float,
smallint). We compared the working tables and the non-working tables and
their aren't any strange data types in a non-working table that can't be
found in a working table. We also made sure that SQL7 was patched when we
discovered that it may be a float or datetime issue, but it wasn't.

We have GDB and tried running it according to the freetds userguide. But I
always get:
 
"Program received signal SIGSEGV, Segmentation fault.
warning: Warning: GDB can't find the start of the function at 0xacceb80."

No matter if the file is trying to query a working or non-working table.

Thanks




> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> 




More information about the FreeTDS mailing list