ID:               34987
 User updated by:  michal_czerniak at o2 dot pl
 Reported By:      michal_czerniak at o2 dot pl
-Status:           Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: AIX 5.2L
 PHP Version:      5.0.5
 New Comment:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xd127d4a8 in tds_alloc_context ()
   from /usr/local/freetds/lib/libsybdb.a(libsybdb.so.5)
(gdb) bt
#0  0xd127d4a8 in tds_alloc_context ()
   from /usr/local/freetds/lib/libsybdb.a(libsybdb.so.5)
#1  0xd12794ec in dbinit ()
   from /usr/local/freetds/lib/libsybdb.a(libsybdb.so.5)
#2  0xd114637c in zm_startup_mssql (type=1, module_number=2)
    at /usr/ins/php5-200510200830/ext/mssql/php_mssql.c:297
#3  0xd0f6ba28 in zend_startup_module_ex (module=0x0)
    at /usr/ins/php5-200510200830/Zend/zend_API.c:1320
#4  0xd0f4fcfc in zend_hash_apply (ht=0x200f0478,
    [EMAIL PROTECTED]: 0xd0f6b8d8 <zend_startup_module_ex>)
    at /usr/ins/php5-200510200830/Zend/zend_hash.c:664
#5  0xd0f6bc18 in zend_startup_modules ()
    at /usr/ins/php5-200510200830/Zend/zend_API.c:1367
#6  0xd1066d68 in php_module_startup (sf=0x200dff90,
    additional_modules=0x200dbab4, num_additional_modules=1)
    at /usr/ins/php5-200510200830/main/main.c:1506
#7  0xd116fb30 in php_apache_startup (sapi_module=0x7)
    at /usr/ins/php5-200510200830/sapi/apache/mod_php5.c:270
#8  0xd1171078 in php_init_handler (s=0x7, p=0x20140708)
    at /usr/ins/php5-200510200830/sapi/apache/mod_php5.c:918
#9  0x1001b95c in ap_init_modules ()
#10 0x10008130 in main ()
(gdb)
OK?


Previous Comments:
------------------------------------------------------------------------

[2005-11-17 13:18:45] [EMAIL PROTECTED]

How about the *backtrace* ?
Typ `bt` when you got the segfault.

------------------------------------------------------------------------

[2005-11-17 13:08:37] michal_czerniak at o2 dot pl

GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xd127d4a8 in tds_alloc_context ()
   from /usr/local/freetds/lib/libsybdb.a(libsybdb.so.5)
(gdb)

------------------------------------------------------------------------

[2005-11-03 01:00:06] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2005-10-26 09:58:41] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------

[2005-10-26 09:56:08] michal_czerniak at o2 dot pl

Description:
------------
I'm trying to build php with mssql support. 
I've tried almost all possible combinations of 
arguments, but after successfull compilation apache segfaults. 
My last try was with apache 1.3.34 (I have tried with 1.3.32,33, 
2.0.48) 
./configure --enable-module=so 
make 
make install 
-OK, runs fine 
php5-200510200830 (prievously almost all versions from 4.3 to 5.1RC): 
./configure --prefix=/usr/local/php51 
--with-apxs=/usr/local/apache/bin/apxs --with-mssql=/usr/local/freetds

--disable-all 
make 
make instal 
-OK 
root /usr/local/apache/bin > ./apachectl start 
./apachectl[86]: 311404 Segmentation fault(coredump) 
./apachectl start: httpd could not be started 

When I remove freetds from php configuration, everything works fine. 
Freetds tested manualy from command line also works fine.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34987&edit=1

Reply via email to