Glad to hear it. I didn't even know where to start with this one...
Luigi
Upgrading to gcc 4.8, I don't get this error any more.
Richard
On 7/4/13 2:18 PM, "Luigi Ballabio" <[hidden email]> wrote:
>You said it works with clang? What was Python itself built with?
>
>Luigi
>
>On Thu, Jul 4, 2013 at 3:57 PM, Richard Stanton
><[hidden email]> wrote:
>> 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
>
>
>
>--
><https://implementingquantlib.blogspot.com>
><https://twitter.com/lballabio>
| Free forum by Nabble | Edit this page |