问:
My firebase has documents but when accessed in flutter returns null, One object returns a map other returns null
```<code>Future<void> friend() async {
  final myFbD = FirebaseFirestore.instance
      .collection('users')
     .snapshots();
  myFbD.forEach((element) {element.docs.forEach((element1) {print(element1["Username"]); });});
      }
Future<void> decline(String friend) async {
  var id;
  final myFbD = FirebaseFirestore.instance
      .collection('socials')
      .doc(uid)
      .collection('requests')
      .snapshots();}
</code>```

inside decline function i can get the 'socials' data, but inside friend i cannot.

i wanted to get the data from the but cant fetch in one object but can in other

Body:
Future<void> friend() async {
  final myFbD = FirebaseFirestore.instance
      .collection('users')
     .snapshots();
  myFbD.forEach((element) {element.docs.forEach((element1) {print(element1["Username"]); });});
      }
Future<void> decline(String friend) async {
  var id;
  final myFbD = FirebaseFirestore.instance
      .collection('socials')
      .doc(uid)
      .collection('requests')
      .snapshots();}

inside decline function i can get the 'socials' data, but inside friend i cannot.

i wanted to get the data from the but cant fetch in one object but can in other


来源: stackexchange

问:
optimize space consumption of naïve memorization of recursive function
So I'm trying to solve a flavor of problem already mentioned in this stack overflow question as a part of practical in my university.

The issue I'm facing is that naïve memoization of recursion algorithm wont cut it for me, since there would be up to 1000000 tiles each possibly ranging from 0 to 1000000000 in it's dimensions. The lookup table for that needs to contain 1000000000000000 integers without making assumptions about the input, which is roughly 3.5 thousand terabytes unless I messed up my calculations.

And even if my calculations are off, the space demand would be much larger then amount in memory pages available immediately. However, according to my lecturer the task can and should be solved with memoization.

I consider keeping track of number of unique sizes when reading the input, however this approach means I wont be able to map size to a offset in array as easily. This is further complicated considering I'm attempting to write my implementation in C and only allowed to include standard library headers. Moreover, the amount of memory for the lookup table is so ginormous I'm not sure how relevant this would be for an average case.

I'm not sure if there exist some common patterns for this, or general dynamic programing problem which minimize amount of space used by memoization.

Hence, I'm here asking for advice.

ContentLicense: CC BY-SA 4.0


问:
How to avoid TS2590: Expression produces a union type that is too complex to represent
I've dumbed down the api errors from my application to this playground. It throws Expression produces a union type that is too complex to represent..

How do I avoid it? (smaller api is not an option)

How do I make TS ignore it / increase the cap?

(optionally) Why does it happen? I've noticed in this issue they mention that the cap of union types is 100000, and the playground code has 5 error types, 10 errors in first type, but I'm really not sure about the details.

Some things that didn't help:

$Values vs ValuesType

