Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when making simultaneous gRPC calls on the same client #161

Closed
ericgross2 opened this issue Oct 5, 2022 · 0 comments · Fixed by #160
Closed

Crash when making simultaneous gRPC calls on the same client #161

ericgross2 opened this issue Oct 5, 2022 · 0 comments · Fixed by #160
Labels
type: showstopper Issues that are blocking a client's release and need immediate attention.

Comments

@ericgross2
Copy link
Contributor

This happened on Linux RT, but the issue appears to be platform agnostic. It appears to be due to missing synchronization protecting the list of in-progress client calls.

[Current thread is 1 (Thread 0x7f507ae3d700 (LWP 6206))]
(gdb) bt
#0  raise (sig=11) at /usr/src/debug/glibc/2.24-r0/git/sysdeps/unix/sysv/linux/raise.c:58
#1  0x00007f50928f3cb1 in ?? () from /usr/local/natinst/labview/./liblvrt.so.21.0
#2  <signal handler called>
#3  0x00007f4fcafa4be3 in std::_List_iterator<grpc_labview::ClientCall*>::operator++ (this=0x7f507ae3cc80) at /usr/include/c++/7.3.0/bits/stl_list.h:162
#4  0x00007f4fcafa28f8 in std::__cxx11::list<grpc_labview::ClientCall*, std::allocator<grpc_labview::ClientCall*> >::remove (this=0x7f504c03ebc8, __value=@0x7f507ae3cd10: 0x7f5038000e10) at /usr/include/c++/7.3.0/bits/list.tcc:333
#5  0x00007f4fcaf9181c in CompleteClientUnaryCall2 (callId=0x7f5038000e10, responseCluster=0x13d7980 "\024", errorMessage=0x15f6398, errorDetailsCluster=0x15f6380) at /home/admin/grpc-labview/src/grpc_client.cc:302
#6  0x00000000015d0bf6 in ?? ()
#7  0x00000000015f5bc0 in ?? ()
#8  0x00007f5092bb5913 in ExtFuncWrapper () from /usr/local/natinst/labview/./liblvrt.so.21.0
#9  0x00000000015cf0f1 in ?? ()
#10 0x0000000000ff4bc0 in ?? ()
#11 0x00007f509340e460 in ?? () from /usr/local/natinst/labview/./liblvrt.so.21.0
#12 0x00007f509334c0c0 in ?? () from /usr/local/natinst/labview/./liblvrt.so.21.0
#13 0x0000000000000000 in ?? ()
(gdb)
@ericgross2 ericgross2 linked a pull request Oct 5, 2022 that will close this issue
@eyesonvis eyesonvis added the type: showstopper Issues that are blocking a client's release and need immediate attention. label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: showstopper Issues that are blocking a client's release and need immediate attention.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants