Bugs item #2757113, was opened at 2009-04-13 02:05
Message generated for change (Comment added) made by tsheyar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2757113&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: Peter Boncz (boncz)
Assigned to: Jan Rittinger (tsheyar)
Summary: crash in la_cse

Initial Comment:
Mtest runtime/xrpc/admin/add_del_doc crashes in pf cse..


(gdb) r
Starting program: /home/users/boncz/monet-gcc-DBGXPROF-64/bin/Mserver 
--config=/home/users/boncz/monet/etc/MonetDB.conf --debug=10 --set 
gdk_nr_threads=1 --set 
monet_mod_path=/home/users/boncz/monet/lib/MonetDB4:/home/users/boncz/monet/lib/MonetDB4/lib:/home/users/boncz/monet/lib/MonetDB4/bin
 --set gdk_dbfarm=/home/users/boncz/monet/var/MonetDB4/dbfarm --set 
xquery_logdir=xquery_logs --set mapi_open=true --set xrpc_open=true --set 
mapi_port=37159 --set xrpc_port=49991 --set monet_prompt= --trace 
--dbname=mTests_runtime_xrpc_admin --dbinit=\ module\(pathfinder\)\; 
/home/users/boncz/monet-gcc-DBGXPROF-64/mTests/runtime/xrpc/admin/add_del_doc.prologue
[Thread debugging using libthread_db enabled] [New Thread 0x7ffff5df47b0 (LWP 
3075)] [New Thread 0x7fffeb90e950 (LWP 3086)] # MonetDB Server v4.29.0
# based on GDK   v1.29.0
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs; dynamically 
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah
[New Thread 0x7fffe5ec4950 (LWP 3087)]
# MonetDB/XQuery module v0.29.0 loaded (default back-end is 'algebra') # XRPC 
administrative console at http://127.0.0.1:49991/admin [New Thread 
0x7fffe4a63950 (LWP 3088)] [New Thread 0x7fffe4862950 (LWP 3089)] [New Thread 
0x7fffe445f950 (LWP 3092)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe445f950 (LWP 3092)] 0x00007fffe733ca6d in la_cse 
(n=0x7fffdb2d14b0) at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2674
2674            for (unsigned int i = 0; i < temp->schema.count; i++) {
Missing separate debuginfos, use: debuginfo-install 
e2fsprogs-libs-1.41.4-4.fc10.x86_64 glibc-2.9-3.x86_64 
keyutils-libs-1.2-3.fc9.x86_64 krb5-libs-1.6.3-16.fc10.x86_64 
libselinux-2.0.78-1.fc10.x86_64 libxml2-2.7.3-1.fc10.x86_64 
openssl-0.9.8g-12.fc10.x86_64 pcre-7.8-1.fc10.x86_64 zlib-1.2.3-18.fc9.x86_64
(gdb) bt
#0  0x00007fffe733ca6d in la_cse (n=0x7fffdb2d14b0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2674
#1  0x00007fffe733c867 in la_cse (n=0x7fffdb2d1630)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#2  0x00007fffe733c867 in la_cse (n=0x7fffdb2d1e40)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#3  0x00007fffe733c867 in la_cse (n=0x7fffdb2d1ff0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#4  0x00007fffe733c867 in la_cse (n=0x7fffdb2d2190)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#5  0x00007fffe733c867 in la_cse (n=0x7fffdb2d2d40)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#6  0x00007fffe733c867 in la_cse (n=0x7fffdb2d3080)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#7  0x00007fffe733c867 in la_cse (n=0x7fffdb2d3280)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#8  0x00007fffe733c867 in la_cse (n=0x7fffdb2d35e0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#9  0x00007fffe733c867 in la_cse (n=0x7fffdb2d39e0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#10 0x00007fffe733c867 in la_cse (n=0x7fffdb2d3b80)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#11 0x00007fffe733c867 in la_cse (n=0x7fffdb2d3d20)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#12 0x00007fffe733c867 in la_cse (n=0x7fffdb2d3ed0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#13 0x00007fffe733c867 in la_cse (n=0x7fffdb2d4070)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#14 0x00007fffe733c867 in la_cse (n=0x7fffdb2d4200)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#15 0x00007fffe733c867 in la_cse (n=0x7fffdb2d6e00)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#16 0x00007fffe733c867 in la_cse (n=0x7fffdb2d9a00)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#17 0x00007fffe733c867 in la_cse (n=0x7fffdb2dc600)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#18 0x00007fffe733c867 in la_cse (n=0x7fffdb2df200)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#19 0x00007fffe733c867 in la_cse (n=0x7fffdb2e2820)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#20 0x00007fffe733c867 in la_cse (n=0x7fffdb2e5420)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#21 0x00007fffe733c867 in la_cse (n=0x7fffdb2e8020)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
---Type <return> to continue, or q <return> to quit---
#22 0x00007fffe733c867 in la_cse (n=0x7fffdb2eb9f0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#23 0x00007fffe733c867 in la_cse (n=0x7fffdb2ee5f0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#24 0x00007fffe733c867 in la_cse (n=0x7fffdb2f11f0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#25 0x00007fffe733c867 in la_cse (n=0x7fffdb332c30)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#26 0x00007fffe733c867 in la_cse (n=0x7fffdb336dc0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2637
#27 0x00007fffe733cc66 in PFalgopt_cse (root=0x7fffdb336dc0)
    at 
/home/users/boncz/src/pathfinder/compiler/algebra/opt/opt_algebra_cse.c:2751
#28 0x00007fffe72b4eb6 in PFalgopt (root=0x7fffdb336dc0, timing=false, 
guide_list=0x0,
    opt_args=0x7fffe73f9827 
"ECSVR_OK_N}MT{JISI_GECSVR_}MT{JISI_OK_GECSVR_DC_GYP")
    at /home/users/boncz/src/pathfinder/compiler/algebra/algopt.c:202
