ID:               40855
 Updated by:       [EMAIL PROTECTED]
 Reported By:      donauinsel at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: W2K
 PHP Version:      5.2.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2007-03-20 17:00:53] donauinsel at hotmail dot com

OK i understand. 

I wish i could give you more information but it's just this simple
configuration and this simple script. As long as i had the UNIQUE index
on the INT(15) field the php crashed with access violation within few
hours may dependig on load of webpage.

I tried to debug by using GFLAGS ON but i can see that the heap crahes
always on other adresses (but the debugger has never breaked on buffer
overflow).

------------------------------------------------------------------------

[2007-03-20 16:49:29] [EMAIL PROTECTED]

I just don't understand what does it have to do with PHP at all - PHP
doesn't care if your index is UNIQUE or whether you have an index at
all. PHP just passes the query to libmysql.
Therefore I suspect either the problem is actually caused by something
else or it has nothing to with PHP at all.

------------------------------------------------------------------------

[2007-03-20 16:39:36] donauinsel at hotmail dot com

It's reproduceable on windows (ISAPI) - that's all. 

If you run it as CGI it may never happen ?! I have no linux at all here
to test neither than other OS'es. I reported to mysql because may the
result given back to php is wrong. Sorry for crossposting.

If you're sure that it's not bug but a feature then close this please
but i'm pretty sure that other people on the WWW have similar crashes
and if UNIQUE index is corrupting the heap under these circumstances may
i can help with this simple tip to check.

------------------------------------------------------------------------

[2007-03-20 16:02:57] [EMAIL PROTECTED]

Not reproducible on Linux.
Also, I don't undrestand - why did you report it BOTH to MySQL people
and here?
Are you able to replicate it on another machine? Another OS? 
Linux and valgrind would most likely give some more information, not
just a random backtrace.

------------------------------------------------------------------------

[2007-03-20 07:48:08] donauinsel at hotmail dot com

Btw. The stacktrace does not help in this case because it always
happens on other adresses so the heap corruption is the error not the
error itself.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/40855

-- 
Edit this bug report at http://bugs.php.net/?id=40855&edit=1

Reply via email to