Comments (2)
I have another related (maybe identical?) error. I cannot seem to reproduce this in a simple environment; whenever I extract the innermost Uint8Array.slice
operation, it succeeds without issue. Within an rxjs observable pipe chain, however, I get critical failures that crash my app internal to the v8 isolate. Below is the only information that is caught when I am debugging directly in Xcode.
I have not been able to isolate a specific operation that causes this crash, as it seems to "work" half the time. By "work", I mean that it doesn't cause a bad access crash, but the data that ends up being sliced is not the data that I expect. Here's a snippet that might crash?
const packet: Uint8Array = data.slice(index * header.chunkByteLength, (index + 1) * header.chunkByteLength);
Xcode error below:
NativeScript`v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::TypedElementsAccessor<(v8::internal::ElementsKind)17, unsigned char>, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)17> >::Get:
0x1012bc638 <+0>: stp x20, x19, [sp, #-0x20]!
0x1012bc63c <+4>: stp x29, x30, [sp, #0x10]
0x1012bc640 <+8>: add x29, sp, #0x10 ; =0x10
0x1012bc644 <+12>: ldr x9, [x1]
0x1012bc648 <+16>: and x8, x9, #0xfffffffffffc0000
0x1012bc64c <+20>: ldr x8, [x8, #0x10]
0x1012bc650 <+24>: ldur x10, [x9, #0x37]
0x1012bc654 <+28>: ldur x9, [x9, #0x3f]
0x1012bc658 <+32>: add x9, x9, x10
-> 0x1012bc65c <+36>: ldrb w9, [x9, x2]
0x1012bc660 <+40>: lsl x19, x9, #32
0x1012bc664 <+44>: ldr x0, [x8, #0x1130]
0x1012bc668 <+48>: cbz x0, 0x1012bc680 ; <+72>
0x1012bc66c <+52>: mov x1, x19
0x1012bc670 <+56>: bl 0x1013429a4 ; v8::internal::CanonicalHandleScope::Lookup(unsigned long)
0x1012bc674 <+60>: ldp x29, x30, [sp, #0x10]
0x1012bc678 <+64>: ldp x20, x19, [sp], #0x20
0x1012bc67c <+68>: ret
0x1012bc680 <+72>: mov x9, #-0x8f40
0x1012bc684 <+76>: add x8, x8, x9
0x1012bc688 <+80>: mov w9, #0xa058
0x1012bc68c <+84>: add x20, x8, x9
0x1012bc690 <+88>: ldp x0, x9, [x20]
0x1012bc694 <+92>: cmp x0, x9
0x1012bc698 <+96>: b.ne 0x1012bc6a4 ; <+108>
0x1012bc69c <+100>: mov x0, x8
0x1012bc6a0 <+104>: bl 0x101342548 ; v8::internal::HandleScope::Extend(v8::internal::Isolate*)
0x1012bc6a4 <+108>: add x8, x0, #0x8 ; =0x8
0x1012bc6a8 <+112>: str x8, [x20]
0x1012bc6ac <+116>: str x19, [x0]
0x1012bc6b0 <+120>: ldp x29, x30, [sp, #0x10]
0x1012bc6b4 <+124>: ldp x20, x19, [sp], #0x20
0x1012bc6b8 <+128>: ret
from ios.
This does not happen for me in {N}8.1. I do not know the exact version that it was resolved at.
from ios.
Related Issues (20)
- V8 base:OS:Abort on v 8.2.3
- Garbage pointer dereference using v 8.2.3 HOT 2
- "libXML2 not found" when building metadata generator HOT 3
- When trying to generate metadata, fatal error: 'clang/AST/DeclBase.h' file not found HOT 2
- Crash in tns::compareIdentifiers (EXC_BAD_ACCESS / KERN_INVALID_ADDRESS) in simulator
- Missing dSym for release 8.3 HOT 1
- Build error - Bitcode not enabled
- npm package increased from 87.6 MB to 290 MB since v7 and introduction of multi-architecture support HOT 1
- Metadata generator fails to generate proper types and does not add method to runtime
- Question on declarations generation HOT 4
- Xcode 14.3 HOT 3
- iOS Crash when trying to use Sqlite via workers on iOS platform 8.5.0+ HOT 2
- Cannot connect debugger to emulator with iOS13.7 HOT 2
- Build input file cannot be found: '.../Build/Products/Debug-iphonesimulator/metadata-arm64.bin'.
- Timezone changes are not correctly applied to NS runtime HOT 8
- IOS: calling exit(0) results in "Appname Crashed" error message HOT 11
- IOS remove app from tray (error) HOT 4
- Build Failed Nativescript with error of metadata
- Symbol not found HOT 1
- @nativescript/ios alpha.0 Error: Unable to generate metadata for x86_64 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios.