Menu

#99 test suite / boost error with Mac/Snow Leopard

None
closed-out-of-date
nobody
None
5
2019-09-26
2009-09-11
Anonymous
No

Hi, I rebuilt boost and QL 0.9.7 under Snow Leopard then ran the test suite to get:
----------------------------------
Running 390 test cases...

Tests completed in 9 m 8 s

*** No errors detected
quantlib-test-suite(74432) malloc: *** error for object 0xa000102100810: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap
----------------------------------
I did some little tests on boost/unit_test and I think that the error comes from there. The latest versions, 1.38 to 1.40, have moved away from the manual test registration that QL uses. However, I've not come up with a solution except to go to auto-registration of the test cases.

Best regards,
Chris Kenyon

Discussion

  • Luigi Ballabio

    Luigi Ballabio - 2017-01-30
    • status: open --> closed-out-of-date
    • Group: -->
     
    • Pranshu Chugh

      Pranshu Chugh - 2019-09-26

      Hi Luigi,

      Facing the same issue. Since the issue has been around for a while, hoping a solution would have been found by now.

      I have recently started working on QuantLib. Since I wanted to use intraday,
      I have compiled the library for python using SWIG. OS: MacOS Mojave

      Currently using it with Actual365Fixed convention. Funnily, I don't get the error at every instance, but at random points on the time data.

       
  • Pranshu Chugh

    Pranshu Chugh - 2019-09-26

    Hi Luigi,

    Facing the same issue. Since the issue has been around for a while, hoping a solution would have been found by now.

    I have recently started working on QuantLib. Since I wanted to use intraday,
    I have compiled the library for python using SWIG. OS: MacOS Mojave

    Currently using it with Actual365Fixed convention. Funnily, I don't get the error at every instance, but at random points on the time data.

     

Log in to post a comment.

MongoDB Logo MongoDB