Project: titanium
Issue TIMOB-19562: iOS: Ti.Network connecting to pubnub service crashes on ios9 devices
h3. Steps to reproduce * Create a new app * run the attached app.js * app crashes 50% of the times h3. Logs when crashing: {code} [DEBUG] Application booted in 557.617009 ms [INFO] read() begin [INFO] read() bytes processed begin 1 [INFO] read() bytes processed begin 2 [INFO] read() Timeout [INFO] read() try 1 start [INFO] read() try 1 results: [14428770873129952] [INFO] read() Socket Close Begin: {"mode":3,"port":80,"timeout":310000} [INFO] read() Socket State : 2 [INFO] read() Socket Try {code} h3. Log when app does not crash: {code} [DEBUG] Application booted in 703.873992 ms [INFO] read() begin [INFO] read() bytes processed begin 1 [INFO] read() bytes processed begin 2 [INFO] read() Timeout [INFO] read() try 1 start [INFO] read() try 1 results: [14428770763385046] [INFO] read() Socket Close Begin: {"mode":3,"port":80,"timeout":310000} [INFO] read() Socket State : 2 [INFO] read() Socket Try [INFO] read() Socket Close End [INFO] Success! {code} h3. Notes I ran this on an iPod touch 5th gen with iOS9 and with Trace enabled (from cli)
Story points: 5