# Crash in ZR-CSAPI: processMessage()

**URL:** <https://devforum.zoom.us/t/crash-in-zr-csapi-processmessage/529>\
**Category:** API and Webhooks\
**Created:** [January 11, 2018, 7:59pm UTC](https://devforum.zoom.us/t/crash-in-zr-csapi-processmessage/529 "2018-01-11T19:59:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Firestone\_Test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone_test/32/91_2.png) [@Scott\_Firestone\_Test](https://devforum.zoom.us/u/Scott_Firestone_Test)\
**Post date:** [January 11, 2018, 7:59pm UTC](https://devforum.zoom.us/t/crash-in-zr-csapi-processmessage/529/1 "2018-01-11T19:59:20Z")

</div>

Some testers have seen a crash in ZR-CSAPI when connecting/disconnecting via SSH.&nbsp;the crash file in ~/Library/Logs/DiagnosticReports

indicates this stack trace for the thread that crashes. We think we fixed the problem: it will be in the next beta build.

Thread 3 Crashed:  
0&nbsp; &nbsp;libstdc++.6.dylib&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x9b890a11 std::string::compare(std::string const&) const + 21  
1&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x00750e74 bool std::operator==\<char, std::char\_traits\<char\>, std::allocator\<char\> \>(std::basic\_string\<char, std::char\_traits\<char\>, std::allocator\<char\> \> const&, std::basic\_string\<char, std::char\_traits\<char\>, std::allocator\<char\> \> const&) + 36  
2&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x0075066e ZMSshServerSession::processMessage(ssh\_session\_struct\*) + 5262  
3&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x0074ebce ZMSshServerSession::runTask() + 558  
4&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x00753451 ZMThread::threadProc() + 65  
5&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x00753368 ZMThread::s\_ThreadProc(void\*) + 56  
6&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x0075391f void boost::\_bi::list1\<boost::\_bi::value\<ZMThread\*\> \>::operator()\<void\* (\*)(void\*), boost::\_bi::list0\>(boost::\_bi::type\<void\>, void\* (\*&)(void\*), boost::\_bi::list0&, int) + 95  
7&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x007538b6 boost::\_bi::bind\_t\<void, void\* (\*)(void\*), boost::\_bi::list1\<boost::\_bi::value\<ZMThread\*\> \> \>::operator()() + 70  
8&nbsp; &nbsp;us.zoom.ZAPPI.ioWrapper&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x0075383c boost::detail::thread\_data\<boost::\_bi::bind\_t\<void, void\* (\*)(void\*), boost::\_bi::list1\<boost::\_bi::value\<ZMThread\*\> \> \> \>::run() + 28  
9&nbsp; &nbsp;libboost\_thread.dylib&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x008b38d0 boost::(anonymous namespace)::thread\_proxy(void\*) + 160  
10&nbsp; libsystem\_pthread.dylib&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x9cbe9780 \_pthread\_body + 138  
11&nbsp; libsystem\_pthread.dylib&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x9cbe96f6 \_pthread\_start + 155  
12&nbsp; libsystem\_pthread.dylib&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x9cbe6f7a thread\_start + 34

&nbsp;

---

<div class="post-metadata">

**Author:** ![Scott\_Firestone\_Test](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone_test/32/91_2.png) [@Scott\_Firestone\_Test](https://devforum.zoom.us/u/Scott_Firestone_Test)\
**Post date:** [January 12, 2018, 1:39am UTC](https://devforum.zoom.us/t/crash-in-zr-csapi-processmessage/529/2 "2018-01-12T01:39:08Z")

</div>

We checked in a fix: The bug number is&nbsp;ZOOM-34273. The fix will be in the next beta build.

---

<div class="post-metadata">

**Author:** ![Atlona\_Velocity](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/atlona_velocity/32/1021_2.png) [@Atlona\_Velocity](https://devforum.zoom.us/u/Atlona_Velocity)\
**Post date:** [January 12, 2018, 12:36pm UTC](https://devforum.zoom.us/t/crash-in-zr-csapi-processmessage/529/3 "2018-01-12T12:36:07Z")

</div>

Thats great!&nbsp; Any insight into a suspect problem at the code level?&nbsp; I was just curious what you thought was the suspect code that the thread took a dive to its death.&nbsp; The problem occurs when&nbsp;we reconnected and restarted the server.
