Bugs item #2817967, was opened at 2009-07-07 14:07
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2817967&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 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John van Schie (johnvanschie)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQuery results in segfault
Initial Comment:
OS: Ubuntu LTS 8.04
Monet: MonetDB 4.28.4, build from super ball, --enable-xquery
--enable-optimise, readline.h found by configure.
When I execute the query in the 'query' attachment, Mserver segfaults and
mclient returns the following:
MAPI = mone...@localhost:20925
ACTION= read_line
QUERY = element { "result" } {
ERROR = Connection terminated
Running Mserver in GDB gives the following stacktrace when it segfaults:
#0 0x00007fb30444f084 in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#1 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#2 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#3 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
<snip a lot of lines equal to the one above>
#131 0x00007fb3044505c3 in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#132 0x00007fb30445bf1c in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#133 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#134 0x00007fb30444f2b8 in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#135 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#136 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#137 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#138 0x00007fb304450760 in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#139 0x00007fb30445bf1c in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#140 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#141 0x00007fb30444f2da in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#142 0x00007fb30445bbd2 in reduce () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#143 0x00007fb304488768 in PFmilgen () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#144 0x00007fb3042c6a78 in PFcompile_MonetDB () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#145 0x00007fb3042c30a0 in xquery_compile_exec () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#146 0x00007fb3042c44eb in xquery_prepare () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#147 0x00007fb3042c6427 in xquery_client_engine () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_pathfinder.so
#148 0x00007fb304050f84 in mapi_client_engine () from
/opt/MonetDB-Feb2008-SP2-fast-insert-patch/lib/MonetDB4/lib/lib_mapi.so.4
#149 0x00007fb30e8703f7 in start_thread () from /lib/libpthread.so.0
#150 0x00007fb30db90b3d in clone () from /lib/libc.so.6
#151 0x0000000000000000 in ?? ()
Compiling the query with pf -AT and executing the resulting mil code, yields
the requested element.
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2009-07-08 14:11
Message:
This looks very much like a stack overflow problem.
I can't reproduce the crash with the May2009-SP1 release. Since you seem
to be using the Feb2009-SP2 release, can you try with a more recent
version? We have done some work in recognizing the condition.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2817967&group_id=56967
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs