# Crash at startup investigation

**URL:** https://community.bear.app/t/crash-at-startup-investigation/9778
**Category:** Development feedback request
**Created:** [April 10, 2023, 3:54pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778 "2023-04-10T15:54:52Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 10, 2023, 3:54pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/1 "2023-04-10T15:54:52Z")

</div>

Hello folks!

I’m Konstantin, one of the developers here at Shiny Frog; nice to meet you!

I’m investigating a startup crash during the first sync, around ten after Bear is opened.

Unfortunately, I’m not able to simulate it on my side, but judging from the crash reports, I know that few people of you can reproduce it consistently (I’m talking, for example, to the person that left the crash message `The app always crashes about 10 seconds after opening, no matter what i do.`)

If this happens to you, please contact me to tackle this together.

Thank you so much!

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 10, 2023, 3:56pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/2 "2023-04-10T15:56:12Z")

</div>



---

<div class="post-metadata">

### Author: ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://community.bear.app/u/Jonathan)
#### Post date: [April 10, 2023, 9:53pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/3 "2023-04-10T21:53:53Z")

</div>

Hello,

I had this problem on iphone, systematic crash after 10 seconds. What I did was make a backup from the device that was working and up to date (iPad) then I imported that same backup to the iphone (downloaded from iCloud and imported in airplane mode in Bear 2). I haven’t had this problem since. I have the impression that the problem came from the synchronisation of the tags during the first sync (?) I don’t know if that helps…

Sorry for my English, I’m from Switzerland 😅

---

<div class="post-metadata">

### Author: ![feed\_sheep](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@feed\_sheep](https://community.bear.app/u/feed_sheep)
#### Post date: [April 10, 2023, 10:01pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/4 "2023-04-10T22:01:55Z")

</div>

I am having this issue - it started after I updated to iOS and iPadOS 16.4.1. I’m using an iPhone 11 Pro Max and iPad Pro 9.7”

---

<div class="post-metadata">

### Author: ![petramb](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@petramb](https://community.bear.app/u/petramb)
#### Post date: [April 11, 2023, 12:46pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/5 "2023-04-11T12:46:12Z")

</div>

I’m actually the one who left that message. Everything worked fine until I updated to the las ios, now bear crashes about ten seconds after opening. I figured out that if I turn of wifi and celluar, the app doesn’t crash, so i might have to do something with the sync.

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 11, 2023, 1:32pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/6 "2023-04-11T13:32:16Z")

</div>

Hello everyone!

@Jonathan it seems to be indeed a problem with the synchronisation of the tags, and your solution does make sense, because restoring a backup from another device could change the order of the sync notifications, so the issue could not arise.

@feed_sheep & @petramb may I ask you to leave your crashing Bear as it is, without using it offline, or doing anything that could change the state of the App? We are currently solving an issue with the synchronisation that could make your Bear work again. Leaving everything as it is would be very helpful to understand whether we are able to solve that particular issue.

I will send a message here as soon as we ship the update that should address the issue, and if everything will remain as it is now, I will get in touch to ask you additional information about your state.

For now thank you so much! Will be back soon

👋

---

<div class="post-metadata">

### Author: ![petramb](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@petramb](https://community.bear.app/u/petramb)
#### Post date: [April 13, 2023, 7:32am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/7 "2023-04-13T07:32:14Z")

</div>

Just to let you know, my Bear has synced today and no longer crashes. Thanks!

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 13, 2023, 8:01am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/8 "2023-04-13T08:01:09Z")

</div>

@petramb unfortunately we haven’t done anything yet; the new version should ship later today, if we don’t encounter any roadblock.

But on the other hand I’m very happy that your Bear started to work again, that’s a very good thing!

For everyone else: I will write you here as soon as the update will be online.

---

<div class="post-metadata">

### Author: ![petramb](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@petramb](https://community.bear.app/u/petramb)
#### Post date: [April 13, 2023, 8:55am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/9 "2023-04-13T08:55:36Z")

</div>

That’s weird 😮 but everything works perfectly now

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 13, 2023, 4:40pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/10 "2023-04-13T16:40:53Z")

</div>

Hello everyone!

The version that should fix your crashes is waiting for you in TestFlight. Please update Bear 2 and let me know if everything works now.

Thank you so much for your help and patience!

👋

---

<div class="post-metadata">

