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

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



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

[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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to