facing issue in running grpc in arm architecture nvidia tegra board it crashes frequently

64 views
Skip to first unread message

subhayu...@gmail.com

unread,
Jan 12, 2018, 1:41:03 AM1/12/18
to grpc.io
==4213== Thread 2:
==4213== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==4213==    at 0x502F688: epoll_ctl (syscall-template.S:84)
==4213==    by 0x48FA40F: grpc_init_epoll1_linux(bool) (in /usr/local/lib/libgrpc.so.5.0.0-dev)
==4213==  Address 0x691b05c is on thread 2's stack
==4213==  Uninitialised value was created by a stack allocation
==4213==    at 0x48FA280: grpc_init_epoll1_linux(bool) (in /usr/local/lib/libgrpc.so.5.0.0-dev)
==4213== 
==4213== Syscall param epoll_pwait(sigmask) points to unaddressable byte(s)
==4213==    at 0x502F424: epoll_pwait (epoll_pwait.c:42)
==4213==    by 0x48F9EFF: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)
==4213==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==4213== 
==4213== Thread 4 grpc_executor:
==4213== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==4213==    at 0x502F688: epoll_ctl (syscall-template.S:84)
==4213==    by 0x48F8523: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)
==4213==  Address 0x791b16c is on thread 4's stack
==4213==  Uninitialised value was created by a stack allocation
==4213==    at 0x48F8450: ??? (in /usr/local/lib/libgrpc.so.5.0.0-dev)


grpc version 1.8.4 and c++ language used
gcc 5.4


subhayu...@gmail.com

unread,
Jan 19, 2018, 7:29:14 AM1/19/18
to grpc.io
with grpc version 1.6.0 after init() shutdown is getting called()
I0119 17:43:48.275954099   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cc83c8, destroy=0x7f79cc8488)
I0119 17:43:48.276172757   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cb3f30, destroy=0x7f79cb3f58)
I0119 17:43:48.276249334   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cd83d0, destroy=0x7f79cd83f8)
I0119 17:43:48.276311767   24766 init.c:106]                 grpc_register_plugin(init=0x7f79ce6398, destroy=0x7f79ce63e8)
I0119 17:43:48.276371703   24766 init.c:106]                 grpc_register_plugin(init=0x7f79ce06d0, destroy=0x7f79ce0738)
I0119 17:43:48.276429048   24766 init.c:106]                 grpc_register_plugin(init=0x7f79ce71f0, destroy=0x7f79ce7210)
I0119 17:43:48.276485912   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf10d0, destroy=0x7f79cf10e0)
I0119 17:43:48.276542425   24766 init.c:106]                 grpc_register_plugin(init=0x7f79ced438, destroy=0x7f79ced478)
I0119 17:43:48.276598266   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf2718, destroy=0x7f79cf2740)
I0119 17:43:48.276653978   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf4388, destroy=0x7f79cf43b0)
I0119 17:43:48.276710459   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf4f60, destroy=0x7f79cf4ff8)
I0119 17:43:48.276768635   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf7300, destroy=0x7f79cf73c0)
I0119 17:43:48.276824284   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf78b8, destroy=0x7f79cf78f0)
I0119 17:43:48.276879484   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf79b8, destroy=0x7f79cf79d8)
I0119 17:43:48.276934365   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cf8fc8, destroy=0x7f79cf9058)
I0119 17:43:48.276988958   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cfbd20, destroy=0x7f79cfbd38)
I0119 17:43:48.277042974   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cfc418, destroy=0x7f79cfc470)
I0119 17:43:48.277096927   24766 init.c:106]                 grpc_register_plugin(init=0x7f79cfc7b0, destroy=0x7f79cfc7e8)
I0119 17:43:48.279344917   24766 init.c:168]                 grpc_init(void)
I0119 17:43:48.279476983   24766 init.c:168]                 grpc_init(void)
I0119 17:43:48.279515831   24766 channel_create.c:88]        grpc_insecure_channel_create(target=10.142.138.225:17001, args=0x7f788e5048, reserved=(nil))
I0119 17:43:48.279789562   24766 init.c:168]                 grpc_init(void)
I0119 17:43:48.279826714   24766 init.c:173]                 grpc_shutdown(void)
I0119 17:43:48.279866043   24766 init.c:173]                 grpc_shutdown(void)
I0119 17:43:48.279901307   24766 channel.c:304]              grpc_channel_register_call(channel=0x7f740197a0, method=/om.rpc.Registration/Register, host=(null), reserved=(nil))
I0119 17:43:48.279932923   24766 channel.c:304]              grpc_channel_register_call(channel=0x7f740197a0, method=/om.rpc.Registration/GetRegisteredDevices, host=(null), reserved=(nil))
I0119 17:43:48.279961436   24766 channel.c:304]              grpc_channel_register_call(channel=0x7f740197a0, method=/om.rpc.Registration/SendHeartbeat, host=(null), reserved=(nil))
I0119 17:43:48.279988412   24766 channel.c:304]              grpc_channel_register_call(channel=0x7f740197a0, method=/om.rpc.Registration/GetConnectedDevices, host=(null), reserved=(nil))
I0119 17:43:48.280101437   24766 init.c:168]                 grpc_init(void)
I0119 17:43:48.280139837   24766 completion_queue.c:1234]    grpc_completion_queue_destroy(cq=(nil))
I0119 17:43:48.280164478   24766 completion_queue.c:1227]    grpc_completion_queue_shutdown(cq=(nil)) 

Ken Payson

unread,
Jan 24, 2018, 2:16:12 PM1/24/18
to grpc.io
I'm not familiar enough with that platform to provide guidance.  However, if it looks like epoll() is the issue, you can try using poll() instead by running with the environment variable GRPC_POLL_STRATEGY=poll
Reply all
Reply to author
Forward
0 new messages