ID:               34725
 User updated by:  david at tulloh dot id dot au
 Reported By:      david at tulloh dot id dot au
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Debian Linux
-PHP Version:      5CVS-2005-10-04 (CVS)
+PHP Version:      5.1.0RC3
 New Comment:

Repeated with --enable-debug

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210001728 (LWP 23835)]
0xb7c07840 in ?? ()
(gdb) bt
#0  0xb7c07840 in ?? ()
#1  0x080e5ce0 in tsrm_shutdown () at php-cvs-5.1/TSRM/TSRM.c:180
#2  0x081a82f4 in main (argc=3, argv=0xbffffb54)
    at php-cvs-5.1/sapi/cli/php_cli.c:1155

http://tulloh.id.au/php/bugs/34725/fail.debug.valgrind


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

[2005-10-26 11:08:19] [EMAIL PROTECTED]

What if you ,/configure PHP with --enable-debug ?
Are you still able to replicate it?
If yes, please generate gdb backtrace using debug build and repeat with
valgrind too.

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

[2005-10-26 11:03:28] david at tulloh dot id dot au

I finished the valgrind run, I've hosted the log files as they were a
little bigish.

http://tulloh.id.au/php/bugs/34725/pass.valgrind
http://tulloh.id.au/php/bugs/34725/fail.valgrind

Some related files (config & test file) are also in the directory.

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

[2005-10-17 12:33:30] [EMAIL PROTECTED]

Use valgrind to get some more info about it.

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

[2005-10-17 10:13:05] david at tulloh dot id dot au

I managed to track this down to a much more specific test case.  The
following configure line is the smallest reproducable test case I could
find.

./configure \
        '--disable-all' \
        '--enable-cli' \
        '--disable-cgi' \
        '--with-apxs2=/usr/bin/apxs2' \
        '--with-pcre-regex=shared,/usr'

Removing the apxs2 line, or making the pcre extension non-shared hides
the fault, it's also not visible if the pcre extension isn't loaded.

The tests were done with the latest CVS version, 5.1 branch.

apache2-mpm-prefork (debian stable) - 2.0.54
libpcre3 - 5.0

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

[2005-10-12 01:00:05] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

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/34725

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

Reply via email to