different typescript 4.x version (I can't go to 3.4)

type aliases

unique error codes

(Edit) $Values<typeof ErrType1 & typeof ErrType2> instead of $Values<typeof ErrType1> | $Values<typeof ErrType2>

Edit: as per request, directly posted code:

```<code>import type { $Values } from 'utility-types';

const MESSAGES = {
  msg1: 'msg1',
  msg2: 'msg2',
  msg3: 'msg3',
  msg4: 'msg4',
  msg5: 'msg5',
} as const;

const ErrType1 = {
  Err_1_1: {
    code: 1,
  },
  Err_1_2: {
    code: 2,
  },
  Err_1_3: {
    code: 3,
  },
  Err_1_4: {
    code: 4,
  },
  Err_1_5: {
    code: 5,
  },
  Err_1_6: {
    code: 6,
  },
  Err_1_7: {
    code: 7,
  },
  Err_1_8: {
    code: 8,
  },
  Err_1_9: {
    code: 9,
  },
  Err_1_10: {
    code: 10,
  },
} as const;

const ErrType2 = {
  Err_2_1: {
    code: 1,
  },
} as const;

const ErrType3 = {
  Err_3_1: {
    code: 1,
  },
} as const;

const ErrType4 = {
  Err_4_1: {
    code: 1,
  },
} as const;

const ErrType5 = {
  Err_5_1: {
    code: 1,
  },
} as const;

type ApiErrors = {
  [MESSAGES.msg1]: $Values<typeof ErrType1>;
  [MESSAGES.msg2]: $Values<typeof ErrType1> | $Values<typeof ErrType2>;
  [MESSAGES.msg3]: $Values<typeof ErrType1> | $Values<typeof ErrType3>;
  [MESSAGES.msg4]: $Values<typeof ErrType1> | $Values<typeof ErrType4>;
  [MESSAGES.msg5]: $Values<typeof ErrType1> | $Values<typeof ErrType5>;
};

type Response<Message extends $Values<typeof MESSAGES>> = {
  error: ApiErrors[Message];
};

// eslint-disable-next-line @typescript-eslint/no-unused-vars
function test<Message extends $Values<typeof MESSAGES>>(): Response<Message> {
  return {
    error: ErrType1.Err_1_1,
  };
}
</code>```

Body:
I've dumbed down the api errors from my application to <a href="https://www.typescriptlang.org/play?&fbclid=IwAR25vnMMFjnVQKTZYusd9P9dQmySEGcUIHl7jotErBHAaEbJCWDIrYhae-4#code/JYWwDg9gTgLgBDAnmApnA3nAJANQIYA2ArigM5wC+cAZlBCHAOREzAHBIC0SqpjA3AChBAYwgA7UvACyAUQDK8gIIBxBXAC8GQXDghSAcwCMALib7jjADQ69hgExnGF+9dsWAzE89vdFgCzehv6+dgYArEERblR45GKSMEKiElJwslBQACrIKEaa2roZUAD6RmVm6La6YgAmKGZGNroUzemZZSWOhbpwdQ1w9m2ttsWdXj01EPVmHsNtY+WBk33TA-7zox3lkSv9ZuGbRdslAGyV1aszcKdH7aXlAOwXvVcDj3eLJQAcL737cG+nxOAE4-lNriDgQ8ygAGcFvRqwzaxeKpJLCBJpYo5VD2ApVY6lewVPZrRoouBxVaJZJY+A43IeAlbUoeUmE-7kuBNWwjVE0qR09H3XEofwsoklfwcy4A3ktGwC+nCxKi3LhSX3ErhWWveWU6kq4Q8NBKMDAYrQchaTkAbTkilUCgAdBYjABdMy4QgkUgAHlNEGo6tQRgAfEJdA6FMo1PI3Q4vdh8MQyIHcsHQ3lw3AAD4p33poMhxl4yO2GNO+OJgweZM+tMBkvZiP5wtNjOoLNllAeCvRx1x10BBupv1dlA9zJitsFxsTlu9-wDuBV4cJizhMdF5uZ0sz3JzjuL-fZ8IVijJU1wABKZEgkhQ-ukZFIeAMaBQAA8YChxLU5ALsWZ5Ds68jhrmtq2CgmTQGY5qWnBUCkA6b4figHpCFewgAPS4XAZDsOIMCcLUwDvgARgQKCcOIP6kcRaAAAKmqQIhQMAYCkURwAkbh4gQJwRDiEQpAoLUnAAG54ChgjUCJIisBICBkDAL7oZ+hG-v+gEniB3YhmB8aQQAFAAlGY96kI+4kaaQ76frmnJQCgMBEFA4grLBdBQGYvZGC6XwKpQ2GCEAA" rel="nofollow noreferrer">this playground. It throws Expression produces a union type that is too complex to represent..

How do I avoid it? (smaller api is not an option)

How do I make TS ignore it / increase the cap?

(optionally) Why does it happen? I've noticed in this issue they mention that the cap of union types is 100000, and the playground code has 5 error types, 10 errors in first type, but I'm really not sure about the details.

Some things that didn't help:

$Values vs ValuesType

different typescript 4.x version (I can't go to 3.4)

type aliases

unique error codes

(Edit) $Values<typeof ErrType1 & typeof ErrType2> instead of $Values<typeof ErrType1> | $Values<typeof ErrType2>

Edit: as per request, directly posted code:

import type { $Values } from 'utility-types';

const MESSAGES = {
  msg1: 'msg1',
  msg2: 'msg2',
  msg3: 'msg3',
  msg4: 'msg4',
  msg5: 'msg5',
} as const;

const ErrType1 = {
  Err_1_1: {
    code: 1,
  },
  Err_1_2: {
    code: 2,
  },
  Err_1_3: {
    code: 3,
  },
  Err_1_4: {
    code: 4,
  },
  Err_1_5: {
    code: 5,
  },
  Err_1_6: {
    code: 6,
  },
  Err_1_7: {
    code: 7,
  },
  Err_1_8: {
    code: 8,
  },
  Err_1_9: {
    code: 9,
  },
  Err_1_10: {
    code: 10,
  },
} as const;

const ErrType2 = {
  Err_2_1: {
    code: 1,
  },
} as const;

const ErrType3 = {
  Err_3_1: {
    code: 1,
  },
} as const;

const ErrType4 = {
  Err_4_1: {
    code: 1,
  },
} as const;

const ErrType5 = {
  Err_5_1: {
    code: 1,
  },
} as const;

type ApiErrors = {
  [MESSAGES.msg1]: $Values<typeof ErrType1>;
  [MESSAGES.msg2]: $Values<typeof ErrType1> | $Values<typeof ErrType2>;
  [MESSAGES.msg3]: $Values<typeof ErrType1> | $Values<typeof ErrType3>;
  [MESSAGES.msg4]: $Values<typeof ErrType1> | $Values<typeof ErrType4>;
  [MESSAGES.msg5]: $Values<typeof ErrType1> | $Values<typeof ErrType5>;
};

type Response<Message extends $Values<typeof MESSAGES>> = {
  error: ApiErrors[Message];
};

// eslint-disable-next-line @typescript-eslint/no-unused-vars
function test<Message extends $Values<typeof MESSAGES>>(): Response<Message> {
  return {
    error: ErrType1.Err_1_1,
  };
}


问:
How to tune mlp model
I'm trying to build mlp model to work on data I extracted data from videos like AUs, then extract statistical vector from csv files(convert videos into timestamp stat of face Action units)
training tensor (6000, 155) 6000 videos and 155 col represent the videos

```<code>xtrain(xd_train_norm_tensor) = (6000,155)
ytrain(yd_train_tensor) = (6000,5)
x_val(vd_train_norm_tensor) = (2000,155)
y_val(vd_test_tensor) = (2000,5)
x_test(xd_test_norm_tensor) = (2000,155)
y_test(yd_test_tensor) = (2000,5)
a
</code>```

ll x values goes under standard scaler normalization meanwhile y values are from 0 to 1 (so no need to normalize them)
my output should be a personality representation of 5 classes so my output layer should be 5 units.

note I used MultiOutputRegressor and its acc by mse was 0.016580722428676645 but I feel that approach can't be applied to my situation

```<code>r_output = MultiOutputRegressor(GradientBoostingRegressor(random_state=42)).fit(a_norm, b).predict(e_norm)
r_output
</code>```

my code

```<code>model = kmodels.Sequential()
model.add(Dense(256,input_dim =155,activation ='relu'))
model.add(Dense(128,activation ='relu'))
odel.add(Dense(64,activation ='relu'))
odel.add(Dense(32,activation ='relu'))
odel.add(Dense(5,activation ='relu'))
lr_schedule = ExponentialDecay(initial_learning_rate=0.00005, decay_steps=1000, decay_rate=0.0001)
optimizer = Adam(learning_rate=lr_schedule)
loss = Huber(delta=0.5, reduction="auto", name="huber_loss")
model.compile(loss = loss, optimizer =optimizer,metrics = 'accuracy')
callback = tf.keras.callbacks.EarlyStopping(monitor='loss', patience=4)
</code>```
```<code>model.fit(xd_train_norm_tensor,yd_train_tensor,epochs=500,batch_size=32,validation_data=(vd_train_norm_tensor,vd_test_tensor),callbacks=[callback])

</code>```

Epoch 13/500 188/188 [==============================] - 2s 9ms/step - loss: 0.0355 - accuracy: 0.2618 - val_loss: 0.0355 - val_accuracy: 0.2350

```<code>print("Evaluate on test data")
results = model.evaluate(xd_test_norm_tensor, yd_test_tensor, batch_size=64)
print("test loss, test acc:", results)
</code>```

Evaluate on test data 32/32 [==============================] - 0s 5ms/step - loss: 0.0354 - accuracy: 0.2645 test loss, test acc: [0.03537755459547043, 0.2644999921321869]

best score I got was around 96% but with a lot of overfitting so not good. the code above when trying to solve overfitting but can't solve low accuracy
img below is the loss error for the above code

enter image description here

I know there something wrong but can't figure it out

I try to implement approach in this paper(https://ieeexplore.ieee.org/document/9832040). used diff models and can't reach the right approach to finalize my project

Title: How to tune mlp model

Body:
I'm trying to build mlp model to work on data I extracted data from videos like AUs, then extract statistical vector from csv files(convert videos into timestamp stat of face Action units)
training tensor (6000, 155) 6000 videos and 155 col represent the videos

xtrain(xd_train_norm_tensor) = (6000,155)
ytrain(yd_train_tensor) = (6000,5)
x_val(vd_train_norm_tensor) = (2000,155)
y_val(vd_test_tensor) = (2000,5)
x_test(xd_test_norm_tensor) = (2000,155)
y_test(yd_test_tensor) = (2000,5)
a

ll x values goes under standard scaler normalization meanwhile y values are from 0 to 1 (so no need to normalize them)
my output should be a personality representation of 5 classes so my output layer should be 5 units.

note I used MultiOutputRegressor and its acc by mse was 0.016580722428676645 but I feel that approach can't be applied to my situation

r_output = MultiOutputRegressor(GradientBoostingRegressor(random_state=42)).fit(a_norm, b).predict(e_norm)
r_output

my code

model = kmodels.Sequential()
model.add(Dense(256,input_dim =155,activation ='relu'))
model.add(Dense(128,activation ='relu'))
odel.add(Dense(64,activation ='relu'))
odel.add(Dense(32,activation ='relu'))
odel.add(Dense(5,activation ='relu'))
lr_schedule = ExponentialDecay(initial_learning_rate=0.00005, decay_steps=1000, decay_rate=0.0001)
optimizer = Adam(learning_rate=lr_schedule)
loss = Huber(delta=0.5, reduction="auto", name="huber_loss")
model.compile(loss = loss, optimizer =optimizer,metrics = 'accuracy')
callback = tf.keras.callbacks.EarlyStopping(monitor='loss', patience=4)

model.fit(xd_train_norm_tensor,yd_train_tensor,epochs=500,batch_size=32,validation_data=(vd_train_norm_tensor,vd_test_tensor),callbacks=[callback])

Epoch 13/500 188/188 [==============================] - 2s 9ms/step - loss: 0.0355 - accuracy: 0.2618 - val_loss: 0.0355 - val_accuracy: 0.2350

print("Evaluate on test data")
results = model.evaluate(xd_test_norm_tensor, yd_test_tensor, batch_size=64)
print("test loss, test acc:", results)

Evaluate on test data 32/32 [==============================] - 0s 5ms/step - loss: 0.0354 - accuracy: 0.2645 test loss, test acc: [0.03537755459547043, 0.2644999921321869]

best score I got was around 96% but with a lot of overfitting so not good. the code above when trying to solve overfitting but can't solve low accuracy
img below is the loss error for the above code

enter image description here

I know there something wrong but can't figure it out

I try to implement approach in this paper(https://ieeexplore.ieee.org/document/9832040). used diff models and can't reach the right approach to finalize my project


问:
How can I pass a powershell command in Ansible with parameters
I'm having trouble installing this particular agent in win servers through Ansible.

- name: "Installing agent {{agent}} and webservices"
  register: executed_script
  win_shell: Invoke-Command -ScriptBlock {& cmd /c C:\SW\{{agent}}\QualysCloudAgent4.6.1.6\QualysCloudAgent_4.6.1.6.exe CustomerId='{{customer_id}}' ActivationId='{{activation_id}}' WebServiceUri="http://qagpublic.qg2.apps.qualys.eu/CloudAgent/"}
```
<p>This is the same command I use in a powershell script which works:</p>
```Invoke-Command -ScriptBlock {& cmd /c .\QualysCloudAgent_4.6.1.6.exe CustomerId=$CId ActivationId=$AId WebServiceUri="http://qagpublic.qg2.apps.qualys.eu/CloudAgent/"}
```
<p>I've tried changing the places of the apostrophes, adding them, taking them away, hardcoding the <code>customer_id</code> and <code>activation_id</code>.</p>
<p>This is the command sent to us by the company to install it directly:</p>
```%BINARY_LOCATION%\QualysCloudAgent.exe CustomerId={xxxxxxxxxxxxx} ActivationId={xxxxxxxxxxxx} WebServiceUri= https://qagpublic.qg2.apps.qualys.eu/CloudAgent/
```

Does anybody know how to sort this out?

I already tried changing the syntax in several different ways, I've tried different ways to run it in ansible, also tried with msiexec in the powershell script bit. The part I don't get is why does it work on the ps1 script and it won't work on ansible with the same script.
I have a few other agents that work properly with the same syntax.

Body:
I'm having trouble installing this particular agent in win servers through Ansible.

- name: "Installing agent {{agent}} and webservices"
  register: executed_script
  win_shell: Invoke-Command -ScriptBlock {& cmd /c C:\SW\{{agent}}\QualysCloudAgent4.6.1.6\QualysCloudAgent_4.6.1.6.exe CustomerId='{{customer_id}}' ActivationId='{{activation_id}}' WebServiceUri="http://qagpublic.qg2.apps.qualys.eu/CloudAgent/"}

This is the same command I use in a powershell script which works:

Invoke-Command -ScriptBlock {& cmd /c .\QualysCloudAgent_4.6.1.6.exe CustomerId=$CId ActivationId=$AId WebServiceUri="http://qagpublic.qg2.apps.qualys.eu/CloudAgent/"}

I've tried changing the places of the apostrophes, adding them, taking them away, hardcoding the customer_id and activation_id.

This is the command sent to us by the company to install it directly:

%BINARY_LOCATION%\QualysCloudAgent.exe CustomerId={xxxxxxxxxxxxx} ActivationId={xxxxxxxxxxxx} WebServiceUri= https://qagpublic.qg2.apps.qualys.eu/CloudAgent/

Does anybody know how to sort this out?

I already tried changing the syntax in several different ways, I've tried different ways to run it in ansible, also tried with msiexec in the powershell script bit. The part I don't get is why does it work on the ps1 script and it won't work on ansible with the same script.
I have a few other agents that work properly with the same syntax.


问:
JSX element type 'Header' does not have any construct or call signatures
I am using Semantic UI React in a typescript file to create a custom component. It hasn't thrown an error for the past 1 year, but I am suddenly seeing an error now. I have wrapped everything inside a Fragment. Would love some help to fix this. This is the code:

import React from "react";
import { Header } from "semantic-ui-react";

export type Props = {
  prop1?: string;
  prop2?: string;
  prop3?: string;
  prop4?: string;
};

export default function ContentHeader({
  prop1,
  prop2,
  prop3,
  prop4,
}: Props) {
  return (
    <>
      {prop1}
      {prop2}
      {prop3}
      {prop4}
    </>
  );
}```
</div>
</div>
</p>
<p>This is the error</p>
```TypeScript error in ContentHeader.tsx(23,8):JSX element type 'Header' does not have any construct or call signatures.  TS2604
```

P.S. I am opening this as a question again because a related question didn't seem to be resolved: TS2604: JSX element type 'Header' does not have any construct or call signature

Body:
I am using Semantic UI React in a typescript file to create a custom component. It hasn't thrown an error for the past 1 year, but I am suddenly seeing an error now. I have wrapped everything inside a Fragment. Would love some help to fix this. This is the code:

import React from "react";
import { Header } from "semantic-ui-react";

export type Props = {
  prop1?: string;
  prop2?: string;
  prop3?: string;
  prop4?: string;
};

export default function ContentHeader({
  prop1,
  prop2,
  prop3,
  prop4,
}: Props) {
  return (
    <>
      {prop1}
      {prop2}
      {prop3}
      {prop4}
    </>
  );
}

This is the error

TypeScript error in ContentHeader.tsx(23,8):JSX element type 'Header' does not have any construct or call signatures.  TS2604

P.S. I am opening this as a question again because a related question didn't seem to be resolved: TS2604: JSX element type 'Header' does not have any construct or call signature


问:
Show a loading page on the sharepoint site while the webpart is being mounted || spfx webpart
I am working with sharepoint framework on 1.11 version and react to make a webpart.

I need to make a preloading interface whilst the webpart loads the components. The problem is that the webpart needs to use the whole screen (width and height), but to do that, it is being fixed at the top of the sharepoint site using css, but whilst the site recognizes the code and deploy the webpart, the content site shows for a few miliseconds, and that's what I need to hide.

I hope you can help me with this.

Thanks.

I have tried sharepoint Application customizer extensions and global css, but they load almost at the same time than the webpart.

I expect to hide the site content of sharepoint and show a loading page whilst the webpart is being mounted.


问:
Play Integrity expect behavior for Futter App and how deactivate the API
Recently, Google has deprecated the reCAPTCHA system. I have read the documentation, but it does not mention how the system is validated from the users perspective. One of the most annoying things that could happen with the old reCAPTCHA API is showing images for the user to validate. This is particularly frustrating on mobile phones because it disrupts the flow of using the app.

I have two questions:

Can Play Integrity validate the user session with image-click section like reCAPTCHA does?

Can the IntegratyApi/SafetyNetApi be deactivated for Flutter applications on the Play Store? I have attempted to deactivate these APIs, but some users are receiving an error message stating that the application is not validated when they try to log in using Firebase Auth. This happens approximately 50% of the time.


问:
Positioning NextJS remote image with relative div parent
I am currently trying to make a Card component in NextJS that contains a NextJS image with margins and some text below it. I was able to get the card's outer shape to look as I wanted, but I am having trouble positioning the image inside of the card.

The image would stretch out and I couldn't find out how to maintain the aspect ratio of the image. I couldn't use the objectFit prop as it is deprecated. Setting the image position to absolute also didn't work, nor did setting the parent div to fixed, it just sets the width of the image to 0.

The mt-4 class of the image's parent div also doesn't extend the outer div. The margin of the inner div just overlaps the outer div, which isn't my goal. I could fix this by setting the inner div to be absolute but that would result the image dissapearing.

Here's my current code:

```<code>import { ImageCard } from "../types/imageTypes"
import Image from "next/image"

export default function ArtCard({ imgCard }: {imgCard: ImageCard}) {

    return (
    <div className="shadow-lg shadow-zinc-500 rounded-2xl border-stone-700 w-80 h-[32rem]">
        <div className="mt-4 mb-2 mx-1 absolute h-3/4">
            <Image src={imgCard.link} alt={imgCard.meta.join(' ')} fill />
        </div>
    </div>
    )
}
</code>```

Body:
I am currently trying to make a Card component in NextJS that contains a NextJS image with margins and some text below it. I was able to get the card's outer shape to look as I wanted, but I am having trouble positioning the image inside of the card.

The image would stretch out and I couldn't find out how to maintain the aspect ratio of the image. I couldn't use the objectFit prop as it is deprecated. Setting the image position to absolute also didn't work, nor did setting the parent div to fixed, it just sets the width of the image to 0.

The mt-4 class of the image's parent div also doesn't extend the outer div. The margin of the inner div just overlaps the outer div, which isn't my goal. I could fix this by setting the inner div to be absolute but that would result the image dissapearing.

Here's my current code:

import { ImageCard } from "../types/imageTypes"
import Image from "next/image"

export default function ArtCard({ imgCard }: {imgCard: ImageCard}) {

    return (

            <Image src={imgCard.link} alt={imgCard.meta.join(' ')} fill />

    )
}


问:
Unity 2021.3.10f1 iOS build crashes when startup EXC_CRASH (SIGABRT)
I built the game in Unity 2021.3.10f1 iOS to Xcode.

Then in MacOS Ventura opened the build folder in the terminal.

Terminated:

pod install

arch -x86_64 pod install

chmod +x process_symbols.sh

Then opened the file Unity-iPhone.xcworkspace in Xcode 14.2 (14C18).

In PROJECT->Unity-iPhone->Build Settings->Build Options->Enable
Bitcode set to No

In TARGET->Unity-iPhone->Build Settings->Build Options->Always Embed
Swift Standard Libraries set to Yes

In TARGET->Unity-UnityFramework->Build Settings->Build
Options->Always Embed Swift Standard Libraries set to No

Then archive the project with Product-> Archive and test it with iOS TestFlight.

Got a Crash on startup, in crashlog.crash was a description of the crash, but don't get it how to solve it.

```Incident Identifier: CE6A928D-38E3-4E2C-83E5-A27D9BCE8079
Hardware Model:      iPhone11,8
Process:             Surviwar.io [17655]
Path:                /private/var/containers/Bundle/Application/EF0A9681-11F1-4BC0-852C-3060DFB00EDA/Surviwar.io.app/Surviwar.io
Identifier:          com.WindCompany.Surviwar.io
Version:             0.9.8 (0)
AppStoreTools:       14C17
AppVariant:          1:iPhone11,8:16
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.WindCompany.Surviwar.io [1345]

Date/Time:           2022-12-18 22:35:04.6693 +0400
Launch Time:         2022-12-18 22:35:03.5417 +0400
OS Version:          iPhone OS 16.1.1 (20B101)
Release Type:        User
Baseband Version:    5.01.01
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  5

Last Exception Backtrace:
0   CoreFoundation                  0x1ce6fde88 __exceptionPreprocess + 164 (NSException.m:202)
1   libobjc.A.dylib                 0x1c7a378d8 objc_exception_throw + 60 (objc-exception.mm:356)
2   CoreFoundation                  0x1ce86a794 -[NSException raise] + 16 (NSException.m:113)
3   UnityFramework                  0x107cddae8 GADApplicationVerifyPublisherInitializedCorrectly + 348
4   UnityFramework                  0x107cddca4 GADApplicationVerifyPublisherInitializedCorrectly + 792
5   libdispatch.dylib               0x1d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
6   libdispatch.dylib               0x1d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
7   libdispatch.dylib               0x1d5cd10c8 _dispatch_queue_override_invoke + 788 (inline_internal.h:2632)
8   libdispatch.dylib               0x1d5cdfa6c _dispatch_root_queue_drain + 396 (inline_internal.h:0)
9   libdispatch.dylib               0x1d5ce0284 _dispatch_worker_thread2 + 164 (queue.c:7052)
10  libsystem_pthread.dylib         0x21b753dbc _pthread_wqthread + 228 (pthread.c:2631)
11  libsystem_pthread.dylib         0x21b753b98 start_wqthread + 8 (:-1)

Thread 0 name:
Thread 0:
0   dyld                            0x00000001ecdc8578 objc::ObjectHashTable::forEachObject(char const*, void (unsigned long long, unsigned short, bool&) block_pointer) const + 76 (OptimizerObjC.h:295)
1   dyld                            0x00000001ecdc8554 objc::ObjectHashTable::forEachObject(char const*, void (unsigned long long, unsigned short, bool&) block_pointer) const + 40 (OptimizerObjC.h:404)
2   dyld                            0x00000001ecdc8504 dyld4::APIs::_dyld_for_each_objc_class(char const*, void (void*, bool, bool*) block_pointer) + 168 (OptimizerObjC.h:576)
3   libobjc.A.dylib                 0x00000001c7a29ac8 getClass_impl(char const*) + 176 (objc-opt.mm:404)
4   libobjc.A.dylib                 0x00000001c7a26e5c getClassExceptSomeSwift(char const*) + 24 (objc-runtime-new.mm:1790)
5   libobjc.A.dylib                 0x00000001c7a2577c look_up_class + 92 (objc-runtime-new.mm:7838)
6   Foundation                      0x00000001c8b09c50 NSClassFromString + 156 (NSObjCRuntime.m:0)
7   UnityFramework                  0x00000001083d5e70 InitMetalSupport() + 260 (MetalSupport.mm:53)
8   UnityFramework                  0x00000001083b31c0 CreateMetalGfxDevice() + 16 (GfxDeviceMetal.mm:2184)
9   UnityFramework                  0x0000000107fbccd0 CreateClientGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags) + 184 (GfxDeviceClient.cpp:116)
10  UnityFramework                  0x000000010827e9fc CreateGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags) + 264 (GfxDeviceSetup.cpp:602)
11  UnityFramework                  0x000000010827ea94 InitializeGfxDevice() + 112 (GfxDeviceSetup.cpp:784)
12  UnityFramework                  0x000000010839e4f4 UnityInitApplicationGraphics + 20 (LibEntryPoint.mm:189)
13  UnityFramework                  0x00000001079f2308 -[UnityAppController startUnity:] + 52 (UnityAppController.mm:121)
14  Foundation                      0x00000001c8b4f898 __NSFireDelayedPerform + 372 (NSRunLoop.m:646)
15  CoreFoundation                  0x00000001ce7c235c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1797)
16  CoreFoundation                  0x00000001ce77e9d8 __CFRunLoopDoTimer + 940 (CFRunLoop.c:2402)
17  CoreFoundation                  0x00000001ce722598 __CFRunLoopDoTimers + 288 (CFRunLoop.c:2560)
18  CoreFoundation                  0x00000001ce76ffcc __CFRunLoopRun + 1896 (CFRunLoop.c:3120)
19  CoreFoundation                  0x00000001ce774ed4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
20  GraphicsServices                0x0000000207a72368 GSEventRunModal + 164 (GSEvent.c:2196)
21  UIKitCore                       0x00000001d0c533d0 -[UIApplication _run] + 888 (UIApplication.m:3745)
22  UIKitCore                       0x00000001d0c53034 UIApplicationMain + 340 (UIApplication.m:5335)
23  UnityFramework                  0x00000001079f6e98 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 92 (main.mm:96)
24  Surviwar.io                     0x0000000104fbbccc main + 60 (main.mm:26)
25  dyld                            0x00000001ecddc960 start + 2528 (dyldMain.cpp:1170)

Thread 1:
0   libsystem_pthread.dylib         0x000000021b753b90 start_wqthread + 0 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib          0x000000020b2f2680 __ulock_wait + 8 (:-1)
1   libsystem_platform.dylib        0x000000021b6be82c _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib                 0x00000001c7a279b4 lookUpImpOrForward + 156 (lock_private.h:716)
3   libobjc.A.dylib                 0x00000001c7a220c4 _objc_msgSend_uncached + 68 (:-1)
4   CoreFoundation                  0x00000001ce72ea3c -[CFPrefsPlistSource handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 2760 (CFPrefsPlistSource.m:1636)
5   CoreFoundation                  0x00000001ce72ddc0 -[CFPrefsPlistSource sendRequestNewDataMessage:toConnection:retryCount:error:] + 640 (CFPrefsPlistSource.m:1697)
6   CoreFoundation                  0x00000001ce712a38 __50-[CFPrefsPlistSource alreadylocked_requestNewData]_block_invoke + 200 (CFPrefsPlistSource.m:1324)
7   CoreFoundation                  0x00000001ce894540 -[_CFXPreferences withConnectionForRole:andUserIdentifier:performBlock:] + 52 (CFXPreferences.m:1690)
8   CoreFoundation                  0x00000001ce7c09d0 -[CFPrefsPlistSource alreadylocked_requestNewData] + 424 (CFPrefsPlistSource.m:1320)
9   CoreFoundation                  0x00000001ce7412e8 _copyValueForKey + 268 (CFPrefsPlistSource.m:227)
10  CoreFoundation                  0x00000001ce73a5c8 -[CFPrefsPlistSource copyValueForKey:] + 60 (CFPrefsPlistSource.m:298)
11  CoreFoundation                  0x00000001ce73a574 __66-[_CFXPreferences copyValueForKey:identifier:user:host:container:]_block_invoke + 32 (CFXPreferences.m:1064)
12  CoreFoundation                  0x00000001ce76ba78 -[_CFXPreferences withSourceForIdentifier:user:byHost:container:cloud:perform:] + 828 (CFPrefsSource.m:1183)
13  CoreFoundation                  0x00000001ce71faac -[_CFXPreferences copyValueForKey:identifier:user:host:container:] + 212 (CFXPreferences.m:1058)
14  CoreFoundation                  0x00000001ce71f9a0 _CFPreferencesCopyValueWithContainer + 120 (CFXPreferences.m:2320)
15  HangTracer                      0x00000001f3d68598 -[HTPrefs prefNamed:domain:profile:matchingSelector:contextPrefixOut:] + 368 (HTPrefs.m:161)
16  HangTracer                      0x00000001f3d68784 -[HTPrefs boolProperty:contextPrefixOut:] + 84 (HTPrefs.m:218)
17  HangTracer                      0x00000001f3d6412c -[HTPrefs initBoolProperty:] + 68 (HTPrefs.m:341)
18  HangTracer                      0x00000001f3d64694 -[HTPrefs earlyInitNecessaryPrefs] + 144 (HTPrefs.m:1150)
19  HangTracer                      0x00000001f3d63c04 -[HTPrefs setupPrefsWithQueue:profilePath:taskingDomainName:hangtracerDomain:setupInternalPrefs:] + 172 (HTPrefs.m:1223)
20  HangTracer                      0x00000001f3d63b30 -[HTPrefs setupPrefsWithQueue:] + 88 (HTPrefs.m:1203)
21  HangTracer                      0x00000001f3d6a55c __HTHangEventCreateWithBundleID_block_invoke.26 + 52 (HangTracer.m:431)
22  libdispatch.dylib               0x00000001d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
23  libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
24  libdispatch.dylib               0x00000001d5cd5694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
25  libdispatch.dylib               0x00000001d5cd61e0 _dispatch_lane_invoke + 384 (queue.c:3940)
26  libdispatch.dylib               0x00000001d5ce0e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
27  libsystem_pthread.dylib         0x000000021b753df8 _pthread_wqthread + 288 (pthread.c:2618)
28  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x000000020b2f5a5c __unlink + 8 (:-1)
1   libsystem_kernel.dylib          0x000000020b2f9a34 unlink + 16 (unlink.c:30)
2   libsqlite3.dylib                0x00000001f24a34c8 unixDelete + 64 (sqlite3.c:47222)
3   libsqlite3.dylib                0x00000001f2485a78 pager_end_transaction + 840 (sqlite3.c:25661)
4   libsqlite3.dylib                0x00000001f2485454 sqlite3BtreeCommitPhaseTwo + 184 (sqlite3.c:67998)
5   libsqlite3.dylib                0x00000001f24503c0 sqlite3VdbeHalt + 2776 (sqlite3.c:90619)
6   libsqlite3.dylib                0x00000001f247eedc sqlite3VdbeExec + 55972 (sqlite3.c:97084)
7   libsqlite3.dylib                0x00000001f2470914 sqlite3_step + 1296 (sqlite3.c:94068)
8   libsqlite3.dylib                0x00000001f2435928 sqlite3_exec + 368 (sqlite3.c:137052)
9   UnityFramework                  0x0000000107d015b4 GADInitializerSettings + 1264
10  UnityFramework                  0x0000000107d012a8 GADInitializerSettings + 484
11  UnityFramework                  0x0000000107d01198 GADInitializerSettings + 212
12  libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
13  libdispatch.dylib               0x00000001d5ccf828 _dispatch_once_callout + 32 (once.c:52)
14  UnityFramework                  0x0000000107d01174 GADInitializerSettings + 176
15  UnityFramework                  0x0000000107cde770 GADApplicationVerifyPublisherInitializedCorrectly + 3556
16  libdispatch.dylib               0x00000001d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
17  libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
18  libdispatch.dylib               0x00000001d5cd10c8 _dispatch_queue_override_invoke + 788 (inline_internal.h:2632)
19  libdispatch.dylib               0x00000001d5cdfa6c _dispatch_root_queue_drain + 396 (inline_internal.h:0)
20  libdispatch.dylib               0x00000001d5ce0284 _dispatch_worker_thread2 + 164 (queue.c:7052)
21  libsystem_pthread.dylib         0x000000021b753dbc _pthread_wqthread + 228 (pthread.c:2631)
22  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x000000020b2f2680 __ulock_wait + 8 (:-1)
1   libsystem_platform.dylib        0x000000021b6be82c _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib                 0x00000001c7a279b4 lookUpImpOrForward + 156 (lock_private.h:716)
3   libobjc.A.dylib                 0x00000001c7a220c4 _objc_msgSend_uncached + 68 (:-1)
4   UnityFramework                  0x0000000107be08bc -[APMUserDefaults integerForKey:] + 56
5   UnityFramework                  0x0000000107b9562c -[APMMonitor migrateMonitorDataOnMonitorQueue] + 64
6   UnityFramework                  0x0000000107b93504 __53-[APMMonitor initWithLogLevel:logger:libraryVersion:]_block_invoke + 44
7   libdispatch.dylib               0x00000001d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
8   libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
9   libdispatch.dylib               0x00000001d5cd5694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
10  libdispatch.dylib               0x00000001d5cd61e0 _dispatch_lane_invoke + 384 (queue.c:3940)
11  libdispatch.dylib               0x00000001d5ce0e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
12  libsystem_pthread.dylib         0x000000021b753df8 _pthread_wqthread + 288 (pthread.c:2618)
13  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 5 name:
Thread 5 Crashed:
0   libsystem_kernel.dylib          0x000000020b2f8200 __pthread_kill + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021b75a1ac pthread_kill + 268 (pthread.c:1670)
2   libsystem_c.dylib               0x00000001d5d31c8c abort + 180 (abort.c:118)
3   UnityFramework                  0x00000001086eb01c uncaught_exception_handler.cold.1 + 28 (PLCrashReporter.m:369)
4   UnityFramework                  0x000000010863d5b0 uncaught_exception_handler + 44 (PLCrashReporter.m:366)
5   UnityFramework                  0x00000001079fb018 UncaughtExceptionHandler(NSException*) + 148 (CrashReporter.mm:89)
6   CoreFoundation                  0x00000001ce809060 __handleUncaughtException + 636 (NSException.m:273)
7   libobjc.A.dylib                 0x00000001c7a3dd30 _objc_terminate() + 132 (objc-exception.mm:497)
8   libc++abi.dylib                 0x000000021b699f28 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
9   libc++abi.dylib                 0x000000021b699ec4 std::terminate() + 56 (cxa_handlers.cpp:88)
10  libdispatch.dylib               0x00000001d5ccdff0 _dispatch_client_callout + 40 (object.m:563)
11  libdispatch.dylib               0x00000001d5cd10c8 _dispatch_queue_override_invoke + 788 (inline_internal.h:2632)
12  libdispatch.dylib               0x00000001d5cdfa6c _dispatch_root_queue_drain + 396 (inline_internal.h:0)
13  libdispatch.dylib               0x00000001d5ce0284 _dispatch_worker_thread2 + 164 (queue.c:7052)
14  libsystem_pthread.dylib         0x000000021b753dbc _pthread_wqthread + 228 (pthread.c:2631)
15  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib          0x000000020b2f2680 __ulock_wait + 8 (:-1)
1   libsystem_platform.dylib        0x000000021b6be82c _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib                 0x00000001c7a25404 class_conformsToProtocol + 104 (lock_private.h:716)
3   libobjc.A.dylib                 0x00000001c7a2ec08 +[NSObject conformsToProtocol:] + 48 (NSObject.mm:2451)
4   Foundation                      0x00000001c8b00f60 -[NSXPCDecoder _validateAllowedClass:forKey:allowingInvocations:] + 276 (NSXPCCoder.m:760)
5   Foundation                      0x00000001c9130cac _decodeObject + 812 (NSXPCCoder.m:942)
6   Foundation                      0x00000001c8b45660 -[NSXPCDecoder _decodeObjectOfClasses:atObject:] + 76 (NSXPCCoder.m:1120)
7   Foundation                      0x00000001c8b45134 _NSXPCSerializationDecodeTypedObjCValuesFromArray + 892 (NSXPCCoder_InvocationSerialization.m:402)
8   Foundation                      0x00000001c8b8cf70 _NSXPCSerializationDecodeInvocationArgumentArray + 412 (NSXPCCoder_InvocationSerialization.m:537)
9   Foundation                      0x00000001c913167c -[NSXPCDecoder __decodeXPCObject:allowingSimpleMessageSend:outInvocation:outArguments:outArgumentsMaxCount:outMethodSignature:outSelector:isReply:replySelector:] + 700 (NSXPCCoder.m:1258)
10  Foundation                      0x00000001c9131394 -[NSXPCDecoder _decodeReplyFromXPCObject:forSelector:] + 76 (NSXPCCoder.m:1152)
11  Foundation                      0x00000001c8b52de4 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 252 (NSXPCConnection.m:259)
12  Foundation                      0x00000001c912c2e4 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 (NSXPCConnection.m:1662)
13  libxpc.dylib                    0x000000021b7b4f1c _xpc_connection_reply_callout + 124 (serializer.c:119)
14  libxpc.dylib                    0x000000021b7a7fb4 _xpc_connection_call_reply_async + 88 (connection.c:857)
15  libdispatch.dylib               0x00000001d5cce05c _dispatch_client_callout3 + 20 (object.m:586)
16  libdispatch.dylib               0x00000001d5cebf58 _dispatch_mach_msg_async_reply_invoke + 344 (mach.c:2462)
17  libdispatch.dylib               0x00000001d5cd556c _dispatch_lane_serial_drain + 376 (inline_internal.h:0)
18  libdispatch.dylib               0x00000001d5cd6214 _dispatch_lane_invoke + 436 (queue.c:3940)
19  libdispatch.dylib               0x00000001d5ce0e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
20  libsystem_pthread.dylib         0x000000021b753df8 _pthread_wqthread + 288 (pthread.c:2618)
21  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

<There was 30+ threads, but i removed them because of character limit on message>

Thread 5 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000010   x5: 0x0000000000000060   x6: 0x00000002804c8060   x7: 0xffffffff00002500
    x8: 0x83d46d0ca407f6b2   x9: 0x83d46d0dcf0086b2  x10: 0x00000002cfdc3bb8  x11: 0x003f0001210eb800
   x12: 0x000000000000003f  x13: 0x00000001210ebbe0  x14: 0x0400000224d748f9  x15: 0x0000000224d748f8
   x16: 0x0000000000000148  x17: 0x000000016b077000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000000002a07  x21: 0x000000016b0770e0  x22: 0x0000000282fc8510  x23: 0x0000000226160580
   x24: 0x000000000000000c  x25: 0x00000001cea38a4e  x26: 0x00000002256c08d0  x27: 0x0000000223a8a000
   x28: 0x0000000000000000   fp: 0x000000016b076c90   lr: 0x000000021b75a1ac
    sp: 0x000000016b076c70   pc: 0x000000020b2f8200 cpsr: 0x40000000
   esr: 0x56000080  Address size fault

Binary Images:
0x104fb4000 - 0x104fbbfff Surviwar.io arm64  <4e955d7aa21f350dbe73241ec5796fcb> /private/var/containers/Bundle/Application/EF0A9681-11F1-4BC0-852C-3060DFB00EDA/Surviwar.io.app/Surviwar.io
0x1079e0000 - 0x109d37fff UnityFramework arm64  <c56d5addbcd73e0d8dac0bed2cca2981> /private/var/containers/Bundle/Application/EF0A9681-11F1-4BC0-852C-3060DFB00EDA/Surviwar.io.app/Frameworks/UnityFramework.framework/UnityFramework
0x1c7a20000 - 0x1c7a63e1f libobjc.A.dylib arm64e  <ab79707faf643ba588993b711c6cff5c> /usr/lib/libobjc.A.dylib
0x1c8ae0000 - 0x1c9429fff Foundation arm64e  <c431acb6fe043d28b6774de6e1c7d81f> /System/Library/Frameworks/Foundation.framework/Foundation
0x1ce6f4000 - 0x1cead9fff CoreFoundation arm64e  <5cdc5d9ae5063740b64ebb30867b4f1b> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1d08b1000 - 0x1d208efff UIKitCore arm64e  <179501b60fc2344ab969b4e3961ebe10> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1d5cca000 - 0x1d5d10fff libdispatch.dylib arm64e  <fea36690a0003c55b7009120b05aa69b> /usr/lib/system/libdispatch.dylib
0x1d5d11000 - 0x1d5d90ff7 libsystem_c.dylib arm64e  <dad0ce088f353ff4899e43dc44eb65a7> /usr/lib/system/libsystem_c.dylib
0x1ecdc7000 - 0x1ece4a00f dyld arm64e  <cb3ff411476234d286a4eca13f9fb6c3> /usr/lib/dyld
0x1f242c000 - 0x1f25cbffb libsqlite3.dylib arm64e  <9e91ccf4fee23cc5882f22663791d295> /usr/lib/libsqlite3.dylib
0x1f3d62000 - 0x1f3d75fff HangTracer arm64e  <ed827138febb3b109922975f908300da> /System/Library/PrivateFrameworks/HangTracer.framework/HangTracer
0x207a71000 - 0x207a79fff GraphicsServices arm64e  <a633a095122639428f413877660185ee> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x20b2f1000 - 0x20b327ffb libsystem_kernel.dylib arm64e  <ff27fc8f90ba3332ab7ac5bc2d9ca7b1> /usr/lib/system/libsystem_kernel.dylib
0x21b689000 - 0x21b6a0ffb libc++abi.dylib arm64e  <fa871417be083e90b33ca6aa89813f3b> /usr/lib/libc++abi.dylib
0x21b6be000 - 0x21b6c4ff3 libsystem_platform.dylib arm64e  <29a26364acef38c28b0ddb0dfca0bb65> /usr/lib/system/libsystem_platform.dylib
0x21b753000 - 0x21b75efff libsystem_pthread.dylib arm64e  <1aa3a4b6f9e730568c8b4e4dd81312a4> /usr/lib/system/libsystem_pthread.dylib
0x21b797000 - 0x21b7d7fff libxpc.dylib arm64e  <7a0ca8d2728537ddae972efaa1de763e> /usr/lib/system/libxpc.dylib

EOF

```

I tried to get more information with debug build but crashlog was same.

Body:
I built the game in Unity 2021.3.10f1 iOS to Xcode.

Then in MacOS Ventura opened the build folder in the terminal.

Terminated:

pod install

arch -x86_64 pod install

chmod +x process_symbols.sh

Then opened the file Unity-iPhone.xcworkspace in Xcode 14.2 (14C18).

In PROJECT->Unity-iPhone->Build Settings->Build Options->Enable
Bitcode set to No

In TARGET->Unity-iPhone->Build Settings->Build Options->Always Embed
Swift Standard Libraries set to Yes

In TARGET->Unity-UnityFramework->Build Settings->Build
Options->Always Embed Swift Standard Libraries set to No

Then archive the project with Product-> Archive and test it with iOS TestFlight.

Got a Crash on startup, in crashlog.crash was a description of the crash, but don't get it how to solve it.

Incident Identifier: CE6A928D-38E3-4E2C-83E5-A27D9BCE8079
Hardware Model:      iPhone11,8
Process:             Surviwar.io [17655]
Path:                /private/var/containers/Bundle/Application/EF0A9681-11F1-4BC0-852C-3060DFB00EDA/Surviwar.io.app/Surviwar.io
Identifier:          com.WindCompany.Surviwar.io
Version:             0.9.8 (0)
AppStoreTools:       14C17
AppVariant:          1:iPhone11,8:16
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.WindCompany.Surviwar.io [1345]

Date/Time:           2022-12-18 22:35:04.6693 +0400
Launch Time:         2022-12-18 22:35:03.5417 +0400
OS Version:          iPhone OS 16.1.1 (20B101)
Release Type:        User
Baseband Version:    5.01.01
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  5

Last Exception Backtrace:
0   CoreFoundation                  0x1ce6fde88 __exceptionPreprocess + 164 (NSException.m:202)
1   libobjc.A.dylib                 0x1c7a378d8 objc_exception_throw + 60 (objc-exception.mm:356)
2   CoreFoundation                  0x1ce86a794 -[NSException raise] + 16 (NSException.m:113)
3   UnityFramework                  0x107cddae8 GADApplicationVerifyPublisherInitializedCorrectly + 348
4   UnityFramework                  0x107cddca4 GADApplicationVerifyPublisherInitializedCorrectly + 792
5   libdispatch.dylib               0x1d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
6   libdispatch.dylib               0x1d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
7   libdispatch.dylib               0x1d5cd10c8 _dispatch_queue_override_invoke + 788 (inline_internal.h:2632)
8   libdispatch.dylib               0x1d5cdfa6c _dispatch_root_queue_drain + 396 (inline_internal.h:0)
9   libdispatch.dylib               0x1d5ce0284 _dispatch_worker_thread2 + 164 (queue.c:7052)
10  libsystem_pthread.dylib         0x21b753dbc _pthread_wqthread + 228 (pthread.c:2631)
11  libsystem_pthread.dylib         0x21b753b98 start_wqthread + 8 (:-1)

Thread 0 name:
Thread 0:
0   dyld                            0x00000001ecdc8578 objc::ObjectHashTable::forEachObject(char const*, void (unsigned long long, unsigned short, bool&) block_pointer) const + 76 (OptimizerObjC.h:295)
1   dyld                            0x00000001ecdc8554 objc::ObjectHashTable::forEachObject(char const*, void (unsigned long long, unsigned short, bool&) block_pointer) const + 40 (OptimizerObjC.h:404)
2   dyld                            0x00000001ecdc8504 dyld4::APIs::_dyld_for_each_objc_class(char const*, void (void*, bool, bool*) block_pointer) + 168 (OptimizerObjC.h:576)
3   libobjc.A.dylib                 0x00000001c7a29ac8 getClass_impl(char const*) + 176 (objc-opt.mm:404)
4   libobjc.A.dylib                 0x00000001c7a26e5c getClassExceptSomeSwift(char const*) + 24 (objc-runtime-new.mm:1790)
5   libobjc.A.dylib                 0x00000001c7a2577c look_up_class + 92 (objc-runtime-new.mm:7838)
6   Foundation                      0x00000001c8b09c50 NSClassFromString + 156 (NSObjCRuntime.m:0)
7   UnityFramework                  0x00000001083d5e70 InitMetalSupport() + 260 (MetalSupport.mm:53)
8   UnityFramework                  0x00000001083b31c0 CreateMetalGfxDevice() + 16 (GfxDeviceMetal.mm:2184)
9   UnityFramework                  0x0000000107fbccd0 CreateClientGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags) + 184 (GfxDeviceClient.cpp:116)
10  UnityFramework                  0x000000010827e9fc CreateGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags) + 264 (GfxDeviceSetup.cpp:602)
11  UnityFramework                  0x000000010827ea94 InitializeGfxDevice() + 112 (GfxDeviceSetup.cpp:784)
12  UnityFramework                  0x000000010839e4f4 UnityInitApplicationGraphics + 20 (LibEntryPoint.mm:189)
13  UnityFramework                  0x00000001079f2308 -[UnityAppController startUnity:] + 52 (UnityAppController.mm:121)
14  Foundation                      0x00000001c8b4f898 __NSFireDelayedPerform + 372 (NSRunLoop.m:646)
15  CoreFoundation                  0x00000001ce7c235c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1797)
16  CoreFoundation                  0x00000001ce77e9d8 __CFRunLoopDoTimer + 940 (CFRunLoop.c:2402)
17  CoreFoundation                  0x00000001ce722598 __CFRunLoopDoTimers + 288 (CFRunLoop.c:2560)
18  CoreFoundation                  0x00000001ce76ffcc __CFRunLoopRun + 1896 (CFRunLoop.c:3120)
19  CoreFoundation                  0x00000001ce774ed4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
20  GraphicsServices                0x0000000207a72368 GSEventRunModal + 164 (GSEvent.c:2196)
21  UIKitCore                       0x00000001d0c533d0 -[UIApplication _run] + 888 (UIApplication.m:3745)
22  UIKitCore                       0x00000001d0c53034 UIApplicationMain + 340 (UIApplication.m:5335)
23  UnityFramework                  0x00000001079f6e98 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 92 (main.mm:96)
24  Surviwar.io                     0x0000000104fbbccc main + 60 (main.mm:26)
25  dyld                            0x00000001ecddc960 start + 2528 (dyldMain.cpp:1170)

Thread 1:
0   libsystem_pthread.dylib         0x000000021b753b90 start_wqthread + 0 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib          0x000000020b2f2680 __ulock_wait + 8 (:-1)
1   libsystem_platform.dylib        0x000000021b6be82c _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib                 0x00000001c7a279b4 lookUpImpOrForward + 156 (lock_private.h:716)
3   libobjc.A.dylib                 0x00000001c7a220c4 _objc_msgSend_uncached + 68 (:-1)
4   CoreFoundation                  0x00000001ce72ea3c -[CFPrefsPlistSource handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 2760 (CFPrefsPlistSource.m:1636)
5   CoreFoundation                  0x00000001ce72ddc0 -[CFPrefsPlistSource sendRequestNewDataMessage:toConnection:retryCount:error:] + 640 (CFPrefsPlistSource.m:1697)
6   CoreFoundation                  0x00000001ce712a38 __50-[CFPrefsPlistSource alreadylocked_requestNewData]_block_invoke + 200 (CFPrefsPlistSource.m:1324)
7   CoreFoundation                  0x00000001ce894540 -[_CFXPreferences withConnectionForRole:andUserIdentifier:performBlock:] + 52 (CFXPreferences.m:1690)
8   CoreFoundation                  0x00000001ce7c09d0 -[CFPrefsPlistSource alreadylocked_requestNewData] + 424 (CFPrefsPlistSource.m:1320)
9   CoreFoundation                  0x00000001ce7412e8 _copyValueForKey + 268 (CFPrefsPlistSource.m:227)
10  CoreFoundation                  0x00000001ce73a5c8 -[CFPrefsPlistSource copyValueForKey:] + 60 (CFPrefsPlistSource.m:298)
11  CoreFoundation                  0x00000001ce73a574 __66-[_CFXPreferences copyValueForKey:identifier:user:host:container:]_block_invoke + 32 (CFXPreferences.m:1064)
12  CoreFoundation                  0x00000001ce76ba78 -[_CFXPreferences withSourceForIdentifier:user:byHost:container:cloud:perform:] + 828 (CFPrefsSource.m:1183)
13  CoreFoundation                  0x00000001ce71faac -[_CFXPreferences copyValueForKey:identifier:user:host:container:] + 212 (CFXPreferences.m:1058)
14  CoreFoundation                  0x00000001ce71f9a0 _CFPreferencesCopyValueWithContainer + 120 (CFXPreferences.m:2320)
15  HangTracer                      0x00000001f3d68598 -[HTPrefs prefNamed:domain:profile:matchingSelector:contextPrefixOut:] + 368 (HTPrefs.m:161)
16  HangTracer                      0x00000001f3d68784 -[HTPrefs boolProperty:contextPrefixOut:] + 84 (HTPrefs.m:218)
17  HangTracer                      0x00000001f3d6412c -[HTPrefs initBoolProperty:] + 68 (HTPrefs.m:341)
18  HangTracer                      0x00000001f3d64694 -[HTPrefs earlyInitNecessaryPrefs] + 144 (HTPrefs.m:1150)
19  HangTracer                      0x00000001f3d63c04 -[HTPrefs setupPrefsWithQueue:profilePath:taskingDomainName:hangtracerDomain:setupInternalPrefs:] + 172 (HTPrefs.m:1223)
20  HangTracer                      0x00000001f3d63b30 -[HTPrefs setupPrefsWithQueue:] + 88 (HTPrefs.m:1203)
21  HangTracer                      0x00000001f3d6a55c __HTHangEventCreateWithBundleID_block_invoke.26 + 52 (HangTracer.m:431)
22  libdispatch.dylib               0x00000001d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
23  libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
24  libdispatch.dylib               0x00000001d5cd5694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
25  libdispatch.dylib               0x00000001d5cd61e0 _dispatch_lane_invoke + 384 (queue.c:3940)
26  libdispatch.dylib               0x00000001d5ce0e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
27  libsystem_pthread.dylib         0x000000021b753df8 _pthread_wqthread + 288 (pthread.c:2618)
28  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x000000020b2f5a5c __unlink + 8 (:-1)
1   libsystem_kernel.dylib          0x000000020b2f9a34 unlink + 16 (unlink.c:30)
2   libsqlite3.dylib                0x00000001f24a34c8 unixDelete + 64 (sqlite3.c:47222)
3   libsqlite3.dylib                0x00000001f2485a78 pager_end_transaction + 840 (sqlite3.c:25661)
4   libsqlite3.dylib                0x00000001f2485454 sqlite3BtreeCommitPhaseTwo + 184 (sqlite3.c:67998)
5   libsqlite3.dylib                0x00000001f24503c0 sqlite3VdbeHalt + 2776 (sqlite3.c:90619)
6   libsqlite3.dylib                0x00000001f247eedc sqlite3VdbeExec + 55972 (sqlite3.c:97084)
7   libsqlite3.dylib                0x00000001f2470914 sqlite3_step + 1296 (sqlite3.c:94068)
8   libsqlite3.dylib                0x00000001f2435928 sqlite3_exec + 368 (sqlite3.c:137052)
9   UnityFramework                  0x0000000107d015b4 GADInitializerSettings + 1264
10  UnityFramework                  0x0000000107d012a8 GADInitializerSettings + 484
11  UnityFramework                  0x0000000107d01198 GADInitializerSettings + 212
12  libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
13  libdispatch.dylib               0x00000001d5ccf828 _dispatch_once_callout + 32 (once.c:52)
14  UnityFramework                  0x0000000107d01174 GADInitializerSettings + 176
15  UnityFramework                  0x0000000107cde770 GADApplicationVerifyPublisherInitializedCorrectly + 3556
16  libdispatch.dylib               0x00000001d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
17  libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
18  libdispatch.dylib               0x00000001d5cd10c8 _dispatch_queue_override_invoke + 788 (inline_internal.h:2632)
19  libdispatch.dylib               0x00000001d5cdfa6c _dispatch_root_queue_drain + 396 (inline_internal.h:0)
20  libdispatch.dylib               0x00000001d5ce0284 _dispatch_worker_thread2 + 164 (queue.c:7052)
21  libsystem_pthread.dylib         0x000000021b753dbc _pthread_wqthread + 228 (pthread.c:2631)
22  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x000000020b2f2680 __ulock_wait + 8 (:-1)
1   libsystem_platform.dylib        0x000000021b6be82c _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib                 0x00000001c7a279b4 lookUpImpOrForward + 156 (lock_private.h:716)
3   libobjc.A.dylib                 0x00000001c7a220c4 _objc_msgSend_uncached + 68 (:-1)
4   UnityFramework                  0x0000000107be08bc -[APMUserDefaults integerForKey:] + 56
5   UnityFramework                  0x0000000107b9562c -[APMMonitor migrateMonitorDataOnMonitorQueue] + 64
6   UnityFramework                  0x0000000107b93504 __53-[APMMonitor initWithLogLevel:logger:libraryVersion:]_block_invoke + 44
7   libdispatch.dylib               0x00000001d5ccc4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
8   libdispatch.dylib               0x00000001d5ccdfdc _dispatch_client_callout + 20 (object.m:560)
9   libdispatch.dylib               0x00000001d5cd5694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
10  libdispatch.dylib               0x00000001d5cd61e0 _dispatch_lane_invoke + 384 (queue.c:3940)
11  libdispatch.dylib               0x00000001d5ce0e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
12  libsystem_pthread.dylib         0x000000021b753df8 _pthread_wqthread + 288 (pthread.c:2618)
13  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 5 name:
Thread 5 Crashed:
0   libsystem_kernel.dylib          0x000000020b2f8200 __pthread_kill + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021b75a1ac pthread_kill + 268 (pthread.c:1670)
2   libsystem_c.dylib               0x00000001d5d31c8c abort + 180 (abort.c:118)
3   UnityFramework                  0x00000001086eb01c uncaught_exception_handler.cold.1 + 28 (PLCrashReporter.m:369)
4   UnityFramework                  0x000000010863d5b0 uncaught_exception_handler + 44 (PLCrashReporter.m:366)
5   UnityFramework                  0x00000001079fb018 UncaughtExceptionHandler(NSException*) + 148 (CrashReporter.mm:89)
6   CoreFoundation                  0x00000001ce809060 __handleUncaughtException + 636 (NSException.m:273)
7   libobjc.A.dylib                 0x00000001c7a3dd30 _objc_terminate() + 132 (objc-exception.mm:497)
8   libc++abi.dylib                 0x000000021b699f28 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
9   libc++abi.dylib                 0x000000021b699ec4 std::terminate() + 56 (cxa_handlers.cpp:88)
10  libdispatch.dylib               0x00000001d5ccdff0 _dispatch_client_callout + 40 (object.m:563)
11  libdispatch.dylib               0x00000001d5cd10c8 _dispatch_queue_override_invoke + 788 (inline_internal.h:2632)
12  libdispatch.dylib               0x00000001d5cdfa6c _dispatch_root_queue_drain + 396 (inline_internal.h:0)
13  libdispatch.dylib               0x00000001d5ce0284 _dispatch_worker_thread2 + 164 (queue.c:7052)
14  libsystem_pthread.dylib         0x000000021b753dbc _pthread_wqthread + 228 (pthread.c:2631)
15  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib          0x000000020b2f2680 __ulock_wait + 8 (:-1)
1   libsystem_platform.dylib        0x000000021b6be82c _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib                 0x00000001c7a25404 class_conformsToProtocol + 104 (lock_private.h:716)
3   libobjc.A.dylib                 0x00000001c7a2ec08 +[NSObject conformsToProtocol:] + 48 (NSObject.mm:2451)
4   Foundation                      0x00000001c8b00f60 -[NSXPCDecoder _validateAllowedClass:forKey:allowingInvocations:] + 276 (NSXPCCoder.m:760)
5   Foundation                      0x00000001c9130cac _decodeObject + 812 (NSXPCCoder.m:942)
6   Foundation                      0x00000001c8b45660 -[NSXPCDecoder _decodeObjectOfClasses:atObject:] + 76 (NSXPCCoder.m:1120)
7   Foundation                      0x00000001c8b45134 _NSXPCSerializationDecodeTypedObjCValuesFromArray + 892 (NSXPCCoder_InvocationSerialization.m:402)
8   Foundation                      0x00000001c8b8cf70 _NSXPCSerializationDecodeInvocationArgumentArray + 412 (NSXPCCoder_InvocationSerialization.m:537)
9   Foundation                      0x00000001c913167c -[NSXPCDecoder __decodeXPCObject:allowingSimpleMessageSend:outInvocation:outArguments:outArgumentsMaxCount:outMethodSignature:outSelector:isReply:replySelector:] + 700 (NSXPCCoder.m:1258)
10  Foundation                      0x00000001c9131394 -[NSXPCDecoder _decodeReplyFromXPCObject:forSelector:] + 76 (NSXPCCoder.m:1152)
11  Foundation                      0x00000001c8b52de4 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 252 (NSXPCConnection.m:259)
12  Foundation                      0x00000001c912c2e4 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 (NSXPCConnection.m:1662)
13  libxpc.dylib                    0x000000021b7b4f1c _xpc_connection_reply_callout + 124 (serializer.c:119)
14  libxpc.dylib                    0x000000021b7a7fb4 _xpc_connection_call_reply_async + 88 (connection.c:857)
15  libdispatch.dylib               0x00000001d5cce05c _dispatch_client_callout3 + 20 (object.m:586)
16  libdispatch.dylib               0x00000001d5cebf58 _dispatch_mach_msg_async_reply_invoke + 344 (mach.c:2462)
17  libdispatch.dylib               0x00000001d5cd556c _dispatch_lane_serial_drain + 376 (inline_internal.h:0)
18  libdispatch.dylib               0x00000001d5cd6214 _dispatch_lane_invoke + 436 (queue.c:3940)
19  libdispatch.dylib               0x00000001d5ce0e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
20  libsystem_pthread.dylib         0x000000021b753df8 _pthread_wqthread + 288 (pthread.c:2618)
21  libsystem_pthread.dylib         0x000000021b753b98 start_wqthread + 8 (:-1)

<There was 30+ threads, but i removed them because of character limit on message>

Thread 5 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000010   x5: 0x0000000000000060   x6: 0x00000002804c8060   x7: 0xffffffff00002500
    x8: 0x83d46d0ca407f6b2   x9: 0x83d46d0dcf0086b2  x10: 0x00000002cfdc3bb8  x11: 0x003f0001210eb800
   x12: 0x000000000000003f  x13: 0x00000001210ebbe0  x14: 0x0400000224d748f9  x15: 0x0000000224d748f8
   x16: 0x0000000000000148  x17: 0x000000016b077000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000000002a07  x21: 0x000000016b0770e0  x22: 0x0000000282fc8510  x23: 0x0000000226160580
   x24: 0x000000000000000c  x25: 0x00000001cea38a4e  x26: 0x00000002256c08d0  x27: 0x0000000223a8a000
   x28: 0x0000000000000000   fp: 0x000000016b076c90   lr: 0x000000021b75a1ac
    sp: 0x000000016b076c70   pc: 0x000000020b2f8200 cpsr: 0x40000000
   esr: 0x56000080  Address size fault

Binary Images:
0x104fb4000 - 0x104fbbfff Surviwar.io arm64  <4e955d7aa21f350dbe73241ec5796fcb> /private/var/containers/Bundle/Application/EF0A9681-11F1-4BC0-852C-3060DFB00EDA/Surviwar.io.app/Surviwar.io
0x1079e0000 - 0x109d37fff UnityFramework arm64  <c56d5addbcd73e0d8dac0bed2cca2981> /private/var/containers/Bundle/Application/EF0A9681-11F1-4BC0-852C-3060DFB00EDA/Surviwar.io.app/Frameworks/UnityFramework.framework/UnityFramework
0x1c7a20000 - 0x1c7a63e1f libobjc.A.dylib arm64e  <ab79707faf643ba588993b711c6cff5c> /usr/lib/libobjc.A.dylib
0x1c8ae0000 - 0x1c9429fff Foundation arm64e  <c431acb6fe043d28b6774de6e1c7d81f> /System/Library/Frameworks/Foundation.framework/Foundation
0x1ce6f4000 - 0x1cead9fff CoreFoundation arm64e  <5cdc5d9ae5063740b64ebb30867b4f1b> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1d08b1000 - 0x1d208efff UIKitCore arm64e  <179501b60fc2344ab969b4e3961ebe10> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1d5cca000 - 0x1d5d10fff libdispatch.dylib arm64e  <fea36690a0003c55b7009120b05aa69b> /usr/lib/system/libdispatch.dylib
0x1d5d11000 - 0x1d5d90ff7 libsystem_c.dylib arm64e  <dad0ce088f353ff4899e43dc44eb65a7> /usr/lib/system/libsystem_c.dylib
0x1ecdc7000 - 0x1ece4a00f dyld arm64e  <cb3ff411476234d286a4eca13f9fb6c3> /usr/lib/dyld
0x1f242c000 - 0x1f25cbffb libsqlite3.dylib arm64e  <9e91ccf4fee23cc5882f22663791d295> /usr/lib/libsqlite3.dylib
0x1f3d62000 - 0x1f3d75fff HangTracer arm64e  <ed827138febb3b109922975f908300da> /System/Library/PrivateFrameworks/HangTracer.framework/HangTracer
0x207a71000 - 0x207a79fff GraphicsServices arm64e  <a633a095122639428f413877660185ee> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x20b2f1000 - 0x20b327ffb libsystem_kernel.dylib arm64e  <ff27fc8f90ba3332ab7ac5bc2d9ca7b1> /usr/lib/system/libsystem_kernel.dylib
0x21b689000 - 0x21b6a0ffb libc++abi.dylib arm64e  <fa871417be083e90b33ca6aa89813f3b> /usr/lib/libc++abi.dylib
0x21b6be000 - 0x21b6c4ff3 libsystem_platform.dylib arm64e  <29a26364acef38c28b0ddb0dfca0bb65> /usr/lib/system/libsystem_platform.dylib
0x21b753000 - 0x21b75efff libsystem_pthread.dylib arm64e  <1aa3a4b6f9e730568c8b4e4dd81312a4> /usr/lib/system/libsystem_pthread.dylib
0x21b797000 - 0x21b7d7fff libxpc.dylib arm64e  <7a0ca8d2728537ddae972efaa1de763e> /usr/lib/system/libxpc.dylib

EOF

I tried to get more information with debug build but crashlog was same.


问:
QT C++ How to detect QSerialPort plugged out?
I am transferring data with QSerialPort. When my USB device is plugged out. If my Serial Port is open, I want to close it.
Before connecting to the serial port, I check the devices connected with getAvailiblePorts().

```<code>void MainWindow::on_pushButton_clicked()
{
  QList<QSerialPortInfo> test = serial.getAvailiblePorts();
   QStringList myDevices;

    if(test.isEmpty()){
        qDebug()<<"Empty";
    }
    else
    {
        qDebug()<<"Not Empty";

    }

}
</code>```

With my button function above, I plug in the usb and press the button. It tells me it is not empty. Then I remove the usb and try again, it tells me it's empty.

Then I opened the serial port connection and removed the usb. My serial port stays open even though the usb is not plugged in. Although no usb device is connected, when the button is pressed, the father gives the information that it is not empty.

How can I close Serial Port when usb plugged out?

Body:
I am transferring data with QSerialPort. When my USB device is plugged out. If my Serial Port is open, I want to close it.
Before connecting to the serial port, I check the devices connected with getAvailiblePorts().

void MainWindow::on_pushButton_clicked()
{
  QList<QSerialPortInfo> test = serial.getAvailiblePorts();
   QStringList myDevices;

    if(test.isEmpty()){
        qDebug()<<"Empty";
    }
    else
    {
        qDebug()<<"Not Empty";

    }

}

With my button function above, I plug in the usb and press the button. It tells me it is not empty. Then I remove the usb and try again, it tells me it's empty.

Then I opened the serial port connection and removed the usb. My serial port stays open even though the usb is not plugged in. Although no usb device is connected, when the button is pressed, the father gives the information that it is not empty.

How can I close Serial Port when usb plugged out?


问:
Ignore special characters in an XML file parse
I am looking at ignoring special character in a specific XML format. I have a csv file that contains "Part Numbers" and it is looking in the XML file for "Part Numbers" then is giving me an output for "Brand ID".

In the csv file there are no special characters, but in the XML file there are special characters, specifically "-".

My code is below. Everything is working except ignoring the special characters in the XML file.

```<code>const path = require("path");
const fs = require("fs");
const parser = require('xml2json');
const { parseList } = require("./utils/helpers");
const lodash = require("lodash");
const csv = require("fast-csv");
const file ='4E-2022-10-24-Pies';
const PiesfilePath = path.resolve(
  __dirname,
  `${file}.xml`
);
const imagefilePath = path.resolve(
  __dirname,
  "4E-2022-10-24-Image.csv"
);

const output = fs.createWriteStream(
  `images-map.txt`,
  {
    flags: "a",
  }
);
//output.write('B15 B20 P05 P10 P15\n');

const timer = ms => new Promise(resolve => setTimeout(resolve, ms));

const init = async () => {
  var PIEs='';
   const ImagesArray = await parseList(imagefilePath);
   const digitalAssets = [];

 fs.readFile( PiesfilePath, function(err, data) {
     PIEs = parser.toJson(data);

     PIEs = JSON.parse(PIEs);
   //  console.log(PIEs.PIES.Items);
     for (let i = 0; i <PIEs.PIES.Items.Item.length ; i += 1) { //
      let item = PIEs.PIES.Items.Item[i];
    //  if(item?.DigitalAssets){
      digitalAssets.push({
        "PartNumber":item.PartNumber,
        "BrandAAIAID": item.BrandAAIAID,
      })

     // console.log(item);
     }

const digitalAssetsDic =  lodash.mapKeys(digitalAssets, "PartNumber");

     for (let z = 0; z <ImagesArray.length ; z += 1) {
      let Image= ImagesArray[z];
      let digitalAsset = digitalAssetsDic[Image.PartNumber];
      if(digitalAsset){
        let imagefile = Image.ImageName;

        output.write(`${Image.PartNumber} ${digitalAsset.BrandAAIAID} ${imagefile} ${imagefile.includes('_Fro')?'P04':'P01'} ${imagefile.split(".")[1]}\n`);

      }

     }

   //
 });

  //let productsfull = await parseList(inputPath2);
  //const productsDec= lodash.mapKeys(products,"itemId");

};

init();

</code>```

Body:
I am looking at ignoring special character in a specific XML format. I have a csv file that contains "Part Numbers" and it is looking in the XML file for "Part Numbers" then is giving me an output for "Brand ID".

In the csv file there are no special characters, but in the XML file there are special characters, specifically "-".

My code is below. Everything is working except ignoring the special characters in the XML file.

const path = require("path");
const fs = require("fs");
const parser = require('xml2json');
const { parseList } = require("./utils/helpers");
const lodash = require("lodash");
const csv = require("fast-csv");
const file ='4E-2022-10-24-Pies';
const PiesfilePath = path.resolve(
  __dirname,
  `${file}.xml`
);
const imagefilePath = path.resolve(
  __dirname,
  "4E-2022-10-24-Image.csv"
);

const output = fs.createWriteStream(
  `images-map.txt`,
  {
    flags: "a",
  }
);
//output.write('B15 B20 P05 P10 P15\n');

const timer = ms => new Promise(resolve => setTimeout(resolve, ms));

const init = async () => {
  var PIEs='';
   const ImagesArray = await parseList(imagefilePath);
   const digitalAssets = [];

 fs.readFile( PiesfilePath, function(err, data) {
     PIEs = parser.toJson(data);

     PIEs = JSON.parse(PIEs);
   //  console.log(PIEs.PIES.Items);
     for (let i = 0; i <PIEs.PIES.Items.Item.length ; i += 1) { //
      let item = PIEs.PIES.Items.Item[i];
    //  if(item?.DigitalAssets){
      digitalAssets.push({
        "PartNumber":item.PartNumber,
        "BrandAAIAID": item.BrandAAIAID,
      })

     // console.log(item);
     }

const digitalAssetsDic =  lodash.mapKeys(digitalAssets, "PartNumber");

     for (let z = 0; z <ImagesArray.length ; z += 1) {
      let Image= ImagesArray[z];
      let digitalAsset = digitalAssetsDic[Image.PartNumber];
      if(digitalAsset){
        let imagefile = Image.ImageName;

        output.write(`${Image.PartNumber} ${digitalAsset.BrandAAIAID} ${imagefile} ${imagefile.includes('_Fro')?'P04':'P01'} ${imagefile.split(".")[1]}\n`);

      }

     }

   //
 });

  //let productsfull = await parseList(inputPath2);
  //const productsDec= lodash.mapKeys(products,"itemId");

};

init();


问:
Argon2 hash to use for disabled accounts
For the Python argon2 library, I would like a simple hash value that is not the hash of any actual password, and yet will raise argon2.exceptions.VerifyMismatchError rather than another exception when checked. I am looking for a way to disable accounts by changing the hash value only, and it would be very helpful if it the 'disabled' hash was visually distinct from normal hashes.

On many Linux systems, a single exclamation mark (!) serves this purpose in /etc/shadow.

Stated another way, what can I use for valid_but_impossible_hash below so that this code displays password is invalid?

import argon2

ph = argon2.PasswordHasher()
try:
    ph.verify('valid_but_impossible_hash', 'Tr0ub4dor&3')
except argon2.exceptions.VerifyMismatchError:
    print("password is invalid")
```

I was unable to find a such a hash value in the Argon2 documentation or elsewhere on the web.

Body:
For the Python argon2 library, I would like a simple hash value that is not the hash of any actual password, and yet will raise argon2.exceptions.VerifyMismatchError rather than another exception when checked. I am looking for a way to disable accounts by changing the hash value only, and it would be very helpful if it the 'disabled' hash was visually distinct from normal hashes.

On many Linux systems, a single exclamation mark (!) serves this purpose in /etc/shadow.

Stated another way, what can I use for valid_but_impossible_hash below so that this code displays password is invalid?

import argon2

ph = argon2.PasswordHasher()
try:
    ph.verify('valid_but_impossible_hash', 'Tr0ub4dor&3')
except argon2.exceptions.VerifyMismatchError:
    print("password is invalid")

I was unable to find a such a hash value in the Argon2 documentation or elsewhere on the web.


问:
How to make search with filtering in recyclerView(firebase)?
I have a search written via order by.
I have 6 buttons (in the future checkboxes) that filter the contents of the view by category.
Buttons are described in a similar way to search.
How to write search and filter correctly in order to synchronize the work of both checkboxes and the search line, so as not to prescribe each script separately.

search code

```<code>private void search(String s) {
    Query query = ProductsRef.orderByChild("prodName")
            .startAt(s)
            .endAt(s + "\uf8ff");

    query.addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot snapshot) {
            if(snapshot.hasChildren())
            {
                arrayList.clear();
                for(DataSnapshot dss: snapshot.getChildren())
                {
                    final Products product = dss.getValue(Products.class);
                    arrayList.add(product);
                }
                MyAdapter myAdapter = new MyAdapter(getApplicationContext(),arrayList);
                recyclerView.setAdapter(myAdapter);
            }
        }

        @Override
        public void onCancelled(@NonNull DatabaseError error) {

        }
    });

}
</code>```

button code

```<code>private void SortByCat(String u) {
    Query query = ProductsRef.orderByChild("category").startAt(u).endAt(u +"\uf8ff" );
    query.addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot snapshot) {
            if(snapshot.hasChildren())
            {
                arrayList.clear();
                for(DataSnapshot dss: snapshot.getChildren())
                {
                    final Products product = dss.getValue(Products.class);
                    arrayList.add(product);
                }
                MyAdapter myAdapter = new MyAdapter(getApplicationContext(),arrayList);
                recyclerView.setAdapter(myAdapter);
            }
        }
        @Override
        public void onCancelled(@NonNull DatabaseError error) {
        }
    });
}
</code>```

Search and buttons work separately, and to be honest, I don’t have enough experience to come up with something more concise than going through all the options for using filters with search.

Body:
I have a search written via order by.
I have 6 buttons (in the future checkboxes) that filter the contents of the view by category.
Buttons are described in a similar way to search.
How to write search and filter correctly in order to synchronize the work of both checkboxes and the search line, so as not to prescribe each script separately.

search code

private void search(String s) {
    Query query = ProductsRef.orderByChild("prodName")
            .startAt(s)
            .endAt(s + "\uf8ff");

    query.addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot snapshot) {
            if(snapshot.hasChildren())
            {
                arrayList.clear();
                for(DataSnapshot dss: snapshot.getChildren())
                {
                    final Products product = dss.getValue(Products.class);
                    arrayList.add(product);
                }
                MyAdapter myAdapter = new MyAdapter(getApplicationContext(),arrayList);
                recyclerView.setAdapter(myAdapter);
            }
        }

        @Override
        public void onCancelled(@NonNull DatabaseError error) {

        }
    });

}

button code

private void SortByCat(String u) {
    Query query = ProductsRef.orderByChild("category").startAt(u).endAt(u +"\uf8ff" );
    query.addValueEventListener(new ValueEventListener() {
        @Override
        public void onDataChange(@NonNull DataSnapshot snapshot) {
            if(snapshot.hasChildren())
            {
                arrayList.clear();
                for(DataSnapshot dss: snapshot.getChildren())
                {
                    final Products product = dss.getValue(Products.class);
                    arrayList.add(product);
                }
                MyAdapter myAdapter = new MyAdapter(getApplicationContext(),arrayList);
                recyclerView.setAdapter(myAdapter);
            }
        }
        @Override
        public void onCancelled(@NonNull DatabaseError error) {
        }
    });
}

Search and buttons work separately, and to be honest, I don’t have enough experience to come up with something more concise than going through all the options for using filters with search.


问:
Sendgrid Enforced TLS and API responses on
I was reading this:

You can optionally choose to enforce TLS encryption, meaning that if the recipient's inbox provider does not accept the TLS encryption, Twilio SendGrid drops the message and sends a block event with “TLS required but not supported” as the description.

If my service uses the Node SDK, with an API key with TLS enforced and sending an email via POST /v3/mail/send and the email gets dropped, does the call result in a 500 or 400 error on the SDK?

Tried looking through docs and it wasn't clear to me.  I was going to set up a STMP relay to test this out but wanted to check here first


问:
Fetch data from mongo db from a function in one nodejs file and return it to another nodejs file
So, I want a function in dbAction.js to get data from mongoDB(mongoose). After getting the data I want to return it to app.js. But every time i run it I get undefined

//in dbActionon.js

const db = require('./dbconnect') // This contains the mongoose connect and schema

 function getData() {
    let data;
         db.users.find(function (err, urls) {
            if (err) {
                data = "error"
            } else {
                data= urls
            }
        })
        return (data)
    }
exports.getData = getData
```
<p>Code in app.js</p>
<pre class="lang-js prettyprint-override"><code>const dbAction = require('./dbAction')

