Re: Bug #1031: unlink causes seg fault

From: Date: Tue, 05 Jan 1999 20:21:46 +0000
Subject: Re: Bug #1031: unlink causes seg fault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3294@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > > PHP wouldn't generate a core file..I ran httpd -X as root and did unlimit > > coredumpsize...find / -name core reports nothing :\ > > > > unlink causes the crash, though if i comment unlink out, and use system, it works... > > Run httpd -X under gdb and just do a "bt" to get a backtrace. I'd love to > see it. > > -Rasmus ah, forgot about that option.. (gdb) set args -X (gdb) exec-file /usr/sbin/httpd A program is being debugged already. Kill it? (y or n) y (gdb) run Starting program: /usr/sbin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x400f657d in chunk_alloc (ar_ptr=0x4014abd0, nb=40) at malloc.c:2733 malloc.c:2733: No such file or directory. (gdb) bt #0 0x400f657d in chunk_alloc (ar_ptr=0x4014abd0, nb=40) at malloc.c:2733 #1 0x400f6f2d in chunk_realloc (ar_ptr=0x4014abd0, oldp=0x8161568, oldsize=32, nb=40) at malloc.c:3223 #2 0x400f6c38 in __libc_realloc (oldmem=0x8161570, bytes=31) at malloc.c:3102 #3 0x806a4da in ?? () #4 0x8066bae in ?? () #5 0x8098b11 in ?? () #6 0x806456b in ?? () #7 0x806481c in ?? () #8 0x8061dac in ?? () #9 0x8061e12 in ?? () #10 0x80a0547 in ?? () #11 0x80b2705 in ?? () #12 0x80b2764 in ?? () #13 0x80aaad5 in ?? () #14 0x80aac60 in ?? () #15 0x80aadc3 in ?? () #16 0x80ab3b8 in ?? () #17 0x80abb8b in ?? () -- Michael Matsumura -- 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

« previous php.dev (#3294) next »