Hello,

it's clear why this crashes... the globals are not initialized. And from: 
php_recode.h:

/* Checking for thread safety and issue warning if necessary. */
#ifdef ZTS
#warning Recode module has not been tested for thread-safety.
#endif

It looks as it just needs some work (but not that much as far as I can 
see).

Derick

On Sat, 20 Apr 2002, Magnus Määttä wrote:

> With Apache 2.0.36-dev, newest PHP cvs..
> 
> Starting program: /usr/local/www/httpd2/bin/httpd
> [New Thread 1024 (LWP 9606)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 9606)]
> 0x40406e41 in zm_startup_recode (type=1, module_number=9, tsrm_ls=0x8196898) at 
>/mnt/data1/Stuff/CVS/PHP/php4/ext/recode/recode.c:80
> 80              ReSG(outer)       = recode_new_outer(true);
> (gdb)
> 
> btw, I don't know if i debuged it the right way, can someone explain the way to do 
>it ?
> 
> gdb httpd
> r
> 
> Regards
> Magnus Määttä
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-----------------------------------------------------------------------
                 Did I help you? Consider a gift:
      http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
-----------------------------------------------------------------------
              PHP: Scripting the Web - [EMAIL PROTECTED]
                All your branches are belong to me!
            SRM: Script Running Machine - www.vl-srm.net
-----------------------------------------------------------------------


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to