Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挱 Use runAsync every time it finishes executing #2520

Closed
3 of 4 tasks
tomerh2001 opened this issue Feb 6, 2024 · 19 comments
Closed
3 of 4 tasks

馃挱 Use runAsync every time it finishes executing #2520

tomerh2001 opened this issue Feb 6, 2024 · 19 comments
Labels
馃挱 question Further information is requested

Comments

@tomerh2001
Copy link

Question

I have a document detection model I want to run but it's slow, I don't want to hard-lock to running it once every second (with runAtTargetFps(1, ...)) but rather want it to execute sequentially in a different thread.

I.E. the next call to my callback should be immediately after the previous call has finished, independent of the FPS or what frame it is

What I tried

I know I can technically wrap some logic into runAsync that'll check if the previous call has finished - or use a recursive call in a one-off thing

But institutively this utility seems (to me at least) useful when dealing with frame processing, so maybe a sister function to runAsync and runAtTargetFps could be introduced?

VisionCamera Version

8.0.2

Additional information

@tomerh2001 tomerh2001 added the 馃挱 question Further information is requested label Feb 6, 2024
@tomerh2001 tomerh2001 changed the title Use AsyncExec every time it finishes executing 馃挱 Use runAsync every time it finishes executing 馃挱 Feb 6, 2024
@mrousavy mrousavy changed the title Use runAsync every time it finishes executing 馃挱 馃挱 Use runAsync every time it finishes executing Feb 7, 2024
@mrousavy
Copy link
Owner

mrousavy commented Feb 7, 2024

VisionCamera 8.0.2? Are you from the future? Does VisionCamera V8 have Skia Frame Processors already? 馃憖

@mrousavy
Copy link
Owner

mrousavy commented Feb 7, 2024

Also, I'm not sure if I get your question. You want to run something on another Thread, then use runAsync. That's what I built it for. Did you try using runAsync?

@oscar-b
Copy link

oscar-b commented Feb 8, 2024

I assume he means it should only process 1 frame sequentially, and drop any frames that are aquired whilst still processing.

@mrousavy
Copy link
Owner

mrousavy commented Feb 8, 2024

Yep, this is exactly what runAsync does 馃憤

@mrousavy mrousavy closed this as completed Feb 8, 2024
@tomerh2001
Copy link
Author

tomerh2001 commented Feb 8, 2024

Also, I'm not sure if I get your question. You want to run something on another Thread, then use runAsync. That's what I built it for. Did you try using runAsync?

Since runAsync gets a frame I assumed it does something like pushing every frame to a queue to be processed. So this means if I use runAsync and my detect function takes 1.5s than it does:

  1. at 0s detect on the frame at 0s
  2. at 1.5s detect on the frame at 1.5s
  3. at 3s detect on the frame at 3s
  4. so on...
    ?

Also, when I try to use runAsync it just crashes without any error, this is my code:

	const frameProcessor = useFrameProcessor(frame => {
		'worklet';

		if (!model || !isCameraInitialized || !isCameraActive) {
			return;
		}

		runAsync(frame, () => {
			'worklet';

			const resizedFrame = resize(frame, {
				scale: {
					height: 384,
					width: 384,
				},
				dataType: 'uint8',
				pixelFormat: 'rgb',
			});

			/**
			* A normalized version of the frame where each pixel is a value between 0 and 1.
			* @type {Float32Array}
			*/
			const normalizedData = new Float32Array(resizedFrame.length);
			for (let i = 0; i < resizedFrame.length; i++) {
				normalizedData[i] = resizedFrame[i] / 255.0;
			}

			/**
			* The output of the document detection model, it is a flattened 1x348x348x2 tensor.
			* The channels are as follows:
			* - The first channel is the not_document channel.
			* - The second channel is the document channel.
			* @type {Float32Array}
			*/
			const output = model.runSync([normalizedData])[0];

			// Calculate the document confidence by iterating over the output
			// This is done by summing the values of the document channel and dividing by the total number of pixels in the document channel
			let documentConfidence = 0;
			for (let i = 0; i < output.length; i += 2) {
				const y = Math.floor(i / 348);

                                // skip x% of the height
				if (y < 348 * 0.2) {
					continue;
				}

				documentConfidence += output[i + 1];
			}

			documentConfidence /= output.length / 2;
			console.log({documentConfidence});

			// If the confidence is high enough, grab the image
			if (documentConfidence > 2) {
				grabImageWorklet(true);
			}
		});
	},	[model, isCameraInitialized, isCameraActive]);

