Bug #38543 | NDB Java Bindings stability issues. | ||
---|---|---|---|
Submitted: | 4 Aug 2008 15:37 | Modified: | 21 Sep 2009 9:37 |
Reporter: | Anton Bobrov | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | Connectors: NDB/Bindings | Severity: | S1 (Critical) |
Version: | 0.7.0 | OS: | Linux (RHEL 5.1 (Tikanga) / 2.6.18.53.el5) |
Assigned to: | Monty Taylor | CPU Architecture: | Any |
[4 Aug 2008 15:37]
Anton Bobrov
[4 Aug 2008 18:26]
Monty Taylor
We're looking in to it right now. I'm guessing we're just not incrementing the refcount of a JNI created object properly somewhere... those get really fun to find. :)
[5 Aug 2008 20:07]
Anton Bobrov
just to give a better idea on what the application is doing which could perhaps help with finding the root cause/s. i will describe one particular use case used to get mentioned abort() backtraces [ excuse my lame pseudo code here ] : start txn; txn select index scan; txn execute no commit; for each result from select index scan { get single index scan result; // number of operations depending // on result values returned above. txn get select operaion1 on table1; txn get select operation on table2; txn get select operation on table3; txn execute no commit; get select/s result/s; } so all that done under single txn and index scan results are obtained one by one [ this is basically cursor like thing that can walk the entire database ] so we are constantly making new select operations and executing them sans commit as well as getting and processing their results while the results of the very first operation [ index scan ] are still open and being referenced/processed.
[12 Aug 2008 13:42]
Anton Bobrov
hs_err_pid1753 shows another crash although its not related to the previous ones. this time no memory allocator errors seen before the crash and application activity consisted of doing bulk inserts into bunch of tables. multiple inserts, under multiple transactions: one txn doing multiple inserts then executing and closing then another txn starts and so on. crashed after roughly 4k something txn execs.