Bugs item #1980464, was opened at 2008-05-31 12:38
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1980464&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 0.24
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Lefteris Sidirourgos (lsidir)
Summary: PF/alg: segfault when compiling 'pf:docname(doc("x"))'

Initial Comment:
========
$ cat /tmp/pf:docname.xq   
--------
pf:docname(doc("x"))
========
$ pf -M /tmp/pf:docname.xq > /dev/null
--------
========
$ pf -A /tmp/pf:docname.xq > /dev/null
--------
!ERROR: Segmentation fault.
The Pathfinder compiler experienced an internal problem.
You may want to report this problem to the Pathfinder
development team ([EMAIL PROTECTED]).

When reporting problems, please attach your XQuery input,
as well as the following information:
  Compilation stage: 15

We apologize for the inconvenience...

Segmentation fault
========

For deetails, see attached log and
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/runtime/pf_docname.out.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/runtime/pf_docname.err.00.html
(as of tomorrow, provided compilation and hence testing will work fine tonight, 
again).


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

>Comment By: Stefan Manegold (stmane)
Date: 2008-06-01 22:38

Message:
Logged In: YES 
user_id=572415
Originator: YES

The same seen to hold for / happen with fn:put():

http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugTracker/put_to_tmp.SF-1718066.err.00.html


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

Comment By: Stefan Manegold (stmane)
Date: 2008-05-31 13:36

Message:
Logged In: YES 
user_id=572415
Originator: YES

for other not yet implemented functions, PF/alg indeed correctly produces
an error message, e.g.:

$ echo 'pf:log(1)' | pf -A
fatal error: Algebra implementation for function `pf:log' unknown.
# halted in
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/pathfinder/compiler/algebra/core2alg.brg
(reduce), line 2205


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

Comment By: Stefan Manegold (stmane)
Date: 2008-05-31 13:34

Message:
Logged In: YES 
user_id=572415
Originator: YES

File Added: error.log

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

Comment By: Lefteris Sidirourgos (lsidir)
Date: 2008-05-31 12:56

Message:
Logged In: YES 
user_id=1856546
Originator: NO

Re-assigning this bug to me, since it is my fault:)

pf:docname is not fully implemented yet, since a different approach of
implementation was decided recently, however it should produce an error
message saying not implemented yet rather seg fault. I will leave this bug
open until the implementation is finished.

lefteris 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1980464&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

Reply via email to