ID: 28780 User updated by: reinhard dot e dot voglmaier at gsk dot com Reported By: reinhard dot e dot voglmaier at gsk dot com Status: Open Bug Type: OCI8 related Operating System: Sun Solaris 9 PHP Version: 4.3.7 Assigned To: tony2001 New Comment:
Maybe there are problems with the 64 bit Environment ? Is PHP + Oracle 64bit safe ? ( Pointer casted into int or unsigned int ? conversions between int ? adress arithmetic used ? ) I am using 64bit Oracle. Previous Comments: ------------------------------------------------------------------------ [2004-06-15 12:42:06] reinhard dot e dot voglmaier at gsk dot com I'm using Oracle 9.2.0 same product as I am connecting to. Oracle is 64 bit ( -m64 switch for gcc ). I started it under truss, here the last few lines: lstat("/opt/apache/itweb/htdocs", 0xFFFFFFFF7FFF80F0) = 0 getuid() = 60001 [60001] door_info(4, 0xFFFFFFFF7FFF5D68) = 0 door_call(4, 0xFFFFFFFF7FFF5D38) = 0 sigprocmask(SIG_SETMASK, 0xFFFFFFFF7C91D500, 0xFFFFFFFF7FFF7C90) = 0 sigprocmask(SIG_SETMASK, 0xFFFFFFFF7FFF7C7C, 0x00000000) = 0 sigaction(SIGINT, 0xFFFFFFFF7FFF7AF0, 0xFFFFFFFF7FFF7CE8) = 0 sigprocmask(SIG_SETMASK, 0xFFFFFFFF7C91D500, 0xFFFFFFFF7FFF7C90) = 0 sigprocmask(SIG_SETMASK, 0xFFFFFFFF7FFF7C7C, 0x00000000) = 0 brk(0x1004C6210) = 0 brk(0x1004CA210) = 0 brk(0x1004CA210) = 0 brk(0x1004CE210) = 0 brk(0x1004CE210) = 0 brk(0x1004D2210) = 0 door_info(4, 0xFFFFFFFF7FFF4538) = 0 door_call(4, 0xFFFFFFFF7FFF4508) = 0 brk(0x1004D2210) = 0 brk(0x1004D6210) = 0 so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", 1) = 7 connect(7, 0xFFFFFFFF7FFF67F4, 16, 1) = 0 getsockname(7, 0xFFFFFFFF7FFF67F4, 0xFFFFFFFF7FFF6804, 1) = 0 setsockopt(7, tcp, TCP_NODELAY, 0xFFFFFFFF7FFF6964, 4, 1) = 0 fcntl(7, F_SETFD, 0x00000001) = 0 brk(0x1004D6210) = 0 brk(0x1004DA210) = 0 brk(0x1004DA210) = 0 brk(0x1004DE210) = 0 brk(0x1004DE210) = 0 brk(0x1004FE210) = 0 Incurred fault #6, FLTBOUNDS %pc = 0xFFFFFFFF7D63C1AC siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 ------------------------------------------------------------------------ [2004-06-15 12:31:26] [EMAIL PROTECTED] Seems to be a Solaris-specific GDB bug. Have a look at these messages: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00818.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg00452.html Btw, what Oracle client version do you use and does it correspond to Oracle server version? ------------------------------------------------------------------------ [2004-06-15 11:59:21] reinhard dot e dot voglmaier at gsk dot com You're right, I use apache 1.3.29 what does this mean ? procfs: 4265 -- process not stopped procfs: ...giving up... ------------------------------------------------------------------------ [2004-06-15 11:17:00] [EMAIL PROTECTED] Well.. I can't get a backtrace for you too. Btw, you didn't tell your version of Apache (or whatever you use). If you use Apache2, you'd better read this: http://www.php.net/manual/en/install.apache2.php ------------------------------------------------------------------------ [2004-06-15 10:53:15] reinhard dot e dot voglmaier at gsk dot com I did'nt get any backtrace, running gdb resulted in: gdb httpd (gdb) run -X procfs: 4265 -- process not stopped procfs: ...giving up... httpd is running, I see it via "ps -ef" calling OCILogin results in Segmentation fault, but the process doesn't stop, I don't get the core file ------------------------------------------------------------------------ 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/28780 -- Edit this bug report at http://bugs.php.net/?id=28780&edit=1