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: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: John van Schie (johnvanschie)
Assigned to: Peter Boncz (boncz)
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-08-06 13:24

Message:
There is unfortunately no list of fixes in bug fix releases.
This depends on the fixer supplying the information, and they (1) don't
always know what the repercussions are of a fix, and (2) even if they do,
don't always write it in the log message.  Also, when I prepare a bug fix
release and look at the differences between the upcoming and previous
releases, I can't always tell what the changes are for.
I'll close the bug with an Out of Date.


----------------------------------------------------------------------

Comment By: John van Schie (johnvanschie)
Date: 2009-07-08 16:27

Message:
Sjoerd,

Indeed, the segfault is gone in May2009-SP1. 
I didn't try the May version as I couldn't find a reference to such a fix
in the changelog at
http://monetdb.cwi.nl/projects/monetdb/Development/Releases/May2009/index.html.
Is there a list of the fixed bugs in May2009(-SP1) that I could use to
prevent bugreports as this one?

----------------------------------------------------------------------

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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to