function retrieve(){
  let data = dbAction.getData()
  console.log(data)
}
</code>```

I tried the code mentioned above and I expect help and code for how i can fix this issue.

Body:
So, I want a function in dbAction.js to get data from mongoDB(mongoose). After getting the data I want to return it to app.js. But every time i run it I get undefined

//in dbActionon.js

const db = require('./dbconnect') // This contains the mongoose connect and schema

 function getData() {
    let data;
         db.users.find(function (err, urls) {
            if (err) {
                data = "error"
            } else {
                data= urls
            }
        })
        return (data)
    }
exports.getData = getData

Code in app.js

const dbAction = require('./dbAction')

function retrieve(){
  let data = dbAction.getData()
  console.log(data)
}

I tried the code mentioned above and I expect help and code for how i can fix this issue.


问:
Assembly scanf function
im trying to receive two strings and their length and after that another number.
like this: 5 hello 2 hi 8.
i succeed at receiving both strings and their length but i can`t receive the last number.
(The reason for allocating a lot of space is because i assume the strings length is 255 at max)
i get the error "Program received signal SIGSEGV, Segmentation fault."</p>
```<code>.data

.section    .rodata         #read only data section
_scanf_check:   .string "%d" #in order to check output
_scanf_length1: .string "%d"
_scanf_length2: .string "%d"
_scanf_str1:    .string "%s"
_scanf_str2:    .string "%s"
_scanf_option:  .string "%d"

.text
.global main
.type   main, @function
main:
    movq %rsp, %rbp #for correct debugging
    pushq %rbp      #save the old frame pointer
    movq    %rsp, %rbp  #create the new frame pointer
    #########################################################
    #receiving the length of first pstring.
    leaq -524(%rbp),%rsi    #allocate 524 bytes on the stack.
    movq $_scanf_length1,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the string of first pstring.
    leaq -520(%rbp),%rsi
    movq $_scanf_str1,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the length of second pstring.
    leaq -264(%rbp),%rsi
    movq $_scanf_length2,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the string of first pstring.
    leaq -260(%rbp),%rsi
    movq $_scanf_str2,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the option from the menu.
    leaq -4(%rbp),%rsi
    movq $_scanf_option,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #move back the %rdi-first arg to point on the length of first pstring
    #and %rsi-second arg to point on the length of second pstring also
    #move back the %rdx-third arg to point on the number of option.
    leaq -524(%rbp),%rdi
    leaq -264(%rbp),%rsi
    leaq -4(%rbp),%rdx
    .char_pstrlength:
   movq %rdx,%rsi #reload the address of the last number to %rsi
    movq (%rsi),%rsi #insert the value to rsi.
    movq $_scanf_check,%rdi
    xor %rax,%rax
    call printf
    movq    %rbp, %rsp  #restore the old stack pointer - release all used memory.
    popq    %rbp        #restore old frame pointer (the caller function frame)
    ret
    ```

