Eli Marmor wrote:
Johann Bertscheit wrote:

> ...

Your message left us with too many questions...

1. Did you use the original sources, or had to modify them?  If the
   original sources work with no change, then it is a great news!  I
   always thought that some of these sources require Visual C++ under
   NT...

You must distinguish between
1.) WIN32 apache1.3.9/mod_ssl as found as binary in
    http://www.modssl.org/contrib/
    1262788 Nov 28 21:40:40 1999 Apache_1.3.9-mod_ssl_2.4.9-openssl_0.9.4-WIN32-i386.rar
(in this version the crash occurs)

2.) cygwin apache1.3.6/mod_ssl CAMP as  found as binary in
http://www.student.uni-koeln.de/cygwin/Distribution/Binary/?item=camp
(binary version - without mod_proxy and mod_rewrite)

3.) cygwin apache1.3.6/mod_ssl with mod_proxy and mod_rewrite (own build)
from the following sources:
http://www.student.uni-koeln.de/cygwin/Distribution/Source/apache-ssl/
concerning your question:
this version is a already "ported" version of the orginal apache to cygwin -
but even this version dont(!) compiled "out of the box" -
I had to patch the sources at some places to be able to compile on my cygwin B20.1 -
but I finally got it running.

4.) normal apache1.3.12/mod_sll:
I also tried to compile the newest apache1.3.12/mod_ssl with cygwin -
but here even more patches to the sources are neccessary -
I was not able even to compile openssl so far.
I stopped the porting of this version because I got the cygwin-apache1.3.6-mod_proxy/mod_rewrite up and running without the crash of the WIN32 version.

I currently use version 3.) and have no problems with this version so far (and I hope: will have no problems in future!)
 

2. The versions you use look very ancient... (Apache 1.3.4/1.3.6,
   mod_ssl 2.1.7/2.2.7, PHP-3.0.7, PostgreSQL-6.4, mod_dav-0.9.8,
   etc.). Is there any special reason?
AFAIK: there are no other ports of mod_SSL  to WINNT beyond 1.3.9 available (see list above).
- and it seems not too easy to get 1.3.12 running on cygwin (I dont tried WIN32 because I think the crash-bug is present in the newest 1.3.12 apache, because it is present in 1.3.6 WIN32 and 1.3.9 in the very same place !! both versions crash at the same code-place...)
3. How is it possible that an executable compiled by Cygwin is 11 (!)
   times (1000%) faster than an executable compiled by Visual-C++?
   I never noticed that the VC++ binary was so slow...
   And it looks impossible that Microsoft, which has $billions to put
   in R&D, will let its flagship compiler to be 1000% slower. Even
   20% slower would be hard to believe...
I analyzed the difference in speed - and I found the reason:
for debugging purposes I set the SSLLogLevel to "debug" on WIN32 but not on cygwin.
When I set the SSLLogLevel back to "info" then the speed difference is gone.
Or there is a critical
   problem with mod_ssl/OpenSSL...  If so, please provide us with
   more details, so we can fix them. OpenSA people, are you there?
   Did you have such problems?
In addition to the above speed-difference (which is clear now):
WIN32-version: I noticed that the apache1.3.9 version sometime "HANGS" on https:... requests
(in opposion to the apache1.3.6 which had no such problem). But I'm sorry - I cannot reproduce this effect.
 