### Author: ![feed\_sheep](https://avatars.discourse-cdn.com/v4/letter/f/ccd318/32.png) [@feed\_sheep](https://community.bear.app/u/feed_sheep)
#### Post date: [April 14, 2023, 1:47am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/11 "2023-04-14T01:47:17Z")

</div>

Unfortunately, Bear still won’t open for me. I’ve force closed the app and reopened it, restarted my phone, closed and reopened TestFlight, and it still crashes when opening.

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 14, 2023, 10:02am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/12 "2023-04-14T10:02:50Z")

</div>

@feed_sheep I’m going to write you a private message in short time with additional information, so we can debug this together.

Thank you!

---

<div class="post-metadata">

### Author: ![pearlmadgirl](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@pearlmadgirl](https://community.bear.app/u/pearlmadgirl)
#### Post date: [April 18, 2023, 3:11pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/13 "2023-04-18T15:11:27Z")

</div>

Hi. I have this issue. I backed up all data before installing Bear 2. Then installed the new app on all iOS and MacOs devices. The crashes started when I made a new note on one device and then tried to open the app on another. Basically when it was syncing via iCloud. Now it crashes on all devices when I try to open the app and in those 10 seconds I can see it is still not synced. So the app is totally unusual even for me now.

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 18, 2023, 6:48pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/14 "2023-04-18T18:48:13Z")

</div>

@pearlmadgirl I’m going to write you in private in order to start the investigation.

Thank you!

---

<div class="post-metadata">

### Author: ![PLang](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@PLang](https://community.bear.app/u/PLang)
#### Post date: [April 19, 2023, 10:59am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/15 "2023-04-19T10:59:44Z")

</div>

I mesn that it come when sync some empty note. When I delete it on Mac (source of this empty note) crashis stopt.

---

<div class="post-metadata">

### Author: ![rosschehayeb](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rosschehayeb](https://community.bear.app/u/rosschehayeb)
#### Post date: [April 21, 2023, 8:55pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/16 "2023-04-21T20:55:55Z")

</div>

@nerolapis with todays update, the MacOS app crashes every time I open the app. It still works fine on iOS.

---

<div class="post-metadata">

### Author: ![brasilikum](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/brasilikum/32/3361_2.png) [@brasilikum](https://community.bear.app/u/brasilikum)
#### Post date: [April 21, 2023, 9:37pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/17 "2023-04-21T21:37:51Z")

</div>

Workaround that I found:

- Backup
- Delete everyting
- Empty trash
- import

I was not able to pin down possible cuases, beacuase I have ~500 notes. The empty title might have been involved, I think the sync got further before crashing on Iphone when I removed those notes / added titles.

Unfortunately I can no longer reproduce the issue, as the backup and restore worked for me.

---

<div class="post-metadata">

### Author: ![sun30812](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sun30812](https://community.bear.app/u/sun30812)
#### Post date: [April 22, 2023, 2:28pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/18 "2023-04-22T14:28:28Z")

</div>

I also had this bug.

When the issue occurred, it could be resolved by reinstalling the app after you **erased Bear from iCloud storage**.

---

<div class="post-metadata">

### Author: ![nerolapis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/nerolapis/32/10_2.png) [@nerolapis](https://community.bear.app/u/nerolapis)
#### Post date: [April 22, 2023, 5:35pm UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/19 "2023-04-22T17:35:16Z")

</div>

Hello everyone!

We are still investigating the issue, and we would appreciate any help you can provide us with.

If possible, we ask you not to follow any workaround you find to solve the issue but to get in touch with me, so I can guide you in the generation of some logs that could help us understand why the issue is happening.

We understand if you must follow the workarounds to get back your Bear in the quickest way possible, but if you can wait some days, we would benefit a lot from the logs Bear could generate, and together we could solve this issue for good.

I really appreciate your help!

---

<div class="post-metadata">

### Author: ![edob90](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@edob90](https://community.bear.app/u/edob90)
#### Post date: [April 23, 2023, 9:22am UTC](https://community.bear.app/t/crash-at-startup-investigation/9778/20 "2023-04-23T09:22:37Z")

</div>

Hello!

I’m tagging along for this problem of (almost) immediate crash upon opening. To my understanding, it’s related to syncing, and it happens only on iPad running the latest version OS (16.4.1).

I did not try any workarounds (on my other devices everything seems to work), but I did try a previous build (10936), which crashes as well in the same way.

I’m more than happy to provide logs, if it helps.

Thanks!

[Next page](https://community.bear.app/t/crash-at-startup-investigation/9778.md?page=2)