#29 0x00007fffe723523d in PFcompile_MonetDB (
    xquery=0x7fffe6499ec9 "import module namespace adm = 
\"http://monetdb.cwi.nl/XQuery/admin/\"\n";, ' ' <repeats 24 times>, "at 
\"http://tscan:49991/admin/admin.xq\";\n(\ntext { \"&#10;  
\"},\n<collections-after-add>{\n    for $c in execute "...,
    url=0x7fffe6499ec9 "import module namespace adm = 
\"http://monetdb.cwi.nl/XQuery/admin/\"\n";, ' ' <repeats 24 times>, "at 
\"http://tscan:49991/admin/admin.xq\";\n(\ntext { \"&#10;  
\"},\n<collections-after-add>{\n    for $c in execute "...,
    prologue=0x7fffe445e260, query=0x7fffe445dec8, epilogue=0x7fffe445e250, 
options=2, genType=0x7fffe66556c8 "mapi-xml")
    at /home/users/boncz/src/pathfinder/compiler/compile.c:970
#30 0x00007fffe722c0e4 in xquery_compile_exec (ctx=0x7fffe64e2078, options=2,
    xquery=0x7fffe6499ec9 "import module namespace adm = 
\"http://monetdb.cwi.nl/XQuery/admin/\"\n";, ' ' <repeats 24 times>, "at 
\"http://tscan:49991/admin/admin.xq\";\n(\ntext { \"&#10;  
\"},\n<collections-after-add>{\n    for $c in execute "..., is_url=0,
    prologue=0x7fffe445e260, query=0x7fffe445e258, epilogue=0x7fffe445e250, 
module=0x0)
    at /home/users/boncz/src/pathfinder/runtime/pathfinder.mx:4654
#31 0x00007fffe723231e in xquery_prepare (ctx=0x7fffe64e2078, usec=37910405,
    query=0x7fffe6499ec9 "import module namespace adm = 
\"http://monetdb.cwi.nl/XQuery/admin/\"\n";, ' ' <repeats 24 times>, "at 
\"http://tscan:49991/admin/admin.xq\";\n(\ntext { \"&#10;  
\"},\n<collections-after-add>{\n    for $c in execute "...)
    at /home/users/boncz/src/pathfinder/runtime/pathfinder.mx:6052
#32 0x00007fffe7232948 in xquery_client_engine (mc=0x7fffe71c5188) at 
/home/users/boncz/src/pathfinder/runtime/pathfinder.mx:6207
#33 0x00007fffe6fc080b in mapi_client_engine (FC=0x7fffe71c5188) at 
/home/users/boncz/src/MonetDB4/src/mapi/mapi.mx:502
#34 0x00000039b50073da in start_thread () from /lib64/libpthread.so.0
#35 0x00000039b44e62bd in clone () from /lib64/libc.so.6
(gdb)




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

>Comment By: Jan Rittinger (tsheyar)
Date: 2009-04-14 22:07

Message:
Fixed in CVS.

(Fix doesn't need to be propagated to stable branch as problem only occurs
for XRPC queries not yet working in the algebra version of Feb2009
release.)

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2757113&group_id=56967

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to