#22076 [Fbk->NoF]: PHP 4.3.0 crashes on OpenBSD 3.2 sparc64 when zlib is linked

From: Date: Fri, 09 May 2003 12:30:16 +0000
Subject: #22076 [Fbk->NoF]: PHP 4.3.0 crashes on OpenBSD 3.2 sparc64 when zlib is linked
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39368@lists.php.net to get a copy of this message
ID: 22076 Updated by: sniper@php.net Reported By: slash at peereboom dot us -Status: Feedback +Status: No Feedback Bug Type: Zlib Related Operating System: OpenBSD 3.2 SPARC64 PHP Version: 4.3.0 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-05-01 20:27:40] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-02-05 16:27:30] slash at peereboom dot us [root@sparc64 php-4.3.0]# cat config.nice #! /bin/sh # # Created by configure './configure' \ '--with-zlib' \ '--enable-debug' \ "$@" [root@sparc64 php-4.3.0]# l /usr/lib/libz* -r--r--r-- 1 root bin 83270 Oct 3 20:28 /usr/lib/libz.a -r--r--r-- 1 root bin 67266 Oct 3 20:28 /usr/lib/libz.so.1.4 -r--r--r-- 1 root bin 91040 Oct 3 20:28 /usr/lib/libz_p.a -r--r--r-- 1 root bin 82904 Oct 3 20:28 /usr/lib/libz_pic.a I also downloaded zlib 1.1.4 and compiled it myself with the same results. ------------------------------------------------------------------------ [2003-02-05 16:17:09] msopacua@php.net What's the zlib version on this box and could you cat/paste config.nice? ------------------------------------------------------------------------ [2003-02-05 13:47:24] slash at peereboom dot us vi a.c int main() { char *a, *b; a = 0; b = 0; strcpy(a, b); return 0; } [root@sparc64 root]# gcc -o a a.c -g [root@sparc64 root]# ./a Segmentation fault (core dumped) [root@sparc64 root]# gdb -c a.core a GNU gdb 4.16.1 Copyright 1996 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-unknown-openbsd3.2"... Core was generated by `a'. Program terminated with signal 11, Segmentation fault. #0 0x403855b0 in ?? () (gdb) bt #0 0x403855b0 in ?? () #1 0x1004dc in ___start () (gdb) Seems to work... I used OpenBSD's 3.2 native compiler and debugger. [root@sparc64 root]# gcc -v Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd3.2/2.95.3/specs gcc version 2.95.3 20010125 (prerelease) [root@sparc64 root]# gdb -v GNU gdb 4.16.1 ------------------------------------------------------------------------ [2003-02-05 13:34:13] magnus@php.net Looks like something is wrong with your gdb.. I had the same problem (gdb coredumping on me), but on Tru64.. It went away when I compiled gdb with Compaq's native C compiler.. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22076 -- Edit this bug report at http://bugs.php.net/?id=22076&edit=1

« previous php.bugs (#39368) next »