Re: Reentrant C scanners for PHP

From: Date: Fri, 06 Jul 2001 11:24:36 +0000
Subject: Re: Reentrant C scanners for PHP
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59075@lists.php.net to get a copy of this message
> > Looks very nice. Do you think you could LGPL it instead of GPL? Would be > > tricky to use in conjunction with the QPL if it was GPL'ed. > > As it's my intention that the code is linked against PHP/the > Zend Engine, the GPL should be fine here (similar to the > situation of the GPLed KDE project and the QPLed QT 1). > Anyway, the license is subject to change. Ok, but we still have a bit of work to do to make the Apache/PHP license GPL-compatible. Perhaps by the time ngscan is ready this GPL-compatibility issues will have worked themselves out and the GPL would be fine for ngscan. Leave it GPL'ed and we will wait and see what happens. > Can you give http://schumann.cx/ngscan-0.2.tar.gz a try? > The > example works fine here, regardless of the number of > iterations. Backquotes are supported now, too. No, I still get a segfault: Program received signal SIGSEGV, Segmentation fault. 0x081439d4 in _efree (ptr=0x835d7ac, __zend_filename=0x8249f46 "cgi_main.c", __zend_lineno=793, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:212 212 CALCULATE_REAL_SIZE_AND_CACHE_INDEX(p->size); (gdb) bt #0 0x081439d4 in _efree (ptr=0x835d7ac, __zend_filename=0x8249f46 "cgi_main.c", __zend_lineno=793, __zend_orig_filename=0x0, __zend_orig_lineno=0) at zend_alloc.c:212 #1 0x08078958 in main (argc=2, argv=0xbffff9c4) at cgi_main.c:793 #2 0x4040c177 in __libc_start_main (main=0x8077efc <main>, argc=2, ubp_av=0xbffff9c4, init=0x8075914 <_init>, fini=0x8249b40 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff9bc) at ../sysdeps/generic/libc-start.c:129 I will send you the exact script causing it (offline) -Rasmus

« previous php.dev (#59075) next »