Error 4 In Php5-cgi
Contents |
Wed, 14 Apr 2010 14:57:01 UTC Severity: normal Found in version php5/5.3.2-1 Fixed in version php5/5.3.2-2 Done: Raphael Geissert
Mysql Cgi
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers
Php4 Cgi
and rfc822 format available. Message #5 received at submit@bugs.debian.org (full text, mbox, reply): From: Martin Sebald Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] PHP FastCGI segfaults Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577784 report it, thanks ! Results 1 to 3 of 3 Thread: PHP FastCGI segfaults Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 18th, 2011 #1 sapphirecat View Profile View Forum Posts Private Message Visit Homepage First Cup of Ubuntu Join Date May 2008 Location Upstate New York Beans 4 DistroUbuntu 10.04 Lucid Lynx [SOLVED] PHP FastCGI segfaults - APC's https://ubuntuforums.org/showthread.php?t=1761778 fault I recently migrated my server from Slicehost to Linode and now I get seemingly random FCGI segfaults like this: Code: kernel: php-cgi[27359]: segfault at 4c ip PTR sp PTR error 6 in php5-cgi[40000 0+OFFSET] EDIT: backtrace has been removed. Initially there was some suhosin stuff in the backtrace, so I removed php5-suhosin from the system, but it still crashes. At this point I don't really know where to look next, since the stack seems 99% bogus: especially the apparent call to main(SHORT_MAX, NULL). Both old and new machines were/are 64-bit Lucid installs, up-to-date, using the standard debs (lucid-security & lucid-updates enabled). However, I already canceled the old server, unaware of this issue, so I can't double-check its logs. It's configured as: the internet -> lighttpd,mod_fastcgi -> php5-cgi = PHP 5.3.2-1ubuntu4.9 with Suhosin-Patch (cgi-fcgi) (built: May 3 2011 00:45:34). uname -a gives me: Code: 2.6.38-x86_64-linode17 #1 SMP Thu Apr 28 22:18:47 UTC 2011 x86_64 I tried searching the web, but all I've found so far are similar questions, without answers. Any help on where to go next, or how to track down what file it's trying to compile? Last edited by sapphirecat; May 20th, 2011 at 01:15 AM. Reason: solved, can't find an official mark-as-solved button Adv Reply May 19th, 2011 # Sign in Pricing Blog Support Search GitHub This repository Watch 28 Star https://github.com/gplessis/dotdeb-php/issues/43 108 Fork 24 gplessis/dotdeb-php Code Issues 20 Pull requests https://dev.openwrt.org/ticket/11065 1 Projects 0 Pulse Graphs New issue segfault since upgrade from 5.5.1 to 5.5.3 - opcache #43 Closed dalu opened this Issue Sep 7, 2013 · 6 comments Projects None yet Labels None yet Milestone No error 4 milestone Assignees No one assigned 2 participants dalu commented Sep 7, 2013 opcache extension is segfaulting Sep 7 11:23:38 s1 kernel: [10772557.337318] php-cgi[24280]: segfault at 10 ip 000000000075a5d9 sp 00007fff54948730 error 4 in php5-cgi[400000+7d0000] Sep 7 11:30:17 s1 kernel: [10772955.719044] php-cgi[28251]: segfault at 10 ip 000000000075a5d9 sp error 4 in 00007fff81148a40 error 4 in php5-cgi[400000+7d0000] Sep 7 11:30:19 s1 kernel: [10772957.818166] php-cgi[28322]: segfault at 10 ip 000000000075a5d9 sp 00007ffff81fbd00 error 4 in php5-cgi[400000+7d0000] Sep 7 11:31:49 s1 kernel: [10773047.787945] php-cgi[28331]: segfault at 10 ip 000000000075a5d9 sp 00007fffeee901f0 error 4 in php5-cgi[400000+7d0000] Sep 7 11:34:45 s1 kernel: [10773223.774436] php-cgi[28339]: segfault at 10 ip 000000000075a5d9 sp 00007fffed80a7a0 error 4 in php5-cgi[400000+7d0000] Sep 7 11:34:49 s1 kernel: [10773227.261844] php-cgi[28345]: segfault at 10 ip 000000000075a5d9 sp 00007fff65e090f0 error 4 in php5-cgi[400000+7d0000] Sep 7 11:35:38 s1 kernel: [10773276.049386] php-cgi[28347]: segfault at 10 ip 000000000075a5d9 sp 00007fff5f20c190 error 4 in php5-cgi[400000+7d0000] Sep 7 11:35:40 s1 kernel: [10773278.389469] php-cgi[28409]: segfault at 10 ip 000000000075a5d9 sp 00007fff9f5b6860 error 4 in php5-cgi[400000+7d0000] Sep 7 11:37:11 s1 kernel: [10773369.787767] php-cgi[28411]: segfault at 10 ip 000000000075a5d9 sp 00007fffb3c77f70 error 4 in php5-cgi[400000+7d0000] Sep 7 11:49:44 s1 kernel: [10774121.761276] php-cgi[28524]: segfault at 10 i reopened defect (php5) php-cgi and phpfcgi get seg fault Reported by: tm@… Owned by: developers Priority: normal Milestone: Barrier Breaker 14.07 Component: toolchain Version: Trunk Keywords: php5 uClibc Cc: Description (php5) php-cgi and php-fcgi get seg fault at the end of the script with uClibc 0.9.33, works fine with uClibc 0.9.32-git hello.php: php-cli hello.php Hello WorldSegmentation fault php-fcgi hello.php X-Powered-By: PHP/5.3.10 Content-type: text/html Hello WorldSegmentation fault Attachments (0) Oldest first Newest first Threaded Comments only Change History (24) comment:1 Changed 5 years ago by tm@… to complete: syslog: php-cli[2474]: segfault at b6d2d238 ip b78c0539 sp bfe87ad8 error 4 in ld-uClibc-0.9.33.so[b78bf000+7000] comment:2 Changed 4 years ago by nbd please try latest 0.9.33.2 comment:3 Changed 4 years ago by jao.chin@… I have the same problem with trunck version #31858, and build it for x86 VirtualBox VDI (RAM=384M). root@router:~# uname -a Linux router 3.3.7 #12 Fri May 25 18:14:50 CST 2012 i686 GNU/Linux My php test script () runs successfully but ended with "Segmentation fault" too. The following log shows both in system log and kernel log : php-cgi[2455]: segfault at b725c238 ip b779f539 sp bfc23ba8 error 4 in ld-uClibc-0.9.33.2.so[b779e000+7000] php-cgi execution result : root@router:~# php-cgi -v PHP 5.3.10 (cgi-fcgi) (built: May 22 2012 16:28:39) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies Segmentation fault root@router:~# php-cgi -m [PHP Modules] cgi-fcgi Core ctype date ereg filter gd json libxml mbstring mysql mysqli pcre PDO pdo_mysql posix Reflection session SimpleXML SPL standard tokenizer zip zlib [Zend Modules] Segmentation fault Installed packages : lighttpd - 1.4.30-2 lighttpd-mod-cgi - 1.4.30-2 lighttpd-mod-evasive - 1.4.30-2 lighttpd-mod-fastcgi - 1.4.30-2 php5 - 5.3.10-4 php5-cgi - 5.3.10-4 php5-fastcgi - 5.3.10-4 php5-mod-ctype - 5.3.10-4 php5-mod-gd - 5.3.10-4 php5-mod-json - 5.3.10-4 php5-mod-mbstring - 5.3.10-4 php5-mod-my