ID: 27033 Updated by: [EMAIL PROTECTED] Reported By: ask at eternal-newbie dot dk -Status: Open +Status: Feedback Bug Type: PCRE related Operating System: linux PHP Version: 4.3.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-01-24 18:43:39] ask at eternal-newbie dot dk Description: ------------ in my functions.php (http://wiki.dgsnet.dk/functions.phps) i got a class called user with a function called in_group(). This function calls a global function called isint();, this function uses preg_match. If the in_group() function is called from withith the global makeoutput function or from a function called from without the makeoutput function. the the call in in_group() to isint() will cause the apache child to crash. i cannot get a gdb file, since it's the child and not the parant server which is crashing. However the log states clearly that it returns a segmentation fault. I might need to note that in_group is being called several times before makeoutput() is started and that works fine. Reproduce code: --------------- http://wiki.dgsnet.dk/functions.phps Expected result: ---------------- that apache/php didn't crash. Actual result: -------------- see description. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27033&edit=1