Re: [PHP] Segmentation fault while fetching BLOB data from mysql with ODBC

2012-04-26 Thread shiplu
On Thursday, April 26, 2012, Leandro Dardini wrote: > Anyone has experienced segmentation fault while reading blob (longblog) > data from mysql using ODBC? > > If not, can you provide me few rows of code to show me how you fetch it? > > I am using php 5.3.3 and this code segfaults: > > $conn=odbc_

[PHP] Segmentation fault while fetching BLOB data from mysql with ODBC

2012-04-26 Thread Leandro Dardini
Anyone has experienced segmentation fault while reading blob (longblog) data from mysql using ODBC? If not, can you provide me few rows of code to show me how you fetch it? I am using php 5.3.3 and this code segfaults: $conn=odbc_connect("db","",""); $sql="select * from table where id=1"; $res=o

Re: [PHP] Segmentation Fault

2011-07-24 Thread Floyd Resler
On Jul 23, 2011, at 9:14 PM, Nilesh Govindarajan wrote: > On 07/23/2011 09:38 PM, Floyd Resler wrote: >> I moved to our new server which is using 5.3.2. I'm getting a segmentation >> fault error on certain ODBC queries I run. For some reason when I ask for >> particular columns from the datab

Re: [PHP] Segmentation Fault

2011-07-23 Thread Nilesh Govindarajan
On 07/23/2011 09:38 PM, Floyd Resler wrote: > I moved to our new server which is using 5.3.2. I'm getting a segmentation > fault error on certain ODBC queries I run. For some reason when I ask for > particular columns from the database table I get the error. The error is > Program received si

[PHP] Segmentation Fault

2011-07-23 Thread Floyd Resler
I moved to our new server which is using 5.3.2. I'm getting a segmentation fault error on certain ODBC queries I run. For some reason when I ask for particular columns from the database table I get the error. The error is Program received signal SIGSEGV, Segmentation fault. 0x7530df1a

Re: [PHP] Segmentation fault in php5-imap

2008-12-23 Thread Nathan Nobbe
On Tue, Dec 23, 2008 at 12:34 PM, Dan Osipov wrote: > Hello, > > I have a CLI PHP script I'm running on a Debian Etch server every 15 > minutes, that downloads messages from NNTP server using PHP imap functions. > The script is working fine on several Windows systems, and other Linux > servers, bu

[PHP] Segmentation fault in php5-imap

2008-12-23 Thread Dan Osipov
Hello, I have a CLI PHP script I'm running on a Debian Etch server every 15 minutes, that downloads messages from NNTP server using PHP imap functions. The script is working fine on several Windows systems, and other Linux servers, but has been continuously throwing a segfault error on this p

Re: [PHP] Segmentation fault on PHP CLI

2007-08-10 Thread Richard Lynch
On Thu, August 9, 2007 8:43 am, Martin Marques wrote: > I have a script which I run from cron. I'm testing it directly from > the > console: > > /usr/bin/php -f /path/to/script.php > > The thing is: > > Script executes great, and everything it has to do gets done, but it > throughs a segmentatio

Re: [PHP] Segmentation fault on PHP CLI

2007-08-09 Thread Martin Marques
Stut wrote: Martin Marques wrote: I have a script which I run from cron. I'm testing it directly from the console: /usr/bin/php -f /path/to/script.php The thing is: Script executes great, and everything it has to do gets done, but it throughs a segmentation fault at the end. Is there any

Re: [PHP] Segmentation fault on PHP CLI

2007-08-09 Thread Stut
Martin Marques wrote: I have a script which I run from cron. I'm testing it directly from the console: /usr/bin/php -f /path/to/script.php The thing is: Script executes great, and everything it has to do gets done, but it throughs a segmentation fault at the end. Is there anyway to debug

[PHP] Segmentation fault on PHP CLI

