calendar problem when calling quantlib lib from java
Posted by moloko on
URL: http://quantlib.414.s1.nabble.com/calendar-problem-when-calling-quantlib-lib-from-java-tp5595.html
Hi I've got a little problem
I'm calling the quantlib library compiled as a shared library on Linux ( using the -fPIC option )
in a java wrapper.
So, the code calling the ql lib is into a java function.
My code crash with some memory allocation problem ( hard to know coz I don't have each time the message ) when I want to define a calendar :
Calendar calendar = UnitedStates();
On the other hand this :
Calendar calendar = NullCalendar();
is working
I've got a glibc detected malloc() memory corrupt
... and I've the same thing with
DayCounter dDayCounter = ActualActual(ActualActual::ISDA);
but OneDayCounter() is working
Does anybd has an idea ?
Could it come from boots ?
Thanks
Pierre