Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028492RunnerFunctionsPublic2017-12-06 12:022017-12-07 14:55
ReporterStewart Bishop 
Assigned ToAlan Savage 
PriorityHighSeverityA - Crash/HangReproducibility100%
StatusResolvedResolutionFixed 
PlatformOSOS 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 Version
2.x Runtime Version2.1.2.172
2.x Runtime Version Verified In
Attached Files? file icon http_demo.yyz [^] (16,970 bytes) 2017-12-06 12:02
? file icon http_demo2.yyz [^] (20,286 bytes) 2017-12-07 14:52

- Relationships

-  Notes
(0056922)
Alan Savage (Developer)
2017-12-07 14:51

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


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker