898: CRYPTO_dbg_malloc multithread bug 0) tmp[tmp.length-1].focus(); " >
Tools Dates   X X Owner:
Custom Fields Not set
openssl.org
Subject:
 
#898: CRYPTO_dbg_malloc multithread bug
Cc:   [Brief headers]  
X Starts: (no value) Created:
[ X
Links X
........  
  To:
Left: __________

|   Query Builder  
The Basics
  • Milestone:
(no value)
  • Refers to:
Dates
  • OpenSSL-Bugs
Version info:
  • Display mode:

X Tickets Links 0 min
People Download (untitled)
Last Contact platform: VC-WIN32
Id:
 

X   Children:  
  Groups this user belongs to:
New Query  
  Everyone
(no value) #898 AdminCc:
. Best Practical Solutions, LLC
People Queue:
guest #898: CRYPTO_dbg_malloc multithread bug by Fri, 18 Jun 2004 13:29:47 +0400

: Not set   Date:
Logged in as
Referred for by:
Jumbo
Severity:
nils - Taken
Depended on by: to Ticket metadata

898   »|« RT 3.4.5 Copyright 1996-2005 Started:
Comments about this user:
if (is_MemCheck_on())
This user"s 10 highest priority tickets:
OpenSSL 0.9.7-dev 24 Sep 2000
  •  
  •   

{ Advanced   (no value) da2001@hotmail.ru new    ]
| Basics Broken in: Mon Jun 21 07:55:25 2004 Updated: built on: Mon Mar 18 04:53:20 2002 Not set  
  OPENSSLDIR: "D:/OpenCA_projects/OpenSSL/D:/OpenCA_projects/OpenSSL/ssl"
Due: openssl-bugs@openssl.org
Closed: da2001@hotmail.ru - Ticket created
Display 0) tmp[tmp.length-1].focus(); "


on. is CRYPTO_malloc(int 32, const char * 0x0053fa20 `string', int 425) line 309 + 26 bytes

options: bn(64,32) md2(int) rc4(idx,int) des(idx,cisc,4,long) idea(int) blowfish(idx)
CRYPTO_dbg_malloc multithread bug
Home
Switching memory check off solves the problem.

CRYPTO_dbg_malloc(void * 0x00f68908, int 32, const char * 0x0053fa20 `string', int 425, int 1) line 425 + 23 bytes

Lock gets messed(?) resulting in random stack overflow with:
CRYPTO_malloc(int 32, const char * 0x0053fa20 `string', int 425) line 309 + 26 bytes
if ((ami = (APP_INFO *)OPENSSL_malloc(sizeof(APP_INFO))) == NULL)
CRYPTO_malloc(int 32, const char * 0x0053fa20 `string', int 425) line 309 + 26 bytes
CRYPTO_dbg_malloc(void * 0x00f68768, int 32, const char * 0x0053fa20 `string', int 425, int 1) line 425 + 23 bytes
Developing multithreaded client-server applicaton i found this bug. Debug, memory check
Priority:

Wed Jul 06 23:23:35 2005

Subsystem:
Time to display: 0.625987
Wed Jul 06 23:23:36 2005
RT
compiler: cl /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 /Fdout32dll -DOPENSSL_NO_KRB5
This piece of code incorrectly works with many threads and intensive mallocs (crypto/mem_dbg.c:425):
é×ÁÎ é×ÁÎÏ×ÉÞ é×ÁÎÏ× <da2001@hotmail.ru>
Full headers
www.newmail.ru -- Новая Почта: все по-новому.
X Approval Unprivileged MemCheck_off(); /* obtain MALLOC2 lock */ Logout Requestors:    
More about é×ÁÎ é×ÁÎÏ×ÉÞ é×ÁÎÏ× Mon Jun 21 07:55:25 2004 #
nils <nils@openssl.org>