Home » U++ Library support » U++ Library : Other (not classified elsewhere) » SSL and USEMALLOC  
	
		
		
			| SSL and USEMALLOC [message #58086] | 
			Fri, 11 February 2022 11:16   | 
		 
		
			
				
				
				
					
						  
						mdelfede
						 Messages: 1310 Registered: September 2007 
						
					 | 
					Ultimate Contributor  | 
					 | 
		 
		 
	 | 
 
	
		Hi, 
 
I have an application that needs to be compiled with USEMALLOC, but then SSL crashes on initblock : 
 
SslInit
UPP_SSL_MALLOC(56, size 56, ../crypto/threads_pthread.c 29) -> 0x2b83088, MemorySize: 0, total = 64, thread: 139726390062464
UPP_SSL_MALLOC(176, size 176, ../crypto/lhash/lhash.c 51) -> 0x2b27578, MemorySize: 0, total = 248, thread: 139726390062464
UPP_SSL_MALLOC(128, size 128, ../crypto/lhash/lhash.c 59) -> 0x2b84f18, MemorySize: 0, total = 384, thread: 139726390062464
UPP_SSL_MALLOC(56, size 56, ../crypto/threads_pthread.c 29) -> 0x2b84d58, MemorySize: 0, total = 448, thread: 139726390062464
UPP_SSL_MALLOC(24, size 24, ../crypto/objects/o_names.c 219) -> 0x2b8e428, MemorySize: 0, total = 480, thread: 139726390062464
UPP_SSL_MALLOC(24, size 24, ../crypto/lhash/lhash.c 109) -> 0x2b8e548, MemorySize: 0, total = 512, thread: 139726390062464
UPP_SSL_MALLOC(24, size 24, ../crypto/objects/o_names.c 219) -> 0x2b8dbd8, MemorySize: 0, total = 544, thread: 139726390062464
UPP_SSL_FREE(0x2b8e428, size 32, ../crypto/objects/o_names.c 245), MemorySize: 0, total = 512, thread: 139726390062464
****************** PANIC: SslFree corrupted
UPP_SSL_FREE(0x2b83088, size 64, ../crypto/threads_pthread.c 111), MemorySize: 0, total = 448, thread: 139726390062464
UPP_SSL_FREE(0x2b8e548, size 32, ../crypto/lhash/lhash.c 144), MemorySize: 0, total = 416, thread: 139726390062464
UPP_SSL_FREE(0x2b8dbd8, size 32, ../crypto/objects/o_names.c 287), MemorySize: 0, total = 384, thread: 139726390062464
UPP_SSL_FREE(0x2b84f18, size 136, ../crypto/lhash/lhash.c 92), MemorySize: 0, total = 248, thread: 139726390062464
UPP_SSL_FREE(0x2b27578, size 184, ../crypto/lhash/lhash.c 93), MemorySize: 0, total = 64, thread: 139726390062464
UPP_SSL_FREE(0x2b84d58, size 64, ../crypto/threads_pthread.c 111), MemorySize: 0, total = 0, thread: 139726390062464
  
 
I'm not sure if it's an UPP problem, but with no USEMALLOC it doesn't crash there. 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 09:34:29 CET 2025 
 Total time taken to generate the page: 0.07644 seconds 
 |