# Stuck since August 19 with images from external camera: App crashes

**URL:** <https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435>\
**Category:** Mobile apps\
**Created:** [October 19, 2019, 6:27am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435 "2019-10-19T06:27:37Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 24, 2019, 1:51pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/21 "2019-10-24T13:51:57Z")

</div>

Oh, that would be great 🙂

Hmm, what number are you interested in?

- How many images are sitting in one iDevice at the moment waiting to be uploaded?
- How many images did you ever take with the two external cameras?

As I own two cameras and use the two iDevices to capture it is not easy to tell which camera has taken which number of images.

You could have a look at my already uploaded 360° images. First I only had one camera so the total image count of one camera will be much higher than of the other.

---

<div class="post-metadata">

**Author:** ![Anders](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/anders/32/55_2.png) [@Anders](https://forum.mapillary.com/u/Anders)\
**Post date:** [October 24, 2019, 1:53pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/22 "2019-10-24T13:53:16Z")

</div>

Ok, I managed to get it to not crash now by changing how coordinates are stored in memory for Mapbox. I’ll make a build and send to Apple and it should be out within 24h. I hope this solves your problems!

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 26, 2019, 7:22am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/23 "2019-10-26T07:22:04Z")

</div>

THANKS! The problem with crashes will trying to verify is fixed!

I am now able to upload my pictures form the external cameras.

BUT, there is a new problem: The app on both devices sometimes crashes in the upload process. The second attempt to upload the same sequence always works. Another memory problem?

This problem does not have a very high priority for my as the upload is successful the second time I try. But it is still annoying and slows down the upload process…

I tried to make a manual log file, when this happens:

**Explanation:**  
000 = number of pictures in the sequence  
P = I pressed “check position”  
U = I pressed “Upload pictures”

**iPad Air 2**

- 72 P U crash
- 72 U done.
- 15 P U done
- 29 P U crash before showing the screen “adding exif”
- 29 U done
- 46 P U done
- 112 P U crash after showing the screen “adding exif”
- 112 U done
- 116 P U crash before showing the screen “adding exif”
- 116 U done

**iPhone SE**

- 85 P U done
- 12 P U done
- 173 P U done
- 10 P U done
- 136 P U crash before showing the screen “adding exif”
- 136 U done
- 163 P U done
- 24 P U done
- 72 P U done
- 346 P crash

---

<div class="post-metadata">

**Author:** ![Anders](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/anders/32/55_2.png) [@Anders](https://forum.mapillary.com/u/Anders)\
**Post date:** [October 28, 2019, 9:44am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/24 "2019-10-28T09:44:00Z")

</div>

I’m working on a bug in the adding exif process where there is a memory leak. It depends on how many photos you are trying to upload and how much RAM you have available. On my test device it only seems to happen if you have several thousand photos. It’s an XR though.

It sounds like it’s something else for you though as you don’t have that many photos.

I hope to have a fix ready today and hopefully it solves the problems you are having.

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 28, 2019, 8:48pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/25 "2019-10-28T20:48:42Z")

</div>

Hmm, this could explain the remaining problems I have on my iPad Air 2: There I have one sequence with 647 images and one with 573 images and the app crashes every time while adding exif data…

---

<div class="post-metadata">

**Author:** ![Anders](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/anders/32/55_2.png) [@Anders](https://forum.mapillary.com/u/Anders)\
**Post date:** [October 29, 2019, 8:36am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/26 "2019-10-29T08:36:21Z")

</div>

The update is out, please give it a try!

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 29, 2019, 4:31pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/27 "2019-10-29T16:31:40Z")

</div>

Hmm, now I have only one sequence left with 573 images where the app still crashes while trying to add the EXIF data.

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 29, 2019, 10:37pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/28 "2019-10-29T22:37:26Z")

</div>

After deleting several images, I was able to upload the remaining 430 images.

---

<div class="post-metadata">

**Author:** ![Anders](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/anders/32/55_2.png) [@Anders](https://forum.mapillary.com/u/Anders)\
**Post date:** [October 30, 2019, 11:20am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/29 "2019-10-30T11:20:39Z")

</div>

I actually got a crash report that was probably from you when trying to “clean” the existing EXIF in an image before adding the new EXIF, so perhaps the images from the external camera has some weird stuff in the EXIF for some reason that the images from the iPhone camera doesn’t have.

Do remember any of the sequences that caused crashes for you? Unfortunately I deleted the sequences that I downloaded, but I can download a sequence or two and use for debugging if you can point me to one.

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 30, 2019, 12:08pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/30 "2019-10-30T12:08:11Z")

</div>

Sorry, the problematic sequence was from the other device not the one I gave you the data. I have already deleted the app and reinstalled it to be able to begin from scratch without old data hanging around. So if I would run into this problem again, I would give you a call 🙂

---

<div class="post-metadata">

**Author:** ![Anders](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/anders/32/55_2.png) [@Anders](https://forum.mapillary.com/u/Anders)\
**Post date:** [October 30, 2019, 1:41pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/31 "2019-10-30T13:41:19Z")

</div>

Ok! I’ll do a blind fix then just in case 🙂

Anyway, I want to thank you for a) reporting replems b) being patient c) providing data for debugging! Much appreciated!

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [October 30, 2019, 2:07pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/32 "2019-10-30T14:07:49Z")

</div>

Thank you for fixing the replems! 🙂

---

<div class="post-metadata">

**Author:** ![doebeli](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/doebeli/32/904_2.png) [@doebeli](https://forum.mapillary.com/u/doebeli)\
**Post date:** [November 2, 2019, 3:34pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/33 "2019-11-02T15:34:46Z")

</div>

WOW! The app is super fast in checking the position and adding the exif data after the reinstall!

It seems there was a lot of data/garbage in the app slowing the processes down extremly.

Does the setting “delete local data” the same as reinstalling the whole app? Because then I will delete local data from time to time to have a fast app…

[Previous page](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435.md?page=1)
