php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #86 Core Dump in dbm routines
Submitted: 1998-02-19 16:05 UTC Modified: 1999-04-29 19:55 UTC
From: thomas at fivemile dot org Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 3.0b4 OS: Linux Redhat 4.2 auf DEC AXP Alp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thomas at fivemile dot org
New email:
PHP Version: OS:

 

 [1998-02-19 16:05 UTC] thomas at fivemile dot org
[root@stargate src]# gdb /usr/sbin/httpsd
GDB is free software and you are welcome to 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.
GDB 4.16 (alpha-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) r -X -d/etc/httpd
Starting program: /usr/sbin/httpsd -X -d/etc/httpd

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/alpha/strlen.S:46
../sysdeps/alpha/strlen.S:46: No such file or directory.
Current language:  auto; currently asm
(gdb) bt
#0  strlen () at ../sysdeps/alpha/strlen.S:46
#1  0x120088cf8 in _php3_dbmopen () at functions/db.c:304
#2  0x120088bb8 in php3_dbmopen () at functions/db.c:260
#3  0x1200a61c4 in cs_functioncall_post_variable_passing () at control_structures_inline.h:837
#4  0x1200a8e18 in phpparse () at language-parser.y:443
#5  0x1200756f4 in php3_parse () at main.c:1210
#6  0x1200759a4 in apache_php3_module_main () at main.c:1500
#7  0x120048d98 in send_php3 ()
#8  0x120048e3c in send_parsed_php3 ()
#9  0x12001fac8 in invoke_handler ()
#10 0x120023b48 in process_request_internal ()
#11 0x120023f24 in internal_redirect ()
#12 0x120043560 in handle_dir ()
#13 0x12001fac8 in invoke_handler ()
#14 0x120023b48 in process_request_internal ()
#15 0x120023bb8 in process_request ()
#16 0x12001abc8 in child_main ()
#17 0x12001ad48 in make_child ()
#18 0x12001b750 in standalone_main ()
#19 0x12001bd6c in main ()

-- snip --

despite the 'httpsd' there's no SSL compiled into this binary. The binary is Apache 1.2.5 with both PHP2 and 3 
modules compiled in.

If you need the info i can send you the page source where 
the call chokes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC