View Issue Details

IDProjectCategoryView StatusLast Update
0028492RunnerFunctionsPublic2017-12-12 14:24
ReporterStewart BishopAssigned ToAlan Savage 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ResolvedResolutionFixed 
Product Version 
Target VersionFixed in Version 
Summary0028492: Functions: Executing http_request using GET method with a buffer as the body for receiving binary data causes a crash on Android
DescriptionExecuting http_request() using "GET" method with a buffer as the body (for receiving binary data) causes a crash on Android. Of note, we have created a build of Crashlands in the beta channel on the Google Play store, and we are getting a large number of these crashes as well, with the same error codes.

Relevant log from running the game on my Android device via the YoYoRunner is below. Immediately after "Creating receiving buffer" is run in the code, http_request() is run. I have a debug output for the line after http_request() runs, but the game never made it to that debug output, which means it crashed upon running http_request().

11-30 19:48:59.806 13599 13614 I yoyo : o_http_controller :: Method: GET
11-30 19:48:59.806 13599 13614 I yoyo : o_http_controller :: Creating receiving buffer.
11-30 19:48:59.886 333 333 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-30 19:48:59.886 333 333 F DEBUG : Build fingerprint: 'samsung/kltetmo/kltetmo:6.0.1/MMB29M/G900TUVU1GQC2:user/release-keys'
11-30 19:48:59.886 333 333 F DEBUG : Revision: '14'
11-30 19:48:59.886 333 333 F DEBUG : ABI: 'arm'
11-30 19:48:59.886 333 333 F DEBUG : pid: 13599, tid: 13614, name: GLThread 11958 >>> com.company.game <<<
11-30 19:48:59.886 333 333 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Steps To Reproduce1) Run the attached project on Android
1.4 Found In
2.x Runtime Found In2.1.2.172
2.x Runtime Verified In

Activities

Stewart Bishop

2017-12-06 12:02

Adminstrator  

http_demo.yyz (16,970 bytes)

Alan Savage

2017-12-07 14:51

Developer   ~0056922

fixes crash; also fixed to return error response in the buffer where applicable (consistent with windows)

Alan Savage

2017-12-07 14:52

Developer  

http_demo2.yyz (20,286 bytes)