co3k / php-dql-tokenizer

5 stars 1 forks source link

zend_mm_heap corrupted OR segmentation fault #1

Open stephaneerard opened 13 years ago

stephaneerard commented 13 years ago

Hello,

I'm using your extension with symfony (sf) 1.4 & doctrine 1.2.

I use sf tasks to load records using fixtures (doctrine fixtures) (CLI)

It appears that a lot of times I get seg. fault or zend_mm_heap errors, which is kind of problematic.

I run the same task many times, some times it works, sometimes I get a seg fault, some others I get a zend_mm_heap corrupted.

I was running php with xhprof & xdebug & phpdqltokenizer. I have disabled one by one the extensions to see which one was making error, and it appears to be this one, as when I disable it, and running my script 4 times, I get no error, while when I enable it, running my script 4 times I get 3 errors average.

Any clue ?

Thank you !

co3k commented 13 years ago

OK, I will try to reproduce in this week.

Can I get more information about your environment? e.g) OS, PHP ...

And, do you have a smallest code to reproduce your reporting?

Thanks!

Gamesh commented 13 years ago

got the same problem here OS: Linux 2.6.38-10-generic-pae #46-Ubuntu SMP Tue Jun 28 16:54:49 UTC 2011 i686 i686 i386 GNU/Linux Ubuntu Natty 11.04

PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May 2 2011 23:18:30) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans

also using APC 3.1.9

always crashes on any query