[PHP-DEV] Global HashTables access violations

2002-10-21 Thread Brian 'Bex' Huff
php 4.2.3 and 4.2.2 windows 2000 command line debugging I posted this a week ago, no replies yet... Ive written an extension to PHP that (among other things) uses a global HashTable object for a mini cache. I fill it, and then have a simple PHP function to pull a string out of the cache, and

Re: [PHP-DEV] Global HashTables access violations

2002-10-21 Thread Tony Leake
On Mon, 2002-10-21 at 20:19, Brian 'Bex' Huff wrote: Ive written an extension to PHP that (among other things) uses a global HashTable object for a mini cache. I fill it, and then have a simple PHP function to pull a string out of the cache, and return it. However, I keep getting wierd

[PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Ok... I have hashtables in global memory and when i read from them i am getting some random crashing proplems apache seems to be segfaulting when my application does a zend_hash_find(); well it doesn't segfault right away.. it segfaults at the end of the php script the only way i can tell

[PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Sorry i forgot to attach the extension __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com test.tar.gz Description: test.tar.gz -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

Re: [PHP-DEV] global HashTables

2002-02-14 Thread Markus Fischer
Look at the fourth parameter of zend_hash_find(), it's the wrong type. You may want to read other modules sources how it's done. Btw, for such simple things you don't need an apache to spot things. You can use the CGI (even if you don't get an immidiate crash). Turn on

Re: [PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Wrong type? Why do you say that i put the value into the hash as a string.. and im trying to get it out as a string... what type should it be? - Brad --- Markus Fischer [EMAIL PROTECTED] wrote: Look at the fourth parameter of zend_hash_find(), it's the wrong type. You may want to