Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » SSL and USEMALLOC
SSL and USEMALLOC [message #58086] Fri, 11 February 2022 11:16 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
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.
 
Read Message
Read Message
Read Message
Previous Topic: HelloWorld example fails building
Next Topic: vectormap exampe is not working anymore
Goto Forum:
  


Current Time: Sat Apr 20 11:50:25 CEST 2024

Total time taken to generate the page: 1.92356 seconds