Segfaults with 3.0.12, 3.0.13 with Apache on Sol7/sparc
| From: | J.S. Havard | Date: | Sun, 16 Jan 2000 08:08:13 +0000 |
| Subject: | Segfaults with 3.0.12, 3.0.13 with Apache on Sol7/sparc | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14660@lists.php.net to get a copy of this message | ||
I don't know why it is happening. First occured when I started using
php4. Due to those problems, and also phpMyAdmin not working under php4,
I switched back to php3, since 3.0.13 was released, decided to use
it. Still had problems. I've tried everything. Even wiping apache,
refetching all source for everything, and recompile. Also, I'm doing this
as a DSO. I haven't tried it as a static module.
Php3 options vary, and the problems still crop up. It only happens on
pages where there are forms where it calls more php3. A page that, say,
just does a bunch of selects on a MySQL db, and then generates some HTML,
those work fine without a hitch.
Please help. Let me know if you would like any other info.
---Begin Stuff from GDB---
Program received signal SIGSEGV, Segmentation fault.
0xef645790 in _malloc_unlocked ()
(gdb) bt
#0 0xef645790 in _malloc_unlocked ()
#1 0xef64558c in malloc ()
#2 0xef4edfdc in _emalloc (size=192) at alloc.c:115
#3 0xef4ec69c in tc_switch (tcm=0x8, start=5070, end=5081, middle=121872)
at token_cache.c:229
#4 0xef5261f4 in phpparse () at control_structures_inline.h:619
#5 0xef4e5894 in php3_parse (yyin=0x1) at main.c:1553
#6 0xef4e5c0c in apache_php3_module_main (r=0x10e438, fd=5120,
display_source_mode=0, preprocessed=0) at main.c:1934
#7 0xef4e21cc in send_php3 ()
#8 0xef4e225c in send_parsed_php3 ()
#9 0x42694 in ap_invoke_handler ()
#10 0x5e46c in process_request_internal ()
#11 0x5e4ec in ap_process_request ()
#12 0x52340 in child_main ()
#13 0x525a8 in make_child ()
#14 0x527a8 in startup_children ()
#15 0x5308c in standalone_main ()
#16 0x53c28 in main ()
---End GDB Stuff---
Regards,
John Havard