</code>```

Title: Assembly scanf function

Body:
im trying to receive two strings and their length and after that another number.
like this: 5 hello 2 hi 8.
i succeed at receiving both strings and their length but i can`t receive the last number.
(The reason for allocating a lot of space is because i assume the strings length is 255 at max)
i get the error "Program received signal SIGSEGV, Segmentation fault."

.data

.section    .rodata         #read only data section
_scanf_check:   .string "%d" #in order to check output
_scanf_length1: .string "%d"
_scanf_length2: .string "%d"
_scanf_str1:    .string "%s"
_scanf_str2:    .string "%s"
_scanf_option:  .string "%d"

.text
.global main
.type   main, @function
main:
    movq %rsp, %rbp #for correct debugging
    pushq %rbp      #save the old frame pointer
    movq    %rsp, %rbp  #create the new frame pointer
    #########################################################
    #receiving the length of first pstring.
    leaq -524(%rbp),%rsi    #allocate 524 bytes on the stack.
    movq $_scanf_length1,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the string of first pstring.
    leaq -520(%rbp),%rsi
    movq $_scanf_str1,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the length of second pstring.
    leaq -264(%rbp),%rsi
    movq $_scanf_length2,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the string of first pstring.
    leaq -260(%rbp),%rsi
    movq $_scanf_str2,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #receiving the option from the menu.
    leaq -4(%rbp),%rsi
    movq $_scanf_option,%rdi
    xor %rax,%rax
    call scanf
    #########################################################
    #move back the %rdi-first arg to point on the length of first pstring
    #and %rsi-second arg to point on the length of second pstring also
    #move back the %rdx-third arg to point on the number of option.
    leaq -524(%rbp),%rdi
    leaq -264(%rbp),%rsi
    leaq -4(%rbp),%rdx
    .char_pstrlength:
   movq %rdx,%rsi #reload the address of the last number to %rsi
    movq (%rsi),%rsi #insert the value to rsi.
    movq $_scanf_check,%rdi
    xor %rax,%rax
    call printf
    movq    %rbp, %rsp  #restore the old stack pointer - release all used memory.
    popq    %rbp        #restore old frame pointer (the caller function frame)
    ret
    ```


问:
Android - Rotate Dial

Possible Duplicate:

  Android - Rotate image around center point?

I need a dial button in my app, so the user can rotate the dial when they drag there finger across it. Does anyone have a nice example?

ContentLicense: CC BY-SA 3.0

Title: Android - Rotate Dial


问:
addEventListener focuses on wrong field
I am trying to keep focus inside popup by redirecting focus on tab from last control (lbtnCancel) to the first (txtCustomMode).

For some reason this code focuses on second control instead of first.
Any ideas?

```<code><script>
 window.onload = function () {
        document.getElementById('lbtnCancel')
            .addEventListener('keydown', function (e) {
                if (event.keyCode == 9) {
                    document.getElementById('txtCustomMode').focus();
                }
            });
    };