(also completely unrelated but do you have any frame processing libraries - for stuff like thresholding - you can recommend? I couldn't find anything and had to resort to doing this awful average calculation using a god-damn loop)

@mrousavy
Copy link
Owner

mrousavy commented Feb 8, 2024

Did you enable processNestedWorklets in the reanimated plugin? We recently fixed that crash in latest VC/Worklets versions, so it might be the plugin not transpiling properly.

Also, as always, I need the native logs to debug further.

@tomerh2001
Copy link
Author

tomerh2001 commented Feb 9, 2024

processNestedWorklets

I don't even use reanimated. If it's a dependency I must install, where does it say it? I followed your installation guide.

That's my babel config:

module.exports = function (api) {
	api.cache(true);
	return {
		presets: ['module:metro-react-native-babel-preset'],
		plugins: [
			['module:react-native-dotenv', {
				moduleName: '@env',
				path: '.env',
				blacklist: null,
				whitelist: null,
				safe: true,
				allowUndefined: true,
			}],
			'react-native-worklets-core/plugin',
		],
	};
};

How can I get you the native logs from Flipper?

@tomerh2001
Copy link
Author

tomerh2001 commented Feb 9, 2024

Update:
this works:

runAsync(frame, Worklets.createRunInJsFn(() => {
    console.log(frame.width);
});

I get the width printed endlessly

But when I try to do something with the frame like:

runAsync(frame, Worklets.createRunInJsFn(() => {
	const resizedFrame = resize(frame, {
		scale: {
			height: 384,
			width: 384,
		},
		dataType: 'uint8',
		pixelFormat: 'rgb',
	});

	console.log(resizedFrame.length);
});

Nothing happens - it doesn't even crash, just nothing happens

I saw there's a beta of 3.9.0, trying 3.9.0-beta.3 and will update if anything changes

@mrousavy
Copy link
Owner

mrousavy commented Feb 9, 2024

Ah yeah then no, you dont need reanimated.

But you shouldn't use runOnJS, just runAsync:

runAsync(frame, () => {
  'worklet'
  // your code
})

@tomerh2001
Copy link
Author

tomerh2001 commented Feb 9, 2024

Ah yeah then no, you dont need reanimated.

But you shouldn't use runOnJS, just runAsync:

runAsync(frame, () => {
  'worklet'
  // your code
})

That doesn't work, and it straight up crashes... this is my crash report from flipper:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Unknown

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

Build fingerprint: 'google/cheetah/cheetah:14/UQ1A.240105.004/11206848:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2024-02-09 19:49:09.838956168+0200
Process uptime: 19s
Cmdline: com.*****
pid: 22746, tid: 22956, name: mqt_js  >>> com.*********** <<<
uid: 10398
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x0000006ebd02d42d
    x0  0000000000000001  x1  00000074e5511248  x2  0000000000000000  x3  0000000000000000
    x4  00000074e7805f10  x5  b400007537dc59e8  x6  0000000000000000  x7  00000073a34d88e3
    x8  0000006e7e02c4e8  x9  0000006ebd02d408  x10 0000000000000003  x11 00000000dd000000
    x12 00000074e78061c8  x13 0000000000000051  x14 0000000000000001  x15 0000006e7e022570
    x16 0000000000000051  x17 0000000000000600  x18 00000074e769c000  x19 0000006e7dc00000
    x20 00000074e7805d68  x21 00000074e7809000  x22 00000074e5511280  x23 fffa000000000000
    x24 ffff006e7e02c4e8  x25 0000000000bfef50  x26 0000000000000000  x27 b400007537dc5990
    x28 00000074e5511138  x29 00000074e7805d40
    lr  0000007448c13480  sp  00000074e7805d40  pc  0000007448c1349c  pst 0000000060001000
72 total frames
backtrace:
      #00 pc 000000000016149c  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #01 pc 00000000000ce538  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #02 pc 00000000000cc7c0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #03 pc 0000000000106888  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #04 pc 00000000000ef104  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #05 pc 00000000000ec554  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #06 pc 00000000000ce830  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #07 pc 0000000000095060  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #08 pc 000000000005a850  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libVisionCamera.so (offset 0x11b52000) (RNWorklet::JsiWorklet::call(std::__ndk1::shared_ptr<facebook::jsi::Function>, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+332) (BuildId: 4024460c6f4361b8a3019c1cb6706c086a77f83f)
      #09 pc 0000000000059dd8  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libVisionCamera.so (offset 0x11b52000) (RNWorklet::WorkletInvoker::call(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+140) (BuildId: 4024460c6f4361b8a3019c1cb6706c086a77f83f)
      #10 pc 00000000001a02a4  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const+68) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #11 pc 00000000001a023c  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #12 pc 00000000001a0188  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (facebook::jsi::Value std::__ndk1::__invoke_void_return_wrapper<facebook::jsi::Value>::__call<RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long>(RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&)+120) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #13 pc 00000000001a0100  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #14 pc 000000000019ef84  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (std::__ndk1::__function::__func<RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long), std::__ndk1::allocator<RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>, facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&)+120) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #15 pc 000000000009c7f0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #16 pc 00000000000ce538  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #17 pc 00000000000ed0b0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #18 pc 00000000000ec554  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #19 pc 00000000000ce830  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #20 pc 0000000000095060  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libhermes.so (offset 0x2649000) (BuildId: db6fd99979b1c632a8aa7fc3fb1374981dc2c7c4)
      #21 pc 000000000005a850  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libVisionCamera.so (offset 0x11b52000) (RNWorklet::JsiWorklet::call(std::__ndk1::shared_ptr<facebook::jsi::Function>, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+332) (BuildId: 4024460c6f4361b8a3019c1cb6706c086a77f83f)
      #22 pc 0000000000059dd8  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libVisionCamera.so (offset 0x11b52000) (RNWorklet::WorkletInvoker::call(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+140) (BuildId: 4024460c6f4361b8a3019c1cb6706c086a77f83f)
      #23 pc 000000000015ab44  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #24 pc 000000000015aa54  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #25 pc 000000000015a9f0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #26 pc 000000000015a9b0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #27 pc 0000000000159758  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #28 pc 000000000027db2c  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libreactnativejni.so (offset 0x3ff2000) (BuildId: bec7e5a2262e26ce)
      #29 pc 000000000027d5f4  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libreactnativejni.so (offset 0x3ff2000) (std::__ndk1::function<void (facebook::jsi::Runtime&)>::operator()(facebook::jsi::Runtime&) const+44) (BuildId: bec7e5a2262e26ce)
      #30 pc 0000000000157278  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #31 pc 0000000000157234  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #32 pc 00000000001571b8  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #33 pc 0000000000157164  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #34 pc 0000000000156014  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #35 pc 0000000000143600  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #36 pc 0000000000143570  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (std::__ndk1::function<void (RNWorklet::JsiWorkletContext*, facebook::jsi::Runtime&)>::operator()(RNWorklet::JsiWorkletContext*, facebook::jsi::Runtime&) const+80) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #37 pc 0000000000143510  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #38 pc 00000000001434ac  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #39 pc 0000000000143460  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #40 pc 0000000000143438  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #41 pc 00000000001422e0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #42 pc 0000000000019a90  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libfbjni.so (offset 0x226a000) (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::JClass>, long), facebook::jni::JClass, void, long>::call(_JNIEnv*, _jobject*, long, void (*)(facebook::jni::alias_ref<facebook::jni::JClass>, long))+200) (BuildId: 957a087554a7dd659c148d0560674b789d2844d0)
      #43 pc 0000000000355830  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #44 pc 000000000033f080  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #45 pc 00000000005111d4  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+2364) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #46 pc 000000000049774c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #47 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #48 pc 00000000003b101c  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk (com.facebook.jni.ThreadScopeSupport.runStdFunction+0)
      #49 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #50 pc 0000000000373a18  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #51 pc 0000000000355968  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #52 pc 000000000033f080  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #53 pc 00000000004e1ea8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+728) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #54 pc 000000000057b930  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+156) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #55 pc 00000000003dc208  /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType) (.__uniq.99033978352804627313491551960229047428)+624) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #56 pc 000000000054da40  /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list) (.__uniq.99033978352804627313491551960229047428.llvm.9379289081322328196)+60) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #57 pc 0000000000019ea4  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libfbjni.so (offset 0x226a000) (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+116) (BuildId: 957a087554a7dd659c148d0560674b789d2844d0)
      #58 pc 0000000000019590  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libfbjni.so (offset 0x226a000) (facebook::jni::ThreadScope::WithClassLoader(std::__ndk1::function<void ()>&&)+184) (BuildId: 957a087554a7dd659c148d0560674b789d2844d0)
      #59 pc 0000000000141900  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #60 pc 0000000000141854  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #61 pc 0000000000141808  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #62 pc 00000000001417e0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #63 pc 00000000001405b0  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #64 pc 00000000001eae98  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libreactnativejni.so (offset 0x3ff2000) (BuildId: bec7e5a2262e26ce)
      #65 pc 00000000001ead88  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!libreactnativejni.so (offset 0x3ff2000) (std::__ndk1::function<void ()>::operator()() const+20) (BuildId: bec7e5a2262e26ce)
      #66 pc 00000000001779a4  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (RNWorklet::DispatchQueue::dispatch_thread_handler()+228) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #67 pc 0000000000179968  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #68 pc 0000000000179874  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #69 pc 000000000017919c  /data/app/~~FSywDNfZ_bfstefKi9tnAw==/com.*******-atp5BqxQzqvZiGGhJ5L2LQ==/base.apk!librnworklets.so (offset 0x5315000) (BuildId: 371ddf5f821b2248e04c5e7ad2fab66b8f369f28)
      #70 pc 00000000000c9ccc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 19c32900d9d702c303d2b4164fbba76c)
      #71 pc 000000000005db00  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 19c32900d9d702c303d2b4164fbba76c)

@jslok
Copy link

jslok commented Feb 10, 2024

runAsync gives me an error: Frame Processor Error: Regular javascript function '' cannot be shared. Try decorating the function with the 'worklet' keyword to allow the javascript function to be used as a worklet., js engine: VisionCamera

  const frameProcessor = useFrameProcessor((frame) => {
    'worklet'

    runAsync(frame, () => {
      'worklet'
      console.log("I'm running asynchronously, possibly at a lower FPS rate!")
    })
  }, [])

Using 3.9.0 beta 3. runAtTargetFps works well.

@mrousavy
Copy link
Owner

Did you guys try runAsync in the example app? It works for me there.

Just compare your versions with the example app, maybe it is a REA compatibility issue, a Babel issue, or a RN Worklets issue?

@mattijsf
Copy link

runAsync gives me an error: Frame Processor Error: Regular javascript function '' cannot be shared. Try decorating the function with the 'worklet' keyword to allow the javascript function to be used as a worklet., js engine: VisionCamera

  const frameProcessor = useFrameProcessor((frame) => {
    'worklet'

    runAsync(frame, () => {
      'worklet'
      console.log("I'm running asynchronously, possibly at a lower FPS rate!")
    })
  }, [])

Using 3.9.0 beta 3. runAtTargetFps works well.

I also have this exact problem and runAtTargetFps works (but I get an occasional stutter so I'd like to try runAsync).

  • react-native-reanimated@3.6.1
  • react-native-vision-camera@3.8.2
  • react-native-worklets-core@0.3.0

@jslok
Copy link

jslok commented Feb 17, 2024

yarn start --reset cache solved the worklet error for me.

@jslok
Copy link

jslok commented Feb 19, 2024

runAsync crashes for me actually. I can do a simple console.log inside just fine, but if I do anything more like resize or resize + tflite, it crashes with no error like tomer described. Seems like the more complex the functions the faster it will crash. Just resize will crash after about 4-8 seconds. Resize + tflite will crash right away. On a pixel 7.

@TheGhostFish
Copy link

TheGhostFish commented Apr 22, 2024

runAsync crashes for me actually. I can do a simple console.log inside just fine, but if I do anything more like resize or resize + tflite, it crashes with no error like tomer described. Seems like the more complex the functions the faster it will crash. Just resize will crash after about 4-8 seconds. Resize + tflite will crash right away. On a pixel 7.

Same issue here, even with react-native-vision-camera 4.0.1 and react-native-worklets-core 1.1.1
Using resize plugin + tflite detection inside runAtTargetFps works fine, but drops the preview fps.
Using the same code inside runAsync throws the same SIGSEGV error you posted above.
My device is Samsung Galaxy A23
Any solution for this ?
Thanks.

Edit: This is my logcat:

04-22 17:27:15.714  1355  4545 D PowerManagerService: [api] acquire WakeLock SCREEN_BRIGHT_WAKE_LOCK        'WindowManager/displayId:0' ON_AFTER_RELEASE (uid=1000 pid=1355 ws=WorkSource{10598 com.ghostapp.ai} displayId=0 lock=dc8457e)
04-22 17:27:15.722  1355  4545 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}
04-22 17:27:15.724  1355  4545 D WindowManager: prepareSync <SYNC_STATE_WAITING_FOR_DRAW>, mPrepareSyncSeqId=0, win=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}
04-22 17:27:15.775  1355  4545 V WindowManager: Collecting in transition 992: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}, caller=com.android.server.wm.TransitionController.lambda$collectForDisplayAreaChange$3:928 com.android.server.wm.TransitionController.$r8$lambda$eS0DTh55IBmOAY1lJgwxM4wXsCw:0 com.android.server.wm.TransitionController$$ExternalSyntheticLambda3.accept:0 com.android.server.wm.Task.forAllLeafTasks:3931 com.android.server.wm.WindowContainer.forAllLeafTasks:2185
04-22 17:27:15.782  1355  4545 V WindowManager: Checking to restart com.ghostapp.ai.MainActivity: changed=0x480, handles=0xfb3, mLastReportedConfiguration={mGlobalConfig={1.0 602mcc1mnc [en_US] ldltr sw384dp w785dp h360dp 450dpi nrml long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2408, 1080) mAppBounds=Rect(66, 0 - 2273, 1080) mMaxBounds=Rect(0, 0 - 2408, 1080) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=offmOverlappingWithCutout=false mStageConfig=undefined mFreeformTaskPinningState=unpinned} s.20266 fontWeightAdjustment=0 ff=0 bf=0 bts=0 cst=1.0 nightDim=-1 themeSeq=0} mOverrideConfig={1.0 602mcc1mnc [en_US] ldltr sw384dp w785dp h360dp 450dpi nrml long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2408, 1080) mAppBounds=Rect(66, 0 - 2273, 1080) mMaxBounds=Rect(0, 0 - 2408, 1080) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=offmOverlappingWithCutout=false mStageConfig=undefined mFreeformTaskPinningState=unpinned} s.2 fontWeightAdjustment=0 ff=0 bf=0 bts=0 cst=1.0 nightDim=-1 themeSeq=0}}
04-22 17:27:15.782  1355  4545 D ActivityTaskManager: scheduleConfigurationChanged: ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236} state=RESUMED config={1.0 602mcc1mnc [en_US] ldltr sw384dp w785dp h360dp 450dpi nrml long land finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 2408, 1080) mAppBounds=Rect(66, 0 - 2273, 1080) mMaxBounds=Rect(0, 0 - 2408, 1080) mDisplayRotation=ROTATION_90 mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_90 mPopOver=offmOverlappingWithCutout=false mStageConfig=undefined mFreeformTaskPinningState=unpinned} s.2 fontWeightAdjustment=0 ff=0 bf=0 bts=0 cst=1.0 nightDim=-1 themeSeq=0} caller=com.android.server.wm.ActivityRecord.ensureActivityConfiguration:11360 com.android.server.wm.ActivityRecord.ensureActivityConfiguration:11097 com.android.server.wm.ActivityTaskManagerService.ensureConfigAndVisibilityAfterUpdate:6601
04-22 17:27:15.785  1355  4545 D WindowManager: updateSystemBarAttributes: displayId=0, win=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, navColorWin=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, focusedCanBeNavColorWin=false, behavior=1, appearance=24, statusBarAppearanceRegions=[AppearanceRegion{LIGHT_STATUS_BARS bounds=[66,0][2408,1080]}], requestedVisibilities=-9, from=com.android.server.wm.DisplayPolicy.finishPostLayoutPolicyLw:2307 com.android.server.wm.DisplayContent.applySurfaceChangesTransaction:6045 com.android.server.wm.RootWindowContainer.applySurfaceChangesTransaction:1170
04-22 17:27:15.792  1355  2981 D PowerManagerService: [api] release WakeLock SCREEN_BRIGHT_WAKE_LOCK        'WindowManager/displayId:0' ON_AFTER_RELEASE ACQ=-77ms (uid=1000 pid=1355 ws=WorkSource{10598 com.ghostapp.ai} displayId=0 lock=dc8457e)
04-22 17:27:15.792  1355  2981 D PowerManagerService: [api] applyWakeLockFlagsOnReleaseLocked : userActivityNoUpdateLocked is called : SCREEN_BRIGHT_WAKE_LOCK        'WindowManager/displayId:0' ON_AFTER_RELEASE DISABLED (uid=1000 pid=1355 ws=WorkSource{10598 com.ghostapp.ai} displayId=0 lock=dc8457e)
04-22 17:27:15.795  1355  2981 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.809  1355  4545 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.816  1355  1759 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.820 25935 25935 D InsetsController: setRequestedVisibleTypes: visible=false, mask=statusBars, host=com.ghostapp.ai/com.ghostapp.ai.MainActivity, from=android.view.InsetsController.controlAnimationUnchecked:1433 android.view.InsetsController.applyAnimation:1988 android.view.InsetsController.applyAnimation:1951 android.view.InsetsController.hide:1391 android.view.InsetsController.hide:1330 android.view.ViewRootImpl.controlInsetsForCompatibility:3473 android.view.ViewRootImpl.performTraversals:4021 android.view.ViewRootImpl.doTraversal:3248 android.view.ViewRootImpl$TraversalRunnable.run:11206 android.view.Choreographer$CallbackRecord.run:1650
04-22 17:27:15.823 25935 25935 D InsetsController: controlAnimationUncheckedInner: Added types=statusBars animType=1 host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.InsetsController.controlAnimationUnchecked:1437 android.view.InsetsController.applyAnimation:1988 android.view.InsetsController.applyAnimation:1951
04-22 17:27:15.826  1355  4545 V WindowManager: Relayout Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}: viewVisibility=0 req=1080x2408 d0
04-22 17:27:15.828  1355  4545 D WindowManager: updateSystemBarAttributes: displayId=0, win=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, navColorWin=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, focusedCanBeNavColorWin=false, behavior=2, appearance=24, statusBarAppearanceRegions=[AppearanceRegion{LIGHT_STATUS_BARS bounds=[66,0][2408,1080]}], requestedVisibilities=-9, from=com.android.server.wm.DisplayPolicy.finishPostLayoutPolicyLw:2307 com.android.server.wm.DisplayContent.applySurfaceChangesTransaction:6045 com.android.server.wm.RootWindowContainer.applySurfaceChangesTransaction:1170
04-22 17:27:15.829  1355  4545 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.830  1355  3973 D InsetsSourceProvider: updateVisibility: serverVisible=true, clientVisible=false, source=InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=false mFlags=[]}, controlTarget=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, from=com.android.server.wm.InsetsSourceProvider.setClientVisible:588 com.android.server.wm.InsetsSourceProvider.updateClientVisibility:575 com.android.server.wm.InsetsStateController.onInsetsModified:275 com.android.server.wm.InsetsPolicy.onInsetsModified:515 com.android.server.wm.Session.updateRequestedVisibleTypes:779 android.view.IWindowSession$Stub.onTransact:1123 com.android.server.wm.Session.onTransact:192 android.os.Binder.execTransactInternal:1380 android.os.Binder.execTransact:1311 <bottom of call stack>
04-22 17:27:15.831  1355  3973 D WindowManager: updateSystemBarAttributes: displayId=0, win=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, navColorWin=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}, focusedCanBeNavColorWin=false, behavior=2, appearance=24, statusBarAppearanceRegions=[AppearanceRegion{LIGHT_STATUS_BARS bounds=[66,0][2408,1080]}], requestedVisibilities=-10, from=com.android.server.wm.InsetsStateController.onInsetsModified:281 com.android.server.wm.InsetsPolicy.onInsetsModified:515 com.android.server.wm.Session.updateRequestedVisibleTypes:779
04-22 17:27:15.835  1355  1759 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.839  1355  1758 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.840 25935 25935 D InsetsController: onStateChanged: host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.ViewRootImpl.relayoutWindow:9949 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2408, 1080), mDisplayCutout=DisplayCutout{insets=Rect(66, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 468 - 66, 612), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2408 physicalDisplayWidth=1080 physicalDisplayHeight=2408 density={2.8125} cutoutSpec={M 0,0 H -25.6 V 23.46666666666667 H 25.6 V 0 H 0 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2408, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2284, 0 - 2408, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=910408817 displayWidth=1080 displayHeight=2408 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0005 mType=mandatorySystemGestures mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0006 mType=tappableElement mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a6d00001 mType=navigationBars mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {a6d00005 mType=mandatorySystemGestures mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00006 mType=tappableElement mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][66,1080] mVisible=true mFlags=[]} }
04-22 17:27:15.858  1355  4545 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.873  1355  4545 D WindowManager: SyncGroup 992:  Unfinished container: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai} mSyncState=2
04-22 17:27:15.941  1355  4545 D WindowManager: finishDrawingWindow: Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity} mDrawState=DRAW_PENDING seqId=0
04-22 17:27:15.941  1355  4545 I WindowManager: finishDrawing of orientation change: Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity} 152ms
04-22 17:27:15.942  1355  1759 V WindowManager: performShowLocked: mDrawState=HAS_DRAWN in Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}
04-22 17:27:15.944  1355  1759 V WindowManager: Start calculating TransitionInfo based on participants: {Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}, Display{#0 state=ON size=2408x1080 ROTATION_90}}
04-22 17:27:15.944  1355  1759 V WindowManager:   Final targets: [Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}, DefaultTaskDisplayArea@180311722, Display{#0 state=ON size=2408x1080 ROTATION_90}]
04-22 17:27:15.946  1355  1759 V WindowManager: Calling onTransitionReady: {id=992 t=CHANGE f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{59414d2 Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}}} m=CHANGE f=NONE p=WCT{RemoteToken{9797bec DefaultTaskDisplayArea@180311722}} leash=Surface(name=Task=236)/@0x76d7934 sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 2408, 1080) d=0 r=0->1:0 inset=Rect(66, 0 - 135, 0)},{WCT{RemoteToken{9797bec DefaultTaskDisplayArea@180311722}} m=CHANGE f=NONE p=WCT{RemoteToken{2910572 Display{#0 state=ON size=2408x1080 ROTATION_90}}} leash=Surface(name=DefaultTaskDisplayArea)/@0xe89f2ec sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 2408, 1080) d=0 r=0->1:-1 inset=Rect(0, 0 - 0, 0)},{WCT{RemoteToken{2910572 Display{#0 state=ON size=2408x1080 ROTATION_90}}} m=CHANGE f=IS_DISPLAY leash=Surface(name=WindowedMagnification:0:31)/@0x428e5f9 sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 2408, 1080) d=0 r=0->1:-1 snapshot=Surface(name=RotationLayer_WmCore)/@0xd43d967 inset=Rect(0, 0 - 0, 0)}]}
04-22 17:27:15.948  1355  1755 V WindowManager:     info={id=992 t=CHANGE f=0x0 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{59414d2 Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}}} m=CHANGE f=NONE p=WCT{RemoteToken{9797bec DefaultTaskDisplayArea@180311722}} leash=Surface(name=Task=236)/@0x76d7934 sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 2408, 1080) d=0 r=0->1:0 inset=Rect(66, 0 - 135, 0)},{WCT{RemoteToken{9797bec DefaultTaskDisplayArea@180311722}} m=CHANGE f=NONE p=WCT{RemoteToken{2910572 Display{#0 state=ON size=2408x1080 ROTATION_90}}} leash=Surface(name=DefaultTaskDisplayArea)/@0xe89f2ec sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 2408, 1080) d=0 r=0->1:-1 inset=Rect(0, 0 - 0, 0)},{WCT{RemoteToken{2910572 Display{#0 state=ON size=2408x1080 ROTATION_90}}} m=CHANGE f=IS_DISPLAY leash=Surface(name=WindowedMagnification:0:31)/@0x428e5f9 sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 2408, 1080) d=0 r=0->1:-1 inset=Rect(0, 0 - 0, 0)}]}
04-22 17:27:15.950  1355  1759 D PowerManagerService: [api] acquire WakeLock SCREEN_BRIGHT_WAKE_LOCK        'WindowManager/displayId:0' ON_AFTER_RELEASE (uid=1000 pid=1355 ws=WorkSource{10598 com.ghostapp.ai} displayId=0 lock=dc8457e)
04-22 17:27:15.965 25935 25935 D InsetsController: onStateChanged: host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7094 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2408, 1080), mDisplayCutout=DisplayCutout{insets=Rect(66, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 468 - 66, 612), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2408 physicalDisplayWidth=1080 physicalDisplayHeight=2408 density={2.8125} cutoutSpec={M 0,0 H -25.6 V 23.46666666666667 H 25.6 V 0 H 0 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2408, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2284, 0 - 2408, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=910408817 displayWidth=1080 displayHeight=2408 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0005 mType=mandatorySystemGestures mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0006 mType=tappableElement mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a6d00001 mType=navigationBars mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {a6d00005 mType=mandatorySystemGestures mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00006 mType=tappableElement mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][66,1080] mVisible=true mFlags=[]} }
04-22 17:27:15.966  1163  1163 I Layer   : Layer::reparent [Letterbox - left#13314] newParent : ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 , isRemovedFromCurrentState : 0 -------------------------
04-22 17:27:15.969 25935 25935 D InsetsController: onStateChanged: host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7081 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2408, 1080), mDisplayCutout=DisplayCutout{insets=Rect(66, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 468 - 66, 612), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2408 physicalDisplayWidth=1080 physicalDisplayHeight=2408 density={2.8125} cutoutSpec={M 0,0 H -25.6 V 23.46666666666667 H 25.6 V 0 H 0 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2408, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2284, 0 - 2408, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=910408817 displayWidth=1080 displayHeight=2408 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0005 mType=mandatorySystemGestures mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0006 mType=tappableElement mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a6d00001 mType=navigationBars mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {a6d00005 mType=mandatorySystemGestures mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00006 mType=tappableElement mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][66,1080] mVisible=true mFlags=[]} }
04-22 17:27:15.996  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007777c71810 | 0102 | RGBA_8888    |  594.0    0.0 1682.0 1080.0 |    0  656 1080 1753 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.010  1355  4545 V WindowManager: Relayout Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}: viewVisibility=0 req=2342x1080 d0
04-22 17:27:16.059  2425  2425 D SamsungLightBarControlHelper: onStatusBarAppearanceChanged() -  sbModeChanged:false, statusBarMode:0, barState:MODE_TRANSPARENT, isKeyguardShowing:false, navbarColorManagedByIme:false, stackAppearanceChanged:true, (AppearanceRegion{LIGHT_STATUS_BARS bounds=[66,0][2408,1080]}, ), packageName:com.ghostapp.ai
04-22 17:27:16.074  1355  8545 D WindowManager: finishDrawingWindow: Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity} mDrawState=HAS_DRAWN seqId=0
04-22 17:27:16.076  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007777c71810 | 0102 | RGBA_8888    |   30.0    0.0 2270.0 1080.0 |    0   85 1080 2363 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.087  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007767fa9470 | 0102 | RGBA_8888    |    0.0    0.0 2342.0 1080.0 |    0    7 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.099  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007767fa9470 | 0102 | RGBA_8888    |    0.0    0.0 2342.0 1080.0 |    0    0 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.102 25935 25935 D InsetsController: onStateChanged: host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7081 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2408, 1080), mDisplayCutout=DisplayCutout{insets=Rect(66, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 468 - 66, 612), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2408 physicalDisplayWidth=1080 physicalDisplayHeight=2408 density={2.8125} cutoutSpec={M 0,0 H -25.6 V 23.46666666666667 H 25.6 V 0 H 0 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2408, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2284, 0 - 2408, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=910408817 displayWidth=1080 displayHeight=2408 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=false mFlags=[]}, InsetsSource: {a51f0005 mType=mandatorySystemGestures mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0006 mType=tappableElement mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a6d00001 mType=navigationBars mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {a6d00005 mType=mandatorySystemGestures mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00006 mType=tappableElement mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][66,1080] mVisible=true mFlags=[]} }
04-22 17:27:16.110  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007767fa9470 | 0102 | RGBA_8888    |    0.0    0.0 2342.0 1080.0 |    0    0 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.116 25935 25935 D InsetsController: onStateChanged: host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7094 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2408, 1080), mDisplayCutout=DisplayCutout{insets=Rect(66, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 468 - 66, 612), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2408 physicalDisplayWidth=1080 physicalDisplayHeight=2408 density={2.8125} cutoutSpec={M 0,0 H -25.6 V 23.46666666666667 H 25.6 V 0 H 0 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2408, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2284, 0 - 2408, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=910408817 displayWidth=1080 displayHeight=2408 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=false mFlags=[]}, InsetsSource: {a51f0005 mType=mandatorySystemGestures mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0006 mType=tappableElement mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a6d00001 mType=navigationBars mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {a6d00005 mType=mandatorySystemGestures mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00006 mType=tappableElement mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][66,1080] mVisible=true mFlags=[]} }
04-22 17:27:16.143  1355  4545 V WindowManager: Relayout Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}: viewVisibility=0 req=2342x1080 d0
04-22 17:27:16.161  1355  4545 D WindowManager: finishDrawingWindow: Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity} mDrawState=HAS_DRAWN seqId=0
04-22 17:27:16.254  1355  6803 V WindowManager: Relayout Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}: viewVisibility=0 req=2342x1080 d0
04-22 17:27:16.263  1355  4545 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}
04-22 17:27:16.267  1163  1163 I Layer   : id=13293 removeFromCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:16.267  1163  1163 I Layer   : id=13300 removeFromCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:16.267  1163  1163 I Layer   : id=13301 removeFromCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:16.267  1163  1163 I Layer   : id=13302 removeFromCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:16.268  1163  1163 I Layer   : id=13293 addToCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:16.268  1163  1163 I Layer   : id=13300 addToCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:16.268  1163  1163 I Layer   : id=13301 addToCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:16.268  1163  1163 I Layer   : id=13302 addToCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:16.277  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007777c70070 | 0102 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.403  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007767fa9630 | 0102 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:16.448 25935 25935 D InsetsController: cancelAnimation of types: 1, animType: 1, host: com.ghostapp.ai/com.ghostapp.ai.MainActivity, from:android.view.InsetsController.notifyFinished:1736 android.view.InsetsAnimationThreadControlRunner$1.lambda$notifyFinished$0:85 android.view.InsetsAnimationThreadControlRunner$1.$r8$lambda$RAf1SfIREsj9-wH5FOigMy6eLkM:0
04-22 17:27:18.772  1163  1163 I LayerHistory: com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 Max (can't resolve refresh rate)
04-22 17:27:19.240  1163  1163 I LayerHistory: com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 Max (can't resolve refresh rate)
04-22 17:27:19.969  1365 19167 I CameraService: CameraService::connect call (PID 25935 "com.ghostapp.ai", camera ID 0) and Camera API version 2
04-22 17:27:19.969  1365 19167 I CameraService: isUidActiveLocked E: uid 10598, callingPackage com.ghostapp.ai, isRegistered true
04-22 17:27:19.969  1365 19167 I CameraService: isUidActiveLocked: start to wait until com.ghostapp.ai gets into active.
04-22 17:27:19.970  1365 19167 I CameraService: isUidActiveLocked X: uid 10598, callingPackage com.ghostapp.ai, isActive true.
04-22 17:27:19.973  1365 19167 I CameraService: CameraService::validateClientPermissionsLocked is ok : calling pid 25935, calling uid 10598, client com.ghostapp.ai , cameraservice pid=1365, device user 0, currently allowed device users: 0
04-22 17:27:19.973  1365 19167 I Camera2ClientBase: Camera 0: Opened. Client: com.ghostapp.ai (PID 25935, UID 10598)
04-22 17:27:19.973  1365 19167 I CameraService: isNoSALoggingPackage: com.ghostapp.ai is a third party package.
04-22 17:27:19.974  1365 19167 I CameraService: service.camera.client set to com.ghostapp.ai
04-22 17:27:19.974  4982 14421 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.974  2425  2487 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.974  2966  3122 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.975 25935 26060 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.976  1355  8545 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPENING for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.988  1365 19167 I CameraService: startCameraOps: Start camera ops, package name = com.ghostapp.ai, client UID = 10598
04-22 17:27:19.993  1069  1069 I Unihal  : UniHal3InterfaceEntry.cpp: uni_set_parameters: 506: set_parameters : pkgName=com.ghostapp.ai;
04-22 17:27:19.993  1069  1069 E CHI     : [SS_ERR ]: [CHI         ]: chxextensionmodule.cpp: SecModifySettings: 8650: [SS_PARAM][INIT] pkgName=com.ghostapp.ai;
04-22 17:27:19.994  1365 19167 I CameraServiceProxyWrapper: updateProxyDeviceState: notifyCameraState for Camera ID 0, newState 0, facing 0, clientName com.ghostapp.ai, apiLevel 2
04-22 17:27:19.995  1365 19167 I CameraService: isNoSALoggingPackage: com.ghostapp.ai is a third party package.
04-22 17:27:19.995  1355  8545 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.995  2425  2487 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.995  4982  6245 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.996  2966 23074 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:19.998 25935 26060 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:20.020  1355  3973 V WindowManager: Relayout Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}: viewVisibility=0 req=2342x1080 d0
04-22 17:27:20.050  1163  1224 I SurfaceFlinger: id=13319 createSurf, flag=20004, Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319
04-22 17:27:20.051  1163  1224 I SurfaceFlinger: id=13320 createSurf, flag=84004, SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320
04-22 17:27:20.051  1163  1224 I SurfaceFlinger: id=13321 createSurf, flag=44400, SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321
04-22 17:27:20.052  1163  1224 I SurfaceFlinger: id=13322 createSurf, flag=20404, Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322
04-22 17:27:20.052  1163  1163 I Layer   : Layer [Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319] hidden!! flag(0)
04-22 17:27:20.085  1163  1163 I Layer   : Layer [Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322] hidden!! flag(0)
04-22 17:27:20.086  1163  1163 I Layer   : Layer [SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320] hidden!! flag(0)
04-22 17:27:20.091  1163  1163 D SurfaceFlinger:  SOLID_COLOR |              | 0002 |  Unknown  |    0.0    0.0    0.0    0.0 |    0  450 1080 1890 | Background for SurfaceView[com.autof[...]com.ghostapp.ai.MainActivity]@0#13322    
04-22 17:27:20.091  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007777c70070 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:20.241  1365 26245 I CameraService: startCameraStreamingOps: Start camera streaming ops, package name = com.ghostapp.ai, client UID = 10598
04-22 17:27:20.242  1365 26245 I CameraServiceProxyWrapper: updateProxyDeviceState: notifyCameraState for Camera ID 0, newState 1, facing 0, clientName com.ghostapp.ai, apiLevel 2
04-22 17:27:20.243  1355  6803 I CameraService_proxy: wmi.addRefreshRateRangeForPackage minFPS = 30.000002, maxFPS = 60.0, clientName = com.ghostapp.ai
04-22 17:27:20.243  1355  4545 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:20.243  4982  6245 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:20.243  1355  1777 D SensorPrivacyService: onOpNoted  com.ghostapp.ai  code=26  uid=10598
04-22 17:27:20.243  2966 23074 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:20.245 25935 25948 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:20.243  2425  2487 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:20.255  1163  1163 I LayerHistory: com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 Max (can't resolve refresh rate)
04-22 17:27:20.402 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.412 25935 26224 I BLASTBufferQueue: [SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#2](f:0,a:0,s:0) onFrameAvailable the first frame is available
04-22 17:27:20.432  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007767fa9be0 | 0502 | RGBA_8888    |    0.0    0.0 1080.0 1440.0 |    0  450 1080 1890 | SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321   
04-22 17:27:20.432  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007759e1aea0 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:20.436 25935 26116 F libc    : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x757e02d485 in tid 26116 (mqt_js), pid 25935 (com.ghostapp.ai)
04-22 17:27:20.470 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.530 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.565 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.631 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.638 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.686 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.732 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.776  1355  3973 D InsetsSourceProvider: updateFakeControlTarget: fakeControl=InsetsSourceControl: {a51f0000 mType=statusBars mSurfacePosition=Point(0, 0) mInsetsHint=Insets{left=0, top=0, right=0, bottom=0}}, fakeTarget=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}
04-22 17:27:20.855  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007767fa9be0 | 0502 | RGBA_8888    |    0.0    0.0 1080.0 1440.0 |    0  450 1080 1890 | SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321
04-22 17:27:20.855  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007767fa9710 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:20.857 25935 26224 I com.ghostapp.ai: EglImage dataspace changed, need recreate
04-22 17:27:20.871 25935 25935 D InsetsController: onStateChanged: host=com.ghostapp.ai/com.ghostapp.ai.MainActivity from=android.view.ViewRootImpl$ViewRootHandler.handleMessageImpl:7081 state=InsetsState: {mDisplayFrame=Rect(0, 0 - 2408, 1080), mDisplayCutout=DisplayCutout{insets=Rect(66, 0 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 468 - 66, 612), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=1080 displayHeight=2408 physicalDisplayWidth=1080 physicalDisplayHeight=2408 density={2.8125} cutoutSpec={M 0,0 H -25.6 V 23.46666666666667 H 25.6 V 0 H 0 Z @dp} rotation={1} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 2408, 1080), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(2284, 0 - 2408, 68) rotation=1}, mDisplayShape=DisplayShape{ spec=910408817 displayWidth=1080 displayHeight=2408 physicalPixelDisplaySizeRatio=1.0 rotation=1 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {a51f0000 mType=statusBars mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0005 mType=mandatorySystemGestures mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a51f0006 mType=tappableElement mFrame=[0,0][2408,68] mVisible=true mFlags=[]}, InsetsSource: {a6d00001 mType=navigationBars mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00004 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {a6d00005 mType=mandatorySystemGestures mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00006 mType=tappableElement mFrame=[2273,0][2408,1080] mVisible=true mFlags=[]}, InsetsSource: {a6d00024 mType=systemGestures mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {7 mType=displayCutout mFrame=[0,0][66,1080] mVisible=true mFlags=[]} }
04-22 17:27:21.015 25935 25944 I com.ghostapp.ai: NativeAlloc concurrent copying GC freed 441122(21MB) AllocSpace objects, 59(10MB) LOS objects, 48% free, 25MB/49MB, paused 360us,284us total 255.728ms
04-22 17:27:21.334 26276 26276 F DEBUG   : Cmdline: com.ghostapp.ai
04-22 17:27:21.334 26276 26276 F DEBUG   : pid: 25935, tid: 26116, name: mqt_js  >>> com.ghostapp.ai <<<
04-22 17:27:21.335 26276 26276 F DEBUG   :       #00 pc 0000000000161528  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #01 pc 00000000000ce5a8  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #02 pc 00000000000cc830  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #03 pc 00000000001068f8  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #04 pc 00000000000ef174  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #05 pc 00000000000ec5c4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #06 pc 00000000000ce8a0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #07 pc 00000000000950d0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #08 pc 00000000000535c4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libVisionCamera.so (offset 0x102d000) (RNWorklet::JsiWorklet::call(std::__ndk1::shared_ptr<facebook::jsi::Function>, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+336) (BuildId: 2f1e50ccc55dfbb3c65c886177cebd8280c9837a)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #09 pc 0000000000052a88  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libVisionCamera.so (offset 0x102d000) (RNWorklet::WorkletInvoker::call(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+144) (BuildId: 2f1e50ccc55dfbb3c65c886177cebd8280c9837a)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #10 pc 00000000001a84bc  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const+68) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #11 pc 00000000001a8454  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #12 pc 00000000001a83a0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (facebook::jsi::Value std::__ndk1::__invoke_void_return_wrapper<facebook::jsi::Value>::__call<RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long>(RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)&, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&)+120) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #13 pc 00000000001a8318  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #14 pc 00000000001a719c  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (std::__ndk1::__function::__func<RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long), std::__ndk1::allocator<RNWorklet::JsiObjectWrapper::setFunctionValue(facebook::jsi::Runtime&, facebook::jsi::Value const&)::'lambda'(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>, facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*&&, unsigned long&&)+120) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #15 pc 000000000009c860  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #16 pc 00000000000ce5a8  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #17 pc 00000000000ed120  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #18 pc 00000000000ec5c4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #19 pc 00000000000ce8a0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #20 pc 00000000000950d0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #21 pc 00000000000535c4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libVisionCamera.so (offset 0x102d000) (RNWorklet::JsiWorklet::call(std::__ndk1::shared_ptr<facebook::jsi::Function>, facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+336) (BuildId: 2f1e50ccc55dfbb3c65c886177cebd8280c9837a)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #22 pc 0000000000052a88  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libVisionCamera.so (offset 0x102d000) (RNWorklet::WorkletInvoker::call(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)+144) (BuildId: 2f1e50ccc55dfbb3c65c886177cebd8280c9837a)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #23 pc 00000000001595b0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #24 pc 00000000001594c0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.335 26276 26276 F DEBUG   :       #25 pc 000000000015945c  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #26 pc 000000000015941c  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #27 pc 00000000001581c4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #28 pc 000000000027db2c  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libreactnativejni.so (offset 0x3ebb000) (BuildId: bec7e5a2262e26ce)    
04-22 17:27:21.336 26276 26276 F DEBUG   :       #29 pc 000000000027d5f4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libreactnativejni.so (offset 0x3ebb000) (std::__ndk1::function<void (facebook::jsi::Runtime&)>::operator()(facebook::jsi::Runtime&) const+44) (BuildId: bec7e5a2262e26ce)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #30 pc 0000000000155ce4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #31 pc 0000000000155ca0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #32 pc 0000000000155c24  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #33 pc 0000000000155bd0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #34 pc 0000000000154a80  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #35 pc 0000000000142220  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #36 pc 0000000000142190  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (std::__ndk1::function<void (RNWorklet::JsiWorkletContext*, facebook::jsi::Runtime&)>::operator()(RNWorklet::JsiWorkletContext*, facebook::jsi::Runtime&) const+80) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #37 pc 0000000000142130  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #38 pc 00000000001420cc  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #39 pc 0000000000142080  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #40 pc 0000000000142058  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #41 pc 0000000000140f00  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #42 pc 0000000000019a90  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libfbjni.so (offset 0x22d4000) (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::JClass>, long), facebook::jni::JClass, void, long>::call(_JNIEnv*, _jobject*, long, void (*)(facebook::jni::alias_ref<facebook::jni::JClass>, long))+200) (BuildId: 957a087554a7dd659c148d0560674b789d2844d0)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #48 pc 00000000004a9d54  [anon:dalvik-classes.dex extracted in memory from /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk] (com.facebook.jni.ThreadScopeSupport.runStdFunction+0)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #57 pc 0000000000019ea4  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libfbjni.so (offset 0x22d4000) (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+116) (BuildId: 957a087554a7dd659c148d0560674b789d2844d0)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #58 pc 0000000000019590  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libfbjni.so (offset 0x22d4000) (facebook::jni::ThreadScope::WithClassLoader(std::__ndk1::function<void ()>&&)+184) (BuildId: 957a087554a7dd659c148d0560674b789d2844d0)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #59 pc 0000000000140520  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #60 pc 0000000000140474  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #61 pc 0000000000140428  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.336 26276 26276 F DEBUG   :       #62 pc 0000000000140400  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.337 26276 26276 F DEBUG   :       #63 pc 000000000013f1d0  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.337 26276 26276 F DEBUG   :       #64 pc 00000000001eae98  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libreactnativejni.so (offset 0x3ebb000) (BuildId: bec7e5a2262e26ce)    
04-22 17:27:21.337 26276 26276 F DEBUG   :       #65 pc 00000000001ead88  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libreactnativejni.so (offset 0x3ebb000) (std::__ndk1::function<void ()>::operator()() const+20) (BuildId: bec7e5a2262e26ce)
04-22 17:27:21.337 26276 26276 F DEBUG   :       #66 pc 000000000017eb44  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (RNWorklet::DispatchQueue::dispatch_thread_handler()+228) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.337 26276 26276 F DEBUG   :       #67 pc 0000000000180b08  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.337 26276 26276 F DEBUG   :       #68 pc 0000000000180a14  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.337 26276 26276 F DEBUG   :       #69 pc 000000000018033c  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!librnworklets.so (offset 0x472b000) (BuildId: e8e084e859755f2c7a4f1092abd6bf13129e3c51)
04-22 17:27:21.424  1355 26286 W ActivityTaskManager:   Force finishing activity com.ghostapp.ai/.MainActivity
04-22 17:27:21.424  1355 26289 W ActivityManager: crash : com.ghostapp.ai,10598
04-22 17:27:21.427  1355 26286 D ActivityTaskManager: scheduleTopResumedActivityChanged, onTop=false, r=ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236 f}}, caller=com.android.server.wm.ActivityTaskSupervisor.updateTopResumedActivityIfNeeded:2785 com.android.server.wm.TaskDisplayArea.positionChildTaskAt:565 com.android.server.wm.TaskDisplayArea.positionChildAt:481 com.android.server.wm.WindowContainer.positionChildAt:969 com.android.server.wm.Task.positionChildAt:3235 com.android.server.wm.Task.moveToFront:5904
04-22 17:27:21.430  1355 26286 V WindowManager: Changing focus from Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:568 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6751 com.android.server.wm.ActivityTaskManagerService.setLastResumedActivityUncheckLocked:6062 com.android.server.wm.ActivityRecord.moveFocusableActivityToTop:4071

04-22 17:27:21.432  1355 26286 V WindowManager: Collecting in transition 993: Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}, caller=com.android.server.wm.Transition.collectExistenceChange:886 com.android.server.wm.TransitionController.collectExistenceChange:908 com.android.server.wm.TransitionController.requestCloseTransitionIfNeeded:854 com.android.server.wm.ActivityRecord.finishIfPossible:4267 com.android.server.wm.ActivityRecord.finishIfPossible:4169
04-22 17:27:21.432  1355 26286 D WindowManager: prepareSync <SYNC_STATE_WAITING_FOR_DRAW>, mPrepareSyncSeqId=0, win=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}
04-22 17:27:21.434  1355 26286 V WindowManager: Collecting in transition 993: ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236 f}}, caller=com.android.server.wm.TransitionController.collect:866 com.android.server.wm.ActivityRecord.setVisibility:6243 com.android.server.wm.ActivityRecord.setVisibility:6190 com.android.server.wm.ActivityRecord.finishIfPossible:4328 com.android.server.wm.ActivityRecord.finishIfPossible:4169
04-22 17:27:21.434  1355 26286 D WindowManager: VisibleRequested updated, r=ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236 f}}
04-22 17:27:21.448  1355  1756 I ActivityManager: Showing crash dialog for package com.ghostapp.ai u0
04-22 17:27:21.451  1163  1163 I LayerHistory: SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 calculated refresh rate: 24.00 Hz
04-22 17:27:21.451  1163  1163 I LayerHistory: com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 Max (can't resolve refresh rate)
04-22 17:27:21.453  1355  3973 D InputDispatcher: Focus left window (0): c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity
04-22 17:27:21.460  1355 26286 W ActivityTaskManager:   Force finishing activity com.ghostapp.ai/.MainActivity
04-22 17:27:21.463  1355 26286 W InputManager-JNI: Input channel object 'Letterbox_left_ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236} (client)' was disposed without first being removed with the input manager!        
04-22 17:27:21.463  1355 26286 W InputManager-JNI: Input channel object 'Letterbox_top_ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236} (client)' was disposed without first being removed with the input manager!
04-22 17:27:21.463  1355 26286 W InputManager-JNI: Input channel object 'Letterbox_right_ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236} (client)' was disposed without first being removed with the input manager!
04-22 17:27:21.463  1355 26286 W InputManager-JNI: Input channel object 'Letterbox_bottom_ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236} (client)' was disposed without first being removed with the input manager!      
04-22 17:27:21.464  1355 26286 V WindowManager: Collecting in transition 993: ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236 f}}, caller=com.android.server.wm.TransitionController.collect:866 com.android.server.wm.ActivityRecord.onRemovedFromDisplay:5115 com.android.server.wm.DisplayContent.removeAppToken:1874 com.android.server.wm.ActivityRecord.removeFromHistory:4757 com.android.server.wm.ActivityRecord.destroyImmediately:4712
04-22 17:27:21.477  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007767fa9be0 | 0502 | RGBA_8888    |    0.0    0.0 1080.0 1440.0 |    0  450 1080 1890 | SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321   
04-22 17:27:21.477  1163  1163 D SurfaceFlinger:      DEVICE | 0xb400007759e1aea0 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:21.522  1355 26286 I ActivityManager: Killing 25935:com.ghostapp.ai/u0a598 (adj 0): crash
04-22 17:27:21.526  1355 26286 D ActivityManager: proc ProcessRecord{1f25dac 25935:com.ghostapp.ai/u0a598} already removed. so we skip next process.
04-22 17:27:21.562  1355  1759 V WindowManager: Start calculating TransitionInfo based on participants: {Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}, ActivityRecord{ad5ca02 u0 com.sec.android.app.launcher/.activities.LauncherActivity t6}, ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236 f} isExiting}, WallpaperWindowToken{cebf330 token=android.os.Binder@cfdace2}}
04-22 17:27:21.562  1355  1759 V WindowManager:   Final targets: [Task{3a1346f #1 type=home}, Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}, WallpaperWindowToken{cebf330 token=android.os.Binder@cfdace2}]
04-22 17:27:21.576  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007767fa9be0 | 0502 | RGBA_8888    |    0.0    0.0 1080.0 1440.0 |    0  450 1080 1890 | SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321   
04-22 17:27:21.576  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007759e1aea0 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:21.580  4982  4982 I SDHMS:BarTender:Gatherer:AppError: update AppError : uid=10598, pkg=com.ghostapp.ai, errorType=crash
04-22 17:27:21.593  4982  4982 I SDHMS:BarTender:Analyzer:AppError: analyze app error : uid=10598, pkg=com.ghostapp.ai, appErrorCount=6
04-22 17:27:21.604  1355  1759 V WindowManager: Calling onTransitionReady: {id=993 t=CLOSE f=0x10 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{3b32e9f Task{3a1346f #1 type=home}}} m=TO_FRONT f=SHOW_WALLPAPER|EDGE_EXTENSION_RESTRICTION leash=Surface(name=Task=1)/@0x74886b5 sb=Rect(0, 0 - 2408, 1080) eb=Rect(0, 0 - 2408, 1080) d=0 endFixedRotation=0 inset=Rect(0, 0 - 0, 0)},{WCT{RemoteToken{59414d2 Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}}} m=CLOSE f=EDGE_EXTENSION_RESTRICTION leash=Surface(name=Task=236)/@0x76d7934 sb=Rect(0, 0 - 2408, 1080) eb=Rect(0, 0 - 2408, 1080) d=0 inset=Rect(0, 0 - 0, 0)},{null m=TO_FRONT f=IS_WALLPAPER leash=Surface(name=Surface(name=WallpaperWindowToken{cebf330 token=android.os.Binder@cfdace2})/@0x84aa8f9 - rotation-leash)/@0xf662e48 sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 1080, 2408) d=0 inset=Rect(0, 0 - 0, 0)}]}
04-22 17:27:21.606  1355  1755 V WindowManager:     info={id=993 t=CLOSE f=0x10 trk=0 r=[0@Point(0, 0)] c=[{WCT{RemoteToken{3b32e9f Task{3a1346f #1 type=home}}} m=TO_FRONT f=SHOW_WALLPAPER|EDGE_EXTENSION_RESTRICTION leash=Surface(name=Task=1)/@0x74886b5 sb=Rect(0, 0 - 2408, 1080) eb=Rect(0, 0 - 2408, 1080) d=0 endFixedRotation=0 inset=Rect(0, 0 - 0, 0)},{WCT{RemoteToken{59414d2 Task{3d94db3 #236 type=standard A=10598:com.ghostapp.ai}}} m=CLOSE f=EDGE_EXTENSION_RESTRICTION leash=Surface(name=Task=236)/@0x76d7934 sb=Rect(0, 0 - 2408, 1080) eb=Rect(0, 0 - 2408, 1080) d=0 inset=Rect(0, 0 - 0, 0)},{null m=TO_FRONT f=IS_WALLPAPER leash=Surface(name=Surface(name=WallpaperWindowToken{cebf330 token=android.os.Binder@cfdace2})/@0x84aa8f9 - rotation-leash)/@0xf662e48 sb=Rect(0, 0 - 1080, 2408) eb=Rect(0, 0 - 1080, 2408) d=0 inset=Rect(0, 0 - 0, 0)}]}
04-22 17:27:21.625  2988  2988 I HoneySpace.AppListFastRecyclerViewAdapter: findCloseTarget : 431, ComponentInfo{com.ghostapp.ai/com.ghostapp.ai.MainActivity}
04-22 17:27:21.634  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007767fa9be0 | 0502 | RGBA_8888    |    0.0    0.0 1080.0 1440.0 |    0  450 1080 1890 | SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321   
04-22 17:27:21.634  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007759e1aea0 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:21.656  1163  1163 D SurfaceFlinger:      CLIENT |              | 0002 |  Unknown  |    0.0    0.0    0.0    0.0 |    0  450 1080 1890 | Background for SurfaceView[com.autof[...]com.ghostapp.ai.MainActivity]@0#13322
04-22 17:27:21.656  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007767fa9be0 | 0502 | RGBA_8888    |    0.0    0.0 1080.0 1440.0 |    0  450 1080 1890 | SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321   
04-22 17:27:21.656  1163  1163 D SurfaceFlinger:      CLIENT | 0xb400007759e1aea0 | 0100 | RGBA_8888    |    0.0    0.0 1080.0 2342.0 |    0   66 1080 2408 | com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:21.863  1163  2971 I SurfaceFlinger: id=13319 Removed Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (123)
04-22 17:27:21.863  1163  2971 I SurfaceFlinger: id=13320 Removed SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (123)
04-22 17:27:21.863  1163  2971 I SurfaceFlinger: id=13321 Removed SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (123)
04-22 17:27:21.863  1355  6341 V ActivityManager: Got obituary of 25935:com.ghostapp.ai
04-22 17:27:21.863  1163  1224 I SurfaceFlinger: id=13322 Removed Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (123)
04-22 17:27:21.867  1355  2335 I WindowManager: WIN DEATH: Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}
04-22 17:27:21.874  1355  2335 W InputManager-JNI: Input channel object 'c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity (client)' was disposed without first being removed with the input manager!
04-22 17:27:21.875  1355  2335 V WindowManager: Remove Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity}: mSurfaceController=Surface(name=com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935)/@0xbf51e8 mAnimatingExit=false mRemoveOnExit=false mHasSurface=true surfaceShowing=true animating=false app-animation=false mDisplayFrozen=false callers=com.android.server.wm.WindowState$DeathRecipient.binderDied:3596 android.os.IBinder$DeathRecipient.binderDied:325 android.os.BinderProxy.sendDeathNotice:781 <bottom of call stack> <bottom of call stack> <bottom of call stack>
04-22 17:27:21.900  1355  4545 V WindowManager: Setting visibility of Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity EXITING}: false, caller=com.android.server.wm.WindowContainer.sendAppVisibilityToClients:1281 com.android.server.wm.WindowToken.setClientVisible:447 com.android.server.wm.ActivityRecord.setClientVisible:8006 com.android.server.wm.ActivityRecord.postApplyAnimation:6593 com.android.server.wm.ActivityRecord.commitVisibility:6536    
04-22 17:27:21.901  1355  4545 W WindowManager: Exception thrown during dispatchAppVisibility Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity EXITING}
04-22 17:27:21.902  1163  1163 I Layer   : id=13293 removeFromCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13300 removeFromCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13301 removeFromCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13302 removeFromCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13319 removeFromCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13320 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13322 removeFromCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (122)
04-22 17:27:21.902  1163  1163 I Layer   : id=13321 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13293 addToCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13300 addToCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13301 addToCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13302 addToCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13319 addToCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13320 addToCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13322 addToCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (122)
04-22 17:27:21.903  1163  1163 I Layer   : id=13321 addToCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (122)
04-22 17:27:21.907  1355  4545 D WindowManager: prepareSync <SYNC_STATE_WAITING_FOR_DRAW>, mPrepareSyncSeqId=0, win=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity EXITING}
04-22 17:27:21.953  1355  4545 W WindowManager: Failed to deliver inset control state change to w=Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity EXITING}
04-22 17:27:22.001  1163  1163 I Layer   : Layer [ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293] hidden!! flag(1)
04-22 17:27:22.002  1163  1163 I Layer   : id=13293 removeFromCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13300 removeFromCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13301 removeFromCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13302 removeFromCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13319 removeFromCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13320 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13322 removeFromCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (122)
04-22 17:27:22.002  1163  1163 I Layer   : id=13321 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13293 removeFromCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13300 removeFromCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13301 removeFromCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13302 removeFromCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13319 removeFromCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13320 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13322 removeFromCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13321 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13293 addToCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13300 addToCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13301 addToCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13302 addToCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13319 addToCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13320 addToCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13322 addToCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (122)
04-22 17:27:22.003  1163  1163 I Layer   : id=13321 addToCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (122)
04-22 17:27:22.005  1355  1489 V WindowManager: Remove Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity EXITING}: mSurfaceController=Surface(name=com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935)/@0xbf51e8 mAnimatingExit=true mRemoveOnExit=true mHasSurface=true surfaceShowing=true animating=false app-animation=false mDisplayFrozen=false callers=com.android.server.wm.WindowToken.removeAllWindowsIfPossible:258 com.android.server.wm.ActivityRecord.removeIfPossible:5063 com.android.server.wm.ActivityRecord.handleCompleteDeferredRemoval:5070 com.android.server.wm.WindowContainer.handleCompleteDeferredRemoval:1456 com.android.server.wm.TaskFragment.handleCompleteDeferredRemoval:3361 com.android.server.wm.WindowContainer.handleCompleteDeferredRemoval:1456
04-22 17:27:22.007  1355  1489 D PowerManagerService: [api] release WakeLock SCREEN_BRIGHT_WAKE_LOCK        'WindowManager/displayId:0' ON_AFTER_RELEASE ACQ=-6s56ms (uid=1000 pid=1355 ws=WorkSource{10598 com.ghostapp.ai} displayId=0 lock=dc8457e)
04-22 17:27:22.007  1355  1489 D PowerManagerService: [api] applyWakeLockFlagsOnReleaseLocked : userActivityNoUpdateLocked is called : SCREEN_BRIGHT_WAKE_LOCK        'WindowManager/displayId:0' ON_AFTER_RELEASE DISABLED (uid=1000 pid=1355 ws=WorkSource{10598 com.ghostapp.ai} displayId=0 lock=dc8457e)
04-22 17:27:22.010  1355  1489 V WindowManager: Remove Window{c981dcd u0 com.ghostapp.ai/com.ghostapp.ai.MainActivity EXITING}: mSurfaceController=Surface(name=com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935)/@0xbf51e8 mAnimatingExit=true mRemoveOnExit=true mHasSurface=true surfaceShowing=false animating=false app-animation=false mDisplayFrozen=false callers=com.android.server.wm.WindowToken.removeAllWindowsIfPossible:258 com.android.server.wm.ActivityRecord.removeIfPossible:5063 com.android.server.wm.ActivityRecord.onRemovedFromDisplay:5145 com.android.server.wm.ActivityRecord.removeImmediately:5053 com.android.server.wm.ActivityRecord.removeIfPossible:5064 com.android.server.wm.ActivityRecord.handleCompleteDeferredRemoval:5070
04-22 17:27:22.010  1355  1489 I WindowManager: Destroying surface Surface(name=com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935)/@0xbf51e8 called by com.android.server.wm.WindowStateAnimator.destroySurface:789 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:472 com.android.server.wm.WindowState.removeImmediately:2904 com.android.server.wm.WindowState.removeIfPossible:3140 com.android.server.wm.WindowToken.removeAllWindowsIfPossible:258 com.android.server.wm.ActivityRecord.removeIfPossible:5063 com.android.server.wm.ActivityRecord.onRemovedFromDisplay:5145 com.android.server.wm.ActivityRecord.removeImmediately:5053
04-22 17:27:22.014  1163  2971 I SurfaceFlinger: id=13300 Removed a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (122)
04-22 17:27:22.023  1163  1163 I Layer   : Layer::reparent [c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301] newParentHandle : null -------------------------
04-22 17:27:22.023  1163  1163 I Layer   : id=13301 removeFromCurrentState c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13302 removeFromCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13319 removeFromCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13320 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13322 removeFromCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13321 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (123)
04-22 17:27:22.023  1163  1163 I Layer   : Layer::reparent [c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301] End -------------------------
04-22 17:27:22.023  1163  1163 I Layer   : Layer::reparent [ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293] newParentHandle : null -------------------------
04-22 17:27:22.023  1163  1163 I Layer   : id=13293 removeFromCurrentState ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13300 removeFromCurrentState a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300 (123)
04-22 17:27:22.023  1163  1163 I Layer   : Layer::reparent [ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293] End -------------------------
04-22 17:27:22.023  1163  1163 I Layer   : Layer [com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302] hidden!! flag(1)
04-22 17:27:22.023  1163  1163 I Layer   : Layer::reparent [com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302] newParentHandle : null -------------------------
04-22 17:27:22.023  1163  1163 I Layer   : id=13302 removeFromCurrentState com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13319 removeFromCurrentState Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13320 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13322 removeFromCurrentState Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322 (123)
04-22 17:27:22.023  1163  1163 I Layer   : id=13321 removeFromCurrentState SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321 (123)
04-22 17:27:22.024  1163  1163 I Layer   : Layer::reparent [com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302] End -------------------------
04-22 17:27:22.025  1163  1163 I SurfaceFlinger: id=13302 Removed com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302 (123)
04-22 17:27:22.025  1163  1163 I SurfaceFlinger: id=13293 Removed ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293 (123)
04-22 17:27:22.025  1163  1163 I SurfaceFlinger: id=13301 Removed c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301 (123)
04-22 17:27:22.035  1163  1163 I Layer   : id=13301 Destroyed c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity#13301
04-22 17:27:22.035  1163  1163 I Layer   : id=13302 Destroyed com.ghostapp.ai/com.ghostapp.ai.MainActivity$_25935#13302
04-22 17:27:22.035  1163  1163 I Layer   : id=13319 Destroyed Bounds for - com.ghostapp.ai/com.ghostapp.ai.MainActivity@0#13319
04-22 17:27:22.035  1163  1163 I Layer   : id=13320 Destroyed SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13320
04-22 17:27:22.035  1163  1163 I Layer   : id=13322 Destroyed Background for SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0#13322
04-22 17:27:22.035  1163  1163 I Layer   : id=13321 Destroyed SurfaceView[com.ghostapp.ai/com.ghostapp.ai.MainActivity]@0(BLAST)#13321
04-22 17:27:22.036  1163  1163 I Layer   : id=13293 Destroyed ActivityRecord{be19f22 u0 com.ghostapp.ai/.MainActivity t236}#13293
04-22 17:27:22.036  1163  1163 I Layer   : id=13300 Destroyed a684704 ActivityRecordInputSink com.ghostapp.ai/.MainActivity#13300
04-22 17:27:22.078  1365 26245 I CameraService: finishCameraStreamingOps: finish camera streaming ops, package name = com.ghostapp.ai, client UID = 10598
04-22 17:27:22.079  1365 26245 I CameraServiceProxyWrapper: updateProxyDeviceState: notifyCameraState for Camera ID 0, newState 2, facing 0, clientName com.ghostapp.ai, apiLevel 2
04-22 17:27:22.079  1355  1489 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.079  2966 23074 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.079  2425 20067 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.080  4982  6245 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.080  1355  5164 I CameraService_proxy: wmi.removeRefreshRateRangeForPackage clientName = com.ghostapp.ai
04-22 17:27:22.112 26297 26297 I Dc.IafdService: handleAppError, pkgName : com.ghostapp.ai, userId : 0, errorType : 24, repeat : true component : com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)errorStack:       #00 pc 0000000000161528  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:22.112 26297 26297 I Dc.IafdService:       #01 pc 00000000000ce5a8  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk!libhermes.so (offset 0x26b6000) (BuildId: 1f3ec64acbdffaa8b68cc42227450c94cbbc6586)
04-22 17:27:22.112 26297 26297 I Dc.IafdService:       #02 pc 00000000000cc830  /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/ba
04-22 17:27:22.281  1163  2971 I SurfaceFlinger: id=13307 Removed Surface(name=c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity)/@0x37e901 - animation-leash of starting_reveal#13307 (116)
04-22 17:27:22.290  2425  2472 W ndroid.systemui: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk' with 1 weak references
04-22 17:27:22.290  1163  1163 I Layer   : id=13307 Destroyed Surface(name=c981dcd com.ghostapp.ai/com.ghostapp.ai.MainActivity)/@0x37e901 - animation-leash of starting_reveal#13307
04-22 17:27:22.438  1365  2734 I CameraServiceProxyWrapper: updateProxyDeviceState: notifyCameraState for Camera ID 0, newState 3, facing 0, clientName com.ghostapp.ai, apiLevel 2
04-22 17:27:22.439  1365  2734 I CameraService: finishCameraOps: Finish camera ops, package name = com.ghostapp.ai, client UID = 10598
04-22 17:27:22.440  1355  4545 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.440  4982  6245 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.441  2966 23074 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.442  2425  2480 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.ghostapp.ai API Level 2 User Id 0
04-22 17:27:22.449  1365 19167 I Camera2ClientBase: ~Camera2ClientBase: Client object's dtor for Camera Id 0 completed. Client was: com.ghostapp.ai (PID 25935, UID 10598)
04-22 17:27:23.558  1355  1471 W system_server: ApkAssets: Deleting an ApkAssets object '<empty> and /data/app/~~qeGxjtVPADp15I_KSjeY_g==/com.ghostapp.ai-dXyARMieDs9ah7-Ci0_F_Q==/base.apk' with 1 weak references```

@TheGhostFish
Copy link

I think I found the issue.

The current behavior is:
The resize plugin returns its data as a SharedArray.
The SharedArray runtime is retrieved from the "VisionCamera" worklet context, where the frame processor runs on.
Hence, it can only be used in frame processor function directly, or in runAtTargetFps function as it uses the same context.

I did a dirty workaround that fixed the issue on my side, by removing the "VisionCamera.async" context, and making both SharedArray and runAsync use the default worklet context.
A clean solution would be to automatically detect the runtime on SharedArray creation.

diff --git a/node_modules/react-native-vision-camera/android/src/main/cpp/frameprocessors/java-bindings/JSharedArray.cpp b/node_modules/react-native-vision-camera/android/src/main/cpp/frameprocessors/java-bindings/JSharedArray.cpp
index 46f94f8..bdef5b7 100644
--- a/node_modules/react-native-vision-camera/android/src/main/cpp/frameprocessors/java-bindings/JSharedArray.cpp
+++ b/node_modules/react-native-vision-camera/android/src/main/cpp/frameprocessors/java-bindings/JSharedArray.cpp
@@ -30,7 +30,7 @@ JSharedArray::JSharedArray(const jni::alias_ref<jhybridobject>& javaThis, const
   _javaPart = jni::make_global(javaThis);
 
 #if VISION_CAMERA_ENABLE_FRAME_PROCESSORS
-  jsi::Runtime& runtime = proxy->cthis()->getWorkletRuntime();
+  jsi::Runtime& runtime = RNWorklet::JsiWorkletContext::getDefaultInstance()->getWorkletRuntime();
 #else
   jsi::Runtime& runtime = *proxy->cthis()->getJSRuntime();
 #endif
diff --git a/node_modules/react-native-vision-camera/src/FrameProcessorPlugins.ts b/node_modules/react-native-vision-camera/src/FrameProcessorPlugins.ts
index c8bd29d..e44be10 100644
--- a/node_modules/react-native-vision-camera/src/FrameProcessorPlugins.ts
+++ b/node_modules/react-native-vision-camera/src/FrameProcessorPlugins.ts
@@ -110,8 +110,7 @@ try {
   }
 
   isAsyncContextBusy = Worklets.createSharedValue(false)
-  const asyncContext = Worklets.createContext('VisionCamera.async')
-  runOnAsyncContext = asyncContext.createRunAsync((frame: Frame, func: () => void) => {
+  runOnAsyncContext = Worklets.defaultContext.createRunAsync((frame: Frame, func: () => void) => {
     'worklet'
     try {
       // Call long-running function

@mrousavy Please let me know if I'm missing something. Thanks.

@mrousavy
Copy link
Owner

Hey @TheGhostFish - unfortunately this isn't as simple as it sounds. Moving SharedArrays between contexts is really dangerous as the data is just not thread safe. So the real solution is to implement SharedArray proxying/copying.

Your patch might work as a temporary solution though - where it previously was bound to FP runtime only, you can not use it in Worklets default context only.

@willadamskeane
Copy link

@mrousavy Any other ideas to workaround here? I'm running into the same issue, trying to use the resize plugin inside runAsync. The plugin runs fine but trying to access the returned value crashes the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃挱 question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants