Vinny wrote:


> I recompiled php 4.0.6 with enable-debug. Now I see this in logs:
> 
> 
> preparser-scanner.l(450) :  Freeing 0x0820547C (249 bytes), 
> script=/usr/local/apache/libexec/midgard-root.php
> Last leak repeated 14 times
> midgard.c(440) :  Freeing 0x081624C4 (12 bytes), 
> script=/usr/local/apache/libexec/midgard-root.php
> 
> 
> ran gdb again and got this when I hit the nadmin page
> 
> 
>  gdb /usr/local/apache/bin/httpd
> GNU gdb 19991004
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you 
> are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux"...
> (gdb) run -X
> Starting program: /usr/local/apache/bin/httpd -X
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x2ac69f51 in zendparse () at zend_language_parser.c:2465
> 2465    { yyvsp[-1].u.constant.value.lval=0; 
> yyvsp[-1].u.constant.type=IS_LONG; yyvsp[-1].op_type = IS_CONST; 
> INIT_PZVAL(&yyvsp[-1].u.constant); zend_do_binary_op(ZEND_ADD, &yyval, 
> &yyvsp[-1], &yyvsp[0] CLS_CC); ;
> (gdb) bt


I'll have a look at the preparser code, which is the most likely suspect.

If I may be so bold to ask more of your time, it would be highly 
interesting to know if you could reproduce this segfault using etrace.

(http://www.eso.org/~ndevilla/etrace/). This will probably not work out of the

 box -- the reader script assumes to find all symbols in the supplied executable,

and we're interested in the symbols in midgard.so. I have one system 
where I'm having issues with midgard, but the compiler doesn't support 
etrace, and the systems that have newer compilers don't exhibit the problem.

In any case: don't forget to add above information to your bugreport. I 
don't want it to go lost.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to