Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory
sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24382/tests/BugTracker/Tests
Added Files:
Tag: XQuery_0-16
call2builtin_function_crashes_XRPC_client.SF-1655857.prologue.src
call2builtin_function_crashes_XRPC_client.SF-1655857.rpcd_start.mil
call2builtin_function_crashes_XRPC_client.SF-1655857.stable.err
call2builtin_function_crashes_XRPC_client.SF-1655857.stable.out
call2builtin_function_crashes_XRPC_client.SF-1655857.xml
call2builtin_function_crashes_XRPC_client.SF-1655857.xq.in
Log Message:
Fix bug [ 1655857 ] XQ: call to builtin function crashes XRPC client
The error handling was improper. It did not terminate MIL generate,
hence results in a crash.
Test added in
tests/BugTracker/Tests/call2builtin_function_crashes_XRPC_client.SF-1655857
--- NEW FILE: call2builtin_function_crashes_XRPC_client.SF-1655857.prologue.src
---
$TSTSRCDIR/call2builtin_function_crashes_XRPC_client.SF-1655857.rpcd_start.mil
--- NEW FILE: call2builtin_function_crashes_XRPC_client.SF-1655857.stable.out
---
stdout of test 'call2builtin_function_crashes_XRPC_client.SF-1655857` in
directory 'tests/BugTracker` itself:
# 11:12:08 >
# 11:12:08 > Mtimeout -timeout 180 Mserver
"--config=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/MonetDB.conf"
--debug=10 --set
"monet_mod_path=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4/bin"
--set
"gdk_dbfarm=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/dbfarm"
--set
"sql_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/sql_logs"
--set
"xquery_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/xquery_logs"
--set mapi_port=36869 --set monet_prompt= --trace
"--dbname=mTests_tests_BugTracker" --dbinit=" module(pathfinder);"
call2builtin_function_crashes_XRPC_client.SF-1655857.prologue ; echo ; echo
Over..
# 11:12:08 >
# Monet Database Server V4.16.1
# Copyright (c) 1993-2007, CWI. All rights reserved.
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs; dynamically
linked.
# Visit http://monetdb.cwi.nl/ for further information.
printf("\nReady.\n");
Ready.
quit();
Over..
# 11:12:09 >
# 11:12:09 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=36869
call2builtin_function_crashes_XRPC_client.SF-1655857.xq
# 11:12:09 >
# 11:12:09 >
# 11:12:09 > Done.
# 11:12:09 >
--- NEW FILE: call2builtin_function_crashes_XRPC_client.SF-1655857.xq.in ---
execute at { "localhost" }
{
pf:add-doc("$TSTSRCDIR/call2builtin_function_crashes_XRPC_client.SF-1655857.xml",
"hello.xml")
}
--- NEW FILE: call2builtin_function_crashes_XRPC_client.SF-1655857.xml ---
</hello>
--- NEW FILE: call2builtin_function_crashes_XRPC_client.SF-1655857.stable.err
---
stderr of test 'call2builtin_function_crashes_XRPC_client.SF-1655857` in
directory 'tests/BugTracker` itself:
# 11:12:08 >
# 11:12:08 > Mtimeout -timeout 180 Mserver
"--config=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/MonetDB.conf"
--debug=10 --set
"monet_mod_path=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4/bin"
--set
"gdk_dbfarm=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/dbfarm"
--set
"sql_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/sql_logs"
--set
"xquery_logdir=/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/xquery_logs"
--set mapi_port=36869 --set monet_prompt= --trace
"--dbname=mTests_tests_BugTracker" --dbinit=" module(pathfinder);"
call2builtin_function_crashes_XRPC_client.SF-1655857.prologue ; echo ; echo
Over..
# 11:12:08 >
# builtin opt gdk_arch = 64bitx86_64-redhat-linux-gnu
# builtin opt gdk_version = 1.16.1
# builtin opt monet_pid = 11943
# builtin opt prefix =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_mem_bigsize = 262144
# builtin opt gdk_vm_minsize = 137438953472
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_mem_pagebits = 14
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path =
${exec_prefix}/lib/MonetDB:${exec_prefix}/lib/bin
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = ${prefix}/var/MonetDB/sql_logs
# builtin opt xquery_logdir = ${prefix}/var/MonetDB/xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug
# config opt config = ${prefix}/etc/MonetDB.conf
# config opt prefix =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug
# config opt exec_prefix = ${prefix}
# config opt gdk_dbfarm = ${prefix}/var/MonetDB4/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_admin = adm
# config opt monet_prompt = MonetDB>
# config opt monet_welcome = yes
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB4:${exec_prefix}/lib/MonetDB4/lib:${exec_prefix}/lib/MonetDB4/bin
# config opt monet_daemon = no
# config opt mapi_port = 50000
# config opt mapi_open = false
# config opt mapi_debug = 0
# config opt sql_debug = 0
# config opt sql_logdir = ${prefix}/var/MonetDB4/sql_logs
# config opt xquery_httpd_port = 48080
# config opt xquery_output = dm
# config opt xquery_cacheMB = 100
# config opt xquery_procMB = 128
# config opt standoff_ns =
# config opt standoff_start = start
# config opt standoff_end = end
# config opt xquery_logdir = ${prefix}/var/MonetDB4/xquery_logs
# cmdline opt config =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/etc/MonetDB.conf
# cmdline opt gdk_debug = 10
# cmdline opt monet_mod_path =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4/lib:/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/lib/MonetDB4/bin
# cmdline opt gdk_dbfarm =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/dbfarm
# cmdline opt sql_logdir =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/sql_logs
# cmdline opt xquery_logdir =
/net/andorea/export/scratch1/zhang/monet/dev/G.64.64.d.debug/var/MonetDB4/xquery_logs
# cmdline opt mapi_port = 36869
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_tests_BugTracker
# 11:12:09 >
# 11:12:09 > Mtimeout -timeout 60 MapiClient -lxquery -oxml -umonetdb
-Pmonetdb --host=localhost --port=36869
call2builtin_function_crashes_XRPC_client.SF-1655857.xq
# 11:12:09 >
MAPI = [EMAIL PROTECTED]:35820
QUERY = execute at { "localhost" }
{
pf:add-doc("/ufs/zhang/src/monet/dev/pathfinder/tests/BugTracker/Tests/call2builtin_function_crashes_XRPC_client.SF-1655857.xml",
"hello.xml")
}
ERROR = !unsupported feature: RPC calls to built-in functions not supported by
XRPC.
!# halted in ../../../compiler/mil/milprint_summer.c
(translateXRPCCall), line 6228
# 11:28:13 >
# 11:28:13 > Done.
# 11:28:13 >
--- NEW FILE:
call2builtin_function_crashes_XRPC_client.SF-1655857.rpcd_start.mil ---
module(pathfinder);
rpcd_start();
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins