Skip to content

iOS: Test app crashes on [TiBlob arrayBuffer] #14306

@hbugdoll

Description

@hbugdoll

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

The iOS test app (running npm run test:ios) crashes after:

[INFO]  !TEST_START: is a Function
[INFO]  !TEST_END: {"state":"passed","duration":0,"suite":"Titanium.Blob","title":"#arrayBuffer() is a Function","message":""}
[INFO]  !TEST_START: returns Promise which resolves to ArrayBuffer holding expected bytes

The crash log

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000104f3b730
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [25707]

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   TitaniumKit                   	       0x104f3b730 __21-[TiBlob arrayBuffer]_block_invoke + 96
1   libdispatch.dylib             	       0x18017c788 _dispatch_call_block_and_release + 24
...

points to [TiBlob arrayBuffer] (https://titaniumsdk.com/api/titanium/blob.html#arraybuffer).

Expected Behavior

No crash.

Actual behavior

Test app crashes.

Reproducible sample

  • test app of TitaniumKit

Steps to reproduce

  • npm run test:ios

Platform

iOS

SDK version you are using

13.0.0

Alloy version you are using

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageThis issue hasn't been reviewed by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions