Skip to Content.
Sympa Menu

freetds - Re: apache php module crashing when accessing freet ds libraries

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: apache php module crashing when accessing freet ds libraries
  • Date: 17 Nov 2002 08:36:48 +0100


Il dom, 2002-11-17 alle 00:22, Chris ha scritto:
> Hello Again :) I followed your directions here to get a backtrace. I
> made sure that all the libraries involved were not stripped even httpd
> and all its dependent libraries. PHP, FreeTDS and Apache are all
> compiled with the -g flag. When I do a backtrace I get this, which Im
> pretty sure is not going to be useful for you; no function names.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x402076fb in ?? ()
> (gdb) bt 9
> #0 0x402076fb in ?? ()
> #1 0x40213df7 in ?? ()
> #2 0x4020fa7c in ?? ()
> #3 0x402152d7 in ?? ()
> #4 0x401f0a04 in ?? ()
> #5 0x402255a2 in ?? ()
> #6 0x40225f65 in ?? ()
> #7 0x402260fa in ?? ()
> #8 0x400446f0 in __ieee754_scalbf () from /lib/i686/libm.so.6
> (More stack frames follow...)
> (gdb)
>
> Am I missing something? Someone in a c programming channel on IRC
> suggested I may have stack corruption. If this is what you want I'll
> send the entire script file. I apologize in advance if this whole
> segfault thing ends up being my fault. But I've checked and double
> checked my environment and don't see what I could be missing.
>
> Also in another post freddy 77 wrote:
>
> > Two thing. This problem can be due to increase of numeric precision in
> > libtds. You should recompile PHP (or PHP module) and retry.
>
> I did do this again.. no luck.
>
> Thanks
> Chris - ccortner AT cvol.net
>

Chris, are there a BINARY field ?
If true this is a PHP bug in sybase etension module, not FreeTDS.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page