[Monetdb-developers] debugging question
hej developers, we have a debugging question... we have an xquery which stops the Mserver with the following output: MonetDB>!FATAL: BATpropcheck: BAT tmp_350(232) has inconsistent descriptor 16384 (40000) *** glibc detected *** double free or corruption (!prev): 0x0000000001488c10 *** Aborted while going line for line through the generated mil-code, we found that the system stops at the outerjoin of the following two BATs: print(tmp); tmp.info().print(); print(item); item.info().print(); # fflush(); tmp := tmp.outerjoin(item); # here crashes the Mserver we attached the output of the inserted print statements. the main problem is: the original xquery calls our pf/tijah functions, but the error occurs far later in the code (possibly still caused by pf/tijah code), but how should we debug this? the two argument BATs are printable and we also can't see any obvious problems in the BATinfo. can we for instance call such a BATpropcheck from mil? best -henning & jan # pftijah_option_handler: setting debug value to 5. #TJ:tj_get_ft_index() = DFLT_FT_INDEX. # CMDtijah_query: start, query="//DOC[about(.,cvs)]". # CMDtijah_query: call tijahParse. # old_main: setting fragmentation OFF. # CMDtijah_query: finish tijahParse. # CMDtijah_query: start MIL script. # CMDtijah_query: start executing MIL script. # tijah-mil-exec: start computation. # tijah-mil-exec: computed R1. # tijah-mil-exec: computed R2. # tijah-mil-exec: computed R3. # tijah-mil-exec: computed R4. # tijah-mil-exec: computed R5. # tijah-mil-exec: computed R6. # tijah-mil-exec: finish computation result in R6. # CMDtijah_query: finish MIL script. # CMDtijah_query: sizeof scoreBAT = 52100. # CMDtijah_query: finish. #-----------------# # h t # name # void oid # type #-----------------# [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 0@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 1@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 2@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] #-----------------------------------------# # h t # name # str str # type #-----------------------------------------# [ "version", "25105" ] [ "batId", "tmp_274" ] [ "batCacheid", "188" ] [ "batParentid", "0" ] [ "batSharecnt", "0" ] [ "head", "void" ] [ "tail", "oid" ] [ "batPersistence", "transient" ] [ "batRestricted", "updatable" ] [ "batRefcnt", "1" ] [ "batLRefcnt", "1" ] [ "batDirty", "dirty" ] [ "batSet", "0" ] [ "void_tid", "5" ] [ "void_cnt", "1" ] [ "hsorted", "65" ] [ "hident", "h" ] [ "hdense", "0" ] [ "hseqbase", "nil" ] [ "hkey", "0" ] [ "hloc", "0" ] [ "hvarsized", "1" ] [ "halign", "2337314" ] [ "hnosorted", "0" ] [ "hnosorted_rev", "0" ] [ "hnodense", "0" ] [ "hnokey[0]", "0" ] [ "hnokey[1]", "0" ] [ "tident", "t" ] [ "tdense", "0" ] [ "tseqbase", "0@0" ] [ "tsorted", "0" ] [ "tkey", "0" ] [ "tloc", "0" ] [ "tvarsized", "0" ] [ "talign", "0" ] [ "tnosorted", "0" ] [ "tnosorted_rev", "0" ] [ "tnodense", "0" ] [ "tnokey[0]", "0" ] [ "tnokey[1]", "0" ] [ "batInserted", "0" ] [ "batDeleted", "0" ] [ "batFirst", "0" ] [ "top", "1000" ] [ "batStamp", "-2152" ] [ "lastUsed", "4264437" ] [ "curStamp", "2445" ] [ "batCopiedtodisk", "0" ] [ "batDirtydesc", "dirty" ] [ "batDirtybuns", "clean" ] [ "batBuns.free", "4000" ] [ "batBuns.size", "4096" ] [ "batBuns.maxsize", "4096" ] [ "batBuns.storage", "malloced" ] [ "batBuns.filename", "02/274.buns" ] [ "hheapdirty", "clean" ] [ "theapdirty", "clean" ] #-----------------# # h t # name # void oid # type #-----------------# [ 0@0, 1@0 ] [ 1@0, 1@0 ] [ 2@0, 1@0 ] #-----------------------------------------# # h t # name # str str # type #-----------------------------------------# [ "version", "25105" ] [ "batId", "tmp_377" ] [ "batCacheid", "255" ] [ "batParentid", "0" ] [ "batSharecnt", "0" ] [ "head", "void" ] [ "tail", "oid" ] [ "batPersistence", "transient" ] [ "batRestricted", "read-only" ] [ "batRefcnt", "1" ] [ "batLRefcnt", "1" ] [ "batDirty", "dirty" ] [ "batSet", "0" ] [ "void_tid", "5" ] [ "void_cnt", "1" ] [ "hsorted", "65" ] [ "hident", "h" ] [ "hdense", "1" ] [ "hseqbase", "0@0" ] [ "hkey", "1" ] [ "hloc", "0" ] [ "hvarsized", "1" ] [ "halign", "2337293" ] [ "hnosorted", "0" ] [ "hnosorted_rev", "0" ] [ "hnodense", "0" ] [ "hnokey[0]", "0" ] [ "hnokey[1]", "0" ] [ "tident", "t" ] [ "tdense", "0" ] [ "tseqbase", "0@0" ] [ "tsorted", "0" ] [ "tkey", "0" ] [ "tloc", "0" ] [ "tvarsized", "0" ] [ "talign", "0" ] [ "tnosorted", "1" ] [ "tnosorted_rev", "0" ] [ "tnodense", "0" ] [ "tnokey[0]", "0" ] [ "tnokey[1]", "0" ] [ "batInserted", "0" ] [ "batDeleted", "0" ] [ "batFirst", "0" ] [ "top", "3" ] [ "batStamp", "2237" ] [ "lastUsed", "4264457" ] [ "curStamp", "2445" ] [ "batCopiedtodisk", "0" ] [ "batDirtydesc", "dirty" ] [ "batDirtybuns", "clean" ] [ "batBuns.free", "12" ] [ "batBuns.size", "1024" ] [ "batBuns.maxsize", "1024" ] [ "batBuns.storage", "malloced" ] [ "batBuns.filename", "03/377.buns" ] [ "hheapdirty", "clean" ] [ "theapdirty", "clean" ]
Henning, (as always) the most important "usual" question first: which version of MonetDB are you using? Please be as accurate as possible, i.e., - release branch ("Stable") or development trunk ("Current") - binary distributions, source distribution or CVS checkout - exact version number of all source packages - in case of CVS checkout: exact checkout/update date of all source packages (without this information, the remainder is pure "guessing" --- I feel free to share it with you, anyway ...) did you run Mserver with "-d10" / "--debug=10", i.e., property checking enabled? If not, BATpropcheck is only called for the result of some operation (e.g., joins), but not for all BATs. In your case, with an outerjoin() failing, I guess the result created by outerjoin seems to be the BAT tmp_350(232) that BATpropcheck complains about. Moreover, the error message indicates that the batBuns->free & batBuns->size pointers/indices in the BAT header are inconsistent: ======== $ grep -B19 -A2 'has inconsistent descriptor' MonetDB/src/gdk/gdk_bat.mx -------- zz = (b->GDKversion != bm->GDKversion) | ((b->U != bm->U) << 1) | ((b->P != bm->P) << 2) | ((b->H != bm->T) << 3) | ((b->htype != bm->ttype) << 4) | ((b->hloc != bm->tloc) << 5) | ((b->dims.headvarsized != bm->dims.tailvarsized) << 6) | ((b->dims.bunshift != bm->dims.bunshift) << 7) | ((b->dims.bunwidth != bm->dims.bunwidth) << 8) | ((b->batDeleted < b->batBuns->base) << 9) | ((b->batFirst < b->batDeleted) << 10) | ((b->batFirst > b->batInserted) << 11) | ((b->batInserted > b->batBuns->base + b->batBuns->free) << 12) | ((b->batBuns->size > b->batBuns->maxsize) << 13) | (((b->batBuns->free > b->batBuns->size) & ((b->htype != TYPE_void) | (b->ttype != TYPE_void))) << 14) | (((xx - yy) != BATcount(b)) << 15); if (zz) { GDKfatal("BATpropcheck: BAT %s(%d) has inconsistent descriptor %d (%o)\n", BATgetId(b), b->batCacheid, zz, zz); } ======== 16384 (dec) = 40000 (oct) = 1<<14 I'm not sure, whether the inconsistency of the outerjoin result is due to a bug in outerjoin itself, or due to an inconsitency in its arguments ("tmp" & "item") Could you please re-run your test with "-d10" / "--debug=10", and check whether you get the same result / error, or whether you get another error before the outerjoin is called. Who/Which operation generates the arguments to the failing outerjoin (("tmp" & "item")? Stefan On Fri, Apr 20, 2007 at 11:54:29AM +0200, Henning Rode wrote:
hej developers,
we have a debugging question... we have an xquery which stops the Mserver with the following output:
MonetDB>!FATAL: BATpropcheck: BAT tmp_350(232) has inconsistent descriptor 16384 (40000)
*** glibc detected *** double free or corruption (!prev): 0x0000000001488c10 *** Aborted
while going line for line through the generated mil-code, we found that the system stops at the outerjoin of the following two BATs:
print(tmp); tmp.info().print(); print(item); item.info().print(); # fflush(); tmp := tmp.outerjoin(item); # here crashes the Mserver
we attached the output of the inserted print statements.
the main problem is: the original xquery calls our pf/tijah functions, but the error occurs far later in the code (possibly still caused by pf/tijah code), but how should we debug this? the two argument BATs are printable and we also can't see any obvious problems in the BATinfo. can we for instance call such a BATpropcheck from mil?
best -henning & jan
# pftijah_option_handler: setting debug value to 5. #TJ:tj_get_ft_index() = DFLT_FT_INDEX. # CMDtijah_query: start, query="//DOC[about(.,cvs)]". # CMDtijah_query: call tijahParse. # old_main: setting fragmentation OFF. # CMDtijah_query: finish tijahParse. # CMDtijah_query: start MIL script. # CMDtijah_query: start executing MIL script. # tijah-mil-exec: start computation. # tijah-mil-exec: computed R1. # tijah-mil-exec: computed R2. # tijah-mil-exec: computed R3. # tijah-mil-exec: computed R4. # tijah-mil-exec: computed R5. # tijah-mil-exec: computed R6. # tijah-mil-exec: finish computation result in R6. # CMDtijah_query: finish MIL script. # CMDtijah_query: sizeof scoreBAT = 52100. # CMDtijah_query: finish. #-----------------# # h t # name # void oid # type #-----------------# [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 0@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 1@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 2@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] #-----------------------------------------# # h t # name # str str # type #-----------------------------------------# [ "version", "25105" ] [ "batId", "tmp_274" ] [ "batCacheid", "188" ] [ "batParentid", "0" ] [ "batSharecnt", "0" ] [ "head", "void" ] [ "tail", "oid" ] [ "batPersistence", "transient" ] [ "batRestricted", "updatable" ] [ "batRefcnt", "1" ] [ "batLRefcnt", "1" ] [ "batDirty", "dirty" ] [ "batSet", "0" ] [ "void_tid", "5" ] [ "void_cnt", "1" ] [ "hsorted", "65" ] [ "hident", "h" ] [ "hdense", "0" ] [ "hseqbase", "nil" ] [ "hkey", "0" ] [ "hloc", "0" ] [ "hvarsized", "1" ] [ "halign", "2337314" ] [ "hnosorted", "0" ] [ "hnosorted_rev", "0" ] [ "hnodense", "0" ] [ "hnokey[0]", "0" ] [ "hnokey[1]", "0" ] [ "tident", "t" ] [ "tdense", "0" ] [ "tseqbase", "0@0" ] [ "tsorted", "0" ] [ "tkey", "0" ] [ "tloc", "0" ] [ "tvarsized", "0" ] [ "talign", "0" ] [ "tnosorted", "0" ] [ "tnosorted_rev", "0" ] [ "tnodense", "0" ] [ "tnokey[0]", "0" ] [ "tnokey[1]", "0" ] [ "batInserted", "0" ] [ "batDeleted", "0" ] [ "batFirst", "0" ] [ "top", "1000" ] [ "batStamp", "-2152" ] [ "lastUsed", "4264437" ] [ "curStamp", "2445" ] [ "batCopiedtodisk", "0" ] [ "batDirtydesc", "dirty" ] [ "batDirtybuns", "clean" ] [ "batBuns.free", "4000" ] [ "batBuns.size", "4096" ] [ "batBuns.maxsize", "4096" ] [ "batBuns.storage", "malloced" ] [ "batBuns.filename", "02/274.buns" ] [ "hheapdirty", "clean" ] [ "theapdirty", "clean" ] #-----------------# # h t # name # void oid # type #-----------------# [ 0@0, 1@0 ] [ 1@0, 1@0 ] [ 2@0, 1@0 ] #-----------------------------------------# # h t # name # str str # type #-----------------------------------------# [ "version", "25105" ] [ "batId", "tmp_377" ] [ "batCacheid", "255" ] [ "batParentid", "0" ] [ "batSharecnt", "0" ] [ "head", "void" ] [ "tail", "oid" ] [ "batPersistence", "transient" ] [ "batRestricted", "read-only" ] [ "batRefcnt", "1" ] [ "batLRefcnt", "1" ] [ "batDirty", "dirty" ] [ "batSet", "0" ] [ "void_tid", "5" ] [ "void_cnt", "1" ] [ "hsorted", "65" ] [ "hident", "h" ] [ "hdense", "1" ] [ "hseqbase", "0@0" ] [ "hkey", "1" ] [ "hloc", "0" ] [ "hvarsized", "1" ] [ "halign", "2337293" ] [ "hnosorted", "0" ] [ "hnosorted_rev", "0" ] [ "hnodense", "0" ] [ "hnokey[0]", "0" ] [ "hnokey[1]", "0" ] [ "tident", "t" ] [ "tdense", "0" ] [ "tseqbase", "0@0" ] [ "tsorted", "0" ] [ "tkey", "0" ] [ "tloc", "0" ] [ "tvarsized", "0" ] [ "talign", "0" ] [ "tnosorted", "1" ] [ "tnosorted_rev", "0" ] [ "tnodense", "0" ] [ "tnokey[0]", "0" ] [ "tnokey[1]", "0" ] [ "batInserted", "0" ] [ "batDeleted", "0" ] [ "batFirst", "0" ] [ "top", "3" ] [ "batStamp", "2237" ] [ "lastUsed", "4264457" ] [ "curStamp", "2445" ] [ "batCopiedtodisk", "0" ] [ "batDirtydesc", "dirty" ] [ "batDirtybuns", "clean" ] [ "batBuns.free", "12" ] [ "batBuns.size", "1024" ] [ "batBuns.maxsize", "1024" ] [ "batBuns.storage", "malloced" ] [ "batBuns.filename", "03/377.buns" ] [ "hheapdirty", "clean" ] [ "theapdirty", "clean" ]
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
hej stefan, thanks for the help. it was indeed check 14 of the BATpropcheck that goes wrong here, but we have no idea what causes the failure...
(((b->batBuns->free > b->batBuns->size) & ((b->htype != TYPE_void) | (b->ttype !=
TYPE_void))) << 14) | still some more remarks: - we run the head version of MonetDB, Clients..., pathfinder. all check out two days ago. - the problem happens during the implicit translation of an existence predicate to a boolean value: whereas the following causes the problem: let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where $doc//candidate return $doc this slightly changed query does it well: let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where count($doc//candidate) > 0 return $doc - it looks like a typical bug report, however, it seems also to some extend data bound. the same error does not occur in all my query topics, but only for some. and the amount of data i use, is too large for a bug report. - the error occurs in the mps code from function: fn:boolean (item*) as boolean /* finally, if applicable, get back the empty sequences as falses. */ milprintf(f, "if (bit(count(emptyseqs))) {\n" " item := loop%03u.tmark(oid_nil).outerjoin(reverse(iter)).outerjoin(item).seqbase(0@0);\n" " iter := loop%03u.tmark(0@0);\n" " ipik := item;\n" " ... the outerjoin here fails. ok, that's everything we found so far. best -henning Stefan Manegold wrote:
Henning,
(as always) the most important "usual" question first: which version of MonetDB are you using? Please be as accurate as possible, i.e., - release branch ("Stable") or development trunk ("Current") - binary distributions, source distribution or CVS checkout - exact version number of all source packages - in case of CVS checkout: exact checkout/update date of all source packages
(without this information, the remainder is pure "guessing" --- I feel free to share it with you, anyway ...)
did you run Mserver with "-d10" / "--debug=10", i.e., property checking enabled?
If not, BATpropcheck is only called for the result of some operation (e.g., joins), but not for all BATs.
In your case, with an outerjoin() failing, I guess the result created by outerjoin seems to be the BAT tmp_350(232) that BATpropcheck complains about. Moreover, the error message indicates that the batBuns->free & batBuns->size pointers/indices in the BAT header are inconsistent:
======== $ grep -B19 -A2 'has inconsistent descriptor' MonetDB/src/gdk/gdk_bat.mx -------- zz = (b->GDKversion != bm->GDKversion) | ((b->U != bm->U) << 1) | ((b->P != bm->P) << 2) | ((b->H != bm->T) << 3) | ((b->htype != bm->ttype) << 4) | ((b->hloc != bm->tloc) << 5) | ((b->dims.headvarsized != bm->dims.tailvarsized) << 6) | ((b->dims.bunshift != bm->dims.bunshift) << 7) | ((b->dims.bunwidth != bm->dims.bunwidth) << 8) | ((b->batDeleted < b->batBuns->base) << 9) | ((b->batFirst < b->batDeleted) << 10) | ((b->batFirst > b->batInserted) << 11) | ((b->batInserted > b->batBuns->base + b->batBuns->free) << 12) | ((b->batBuns->size > b->batBuns->maxsize) << 13) | (((b->batBuns->free > b->batBuns->size) & ((b->htype != TYPE_void) | (b->ttype != TYPE_void))) << 14) | (((xx - yy) != BATcount(b)) << 15);
if (zz) { GDKfatal("BATpropcheck: BAT %s(%d) has inconsistent descriptor %d (%o)\n", BATgetId(b), b->batCacheid, zz, zz);
} ========
16384 (dec) = 40000 (oct) = 1<<14
I'm not sure, whether the inconsistency of the outerjoin result is due to a bug in outerjoin itself, or due to an inconsitency in its arguments ("tmp" & "item")
Could you please re-run your test with "-d10" / "--debug=10", and check whether you get the same result / error, or whether you get another error before the outerjoin is called.
Who/Which operation generates the arguments to the failing outerjoin (("tmp" & "item")?
Stefan
On Fri, Apr 20, 2007 at 11:54:29AM +0200, Henning Rode wrote:
hej developers,
we have a debugging question... we have an xquery which stops the Mserver with the following output:
MonetDB>!FATAL: BATpropcheck: BAT tmp_350(232) has inconsistent descriptor 16384 (40000)
*** glibc detected *** double free or corruption (!prev): 0x0000000001488c10 *** Aborted
while going line for line through the generated mil-code, we found that the system stops at the outerjoin of the following two BATs:
print(tmp); tmp.info().print(); print(item); item.info().print(); # fflush(); tmp := tmp.outerjoin(item); # here crashes the Mserver
we attached the output of the inserted print statements.
the main problem is: the original xquery calls our pf/tijah functions, but the error occurs far later in the code (possibly still caused by pf/tijah code), but how should we debug this? the two argument BATs are printable and we also can't see any obvious problems in the BATinfo. can we for instance call such a BATpropcheck from mil?
best -henning & jan
# pftijah_option_handler: setting debug value to 5. #TJ:tj_get_ft_index() = DFLT_FT_INDEX. # CMDtijah_query: start, query="//DOC[about(.,cvs)]". # CMDtijah_query: call tijahParse. # old_main: setting fragmentation OFF. # CMDtijah_query: finish tijahParse. # CMDtijah_query: start MIL script. # CMDtijah_query: start executing MIL script. # tijah-mil-exec: start computation. # tijah-mil-exec: computed R1. # tijah-mil-exec: computed R2. # tijah-mil-exec: computed R3. # tijah-mil-exec: computed R4. # tijah-mil-exec: computed R5. # tijah-mil-exec: computed R6. # tijah-mil-exec: finish computation result in R6. # CMDtijah_query: finish MIL script. # CMDtijah_query: sizeof scoreBAT = 52100. # CMDtijah_query: finish. #-----------------# # h t # name # void oid # type #-----------------# [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 0@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 1@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, 2@0 ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] [ nil, nil ] #-----------------------------------------# # h t # name # str str # type #-----------------------------------------# [ "version", "25105" ] [ "batId", "tmp_274" ] [ "batCacheid", "188" ] [ "batParentid", "0" ] [ "batSharecnt", "0" ] [ "head", "void" ] [ "tail", "oid" ] [ "batPersistence", "transient" ] [ "batRestricted", "updatable" ] [ "batRefcnt", "1" ] [ "batLRefcnt", "1" ] [ "batDirty", "dirty" ] [ "batSet", "0" ] [ "void_tid", "5" ] [ "void_cnt", "1" ] [ "hsorted", "65" ] [ "hident", "h" ] [ "hdense", "0" ] [ "hseqbase", "nil" ] [ "hkey", "0" ] [ "hloc", "0" ] [ "hvarsized", "1" ] [ "halign", "2337314" ] [ "hnosorted", "0" ] [ "hnosorted_rev", "0" ] [ "hnodense", "0" ] [ "hnokey[0]", "0" ] [ "hnokey[1]", "0" ] [ "tident", "t" ] [ "tdense", "0" ] [ "tseqbase", "0@0" ] [ "tsorted", "0" ] [ "tkey", "0" ] [ "tloc", "0" ] [ "tvarsized", "0" ] [ "talign", "0" ] [ "tnosorted", "0" ] [ "tnosorted_rev", "0" ] [ "tnodense", "0" ] [ "tnokey[0]", "0" ] [ "tnokey[1]", "0" ] [ "batInserted", "0" ] [ "batDeleted", "0" ] [ "batFirst", "0" ] [ "top", "1000" ] [ "batStamp", "-2152" ] [ "lastUsed", "4264437" ] [ "curStamp", "2445" ] [ "batCopiedtodisk", "0" ] [ "batDirtydesc", "dirty" ] [ "batDirtybuns", "clean" ] [ "batBuns.free", "4000" ] [ "batBuns.size", "4096" ] [ "batBuns.maxsize", "4096" ] [ "batBuns.storage", "malloced" ] [ "batBuns.filename", "02/274.buns" ] [ "hheapdirty", "clean" ] [ "theapdirty", "clean" ] #-----------------# # h t # name # void oid # type #-----------------# [ 0@0, 1@0 ] [ 1@0, 1@0 ] [ 2@0, 1@0 ] #-----------------------------------------# # h t # name # str str # type #-----------------------------------------# [ "version", "25105" ] [ "batId", "tmp_377" ] [ "batCacheid", "255" ] [ "batParentid", "0" ] [ "batSharecnt", "0" ] [ "head", "void" ] [ "tail", "oid" ] [ "batPersistence", "transient" ] [ "batRestricted", "read-only" ] [ "batRefcnt", "1" ] [ "batLRefcnt", "1" ] [ "batDirty", "dirty" ] [ "batSet", "0" ] [ "void_tid", "5" ] [ "void_cnt", "1" ] [ "hsorted", "65" ] [ "hident", "h" ] [ "hdense", "1" ] [ "hseqbase", "0@0" ] [ "hkey", "1" ] [ "hloc", "0" ] [ "hvarsized", "1" ] [ "halign", "2337293" ] [ "hnosorted", "0" ] [ "hnosorted_rev", "0" ] [ "hnodense", "0" ] [ "hnokey[0]", "0" ] [ "hnokey[1]", "0" ] [ "tident", "t" ] [ "tdense", "0" ] [ "tseqbase", "0@0" ] [ "tsorted", "0" ] [ "tkey", "0" ] [ "tloc", "0" ] [ "tvarsized", "0" ] [ "talign", "0" ] [ "tnosorted", "1" ] [ "tnosorted_rev", "0" ] [ "tnodense", "0" ] [ "tnokey[0]", "0" ] [ "tnokey[1]", "0" ] [ "batInserted", "0" ] [ "batDeleted", "0" ] [ "batFirst", "0" ] [ "top", "3" ] [ "batStamp", "2237" ] [ "lastUsed", "4264457" ] [ "curStamp", "2445" ] [ "batCopiedtodisk", "0" ] [ "batDirtydesc", "dirty" ] [ "batDirtybuns", "clean" ] [ "batBuns.free", "12" ] [ "batBuns.size", "1024" ] [ "batBuns.maxsize", "1024" ] [ "batBuns.storage", "malloced" ] [ "batBuns.filename", "03/377.buns" ] [ "hheapdirty", "clean" ] [ "theapdirty", "clean" ]
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
On Fri, Apr 20, 2007 at 02:12:48PM +0200, Henning Rode wrote:
hej stefan,
thanks for the help. it was indeed check 14 of the BATpropcheck that goes wrong here, but we have no idea what causes the failure...
well, I guess this calls for a gdb session: break on BATouterjoin and single-step through the code ... [...]
- the problem happens during the implicit translation of an existence predicate to a boolean value:
whereas the following causes the problem:
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where $doc//candidate return $doc
this slightly changed query does it well:
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where count($doc//candidate) > 0 return $doc
could you please try, whether making the exist explicite by using fn:exists() does work well, or not? i.e., let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where exists($doc//candidate) return $doc
- it looks like a typical bug report, however, it seems also to some extend data bound. the same error does not occur in all my query topics, but only for some. and the amount of data i use, is too large for a bug report.
and you classify, which query topics do trigger the bug and which don't? [...] Stefan -- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
Henning, could you please check, whether undoing Peter's change of MonetDB/src/gdk/gdk_relop.mx 1.29 -> 1.130 does solve your problem? I.e., run cvs up -j1.1{30,29} src/gdk/gdk_relop.mx in MonetDB, recompile and test again. (don't forget to redo the undone changes by running cvs up -j1.1{29,30} src/gdk/gdk_relop.mx afterwards) See also BUG #1704972 "GDK change causes FATAL BATpropcheck with XQuery" at http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=56967&atid=482468 Stefan On Fri, Apr 20, 2007 at 07:19:39PM +0200, Stefan Manegold wrote:
On Fri, Apr 20, 2007 at 02:12:48PM +0200, Henning Rode wrote:
hej stefan,
thanks for the help. it was indeed check 14 of the BATpropcheck that goes wrong here, but we have no idea what causes the failure...
well, I guess this calls for a gdb session: break on BATouterjoin and single-step through the code ...
[...]
- the problem happens during the implicit translation of an existence predicate to a boolean value:
whereas the following causes the problem:
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where $doc//candidate return $doc
this slightly changed query does it well:
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where count($doc//candidate) > 0 return $doc
could you please try, whether making the exist explicite by using fn:exists() does work well, or not? i.e.,
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where exists($doc//candidate) return $doc
- it looks like a typical bug report, however, it seems also to some extend data bound. the same error does not occur in all my query topics, but only for some. and the amount of data i use, is too large for a bug report.
and you classify, which query topics do trigger the bug and which don't?
[...]
Stefan
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
hej stefan, if i run the query with explicit call of the fn:exists() function, as you suggested, it works indeed fine.
could you please check, whether undoing Peter's change of MonetDB/src/gdk/gdk_relop.mx 1.29 -> 1.130 does solve your problem?
same, if i redo this change. the problem is gone then. since you suggested this test, i hope, you have an idea now, what goes wrong here. i don't think, i can repair it myself. best -henning
I.e., run cvs up -j1.1{30,29} src/gdk/gdk_relop.mx in MonetDB, recompile and test again.
(don't forget to redo the undone changes by running cvs up -j1.1{29,30} src/gdk/gdk_relop.mx afterwards)
See also BUG #1704972 "GDK change causes FATAL BATpropcheck with XQuery" at http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=56967&atid=482468
Stefan
On Fri, Apr 20, 2007 at 07:19:39PM +0200, Stefan Manegold wrote:
On Fri, Apr 20, 2007 at 02:12:48PM +0200, Henning Rode wrote:
hej stefan,
thanks for the help. it was indeed check 14 of the BATpropcheck that goes wrong here, but we have no idea what causes the failure... well, I guess this calls for a gdb session: break on BATouterjoin and single-step through the code ...
[...]
- the problem happens during the implicit translation of an existence predicate to a boolean value:
whereas the following causes the problem:
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where $doc//candidate return $doc
this slightly changed query does it well:
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where count($doc//candidate) > 0 return $doc could you please try, whether making the exist explicite by using fn:exists() does work well, or not? i.e.,
let $opt := <TijahOptions returnNumber="1000" ir-model="LMS"/> let $query := concat("//DOC[about(.,",tijah:tokenize("CVS"),")]") for $doc in tijah:query($query, $opt) where exists($doc//candidate) return $doc
- it looks like a typical bug report, however, it seems also to some extend data bound. the same error does not occur in all my query topics, but only for some. and the amount of data i use, is too large for a bug report. and you classify, which query topics do trigger the bug and which don't?
[...]
Stefan
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
Hi Henning, thanks for your test --- according to Peter, the respective changes only tirggers the problem/bug (elsewhere), but is not the origin of the problem.bug itself, cf., http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=56967&atid=482468 I suggested the test to find out whether the two problems (yours and the one mentioned in http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=56967&atid=482468) are related --- apparently they are ... Further, I don't have any idea what the actual problem is --- since we now have a way to reprocude it "easily" by running test pathfinder/benchmarks/X007/Tests/q19.xq, we'll have to single-step through the execution in gdb and try to locate the bug --- I *might* find some time for this towards the end of this week ... Stefan On Sun, Apr 22, 2007 at 03:49:42PM +0200, Henning Rode wrote:
hej stefan,
if i run the query with explicit call of the fn:exists() function, as you suggested, it works indeed fine.
could you please check, whether undoing Peter's change of MonetDB/src/gdk/gdk_relop.mx 1.29 -> 1.130 does solve your problem?
same, if i redo this change. the problem is gone then. since you suggested this test, i hope, you have an idea now, what goes wrong here. i don't think, i can repair it myself.
best -henning
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
Stefan (and Peter), The last thing I did last week was trying to isolate the cause of the bug from Hennings large example. I recreated the outerjoin in MIL and this gave exactly the same error. I add the script as an attachment, it may be easyer to find the bug from a small example, JanF. On Monday 23 April 2007 09:38, Stefan Manegold wrote:
Hi Henning,
thanks for your test --- according to Peter, the respective changes only tirggers the problem/bug (elsewhere), but is not the origin of the problem.bug itself, cf., http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=5 6967&atid=482468
I suggested the test to find out whether the two problems (yours and the one mentioned in http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=5 6967&atid=482468) are related --- apparently they are ...
Further, I don't have any idea what the actual problem is --- since we now have a way to reprocude it "easily" by running test pathfinder/benchmarks/X007/Tests/q19.xq, we'll have to single-step through the execution in gdb and try to locate the bug --- I *might* find some time for this towards the end of this week ...
Stefan
On Sun, Apr 22, 2007 at 03:49:42PM +0200, Henning Rode wrote:
hej stefan,
if i run the query with explicit call of the fn:exists() function, as you suggested, it works indeed fine.
could you please check, whether undoing Peter's change of MonetDB/src/gdk/gdk_relop.mx 1.29 -> 1.130 does solve your problem?
same, if i redo this change. the problem is gone then. since you suggested this test, i hope, you have an idea now, what goes wrong here. i don't think, i can repair it myself.
best -henning
Jan, Henning, the bug should be fixed in CVS (HEAD), now; cf., http://sourceforge.net/tracker/index.php?func=detail&aid=1704972&group_id=56967&atid=482468 Thanks for the handy test, Jan! Stefan On Mon, Apr 23, 2007 at 09:52:52AM +0200, Jan Flokstra wrote:
Stefan (and Peter),
The last thing I did last week was trying to isolate the cause of the bug from Hennings large example. I recreated the outerjoin in MIL and this gave exactly the same error. I add the script as an attachment, it may be easyer to find the bug from a small example,
JanF.
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (3)
-
Henning Rode
-
Jan Flokstra
-
Stefan Manegold