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

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




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

[2005-11-17 13:52:09] michal_czerniak at o2 dot pl

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?

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

[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