Re: msvc crashing with block .. was not allocated by _aligned routines, use free()
William Schwank <[email protected]> Thu, 25 Sep 2025 20:09:03 -0700 (PDT)
| Newsgroups | gmane.comp.encryption.cryptopp |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_17604_883564344.1758856143544 Content-Type: multipart/alternative; boundary="----=_Part_17605_1619603395.1758856143544" ------=_Part_17605_1619603395.1758856143544 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I'm running into this same issue also, prog gives error the block at= =20 was not allocated by _aligned routines, use free(). compiled as x64 for windows, the error happens. but if compiled as x86 for windows, no error. Have you solved this one? Best Regards On Thursday, June 22, 2023 at 1:19:29=E2=80=AFAM UTC+8 Jeffrey Walton wrote= : > On Wed, Jun 21, 2023 at 1:11=E2=80=AFPM Miro Karpis <[email protected]= > wrote: > > > > Hi, I mentioned above that I'm building with msvc not clang. > > On Windows you should be in the CRYPTOPP_MM_MALLOC_AVAILABLE path. See > https://github.com/weidai11/cryptopp/blob/master/config_align.h#L44 . > > Please provide a minimum reproducer with the steps to duplicate the=20 > problem. > > Jeff > --=20 You received this message because you are subscribed to the Google Groups "= Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/cryptopp-us= ers/850ff75c-c727-439e-a378-5bed5cda0e21n%40googlegroups.com. ------=_Part_17605_1619603395.1758856143544 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I'm running into this same issue also, prog gives error=C2=A0the blo= ck at was not allocated by _aligned routines, use free().<div><br /></div><= div>compiled as x64 for windows, the error happens.</div><div>but if compil= ed as x86 for windows, no error.</div><div><br /></div><div>Have you solved= this one?</div><div><br /></div><div>Best Regards<br /><br /></div><div cl= ass=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Thursday, Jun= e 22, 2023 at 1:19:29=E2=80=AFAM UTC+8 Jeffrey Walton wrote:<br/></div><blo= ckquote class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1p= x solid rgb(204, 204, 204); padding-left: 1ex;">On Wed, Jun 21, 2023 at 1:1= 1=E2=80=AFPM Miro Karpis <<a href data-email-masked rel=3D"nofollow">mir= [email protected]</a>> wrote: <br>> <br>> Hi, I mentioned above that I'm building with msvc not clang. <br> <br>On Windows you should be in the CRYPTOPP_MM_MALLOC_AVAILABLE path. See <br><a href=3D"https://github.com/weidai11/cryptopp/blob/master/config_alig= n.h#L44" target=3D"_blank" rel=3D"nofollow" data-saferedirecturl=3D"https:/= /www.google.com/url?hl=3Den&q=3Dhttps://github.com/weidai11/cryptopp/bl= ob/master/config_align.h%23L44&source=3Dgmail&ust=3D175894215262500= 0&usg=3DAOvVaw2hYk5eDpeHUgL6Twvij7OH">https://github.com/weidai11/crypt= opp/blob/master/config_align.h#L44</a> . <br> <br>Please provide a minimum reproducer with the steps to duplicate the pro= blem. <br> <br>Jeff <br></blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Crypto++ Users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">cryp= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= cryptopp-users/850ff75c-c727-439e-a378-5bed5cda0e21n%40googlegroups.com?utm= _medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/cryp= topp-users/850ff75c-c727-439e-a378-5bed5cda0e21n%40googlegroups.com</a>.<br= /> ------=_Part_17605_1619603395.1758856143544-- ------=_Part_17604_883564344.1758856143544--