</script>
</code>```

Here is rest of simplified code just in case:

```<code>   <asp:TextBox ID="txtCustomMode" runat="server" Width="120" />
   <asp:TextBox ID="TextBox2" runat="server" Width="120" />
   <asp:TextBox ID="TextBox3" runat="server" Width="120" />
   <asp:TextBox ID="TextBox4" runat="server" Width="120" />
   <asp:TextBox ID="TextBox5" runat="server" Width="120" />

  <asp:LinkButton ID="lbtnCancel" runat="server" Text="Close" width="250px" />
</code>```

Thank you

Title: addEventListener focuses on wrong field

Body:
I am trying to keep focus inside popup by redirecting focus on tab from last control (lbtnCancel) to the first (txtCustomMode).

For some reason this code focuses on second control instead of first.
Any ideas?

Here is rest of simplified code just in case:

   <asp:TextBox ID="txtCustomMode" runat="server" Width="120" />
   <asp:TextBox ID="TextBox2" runat="server" Width="120" />
   <asp:TextBox ID="TextBox3" runat="server" Width="120" />
   <asp:TextBox ID="TextBox4" runat="server" Width="120" />
   <asp:TextBox ID="TextBox5" runat="server" Width="120" />

  <asp:LinkButton ID="lbtnCancel" runat="server" Text="Close" width="250px" />

Thank you


问:
Post CSS isn't converting it's custom properties correctly
I am working on a  a project using Webpack that utilizes PostCSS loader and code splitting. The CSS for modules is imported directly into entrypoints per the below using the SASS loader.

import '@/css/modules/parts/_accordion.scss'
Some modules use CSS custom properties, which are declared in a separate module imported above in the same entrypoint.

import '@/js/modules/rare'
This works fine, however, only the custom properties used in the common module get converted to hex values in compiled CSS as expected by PostCSS loader, not the ones used in each other SASS module subsequently imported into the entrypoint e.g. _accordion.scss.

In order for them to be converted I'm currently importing the file containing the custom properties at the top of each SASS module. This is not optimal.

@import "css/tools/variables/sizes";
This however means the custom property declarations are duplicated in multiple CSS files (chunks).

I would like to get a solution to avoid duplicating the declarations in the compiled CSS, that also ensures all custom properties are converted as they should be by PostCSS.


问:
Need to convert a for loop in node js, since it is causing time complexity
I have a JSON containg n number of data, I am iterating the data over for loop and bind them in a image. the complexity o(n). I want to reduce the complexity to o(log n)

what is the best alternate to for loop after converting from o(n) to o(log n)


问:
DataGridViewLinkCell not working properly
I'm trying to achieve my first CRUD code in C# with SQL server. Every time you run the app and click on different cells, app crash

```<code>private void MLA_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
    DataGridViewLinkCell cell = (DataGridViewLinkCell)MLA.Rows[e.RowIndex].Cells[e.ColumnIndex];
    if (cell.Value.ToString() == "EDITAR")
    {
        AgregarMLA agregarMLA = new AgregarMLA();
        agregarMLA.LoadContact(new tablaMLA
        {

            URL_ID = int.Parse(MLA.Rows[e.RowIndex].Cells[0].Value.ToString()),
            URL_QUERY = (MLA.Rows[e.RowIndex].Cells[1]).Value.ToString()
        });
        agregarMLA.ShowDialog(this);
    }
    else if (cell.Value.ToString() == "BORRAR")
    {

        BorrarMLA(int.Parse(MLA.Rows[e.RowIndex].Cells[0].Value.ToString()));
        Populate();
    }
}
</code>```

This function actually crash wherever you touch a cell does come from the sql server "select".

There's nothing else I could try because there is not much information about DataGridViewLinkCell.

Body:
I'm trying to achieve my first CRUD code in C# with SQL server. Every time you run the app and click on different cells, app crash

private void MLA_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
    DataGridViewLinkCell cell = (DataGridViewLinkCell)MLA.Rows[e.RowIndex].Cells[e.ColumnIndex];
    if (cell.Value.ToString() == "EDITAR")
    {
        AgregarMLA agregarMLA = new AgregarMLA();
        agregarMLA.LoadContact(new tablaMLA
        {

            URL_ID = int.Parse(MLA.Rows[e.RowIndex].Cells[0].Value.ToString()),
            URL_QUERY = (MLA.Rows[e.RowIndex].Cells[1]).Value.ToString()
        });
        agregarMLA.ShowDialog(this);
    }
    else if (cell.Value.ToString() == "BORRAR")
    {

        BorrarMLA(int.Parse(MLA.Rows[e.RowIndex].Cells[0].Value.ToString()));
        Populate();
    }
}

This function actually crash wherever you touch a cell does come from the sql server "select".

There's nothing else I could try because there is not much information about DataGridViewLinkCell.


问:
smtplib.SMTPDataError, how to skip it?
My wife has a database of client emails for her work. Because I am studying Python, she asked me to make a program to send automatically the newsletter with the program.

I followed the code of this website :

Website where I took the code

I made many tests with my mail, her mail, a list of friend's mails (they knew that I will test this), everything worked, with different clients (google, outlook, and so on ...).

Today was the big day to launch the script to send a merry Christmas to her clients. But, for some reasons I ignore, I have this error after a few mails:

```<code>Traceback (most recent call last):
  File "C:\Users\???\Documents\Newsletter\eMailing.py", line 364, in <module>
    server.sendmail(email_address, email_receiver, message.as_string())
  File "C:\Users\???\AppData\Local\Programs\Python\Python39\lib\smtplib.py", line 903, in sendmail
    raise SMTPDataError(code, resp)
