QuantLib crashing JVM
Posted by Ken Anderson-2 on
URL: http://quantlib.414.s1.nabble.com/QuantLib-crashing-JVM-tp5096.html
I'm using QuantLib 3.12 under Mac OS X 10.4.6 with Java SWIG. I
occasionally get the following crash:
Thread 5 Crashed:
0 libQuantLibJNI.jnilib 0x06bc2710
QuantLib::Observer::~Observer [not-in-charge]() + 140 (stl_algo.h:172)
1 libQuantLib-0.3.12.dylib 0x07a3643c
QuantLib::VanillaOption::~VanillaOption [in-charge deleting]() + 132
(vanillaoption.hpp:33)
2 libQuantLibJNI.jnilib 0x06ae5af8
Java_org_quantlib_QuantLibJNI_delete_1VanillaOption + 120
(sp_counted_base_gcc_ppc.hpp:165)
3 <<00000000>> 0x0441ff20 0 + 71434016
4 <<00000000>> 0x0441fca0 0 + 71433376
5 <<00000000>> 0x0441fa98 0 + 71432856
6 <<00000000>> 0x03f2f16c 0 + 66253164
7 libserver.dylib 0x95fb86fc jio_snprintf + 295316
8 libserver.dylib 0x95fb85a4 jio_snprintf + 294972
9 libserver.dylib 0x95fc72c4 JVM_FindPrimitiveClass + 6536
10 libserver.dylib 0x9604687c JVM_SupportsCX8 + 3184
11 <<00000000>> 0x0424c1ec 0 + 69517804
12 <<00000000>> 0x0424b98c 0 + 69515660
13 <<00000000>> 0x0442ed20 0 + 71494944
14 <<00000000>> 0x03fa6680 0 + 66741888
15 <<00000000>> 0x03f2f16c 0 + 66253164
16 libserver.dylib 0x95fb86fc jio_snprintf + 295316
17 libserver.dylib 0x95fb85a4 jio_snprintf + 294972
18 libserver.dylib 0x95fc35d8 JVM_StartThread + 2564
19 libserver.dylib 0x95fc34bc JVM_StartThread + 2280
20 libserver.dylib 0x95fc3444 JVM_StartThread + 2160
21 libserver.dylib 0x95fc32d8 JVM_StartThread + 1796
22 libserver.dylib 0x95f66c44 operator new(unsigned
long) + 7348
23 libSystem.B.dylib 0x9002bc28 _pthread_body + 96
Does anyone have any idea what could be causing this? If I re-run,
it usually works fine.
Thanks in advance for any insight!
Ken