2007-08-09 Thread Martin Marques
I have a script which I run from cron. I'm testing it directly from the console: /usr/bin/php -f /path/to/script.php The thing is: Script executes great, and everything it has to do gets done, but it throughs a segmentation fault at the end. Is there anyway to debug PHP CLI? I'm using php5

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jeremy Privett
Jim Lucas wrote: Marc Weber wrote: Does this script cause a segmentation fault running on your php interpreter, too? = === = === My version: [EMAIL PROTECTED] ~ $

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jochem Maas
Jim Lucas wrote: > Jochem Maas wrote: >> Marc Weber wrote: >>> Does this script cause a segmentation fault running on your php >>> interpreter, too? >>> >>> = === >>> >> >>> function fa() >>> { >>> $res = array(); >>> foreach(func

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jim Lucas
Jim Lucas wrote: Jochem Maas wrote: Marc Weber wrote: Does this script cause a segmentation fault running on your php interpreter, too? = === you can't use the return value of func_get_args() directly in this way. you must do t

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jim Lucas
Jochem Maas wrote: Marc Weber wrote: Does this script cause a segmentation fault running on your php interpreter, too? = === you can't use the return value of func_get_args() directly in this way. you must do this instead: $arg

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jim Lucas
Marc Weber wrote: Does this script cause a segmentation fault running on your php interpreter, too? = === = === My version: [EMAIL PROTECTED] ~ $ php -v PHP 5.1.6-p

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jeremy Privett
Jochem Maas wrote: Marc Weber wrote: Does this script cause a segmentation fault running on your php interpreter, too? = === you can't use the return value of func_get_args() directly in this way. you must do this instea

Re: [PHP] segmentation fault - my fault?

2007-02-12 Thread Jochem Maas
Marc Weber wrote: > Does this script cause a segmentation fault running on your php > interpreter, too? > > = === > > function fa() > { > $res = array(); > foreach(func_get_args() as $a) you can't use the return value of func_

[PHP] segmentation fault - my fault?

2007-02-12 Thread Marc Weber
Does this script cause a segmentation fault running on your php interpreter, too? = === = === My version: [EMAIL PROTECTED] ~ $ php -v PHP 5.1.6-pl6-gentoo (cli) (bui

Re: [PHP] Segmentation fault using imap_open

2006-12-12 Thread Chris
Richard Morris wrote: Hello all, I was experimenting with the imap_* library functions trying to see if I could get a PHP script to access a folder on our IMAP server and I ran into a problem. I was trying to get a simple script to work which simply opened a connection to the mail server an

[PHP] Segmentation fault using imap_open

2006-12-12 Thread Richard Morris
Hello all, I was experimenting with the imap_* library functions trying to see if I could get a PHP script to access a folder on our IMAP server and I ran into a problem. I was trying to get a simple script to work which simply opened a connection to the mail server and then closed it but wh

RE: [PHP] Segmentation Fault

2004-11-19 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 18 November 2004 02:10, Jerry Swanson wrote: > I have index.php file. > On one server it executes with no problem. > On another server it gives me Segmentation Fault error. > >

[PHP] Segmentation Fault

2004-11-17 Thread Jerry Swanson
I have index.php file. On one server it executes with no problem. On another server it gives me Segmentation Fault error. 4.3.2 - Segmentation Fault 4.3.4 - no problem What can cause such problem? This is simple login page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Segmentation fault(11) using oci8 Oracle 10g

2004-07-19 Thread Francis Mignault
When I try to use oci8 on redhat8 Oracle 10.1 I get the following error on make PHP : /u01/app/oracle/product/10.1.0/lib/libclntsh.so: warning: remap_file_pages is not implemented and will always fail and Segmentation fault(11) in the apache log. Any ideas why ? Thanks Francis. -- PHP General

[PHP] Segmentation Fault in Apache b/cuz of PHP

2004-02-04 Thread Jonathan Villa
Looks like PHP is causing a segmentation fault in Apache. Why do I think this? Well because it only happens with the PHP pages and my httpd error logs only show entries when PHP page are accessed.. I have RPM installations of Apache (1.3.27) and PHP (4.1.2) on a RedHat 7.1 server. Any ideas on

RE: [PHP] Segmentation fault problem

2004-01-23 Thread E. Stuart Hicks
ge- From: Martin Luethi [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 5:34 AM To: [EMAIL PROTECTED] Cc: E. Stuart Hicks Subject: RE: [PHP] Segmentation fault problem the function who is causing the seg fault is preg_match_all maybe this helps (http://bugs.php.net/bug.php?id=20698):

RE: [PHP] Segmentation fault problem

2004-01-23 Thread E. Stuart Hicks
AIL PROTECTED] Sent: Friday, January 23, 2004 5:34 AM To: [EMAIL PROTECTED] Cc: E. Stuart Hicks Subject: RE: [PHP] Segmentation fault problem the function who is causing the seg fault is preg_match_all maybe this helps (http://bugs.php.net/bug.php?id=20698): [28 Nov 2002 6:26am EST] thingol at mail do

RE: [PHP] Segmentation fault problem

2004-01-23 Thread Martin Luethi
L PROTECTED] Sent: Thursday, January 22, 2004 2:07 PM To: 'Martin Luethi'; [EMAIL PROTECTED] Subject: RE: [PHP] Segmentation fault problem I still can't access anything on bugs.php.net so I'm not sure exactly what you need. I grabbed all of the execute() frames,

RE: [PHP] Segmentation fault problem

2004-01-22 Thread E. Stuart Hicks
x27;Martin Luethi'; [EMAIL PROTECTED] Subject: RE: [PHP] Segmentation fault problem I still can't access anything on bugs.php.net so I'm not sure exactly what you need. I grabbed all of the execute() frames, though, and ran that print function and got this: (gdb) print (ch

RE: [PHP] Segmentation fault problem

2004-01-22 Thread E. Stuart Hicks
sday, January 22, 2004 2:24 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Segmentation fault problem each php function is executed by the internal function "execute()" please include the details about this frames also (configure php with --enable-debug first) e.g.: (gdb) frame 6 o

Re: [PHP] Segmentation fault problem

2004-01-22 Thread Martin Luethi
each php function is executed by the internal function "execute()" please include the details about this frames also (configure php with --enable-debug first) e.g.: (gdb) frame 6 output... (gdb) print (char *)(executor_globals.function_state_ptr->function)- >common.function_name output... with thi

[PHP] Segmentation fault problem

2004-01-21 Thread E. Stuart Hicks
I can't get onto bugs.php.net right now for some reason so I will post this in here and hope someone finds it. I've recently installed and set up Horde / IMP to access my email from remote. I'm running the Courier mail system and its IMAP daemon. I also have UW IMAP 2002e built into PHP v4.3.4 a

Re: [PHP] Segmentation Fault

2003-08-15 Thread Curt Zirzow
* Thus wrote Jackson Miller ([EMAIL PROTECTED]): > I am running a PHP script from the command line that is returning > "Segmentation Fault". I run a lot of script from the command line and have > never seen this before. I don't even know where to begin. http://bugs.php.net/how-to-report.php >

RE: [PHP] Segmentation Fault

2003-08-15 Thread Jay Blanchard
[snip] I am running a PHP script from the command line that is returning "Segmentation Fault". I run a lot of script from the command line and have never seen this before. I don't even know where to begin. I know that PHP is set up to run scripts from the command line and plent of other scrip

[PHP] Segmentation Fault

2003-08-15 Thread Jackson Miller
I am running a PHP script from the command line that is returning "Segmentation Fault". I run a lot of script from the command line and have never seen this before. I don't even know where to begin. I know that PHP is set up to run scripts from the command line and plent of other scripts run.

Re: [PHP] Segmentation fault and var_dump()

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 05:59, Rob Brandt wrote: > What is wrong? It only does this when the var_dump() is present; > comment it out and there is no segmentation fault (but the script > still doesn't work right). With it present, the seg faults every > time. You can try using print_r() inst

[PHP] Segmentation fault and var_dump()

2003-01-08 Thread Rob Brandt
Hello; I'm getting a segmentation fault and I don't understand what it means. Kind of new to php debugging. Background: Web server is generally error free. I have some complex php/MySQL applications installed. I'm running it under YellowDogLinux with php v4.23. I'm trying to install a CVS ver

[PHP] Segmentation Fault

2002-10-30 Thread Andy Woolley
Hi All, I'm scanning email address for our mailing list to see if they are valid and the PHP app I have built for this bombs out at random complaining of a Segmentation Fault. I believe this is to do with memory and possibly down to the number of open file handles but the code is spot on in that

[PHP] Segmentation fault with Sablotron xslt_process()

2002-07-17 Thread William S.
I am getting random Segmentation faults when I use the following script. This does not happen when I run scripts that do not include the xslt_process() So I am assuming it has something to do with Sablotron and xslt. Below is also the back trace with the problem. Can anyone suggest a solution or n

[PHP] segmentation fault?

2002-05-13 Thread Kavin Stewart
I'm a bit of a PHP newbie, so please forgive me if this question is stupid =). Anyways, I am writing a script using curl to check a list of proxies to make sure that they can connect to google. Unfortunately, when I run the script I always end up getting a segmentation fault around iteration 250+.

[PHP] segmentation fault in apache with php and imap

2001-10-05 Thread Steeman Philip
Hi, I get a segmentation fault in the log-files of apache when I use "imap_open". What have I done (rather long e-mail)? Debian - woody (without apache-php-imap) imap-2001.FINAL.tar.Z make slx cd c-client ln -s . lib ln -s . include ln -s c-client.a libc-client.a apache-1.3.20 confi

[PHP] segmentation fault - core dump

2001-09-12 Thread Jack Dempsey
hi all, could someone give me a description of what this really means? i know what it means in general, but in php, what are the likely candidates? i thougth i had it narrowed down to a warning in fopen and a bad fp, but i've taken care of that, and its still core dumping...i'm using the cgi vers

[PHP] Segmentation Fault on apache with imageCopy fonction

2001-08-31 Thread Matthieu Brunet
This line in my code : imageCopy($im,$source,10,10,0,0,$this->width,$this->height); Give me a segmentation fault in apache : [Fri Aug 31 13:58:43 2001] [notice] child pid 4158 exit signal Segmentation fault (11) If I replace this fonction by imageCopyMerge($im,$source,10,10,0,0,$this->width,$thi

[PHP] Segmentation fault (core dumped)

2001-08-17 Thread Evan Nemerson
I am trying to run a repetitive script. Basically, one function over and over. Every time I run it from the command line I get "Segmentation fault (core dumped)". If I run it with the PHP module for apache, "Segmentation fault (core dumped)" appears in the error log. It seems to be a memory is

[PHP] Segmentation fault (11) : mcrypt

2001-08-14 Thread Robert Mena
Hi, I've trying to use mcrypt and php (4.06 or 4.07-dev) with no luck. Everytime I use I got a [notice] child pid 16630 exit signal Segmentation fault (11) in my apache's error.log. I am using the latest libmcrypt-2.4.15 and php (a hour ago cvs update). Is this a known bug ? './configure' '--w