Re: Memory error in python with QuantLib.Date()

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Memory-error-in-python-with-QuantLib-Date-tp14394p14397.html

Hmm. That's the first I hear of it. People, is anybody else on the
list having the same problem?

Thanks,
    Luigi

On Tue, Jul 2, 2013 at 11:19 PM, Richard Stanton
<[hidden email]> wrote:

> I installed Quantlib (1.2.1) and the SWIG python bindings (1.2) on my Mac
> (OS X 10.8.4 running gcc 4.7.3), both installations apparently proceeding
> without a hitch. However, I get a memory allocation error when I run the
> command QuantLib.Date() in python. Here's an example:
>
>
>
> In [2]: import QuantLib
>
> In [3]: QuantLib.Date(5,5,2013)
> python(86338,0x7fff7babb180) malloc: *** error for object 0x109f3c840:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Out[3]: Abort trap: 6
>
> Any idea what's wrong?
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users



--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users