ID: 41626 User updated by: ilya at qubis dot org Reported By: ilya at qubis dot org Status: Open Bug Type: PCRE related Operating System: FreeBSD 6.2 PHP Version: 5.2.3 New Comment:
Stas! Are you using PCRE 7.0? Previous Comments: ------------------------------------------------------------------------ [2007-06-08 01:26:13] [EMAIL PROTECTED] FWIW, works for me fine on Linux Fedora 6. ------------------------------------------------------------------------ [2007-06-07 21:16:41] ilya at qubis dot org ok, I've compiled GNU gdb 6.5 backtrace is something like: === #0 0x295a9710 in match () /from usr/local/lib/php/20060613-debug/pcre.so #1 0x295a98ca in match () from /usr/local/lib/php/20060613-debug/pcre.so #2 0x295ab649 in match () from /usr/local/lib/php/20060613-debug/pcre.so === ... after that lines 1 and 2 repeat infinitely. ------------------------------------------------------------------------ [2007-06-07 14:38:11] [EMAIL PROTECTED] >GNU gdb 6.1.1 [FreeBSD] Try updating GDB. ------------------------------------------------------------------------ [2007-06-07 14:19:24] ilya at qubis dot org Oops, man! http://bugs.php.net/bugs-generating-backtrace.php for *NIX I've decided use the way "If you can't get a core file:" but: [EMAIL PROTECTED] ~]# gdb /usr/local/sbin/httpd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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-marcel-freebsd"... (gdb) run -X Starting program: /usr/local/sbin/httpd -X warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100126] [New Thread 0x80b0000 (LWP 100126)] gdb in realloc(): error: pointer to wrong page Abort trap: 6 (core dumped) [EMAIL PROTECTED] ~]# any suggections? ------------------------------------------------------------------------ [2007-06-07 13:14:23] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. The infamous PCRE stack overflow AGAIN? Please tell me I'm wrong.. ------------------------------------------------------------------------ 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/41626 -- Edit this bug report at http://bugs.php.net/?id=41626&edit=1