smtplib.SMTPDataError: (550, b'Message was not accepted -- invalid mailbox.  Local mailbox client@address.com is unavailable: Invalid mPOP user address')
</code>```

I censored the mail address. Is it possible to skip the error, and continue the program?

The code is in a for loop:

```<code>email_list = cleaned_email_list
counter_mails = 0

for mail in email_list:
  email_receiver = mail

  # Creation of eMail
  message = MIMEMultipart("alternative")
  # Subject
  message["Subject"] = "Музыка для твоего вдохновения"
  # From
  message["From"] = email_address
  # To
  message["To"] = email_receiver

  # Creation of the text of the mail in raw
  text = '''

  '''
  # Ceation of the text with HTML
  html = '''

  <html>

I deleted the code in HTML because it's too long but there is a mail in HTML here

  </html>
  '''

  # Creation of elements MIMEText
  texte_mime = MIMEText(texte, 'plain')
  html_mime = MIMEText(html, 'html')

  # Gluing elements
  message.attach(texte_mime)
  message.attach(html_mime)

  # creation of the connexion
  context = ssl.create_default_context()
  with smtplib.SMTP_SSL(smtp_address, smtp_port, context=context) as server:
    # connexion to the account
    server.login(email_address, email_password)
    # sending the mail
    server.sendmail(email_address, email_receiver, message.as_string())

    print("Mail sent to :", mail)
    counter_mails += 1