4. You wrote that the WIN32 version crashes. Can you reproduce it?
I wrote a problem report
Subject:
            [BugDB] crash in ApacheModuleSSL.dll of winnt
            Apache_1.3.9-mod_ssl_2.4.9-openssl_0.9.4-WIN32-i386.rar
            (PR#353)
and further analyzed the problem:
I almost can reproduce the problem:
The problem occurs when a switch of VirtualHosts occur!
I have 2 VirtualHosts configured in my httpd.conf.
- one on port 443
- another on port 5443
(- and the normal port 80)
Also I checked the dependency with SSLLogLevel, because I noticed that the SSL-logfile
is garbled prior(!) the crash - It seems to be that 2 processes write in the logfile without sync!
But even if I set SSLLogLevel to "warn" the crash occurs!
To reproduce the problem it seems you need two requests to a semi-complex html-page
(I have a frameset with 3 frames and with approx. 20 images)
first from  http://host:443/page.html
then from http://host:5443/page.html
try it several times (maybe also with different pages) and the crash occurs!
 
   There are many WIN32 users in this list, and we don't face such
   problems. Can you hunt these crashes?  Can you find their origin?
I had this crashes on several different WINNT machines!
And always at the same code-place! (see below in the problem-report)
So the reason should be in ApacheModuleSSL.dll.
Your story looks too amazing to be true, but if you tell it, we
believe you. However, please provide us with more details, so we can
check if these problems are our fault / MS fault / your machine fault
/ debugging flags fault / whatever.
please look at my problem report
[BugDB] crash in ApacheModuleSSL.dll of winnt
            Apache_1.3.9-mod_ssl_2.4.9-openssl_0.9.4-WIN32-i386.rar
            (PR#353)

I include my submission for your convenience:

Full_Name: Johannes Bertscheit
Version: mod_ssl_2.4.9
OS: winnt 4.0
Submission from: (NULL) (213.54.8.186)
Hello,

I have the following problem with
both
- Apache_1.3.6-mod_ssl_2.2.6-openssl_0.9.2b-WIN32-i386.zip
and
- Apache_1.3.9-mod_ssl_2.4.9-openssl_0.9.4-WIN32-i386.rar
in the same way.

I use winnt 4.0.

The following crash occurs while serving 'https://...' pages
(e.g. frameset with 3 frames and with approx. 20 images)

The crash is not always reproduceable but occurs again and again.

The following quincy problem report details the problem.
The problem occurs even when quincy is deactivated -
so it is no problem of quincy)
 

      ************************************************
      *          Quincy for Win32  Rev 1.50          *
      *  Copyright 1995-7, Lotus Development Corp.   *
      *             All rights reserved              *
      *          Abnormal Termination Report         *
      ************************************************
    Portions Copyright (C) 1985-1993 Microsoft Corp. All rights reserved.

    Please report this crash to the vendor of the faulting application:
     App: Apache.exe (PID=0x1AA)
          ----------
     When: 2/24/2000 @ 10:37:49.390
     Exception number: C0000005 (access violation)
                       ---------------------------
     Exception Flags = 0x00000000 (continuable)
                       ------------------------
     Notes Build: Release 4.5.2 (Intl)|26 June 1997

    State Dump for Thread ID 0x1A4

    EAX: 00555750 EBX: 014CFC20 ECX: 00000023 EDX: 0000008C ESI: 00B80325 EDI:
00555750
    EIP: 009C5CFF ESP: 014CFBF4 EBP: 00B80321 IOPL: 0         nv up ei pl nz na
pe nc
    CS: 001B  SS: 0023  DS: 0023  ES: 0023  FS: 0038  GS: 0000             EFL:
00000202
 

    ---------- Code Disassembly ----------
    function: <nosymbols>+0000
            009c5ce9 89430c           mov     [ebx+0xc],eax
ds:028be83e=????????
            009c5cec 5d               pop     ebp
            009c5ced 5b               pop     ebx
            009c5cee 83c408           add     esp,0x8
            009c5cf1 c3               ret
            009c5cf2 8b4b0c           mov     ecx,[ebx+0xc]
ds:028be83e=????????
            009c5cf5 8d7504           lea     esi,[ebp+0x4]
ss:01f6ef3f=????????
            009c5cf8 8bd1             mov     edx,ecx
            009c5cfa 8bf8             mov     edi,eax
            009c5cfc c1e902           shr     ecx,0x2
    FAULT ->009c5cff f3a5             rep  movsd ds:00b80325=????????
es:00555750=00555830

----------------------------------------------------
            009c5d01 8bca             mov     ecx,edx
            009c5d03 83e103           and     ecx,0x3
            009c5d06 f3a4             rep     movsb         ds:00b80325=??
es:00555750=30
            009c5d08 8b4500           mov     eax,[ebp]
ss:01f6ef3f=????????
            009c5d0b 894310           mov     [ebx+0x10],eax
ds:028be83e=????????
            009c5d0e 5f               pop     edi
            009c5d0f 5e               pop     esi
            009c5d10 5d               pop     ebp
            009c5d11 5b               pop     ebx
            009c5d12 83c408           add     esp,0x8
            009c5d15 c3               ret

    if I deactive quincy and use the debugging tool of the microsoft visual C++
    ---------------------------------------------------------------------------
    I get the crash at the same place (I even tried it on another winnt host)

            00a15cec   pop       ebp                     pop     ebp
            00a15ced   pop       ebx                     pop     ebx
            00a15cee   add       esp,00000008            add     esp,0x8
            00a15cf1   ret                               ret
            00a15cf2   mov       ecx,dword ptr [ebx+0c]  mov     ecx,[ebx+0xc]
            00a15cf5   lea       esi,dword ptr [ebp+04]  lea     esi,[ebp+0x4]
            00a15cf8   mov       edx,ecx                 mov     edx,ecx
            00a15cfa   mov       edi,eax                 mov     edi,eax
            00a15cfc   shr       ecx,02                  shr     ecx,0x2
            00a15cff   rep movsd                         rep  movsd ds:00b80325
                       ---------                         ----------------------
            00a15d01   mov       ecx,edx                 mov     ecx,edx
            00a15d03   and       ecx,00000003            and     ecx,0x3
            00a15d06   rep movsb                         rep     movsb
            00a15d08   mov       eax,dword ptr [ebp]     mov     eax,[ebp]
            00a15d0b   mov       dword ptr [ebx+10],eax  mov     [ebx+0x10],eax
            00a15d0e   pop       edi                     pop     edi
            00a15d0f   pop       esi                     pop     esi
            00a15d10   pop       ebp                     pop     ebp
            00a15d11   pop       ebx                     pop     ebx
            00a15d12   add       esp,00000008

            ?search? "movsd apache"
                      ------------

    No top of the stack: SP > BP
    ---------- Stack Back Trace ----------
                                          -------------------
    Stopped at 009C5CFF (0001:00004CFF in ApacheModuleSSL.dll)  Base=0x009c0000
RVA=0x00001000
                                          -------------------

    Does anyone has experienced the same problem or has a solution to that
problem?

 

Thanks,
--
Eli Marmor
************************************************************
 *   ___ _  __ ___  __    _ |__ _ _    [EMAIL PROTECTED]   *
  *     | | | \   | | \    |  / |\/     El-Mar Software Ltd. *
   *    | | | _)  | | _)     /  | \      Tel.: 972-50-237338  *
    *    ___________________________      Fax: 972-9-766-1314  *
     *   \_________________________ \ http://elmar.co.il   *
      *    _________  __  ____     \ \____  __    _              *
       *   \_______ \ \_\|  _ \  __ \____ \ \ \  | |              *
        *          \ \   | | \ \ \_\     \ \ \ \ | |             *
         *          \ \  | | _\ \         ) ) \ \ \_\_          *
          *          \ \ |_| \___)       (_/   \_\  \_\        *
           *          \ \_______________________________      *
            *          \________________________________\    *
             *                                              *
              **********************************************
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

-- 
                               \\\|///
                                /   \
                               ( o o )
+--------------------------.oo0O-(_)-O0oo.-------------------------------+
|                                                                        |
| Johannes A. Bertscheit     Phone: +49 821 54 40 46                     |
| Dipl.Informatiker (Univ.)  FAX:   +49 821 52 37 34                     |
| JB Management & Consulting Mobil: +49 172 84 05 109                    |
| Faerberstrasse 5           EMail: [EMAIL PROTECTED]             |
| D-86157 Augsburg           EMail-Mobil: [EMAIL PROTECTED] |
| Germany                                                                |
|                          .oooO                                         |
|                          (   )   Oooo.                                 |
+----------------------------\ (----(   )--------------------------------+
                              \_)    ) /
                                    (_/
 


Reply via email to