ID: 45079 Updated by: [EMAIL PROTECTED] Reported By: m dot kurzyna at crystalpoint dot pl -Status: Open +Status: Feedback -Bug Type: *Compile Issues +Bug Type: Reproducible crash Operating System: Linux PHP Version: 5.3CVS-2008-05-23 (snap) New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2008-05-23 12:40:17] m dot kurzyna at crystalpoint dot pl Description: ------------ Configuring build --with-config-file-path=/etc/php causes segmentation fault when invoking binary (both CLI and CGI). Reproduce code: --------------- ./configure --with-config-file-path=/etc/php make ./sapi/cli/php Actual result: -------------- [EMAIL PROTECTED] n1]$ ./sapi/cgi/php-cgi Segmentation fault A strace follows: [...] open("/etc/php/php.ini", O_RDONLY) = 3 lstat("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/etc/php", {st_mode=S_IFDIR|0755, st_size=52, ...}) = 0 lstat("/etc/php/php.ini", {st_mode=S_IFREG|0644, st_size=42387, ...}) = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe8ff0d60) = -1 ENOTTY (Inappropriate ioctl for device) fstat(3, {st_mode=S_IFREG|0644, st_size=42387, ...}) = 0 mmap(NULL, 42403, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b4dc1b13000 munmap(0x2b4dc1b13000, 42387) = 0 close(3) = 0 mmap(NULL, 323584, PROT_READ|PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x2b4dc1b13000 brk(0xa42000) = 0xa42000 brk(0xa63000) = 0xa63000 brk(0xa84000) = 0xa84000 futex(0x2b4dc2d11ae0, FUTEX_WAKE_PRIVATE, 2147483647) = 0 brk(0xaa5000) = 0xaa5000 brk(0xac6000) = 0xac6000 brk(0xae7000) = 0xae7000 brk(0xb08000) = 0xb08000 brk(0xb29000) = 0xb29000 open("/etc/php/browscap.ini", O_RDONLY) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe8ff1da0) = -1 ENOTTY (Inappropriate ioctl for device) fstat(3, {st_mode=S_IFREG|0644, st_size=319838, ...}) = 0 mmap(NULL, 319854, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b4dc1b62000 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45079&edit=1
