Re: [PHP-DEV] Seg fault when using active_symbol_table called fromuserspace function.

2009-11-02 Thread Felipe Pena
2009/11/2 Mark Skilbeck > > Anyone? > > See: http://markmail.org/message/33ee6aitsyqxgu6x#query:+page:1+mid:33ee6aitsyqxgu6x+state:results > -- Regards, Felipe Pena

Re: [PHP-DEV] Seg fault when using active_symbol_table called fromuserspace function.

2009-11-02 Thread Mark Skilbeck
Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:41, Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Hi,

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Scott MacVicar wrote: On 1 Nov 2009, at 21:41, Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Hi, Scott. I'm having trou

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Scott MacVicar
On 1 Nov 2009, at 21:41, Mark Skilbeck wrote: Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Hi, Scott. I'm having trouble - I added the che

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Hi, Scott. I'm having trouble - I added the check to see if the symbol table i available, ye

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Mark Skilbeck
Scott MacVicar wrote: On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: [snip] There is no symbol table as there are no variables. You should check if it's NULL before using zend_hash_exists. Scott Ah - of course. Thanks for that, Scott. -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Seg fault when using active_symbol_table called from userspace function.

2009-11-01 Thread Scott MacVicar
On 1 Nov 2009, at 21:09, Mark Skilbeck wrote: Can you explain to me why the following causes a segfault: [code] PHP_FUNCTION(sample_var_a_exists) { if (!zend_hash_exists(EG(active_symbol_table), "a", sizeof("a"))) { RETURN_BOOL(0); } RETURN_BOOL(1); } [/code] Note: the segfaul

Re: [PHP-DEV] seg fault in zend_hash (with bt)

2005-03-29 Thread Nick Loeve
Looks like the one. Thanks Alan Knowles wrote: Is this the sqlite "build it with gawk" bug? Regards Alan On Wed, 2005-03-30 at 11:09 +1000, Nick Loeve wrote: Sorry here is the BT from GDB (gdb) run Starting program: /home/nick/Desktop/build-src/php-src/sapi/cli/php [Thread debugging using libthread

Re: [PHP-DEV] seg fault in zend_hash (with bt)

2005-03-29 Thread Alan Knowles
Is this the sqlite "build it with gawk" bug? Regards Alan On Wed, 2005-03-30 at 11:09 +1000, Nick Loeve wrote: > Sorry here is the BT from GDB > > (gdb) run > Starting program: /home/nick/Desktop/build-src/php-src/sapi/cli/php > [Thread debugging using libthread_db enabled] > [New Thread 1076758

Re: [PHP-DEV] Seg fault

2004-08-03 Thread håvard eide
> Antony Dovgal wrote: > > > On Sun, 1 Aug 2004 00:20:08 +1000 > > Kevin Waterson <[EMAIL PROTECTED]> wrote: > > > >> Well, no. I am running apache 1.3.31 and php 5.1.0 > >> > >> /php/dev/this/php5-200407310630/Zend/zend_constants.c(33) : Block > >> 0x0087F563 > >> status:/php/dev/this/php5-200407

Re: [PHP-DEV] Seg fault

2004-08-02 Thread Antony Dovgal
On Mon, 02 Aug 2004 13:36:22 -0300 Cristiano Duarte <[EMAIL PROTECTED]> wrote: > Antony Dovgal wrote: > > > On Sun, 1 Aug 2004 00:20:08 +1000 > > Kevin Waterson <[EMAIL PROTECTED]> wrote: > > > >> Well, no. I am running apache 1.3.31 and php 5.1.0 > >> > >> /php/dev/this/php5-200407310630/Zend/

Re: [PHP-DEV] Seg fault

2004-08-02 Thread Cristiano Duarte
Antony Dovgal wrote: > On Sun, 1 Aug 2004 00:20:08 +1000 > Kevin Waterson <[EMAIL PROTECTED]> wrote: > >> Well, no. I am running apache 1.3.31 and php 5.1.0 >> >> /php/dev/this/php5-200407310630/Zend/zend_constants.c(33) : Block >> 0x0087F563 >> status:/php/dev/this/php5-200407310630/Zend/zend_v

Re: [PHP-DEV] Seg fault

2004-08-02 Thread Antony Dovgal
On Sun, 1 Aug 2004 00:20:08 +1000 Kevin Waterson <[EMAIL PROTECTED]> wrote: > Well, no. I am running apache 1.3.31 and php 5.1.0 > > /php/dev/this/php5-200407310630/Zend/zend_constants.c(33) : Block > 0x0087F563 > status:/php/dev/this/php5-200407310630/Zend/zend_variables.c(39) : > Actual locatio

Re: [PHP-DEV] Seg fault

2004-07-31 Thread Wez Furlong
I don't see how that helps us to fix the problem. --Wez. -- ___ _ ___ / ___|/ _ \_ _/ _ \ | | _| | | || || | | | | |_| | |_| || || |_| | \|\___/ |_| \___/ Wez Furlong, Glastonbury, Somerset, England On Sun, 1 Aug 2004 00:39:24 +1000, Kevin Waterson <[EMAIL PROTECTED]> wrot

Re: [PHP-DEV] Seg fault

2004-07-31 Thread Kevin Waterson
This one time, at band camp, Wez Furlong <[EMAIL PROTECTED]> wrote: > http://bugs.php.net/how-to-report.php http://www.bmezine.com/tattoo/A40305/high/dsc010660.jpg maybe short tags is the problem.. -- __ (_ \ _) )

Re: [PHP-DEV] Seg fault

2004-07-31 Thread Wez Furlong
http://bugs.php.net/how-to-report.php On Sun, 1 Aug 2004 00:20:08 +1000, Kevin Waterson <[EMAIL PROTECTED]> wrote: > Well, no. I am running apache 1.3.31 and php 5.1.0 > > /php/dev/this/php5-200407310630/Zend/zend_constants.c(33) : Block 0x0087F563 status: > /php/dev/this/php5-200407310630/Zend/z

Re: [PHP-DEV] Seg fault

2004-07-30 Thread Elfyn McBratney
Hello Kevin, On Sat, Jul 31, 2004 at 09:51:53AM +1000, Kevin Waterson wrote: > Sorry if this is not GOTO related ;) > not too sure what list this belongs on, but here it iw > > (gdb) run -X > Starting program: /usr/local/apache/bin/httpd -X > [Thread debugging using libthread_db enabled] > [New T