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

Posted by Richard Stanton on
URL: http://quantlib.414.s1.nabble.com/Memory-error-in-python-with-QuantLib-Date-tp14394p14413.html

I get the same problem with 1.3 using this compiler.

-----Original Message-----
From: Luigi Ballabio [mailto:[hidden email]]
Sent: Wednesday, July 3, 2013 1:01 AM
To: Richard Stanton
Cc: [hidden email]
Subject: Re: [Quantlib-users] Memory error in python with QuantLib.Date()

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