Bugs item #1961027, was opened at 2008-05-09 16:05
Message generated for change (Comment added) made by lsidir
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1961027&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/compiler
Group: Pathfinder CVS Head
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Lefteris Sidirourgos (lsidir)
>Assigned to: Lefteris Sidirourgos (lsidir)
Summary: Segmentation fault in the compiler after second run
Initial Comment:
Hi,
A segmentation fault is thrown when the following query is ran for the second
time (sometimes it needs a third time). This only happens for the algebra
version of pathfinder when the query is run through mclient -lxq -G
count(doc("dblp.xml")/dblp/*[author="Michael Stonebraker" and author="Hector
Garcia-Molina" and year > 1950]/title)
The document dblp.xml is the default one from http://dblp.uni-trier.de/xml/
I attach the trace obtained by gdb.
Thank you,
lefteris
----------------------------------------------------------------------
>Comment By: Lefteris Sidirourgos (lsidir)
Date: 2008-05-13 14:43
Message:
Logged In: YES
user_id=1856546
Originator: YES
Bug fixed on the development branch and a test has been added. The
solution was to initialize correct the la_empty_tbl constructor.
Closing the bug.
----------------------------------------------------------------------
Comment By: Jan Rittinger (tsheyar)
Date: 2008-05-09 19:01
Message:
Logged In: YES
user_id=993208
Originator: NO
Lefteris,
I get a different segfault -- probably because MonetDB ran out of
(address) space on my 32-bit machine.
If you want that bug fixed you probably have to investigate a little bit
yourself (e.g., what is stored inside the literals).
Mserver: /local_tmp/work/MonetDB/src/gdk/gdk_utils.mx:1108: GDKfree:
Assertion `size != 0' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread -1343362144 (LWP 20968)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb728c8a0 in raise () from /lib/libc.so.6
#2 0xb728dfc3 in abort () from /lib/libc.so.6
#3 0xb7285feb in __assert_fail () from /lib/libc.so.6
#4 0xb7a61b21 in GDKfree (blk=0x799a8010) at
/local_tmp/work/MonetDB/src/gdk/gdk_utils.mx:1108
#5 0xb79e2760 in HEAPfree (h=0x8b1f080) at
/local_tmp/work/MonetDB/src/gdk/gdk_heap.mx:263
#6 0xb7b39078 in BATdelete (b=0x8b1eff0) at
/local_tmp/work/MonetDB/src/gdk/gdk_storage.mx:762
#7 0xb79dfbfb in BBPdestroy (b=0x8b1eff0) at
/local_tmp/work/MonetDB/src/gdk/gdk_bbp.mx:2439
#8 0xb79df43b in decref (i=763, logical=0, releaseShare=0) at
/local_tmp/work/MonetDB/src/gdk/gdk_bbp.mx:1383
#9 0xb7eae1ba in Myyclean (t=0x8b20058) at
/local_tmp/work/MonetDB4/src/monet/yytree.mx:766
#10 0xb7eae031 in Myyclean (t=0x89d2320) at
/local_tmp/work/MonetDB4/src/monet/yytree.mx:766
#11 0xb7ea8bb1 in interpret_seqblock (stk=583, lt=0x810c5c0,
res=0xafedd39c, scope=1) at
/local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:1871
#12 0xb7e9abe7 in interpret (stk=1, lt=0x8b1de58, res=0xafedd39c) at
/local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:731
#13 0xb7f4789e in CMDcatch (stk=1, lt=0x8b1de38, res=0xafedd39c) at
/local_tmp/work/MonetDB4/src/modules/plain/builtin.mx:1045
#14 0xb7e9a81c in interpret (stk=1, lt=0x8b1de38, res=0xafedd39c) at
/local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:819
#15 0xb7ea9049 in interpret_assignment (stk=<value optimized out>,
lt=0x8b1ddf0, res=0xafedd39c) at
/local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:1820
#16 0xb7e9ab64 in interpret (stk=1, lt=0x8b1ddf0, res=0xafedd39c) at
/local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:724
#17 0xb7ea8b61 in interpret_seqblock (stk=1, lt=0x8771450, res=0xafedd39c,
scope=0) at /local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:1870
#18 0xb7e9abe7 in interpret (stk=1, lt=0x8a08910, res=0xafedd39c) at
/local_tmp/work/MonetDB4/src/monet/monet_interpreter.mx:731
#19 0xb19c2d24 in xquery_tree_exec (ctx=0x8147ac0, t=0x8a08910,
repeat=20968) at /local_tmp/work/pathfinder/runtime/pathfinder.mx:4263
#20 0xb19c2ec5 in xquery_mil_exec (ctx=0x8147ac0, buf=<value optimized
out>) at /local_tmp/work/pathfinder/runtime/pathfinder.mx:4321
#21 0xb19c52e8 in xquery_compile_exec (ctx=0x8147ac0, url=0x8b97e79
"count(doc(\"dblp.xml\")/dblp/*[author=\"Michael Stonebraker\"
and\nauthor=\"Hector Garcia-Molina\" and year > 1950]/title)\n",
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1961027&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs