From b362f44b3941a4b07a255240da19066915fbacb3 Mon Sep 17 00:00:00 2001 From: mquinson Date: Sun, 9 Jul 2006 23:39:23 +0000 Subject: [PATCH 1/1] Canceled RPC are a pain right now (until we move to a N/1-port model, they are likely to create a dedlock), so give a lot of information about what went wrong git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2512 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/gras/Msg/rpc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gras/Msg/rpc.c b/src/gras/Msg/rpc.c index 58ea19aadf..eace210cf7 100644 --- a/src/gras/Msg/rpc.c +++ b/src/gras/Msg/rpc.c @@ -152,7 +152,10 @@ void gras_msg_rpc_async_wait(gras_msg_cb_ctx_t ctx, if (!_gras_rpc_cancelled) _gras_rpc_cancelled = xbt_dynar_new(sizeof(ctx),NULL); xbt_dynar_push(_gras_rpc_cancelled,&ctx); - INFO2("canceled RPC %ld pushed onto the stack (%s)",ctx->ID,ctx->msgtype->name); + INFO5("canceled RPC %ld pushed onto the stack (%s from %s:%d) Reason: %s", + ctx->ID,ctx->msgtype->name, + gras_socket_peer_name(ctx->expeditor),gras_socket_peer_port(ctx->expeditor), + e.msg); RETHROW; } -- 2.20.1