New memory manager problems
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | New memory manager problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3933@lists.php.net to get a copy of this message | ||
I did a complete 'make clean' build on Solaris 2.6 and the CGI version
compiled using --enable-debug is rather unhappy. Here is the backtrace:
Program received signal SIGBUS, Bus error.
0x42550 in _emalloc (size=10, filename=0xc2ff8 "fopen-wrappers.c",
lineno=370) at alloc.c:133
133 *((long *)(((char *) p) +
sizeof(mem_header)+size+PLATFORM_PADDING)) = MEM_BLOCK_END_MAGIC;
(gdb) bt
#0 0x42550 in _emalloc (size=10, filename=0xc2ff8 "fopen-wrappers.c",
lineno=370) at alloc.c:133
#1 0x4278c in _estrdup (s=0x12fc10 ".::/u/www", filename=0xc2ff8
"fopen-wrappers.c", lineno=370) at alloc.c:268
#2 0x45b88 in php3_fopen_with_path (filename=0xc20e0 "php3.ini",
mode=0xc20f0 "r", path=0x12fc10 ".::/u/www",
opened_path=0xeffffa0c) at fopen-wrappers.c:370
#3 0x434b8 in php3_init_config () at ./configuration-parser.y:192
#4 0x38a98 in php3_config_ini_startup () at main.c:952
#5 0x39384 in php3_module_startup () at main.c:1233
#6 0x39fe8 in main (argc=2, argv=0xeffffbf4) at main.c:1742
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net