php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5513 core dump in apache startup initializing php3.0.16/mysql3.22.32-1
Submitted: 2000-07-11 12:21 UTC Modified: 2002-06-16 08:25 UTC
From: rkofoed at velankani dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 3.0.16 OS: redhat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rkofoed at velankani dot com
New email:
PHP Version: OS:

 

 [2000-07-11 12:21 UTC] rkofoed at velankani dot com
I downloaded zerodivide's apache kit including php3,php4,imap.
Executing apache (1.3.12) core dumps.

Configure line from apacke kit (config.status)

./configure  --enable-debug=no --enable-memory-limit --with-apxs=/usr/local/apache/bin/apxs --enable-versioning --with-mysql --with-gd --with-pgsql=/usr --with-imap=/usr/local

php3.ini was not installed (installed the default, same problem)

Here is a backtrace:

gdb /usr/local/apache/bin/httpd /core
GNU gdb 19991004
Copyright 1998 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 "i386-redhat-linux"...
Core was generated by `/usr/local/apache/bin/httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/local/apache/libexec/libphp3.so...done.
Reading symbols from /usr/lib/libgd.so.1...done.
Reading symbols from /usr/lib/libttf.so.2...done.
Reading symbols from /usr/lib/libmysqlclient.so.6...done.
Reading symbols from /usr/lib/libpq.so.2.0...done.
Reading symbols from /usr/lib/libgdbm.so.2...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libpthread.so.0...done.
#0  0x403e2758 in ?? ()
(gdb) bt
#0  0x403e2758 in ?? ()
#1  0x400fa5aa in _IO_new_file_close_it (fp=0x80dfca0) at fileops.c:136
#2  0x400f642d in _IO_new_fclose (fp=0x80dfca0) at iofclose.c:50
#3  0x40268020 in __res_vinit () from /usr/local/apache/libexec/libphp3.so
#4  0x4026796d in __res_ninit () from /usr/local/apache/libexec/libphp3.so
#5  0x4026d72a in __irs_gen_acc () from /usr/local/apache/libexec/libphp3.so
#6  0x402660c5 in net_data_create () from /usr/local/apache/libexec/libphp3.so
#7  0x4026605c in __net_data_init () from /usr/local/apache/libexec/libphp3.so
#8  0x40265f07 in endservent_p () from /usr/local/apache/libexec/libphp3.so
#9  0x40265d10 in getservbyname () from /usr/local/apache/libexec/libphp3.so
#10 0x401fa4ea in php3_minit_mysql (type=1, module_number=9)
    at functions/mysql.c:258
#11 0x401d6b37 in module_startup_modules () at internal_functions.c:533
#12 0x401d02da in php3_module_startup () at main.c:1244
#13 0x401cdb40 in php3_create_dir () from /usr/local/apache/libexec/libphp3.so
#14 0x8077273 in ap_single_module_configure ()
#15 0x806fdb0 in load_module ()
#16 0x8075b4e in invoke_cmd ()
#17 0x8076433 in ap_handle_command ()
#18 0x80764c7 in ap_srm_command_loop ()
#19 0x80768d0 in ap_process_resource_config ()
#20 0x8077192 in ap_read_config ()
#21 0x80809f1 in standalone_main ()
#22 0x8081263 in main ()
#23 0x400bc9cb in __libc_start_main (main=0x8080f1c <main>, argc=1,
    argv=0xbffffb64, init=0x804ed70 <_init>, fini=0x80b523c <_fini>,
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb5c)
    at ../sysdeps/generic/libc-start.c:92

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:25 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC