i been getting segfaults .......

furimedia

Well-Known Member
#1
lsphp5[30016]: segfault at 000000000a2b8000 rip 0000003a0a67a3ec rsp 00007fffa96d1a68 error 6
lsphp5[30018]: segfault at 000000001dda3000 rip 0000003a0a67a393 rsp 00007fff65958ce8 error 6
lsphp5[30032]: segfault at 0000000011a41000 rip 0000003a0a67a3e4 rsp 00007fffff4d9868 error 6
lsphp5[30058]: segfault at 000000002038c000 rip 0000003a0a67a393 rsp 00007fff3b928cb8 error 6
lsphp5[29738]: segfault at 0000000007f47000 rip 0000003a0a67a3e8 rsp 00007fff576569e8 error 6
lsphp5[30070]: segfault at 0000000019df5000 rip 0000003a0a67a3dc rsp 00007fffa0dca158 error 6
lsphp5[30082]: segfault at 0000000016cff000 rip 0000003a0a67a39b rsp 00007fff9e5cf968 error 6
lsphp5[30101]: segfault at 0000000002fde000 rip 0000003a0a67a383 rsp 00007fff3e9bfd58 error 6
lsphp5[30104]: segfault at 000000001555d000 rip 0000003a0a67a383 rsp 00007fffbaabde58 error 6
lshttpd[12710]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[12711]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7227]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7228]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7252]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7253]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7275]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7276]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7302]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7303]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7351]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7352]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4
lshttpd[7386]: segfault at 00007fffb972e000 rip 0000003a0a67a6cb rsp 00007fffb97295a8 error 4


im using 3.3.17

any ideas?
 

mistwang

LiteSpeed Staff
#2
It is hard to say what causes it to crash without a core file.
Please check error.log and stderr.log .
If you knew which request cause lsphp5 to crash, you can try strace the PHP process.

Please upgrade to 3.3.18, or to be released 3.3.19 package.
 
#3
We suffer the same with latest version:

php-cgi[19592]: segfault at 00007fff3d0c1878 rip 000000000074a564 rsp 00007fff3d0c1850 error 6
php-cgi[19875]: segfault at 00007fffe539eb58 rip 000000000074a564 rsp 00007fffe539eb30 error 6
php-cgi[24286]: segfault at 00007ffff68e6ff8 rip 000000000074a519 rsp 00007ffff68e7020 error 6
php-cgi[18261]: segfault at 00007fff5ea581e8 rip 000000000074a564 rsp 00007fff5ea581c0 error 6
php-cgi[18473]: segfault at 00007fff19891578 rip 000000000074a564 rsp 00007fff19891550 error 6
php-cgi[18881]: segfault at 00007fff9afc8768 rip 000000000074a564 rsp 00007fff9afc8740 error 6
php-cgi[19326]: segfault at 00007fff1ccbb458 rip 000000000074a564 rsp 00007fff1ccbb430 error 6
php-cgi[20722]: segfault at 00007fff768fbfd0 rip 000000322a671798 rsp 00007fff768fbfb0 error 6
php-cgi[21017]: segfault at 00007fffd25c7d78 rip 000000000074a564 rsp 00007fffd25c7d50 error 6
php-cgi[21416]: segfault at 00007fff24ebe668 rip 000000000074a564 rsp 00007fff24ebe640 error 6
php-cgi[24103]: segfault at 00007fff4914b8f8 rip 000000000074a564 rsp 00007fff4914b8d0 error 6
php-cgi[25504]: segfault at 00007fff0fe09af8 rip 000000000074a564 rsp 00007fff0fe09ad0 error 6
php-cgi[26467]: segfault at 00007fffe091fff0 rip 000000322a671798 rsp 00007fffe091ffd0 error 6
How can we find the cause ?

Regards.
 

mistwang

LiteSpeed Staff
#4
That's your fast cgi PHP binary crashed, if you can find the core file, you use GDB to get the backtrace of the call stack, then submit it to php.net.
 
#5
We use LSWS with cPanel so what can we do ?

stderr log is full of :

2008-10-13 16:01:32.143 rm: missing operand
2008-10-13 16:01:32.143 Try `rm --help' for more information.
2008-10-13 16:01:38.957 rm: missing operand
2008-10-13 16:01:38.957 Try `rm --help' for more information.
2008-10-13 16:01:46.354 rm: missing operand
2008-10-13 16:01:46.354 Try `rm --help' for more information.
2008-10-13 16:01:53.325 rm: missing operand
2008-10-13 16:01:53.325 Try `rm --help' for more information.
2008-10-13 16:39:18.389 rm: missing operand
2008-10-13 16:39:18.389 Try `rm --help' for more information.
 
Top