#15316 [Opn->Fbk]: Segmentation fault on Interbase blob creation

From: Date: Mon, 25 Nov 2002 05:20:19 +0000
Subject: #15316 [Opn->Fbk]: Segmentation fault on Interbase blob creation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25757@lists.php.net to get a copy of this message
ID: 15316 Updated by: iliaa@php.net Reported By: bknotts@europa.com -Status: Open +Status: Feedback Bug Type: InterBase related Operating System: Linux 2.4.17-xfs PHP Version: 4.1.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-10-27 19:48:08] cheald45@hotmail.com I wonder if this could be related to a problem I ran into, detailed at http://bugs.php.net/bug.php?id=18744 Basically, I discovered that if you tried to use ibase_blob_add to add > 64k of data to a blob at any one time, the data would be truncated. Wonder if some variation of this bug causes a core dump? Are your images > 64k in size? ------------------------------------------------------------------------ [2002-08-09 13:26:10] mike@nux.co.uk I am using php 4.2.2 on freebsd 4.6 and it core dumps whenever I try to insert ot update a blob in an interbase db as well. (not running from apache running the cgi version from a shell). ------------------------------------------------------------------------ [2002-03-11 20:26:44] bknotts@europa.com Does any of this information help? I see that there are now others reporting this bug, so perhaps it can be combined with those. ------------------------------------------------------------------------ [2002-02-21 20:46:50] bknotts@europa.com Well, I got pretty close to getting a backtrace, but ran across what appears to be a bug in gdb. Either that, or I am just not finding the proper documentation. I can get a gdb attached to the proper thread, via: /usr/sbin/apache.dbg gdb /usr/sbin/apache.dbg (gdb) attach <pid> (gdb) continue but when I "continue" it, it gives me a message like "Cannot find thread 2049: invalid thread handle". Now, I may be doing something wrong, but I sure can't tell what. ------------------------------------------------------------------------ [2002-02-21 18:59:10] bknotts@europa.com Incidentally, I have tried every which way to get a core dump, but even after running apache on port 1025 as a non-root user, and checking permissions on the CoreDumpDirectory, no core file is created. So, I tried attaching gdb to specific processes, but for some reason, when I attach gdb to a particular process, the process no longer accepts connections. Any hints? ------------------------------------------------------------------------ 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/15316 -- Edit this bug report at http://bugs.php.net/?id=15316&edit=1

« previous php.bugs (#25757) next »