ID:               15316
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         InterBase related
 Operating System: Linux 2.4.17-xfs
 PHP Version:      4.1.1
 New Comment:

Having trouble getting apache to listen to a port when
run under gdb. Will keep trying.

Can't seem to get a core file any other way.


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

[2002-02-01 04:15:20] [EMAIL PROTECTED]

Can you provide a backtrace? (see
http://bugs.php.net/bugs-generating-backtrace.php)

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

[2002-01-31 13:08:32] [EMAIL PROTECTED]

Here is my configure line:

./configure  --with-apxs --with-mysql=/usr --enable-track-vars
--with-ldap --with-unixODBC=/usr 
--with-mcrypt --with-interbase=/opt/interbase --with-gd=/usr


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

[2002-01-31 13:04:21] [EMAIL PROTECTED]

When I try to insert an image into a blob, a segmentation
fault occurs in apache. This all worked fine in previous
versions of php that I used (4.0.4 - 4.0.6). I have recreated
this segfault on two different machines, with PHP as DSO, and
compiled-in.

Here is what seems to be the offending code in my script:

if ($ibaseconn) {
      $blob_id = ibase_blob_create();
      $blob_id_str = ibase_blob_close($blob_id);
      if ($noDB != "1") {
        ibase_query("UPDATE WN_Client_Data SET WN_Client_DataLogo=?,
WN_Client_DataLogoType = '$thisType' 
WHERE WN_ClientID = '$WN_ClientID'",$blob_id_str);
      } else {
        ibase_query("INSERT INTO WN_Client_Data (WN_ClientID,
WN_Client_DataLogo, WN_Client_DataLogoType, 
WN_Client_DataBriefDesc, WN_Client_DataExtDesc) VALUES ((SELECT
WN_ClientID FROM WN_User WHERE 
WN_UserUserName='$HTTP_COOKIE_VARS[directUser]'), ?, ,'','',
'');",$blob_id_str);
      }
}



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


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

Reply via email to