[botan-devel] strange behavior declaring BigInt on FreeBSD

Falko Strenzke strenzke at flexsecure.de
Mon Aug 8 03:40:20 EDT 2011


Hi,

it whould strongly suggest to run the code under the valgrind memory 
checker (*valgrind*.org/), and if that doesn't give any clues you can 
compile the library using mudflap 
(http://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging), which will show 
even more memory errors than valgrind.

Regards,
Falko

On 06.08.2011 18:02, botan-devel-request at randombit.net wrote:
> Message: 1
> Date: Fri, 5 Aug 2011 15:37:27 -0400
> From:"tiredashell at gmail.com"  <tiredashell at gmail.com>
> To: Botan development list<botan-devel at randombit.net>
> Subject: Re: [botan-devel] strange behavior declaring BigInt on
> 	FreeBSD
> Message-ID:
> 	<CAHJ8mFk=usWWnCp4jv5eeLgWLHPkd2odxrMEYtcxQtAt-Ma5kg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I can confirm I'm using 1.8.11. I'm sure you are aware, but in case
> you overlooked it, make sure you uncomment the definition of TEST as I
> believe it was commented out in the copy I attached.
>
> I consistently get the error in two places: (1) on a VPS I'm running
> from RootBSD.net, running the aforementioned OS with 256MB RAM, and
> (2) on a native install of PC-BSD (which is based on FreeBSD 8.2
> amd64) running on my EeePC laptop with 1GB RAM.
>
> I use cmake to build everything so I'm not entirely certain what
> options it's using underneath, but gcc and g++ both report a version
> of 4.2.1. I could send you the executable off-list if you want to try
> running it in your VM. In case it matters, I link to a static version
> of Botan (I believe I ran python configure.py --disabled-shared
> --disable-debug).


-- 

----------------------------
Dipl.-Phys.
Falko Strenzke

FlexSecure-Logo     KobilGroup-Logo

FlexSecure GmbH
Industriestr. 12
D - 64297 Darmstadt
Tel: +49 (0) 6151 501 23-14
Fax: +49 (0) 6151 501 23-19
E-Mail: strenzke at flexsecure.de
Internet: www.flexsecure.de

Geschäftsführer:
Erwin Stallenberger, Markus Ruppert

Amtsgericht Darmstadt HRB 8036
Umsatzsteuernummer: DE 214745269

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20110808/77ff6a6b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flexsecure_logo_cmyk.png
Type: image/png
Size: 16621 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20110808/77ff6a6b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kobil_group.jpg
Type: image/jpeg
Size: 2502 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20110808/77ff6a6b/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4060 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20110808/77ff6a6b/attachment.p7s>


More information about the botan-devel mailing list