print('\n')
print('Total mails sent : ', counter_mails)
</code>```

I tried to find a solution, looks like it exist a solution with the function try, but I didn't get how it works.

I would like this: when I can't send the mail, instead of the error, it jumps to the next step, doesn't execute this:

```<code>    print("Mail sent to :", mail)
    counter_mails += 1
</code>```

and goes back to the " for mail in email_list: " and continues until the end of the list.

There is an answer here:
The answer

The problem, I didn't understand where to put the code:

```<code>except SMTPResponseException as e:
    error_code = e.smtp_code
    error_message = e.smtp_error
</code>```

Do I need to put this too?

```<code>try:
  smtpObj = smtplib.SMTP('smtp.gmail.com',587)
  smtpObj.starttls()
  smtpObj.login(sender,'foo@bar.com')
  smtpObj.sendmail(sender, receivers, message)
</code>```

Title: smtplib.SMTPDataError, how to skip it?

Body:
My wife has a database of client emails for her work. Because I am studying Python, she asked me to make a program to send automatically the newsletter with the program.

I followed the code of this website :

Website where I took the code

I made many tests with my mail, her mail, a list of friend's mails (they knew that I will test this), everything worked, with different clients (google, outlook, and so on ...).

Today was the big day to launch the script to send a merry Christmas to her clients. But, for some reasons I ignore, I have this error after a few mails:

Traceback (most recent call last):
  File "C:\Users\???\Documents\Newsletter\eMailing.py", line 364, in <module>
    server.sendmail(email_address, email_receiver, message.as_string())
  File "C:\Users\???\AppData\Local\Programs\Python\Python39\lib\smtplib.py", line 903, in sendmail
    raise SMTPDataError(code, resp)
smtplib.SMTPDataError: (550, b'Message was not accepted -- invalid mailbox.  Local mailbox client@address.com is unavailable: Invalid mPOP user address')

I censored the mail address. Is it possible to skip the error, and continue the program?

The code is in a for loop:

email_list = cleaned_email_list
counter_mails = 0

for mail in email_list:
  email_receiver = mail

  # Creation of eMail
  message = MIMEMultipart("alternative")
  # Subject
  message["Subject"] = "Музыка для твоего вдохновения"
  # From
  message["From"] = email_address
  # To
  message["To"] = email_receiver

  # Creation of the text of the mail in raw
  text = '''

  '''
  # Ceation of the text with HTML
  html = '''

I deleted the code in HTML because it's too long but there is a mail in HTML here

  '''

  # Creation of elements MIMEText
  texte_mime = MIMEText(texte, 'plain')
  html_mime = MIMEText(html, 'html')

  # Gluing elements
  message.attach(texte_mime)
  message.attach(html_mime)

  # creation of the connexion
  context = ssl.create_default_context()
  with smtplib.SMTP_SSL(smtp_address, smtp_port, context=context) as server:
    # connexion to the account
    server.login(email_address, email_password)
    # sending the mail
    server.sendmail(email_address, email_receiver, message.as_string())

    print("Mail sent to :", mail)
    counter_mails += 1

print('\n')
print('Total mails sent : ', counter_mails)

I tried to find a solution, looks like it exist a solution with the function try, but I didn't get how it works.

I would like this: when I can't send the mail, instead of the error, it jumps to the next step, doesn't execute this:

    print("Mail sent to :", mail)
    counter_mails += 1

and goes back to the " for mail in email_list: " and continues until the end of the list.

There is an answer here:
The answer

The problem, I didn't understand where to put the code:

except SMTPResponseException as e:
    error_code = e.smtp_code
    error_message = e.smtp_error

Do I need to put this too?

try:
  smtpObj = smtplib.SMTP('smtp.gmail.com',587)
  smtpObj.starttls()
  smtpObj.login(sender,'foo@bar.com')
  smtpObj.sendmail(sender, receivers, message)


问:
Index._join_level on non-unique index is not implemented when trying to plot
I am working with NBA data and I want to get the info for tallest and shortest player for a certain team in each season and then plot it to see trends changing during years.

This is how my code looks like:

```<code>nba8 = nba[nba['team_abbreviation'] == "PHI"]

