ID:               43082
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php at danielknell dot co dot uk
-Status:           Open
+Status:           Feedback
 Bug Type:         ODBC related
 Operating System: fedora7
 PHP Version:      5.2.4
 New Comment:

You need to compile PHP with --enable-debug set in your configure line
to get an useful backtrace.


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

[2007-10-25 13:41:41] php at danielknell dot co dot uk

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496243712 (LWP 7734)]
0x00000000005aa9da in _zend_hash_add_or_update ()
(gdb) bt
#0  0x00000000005aa9da in _zend_hash_add_or_update ()
#1  0x00002aaab139a6d7 in ?? () from /usr/lib64/php/modules/odbc.so
#2  0x00000000005cc792 in ?? ()
#3  0x00000000005bd94c in execute ()
#4  0x000000000059e6a3 in zend_execute_scripts ()
#5  0x000000000055eb78 in php_execute_script ()
#6  0x000000000061e966 in main ()

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

[2007-10-25 13:24:11] [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 for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

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.



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

[2007-10-25 13:00:03] php at danielknell dot co dot uk

php -f ./test.php
Segmentation fault

<?php
$db = odbc_connect('test1', 'test', 'test');
$result = odbc_exec($db, 'select null;');
var_dump(odbc_fetch_array($result));

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

[2007-10-25 12:46:05] [EMAIL PROTECTED]

Try running the script on command line to see if it actually crashes.

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

[2007-10-23 13:34:04] php at danielknell dot co dot uk

this was with freetds 0.64 and mssql server 2005

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/43082

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

Reply via email to