Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-02-04 Thread Mos Yud via curl-library
Why should I use Asan or any other tool if I already used instrument leaks (part of XCode), which show the leaks? On Thu, Feb 1, 2024 at 11:14 PM Jeffrey Walton via curl-library < curl-library@lists.haxx.se> wrote: > On Thu, Feb 1, 2024 at 1:57 PM Josh WizardGuy via curl-library > wrote: > > > >

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-02-01 Thread Jeffrey Walton via curl-library
On Thu, Feb 1, 2024 at 1:57 PM Josh WizardGuy via curl-library wrote: > > Ah my bad. I didn't think it'd be that different with Mac users. Yeah, I think Valgrind needs to be trained for the M1's. I know Valgrind will have to be mindful of the page size on the machine. M1's use 16k page size, and

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-02-01 Thread Josh WizardGuy via curl-library
Ah my bad. I didn't think it'd be that different with Mac users. On Wed, Jan 31, 2024, 1:29 AM mos via curl-library < curl-library@lists.haxx.se> wrote: > Why to use valgrind? Instruments shows the leaks. Also, if I calls this > code in a loop, the memory of the process raise for every call, > >

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread mos via curl-library
Why to use valgrind? Instruments shows the leaks. Also, if I calls this code in a loop, the memory of the process raise for every call, Sent from my iPhone > On 31 Jan 2024, at 4:06, Calvin Buckley via curl-library > wrote: > > On Jan 30, 2024, at 6:56 PM, Josh WizardGuy via curl-library >

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Calvin Buckley via curl-library
On Jan 30, 2024, at 6:56 PM, Josh WizardGuy via curl-library wrote: > U. Use valgrind? 🤷 That would be great advice... if Valgrind supported macOS/arm64. -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Josh WizardGuy via curl-library
U. Use valgrind? 🤷 On Tue, Jan 30, 2024, 11:39 AM Mos Yud via curl-library < curl-library@lists.haxx.se> wrote: > Hi, > > Machine: M1 sonoma 14.1.1 > > At my test I am using the shipped lib of curl, and its default used SSL, > that is: > curl 8.1.2 (x86_64-apple-darwin23.0) libcurl/8.1.2 (Sec

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Mos Yud via curl-library
I didn't check it since I assumed I linked only with libcurl.dylib. If i use this call, i need to link also with openssl. According to curl documentation curl_easy_cleanup should clean all memory, and its sounds strange that macOS is shifted with a curl that expose memory leaks. I also tested with

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Ray Satiro via curl-library
On 1/30/2024 11:39 AM, Mos Yud via curl-library wrote: Machine: M1 sonoma 14.1.1 At my test I am using the shipped lib of curl, and its default used SSL, that is: curl 8.1.2 (x86_64-apple-darwin23.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1 I am getting memor

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Mos Yud via curl-library
The leaks are checked after curl_global_cleanup(). I haven't checked it yet on release 8.5.0. On Tue, Jan 30, 2024 at 7:18 PM Dan Fandrich via curl-library < curl-library@lists.haxx.se> wrote: > Is the code calling curl_global_cleanup() before checking for leaks? Does > this happen on the latest

Re: M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Dan Fandrich via curl-library
Is the code calling curl_global_cleanup() before checking for leaks? Does this happen on the latest curl releae (8.5.0)? -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html

M1 macOS | Memory leaks at SSL that is used by libcurl/8.1.2 (SecureTransport)

2024-01-30 Thread Mos Yud via curl-library
Hi, Machine: M1 sonoma 14.1.1 At my test I am using the shipped lib of curl, and its default used SSL, that is: curl 8.1.2 (x86_64-apple-darwin23.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.55.1 I am getting memory leaks while running the following test: *void* CallC