I recompiled Apache-1.3.22 with mod_ssl-2.8.5 and OpenSSL-0.9.7-dev
today. Alas, I always get a core dump if I enable mod_ssl (as a DSO).

I traced it to the following point:

  $ gdb sbin/httpd
  (gdb) b ap_init_modules
  (gdb) r -X -DSSL
  ...
  (gdb) b ssl_engine_init.c:397
  Breakpoint 2 at 0x2852042e: file ssl_engine_init.c, line 397.
  (gdb) c
  Continuing.
  
  Breakpoint 2, ssl_init_TmpKeysHandle (action=0, s=0x8153034, p=0x815300c)
      at ssl_engine_init.c:397
  397             RSA_free(rsa);
  (gdb) p *rsa
  $19 = {pad = 0, version = 0, meth = 0x8142480, engine = 0x81f6de0, n = 0x81f6d40, 
    e = 0x81f6e00, d = 0x81f6da0, p = 0x81f6d60, q = 0x81f6e40, dmp1 = 0x81f6e60, 
    dmq1 = 0x81f6ea0, iqmp = 0x0, ex_data = {sk = 0x0, dummy = 0}, references = 1, 
    flags = 6, _method_mod_n = 0x0, _method_mod_p = 0x0, _method_mod_q = 0x0, 
    bignum_data = 0x0, blinding = 0x0}
  (gdb) s
  0x2851b108 in _init () from /opt/apache/libexec/libssl.so
  (gdb) 
  Single stepping until exit from function _init, 
  which has no line number information.
  
  Program received signal SIGBUS, Bus error.
  0x823d082 in ?? ()
  (gdb) 


Is this an OpenSSL problem? Or a mod_ssl problem?

Puzzled, and recompiling openssl-0.9.7-dev with "-g" to supply more
traces,

  Martin
-- 
<[EMAIL PROTECTED]>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730  Munich,  Germany
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to