nba8 = nba8.groupby(['season', 'team_abbreviation']).agg({'player_height': ['min', 'max']})

nba8 = nba8.reset_index()

x_ticks = nba8.index[::4]

nba8.plot(x='season', y=['player_height', 'player_height'], kind='line')

plt.xticks(x_ticks, nba8['season'][::4])

plt.xlabel('Season')
plt.ylabel('Height (cm)')
plt.title('Tallest and Shortest Player in Team "PHI" in Each Season')

plt.show()
</code>```

But when I do it, I get the following error:

```<code>NotImplementedError: Index._join_level on non-unique index is not implemented
</code>```

Any idea on how can I solve it?

Body:
I am working with NBA data and I want to get the info for tallest and shortest player for a certain team in each season and then plot it to see trends changing during years.

This is how my code looks like:

nba8 = nba[nba['team_abbreviation'] == "PHI"]

nba8 = nba8.groupby(['season', 'team_abbreviation']).agg({'player_height': ['min', 'max']})

nba8 = nba8.reset_index()

x_ticks = nba8.index[::4]

nba8.plot(x='season', y=['player_height', 'player_height'], kind='line')

plt.xticks(x_ticks, nba8['season'][::4])

plt.xlabel('Season')
plt.ylabel('Height (cm)')
plt.title('Tallest and Shortest Player in Team "PHI" in Each Season')

plt.show()

But when I do it, I get the following error:

NotImplementedError: Index._join_level on non-unique index is not implemented

Any idea on how can I solve it?