reproducing a crash...
| From: | Peter Kocks | Date: | Thu, 24 Aug 2000 22:40:34 +0000 |
| Subject: | reproducing a crash... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30567@lists.php.net to get a copy of this message | ||
I'm using a snapshot for 945 this morning and I finding that apache
segfaults intermittently. Maybe once every 20 hits or so. In different
spots doing different things.
My biggest problem is that I can't get apache to core dump every time and I
can't get apache into a position where it cores every time. So it difficult
to report a bug.
How do I force apache to core dump every time?
I did get one core dump this morning. Here's what gdb says:
(gdb) where
#0 0xdfb07d2c in strncasecmp ()
#1 0xdf9df165 in php_apache_admin_flag_handler (cmd=0x0, conf=0x819acf8,
arg1=0x8047a44 "dz\004\bÇ$\013\bl\217\034\b",
arg2=0x80b25ae "\203Ä\020è\216Ý") at mod_php4.c:640
#2 0x80b3e55 in run_cleanups (c=0x81c8f6c) at alloc.c:1940
#3 0x80b24c7 in ap_clear_pool (a=0x8198cec) at alloc.c:683
#4 0x80b2547 in ap_destroy_pool (a=0x8198cec) at alloc.c:713
#5 0x80b24b3 in ap_clear_pool (a=0x8196cd4) at alloc.c:676
#6 0x80b2547 in ap_destroy_pool (a=0x8196cd4) at alloc.c:713
#7 0x80c0e04 in clean_parent_exit (code=0) at http_main.c:2246
#8 0x80c3b35 in standalone_main (argc=1, argv=0x8047b9c) at
http_main.c:4861
#9 0x80c4098 in main (argc=1, argv=0x8047b9c) at http_main.c:5092
Solaris 2.7