ついでに eacceleratorのencoder.php も簡単なスクリプト以外が エンコードできない。こいつも帰ってこなくなるんだがな。 0059572008/03/09(日) 13:30:08 apacheのエラーログには [Sun Mar 09 13:16:22 2008] [notice] child pid 14771 exit signal Segmentation fault (11) [Sun Mar 09 13:16:22 2008] [notice] child pid 14773 exit signal Segmentation fault (11) [Sun Mar 09 13:16:22 2008] [notice] child pid 15427 exit signal Segmentation fault (11) [Sun Mar 09 13:16:22 2008] [notice] child pid 15457 exit signal Segmentation fault (11) [Sun Mar 09 13:16:23 2008] [notice] child pid 15456 exit signal Segmentation fault (11) ん〜なんだろ。 セグメンテーションフォルトが出てた。 mpm関係なのだろうか?
apacheを再起動しようとすると [Sun Mar 09 11:35:26 2008] [notice] SIGHUP received. Attempting to restart [Sun Mar 09 11:35:26 2008] [notice] seg fault or similar nasty error detected in the parent process
全然原因がわからん................................ 0060572008/03/09(日) 14:52:04 GDBしてみた。 # cd /usr/local/src/php-5.2.5/ # gdb ./sapi/cli/php GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
warning: not using untrusted file ".gdbinit" (gdb) r Starting program: /usr/local/src/php-5.2.5/sapi/cli/php [Thread debugging using libthread_db enabled] [New Thread -1209026880 (LWP 2462)] [New Thread -1212290144 (LWP 2465)] [Thread -1212290144 (LWP 2465) exited] 0061572008/03/09(日) 14:52:24 つずき
<?php print "test"; exit; test
Program received signal SIGTSTP, Stopped (user). [Switching to Thread -1209026880 (LWP 2462)] 0x005df7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where #0 0x005df7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0076e3de in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #2 0x0076bc4a in _L_mutex_lock_23 () from /lib/tls/libpthread.so.0 #3 0x00464e3c in my_errorcheck_mutexattr () from /usr/local/mysql/lib/mysql/libmysqlclient_r.so.15 #4 0x00464e9c in THR_LOCK_myisam () from /usr/local/mysql/lib/mysql/libmysqlclient_r.so.15 #5 0x00000000 in ?? ()
「#5 0x00000000 in ?? ()」ってなんでしょうか? 0062572008/03/09(日) 15:28:35 原因判明!!!!!!!!!