From: mquinson Date: Sun, 9 Jul 2006 23:39:23 +0000 (+0000) Subject: Canceled RPC are a pain right now (until we move to a N/1-port model, they are likely... X-Git-Tag: v3.3~2846 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b362f44b3941a4b07a255240da19066915fbacb3 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 --- 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; }