php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6991 Apache crashes when I compile with mcrypt and use virtualhosting.
Submitted: 2000-10-03 07:19 UTC Modified: 2000-12-30 13:03 UTC
From: tryggvi at firmanet dot is Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.2 OS: Red Hat 6.2
Private report: No CVE-ID: None
 [2000-10-03 07:19 UTC] tryggvi at firmanet dot is
Hi,

'./configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-ftp' '--with-mcrypt'

I'm using:
mcrypt-2.2.6
apache-1.3.12
php-4.0.2

Problem summary:
If I run apache with virtualhosting it crashes if I change the config file and it is the same without virtualhosting lines commented out it crashes.

I can start the apache server by using a config file without virtualhosting and then when it is started and running I can move my httpd.conf file with the virtualhosting to its right location and run 'apachectl restart' and then everything works like it should.

If you need more info i'm glad to be a help. 

[root@gold apache]# gdb /usr/local/apache/bin/httpd
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Cannot access memory at address 0x40317b14
(gdb) bt
#0  0x4000af21 in _dl_debug_state () at dl-debug.c:56
#1  0x40145156 in _dl_close (map=0x80d3310) at dl-close.c:195
#2  0x40063430 in dlclose_doit (handle=0x80d3310) at dlclose.c:26
#3  0x4000ac3b in _dl_catch_error (errstring=0x40065080,
    operate=0x40063418 <dlclose_doit>, args=0x80d3310) at dl-error.c:141
#4  0x400638b9 in _dlerror_run (operate=0x40063418 <dlclose_doit>,
    args=0x80d3310) at dlerror.c:125
#5  0x400633fe in dlclose (handle=0x80d3310) at dlclose.c:32
#6  0x80874d0 in ap_os_dso_unload ()
#7  0x8066650 in unload_module ()
#8  0x8068b9e in run_cleanups ()
#9  0x80673cd in ap_clear_pool ()
#10 0x80774a3 in standalone_main ()
#11 0x8077d43 in main ()
#12 0x4007e9cb in __libc_start_main (main=0x80779fc <main>, argc=2,
    argv=0xbffffb84, init=0x804ebf4 <_init>, fini=0x80abd1c <_fini>,
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb7c)
    at ../sysdeps/generic/libc-start.c:92

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-19 23:02 UTC] sniper@php.net
Please try latest snapshot from  http://snaps.php.net/
and report back whether this happens also with it.

--Jani
 [2000-12-30 12:10 UTC] sniper@php.net
No feedback. Reopen this bug report if this happens with the latest release.

--Jani
 [2000-12-30 13:03 UTC] tryggvi at firmanet dot is
I think that this bug was Mcrypt related.

PHP 4.0.4 and libmcrypt 2.4.7 works fine with virtualhosting etc.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 30 22:01:28 2024 UTC