Skip to Content.
Sympa Menu

freetds - Re: Apache 1.3.22 + PHP 4.0.6 + FreeTDS 0.53 + MS-SQL 7.0 (win2K) segfaulting

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <james.cameron AT compaq.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Cc: brblueser AT uol.com.br
  • Subject: Re: Apache 1.3.22 + PHP 4.0.6 + FreeTDS 0.53 + MS-SQL 7.0 (win2K) segfaulting
  • Date: 22 Apr 2002 12:19:40 +1000

Andre,

To diagnose a segmentation fault, follow this procedure;

a) compile PHP as a CGI

(this should have been a side-effect of your build of PHP, look for
an executable called php in the PHP build tree.)

b) make a PHP script that reproduces the segmentation fault via the web
server, but with no arguments.

c) reproduce the segmentation fault using PHP on command line

% ./php file.php

(if this doesn't reproduce, then there is something about the
environment that differs).

d) re-run the process using gdb

% gdb php
gdb> run file.php
gdb> bt

e) send us the output from bt above, and the file.php, and it will tell
us where the fault is happening.

--
James Cameron (james.cameron AT compaq.com)

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page