Re: Bug #1031: unlink causes seg fault

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Bug #1031: unlink causes seg fault
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-3295@lists.php.net to get a copy of this message
> 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 Hrm.. Are you calling str_replace() anywhere in your script? I don't see how this could be related to PHP's unlink code. -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

« previous php.dev (#3295) next »