Skip to Content.
Sympa Menu

freetds - Segmentation Fault usign PHP 4.0.1pl2 + FreeTDS-0.50

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ramiro Vazquez" <lrvazquez AT megared.net.mx>
  • To: freetds
  • Subject: Segmentation Fault usign PHP 4.0.1pl2 + FreeTDS-0.50
  • Date: Fri, 25 Aug 2000 14:14:6


I using apache 3.1.12 with / php 4.0.1pl2 /freetds-0.5 to access to
MS-SQL 6.5.

when I try to do a query sentence with 'select' it's ok, but with
'insert', 'update','delete' sentences work and after crashs httpd
server.

I running in FreeBSD 4.1 and sparc / Solaris 7 and the result is same.
I compiled sqsh and it works fine both plataforms...

I use gdb and it says:

Program received signal SIGSEGV, Segmentation fault.
0x282b3f7f in dbnumcols () at dblib.c:361

The stack:

(xxgdb) (xxgdb) info stack
#0 0x282b3f7f in dbnumcols () at dblib.c:361
#1 0x2823da96 in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#2 0x281bc66d in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#3 0x281d8179 in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#4 0x281d4c30 in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#5 0x281d55e2 in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#6 0x281d5632 in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#7 0x8062cd4 in ap_invoke_handler ()
#8 0x80713dd in process_request_internal ()
#9 0x807143c in ap_process_request ()
#10 0x806af6a in child_main ()
#11 0x806b0dc in make_child ()
#12 0x806b1f9 in startup_children ()
#13 0x806b6c8 in standalone_main ()
#14 0x806bd6f in main ()
#15 0x804ec0d in _start ()
al/libexec/apache/libphp4.so
#6 0x281d5632 in unique_id_rec_size_uu () from
/usr/local/libexec/apache/libphp4.so
#7 0x8062cd4 in ap_invoke_handler ()
#8 0x80713dd in process_request_internal ()
#9 0x807143c in ap_process_request ()
#10 0x806af6a in child_main ()
#11 0x806b0dc in make_child ()
#12 0x806b1f9 in startup_children ()
#13 0x806b6c8 in standalone_main ()
#14 0x806bd6f in main ()
#15 0x804ec0d in _start ()

Any idea




Archive powered by MHonArc 2.6.24.

Top of Page