# 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:** 20\
**Page:** 1

<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 19, 2019, 6:27am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/1 "2019-10-19T06:27:37Z")

</div>

Since August 2019 I am stuck with about 15’000 images from two external cameras (LG 105 360° cam) on two devices (iPad and iPhone). The app crashes every time I try to upload the images in the process of asking “Is this image at the correct position?”. So I’m no longer able to upload ANY image from my external camera ☹

- It happens even with small sequences (20 images).
- All data needed seems to be available to the app: The sequences are mapped correctly inside the app.
- Newest iOS, newest app version

I had contact with the support several times but they couldn’t help up to now.

Am I alone with this problem?

---

<div class="post-metadata">

**Author:** ![4004](https://avatars.discourse-cdn.com/v4/letter/4/bbce88/32.png) [@4004](https://forum.mapillary.com/u/4004)\
**Post date:** [October 19, 2019, 4:20pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/2 "2019-10-19T16:20:19Z")

</div>

in case they can’t come up with a fix, you could try extracting the image files from the app directory with something like imazing

---

<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 19, 2019, 9:26pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/3 "2019-10-19T21:26:21Z")

</div>

Thanks for this idea! Unfortunately the images are stored without position data in the EXIF fields. But I could extract all images and json files for the mapillary support. Hopefully they can find the problem with this data.

---

<div class="post-metadata">

**Author:** ![4004](https://avatars.discourse-cdn.com/v4/letter/4/bbce88/32.png) [@4004](https://forum.mapillary.com/u/4004)\
**Post date:** [October 19, 2019, 10:45pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/4 "2019-10-19T22:45:54Z")

</div>

ah that’s a bummer. not sure how much overhead is saved by post-capture exif injection, but it has always irritated me

---

<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 22, 2019, 1:00pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/5 "2019-10-22T13:00:03Z")

</div>

Hi, I had a look at the files you sent to support. There are some things that I found.

For some reason, the GPX file is missing in some folders. One theory is that some sequences are captured with an old app (before we used GPX files) and that some were captured with the new app (with GPX) files. And when using the new app, it is only looking for GPX files.

I’ll try to import the data to my phone and hopefully I can get a crash then and do a fix.

---

<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 22, 2019, 2:00pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/6 "2019-10-22T14:00:50Z")

</div>

Thanks for your help!

When did the app start using GPX files? The problem began this summer vacation (Juli 2019) and I am not aware of having updated the app in my holidays.

My theories are a) to much memory use of the app or b) data corruption due to some strange manipulation on my side.

---

<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 22, 2019, 2:40pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/7 "2019-10-22T14:40:28Z")

</div>

It was back in March. I can see some crash logs from the place you mention (verify location), but it doesn’t look like an out of memory problem. This crash log could also be from someone else as they are anonymous. The line it crashes on doesn’t give me any clues but I’ll investigate.

When specifically does it crash? As soon as the view appears or when you click something?

---

<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 22, 2019, 3:12pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/8 "2019-10-22T15:12:10Z")

</div>

It crashes some time after the question “Is this picture at the right position?” appears but BEFORE the picture is actually displayed. I do not click anything.

---

<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 23, 2019, 2:19pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/9 "2019-10-23T14:19:55Z")

</div>

OneDrive is giving me problems lol. I downloaded all files, and the zip was corrupt. Tried again, same thing. So I’m downloading each folder one at a time, so it will take me some days to get all the 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 23, 2019, 3:53pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/10 "2019-10-23T15:53:22Z")

</div>

I can also provide Google Drive or Dropbox or you give me a place where I can deposit my 58 GB, no problem 🙂

---

<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, 8:50am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/11 "2019-10-24T08:50:10Z")

</div>

It’s fine. Out of curiosity, have you ever deleted the app?

---

<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, 9:34am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/12 "2019-10-24T09:34:37Z")

</div>

No, out of fear I would loose important data. I wanted to delete the apps on my iPhone and my iPad AFTER uploading all of the remaining images to be able to start from scratch (and get rid of the problems I face at the moment).

---

<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, 11:50am UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/13 "2019-10-24T11:50:42Z")

</div>

There is one thing missing that I don’t have access to, and that’s the database where it looks for GPS positions for external cameras. Unfortunately it’s not a file that’s exposed so you can’t send it to me.

I have managed to get the app to crash with your files if the database is empty. So thought it could be that. Or that the database for some reason is corrupt.

---

<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, 12:03pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/14 "2019-10-24T12:03:36Z")

</div>

Hmm, but why is the app able to show me the images at the correct position on the map inside the app? I can look at a sequence and the app shows me the correct position of every image on the map. Only if I try to upload the sequence, the app seems to have a problem with the probably corrupted database.

 ![mapillary](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/7/4/74c75154b75d622a594c5b70b1c46071dd5fca31.jpeg) ![IMG_3673](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/d/4/d4019b03c2c2fd0505f30e9e4185bd516817de61.png)

---

<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, 12:14pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/15 "2019-10-24T12:14:52Z")

</div>

Does it crash if you click “Zeit korrigieren”?

---

<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, 12:33pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/16 "2019-10-24T12:33:29Z")

</div>

Yes. It shows the usual screen and then crashes.

 ![IMG_3674](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/5/8/5861b0fe1ce7dc3e410fb9618426d8aa98a8769e.png)

---

<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, 12:42pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/17 "2019-10-24T12:42:06Z")

</div>

Time to crash after button pressed depends on the length of the sequence:

- 461 images: 2min 12 sec
- 22 images: 7.7 sec

So the crash seems to take place at the end of handling the sequence in some way…

---

<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, 12:56pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/18 "2019-10-24T12:56:28Z")

</div>

Those two screens use different data, where the latter use the database to get ALL locations, and this is where it breaks for you for some reason. I hope I can come up with something smart.

---

<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:18pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/19 "2019-10-24T13:18:00Z")

</div>

Hmm, interesting that my “all location database” seems to be corrupt on two different devices. Does this info help find the possible cause for the corruption?

Does it help if I tell you that I am still able to upload images taken directly by the internal camera of my iPhone?

---

<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:40pm UTC](https://forum.mapillary.com/t/stuck-since-august-19-with-images-from-external-camera-app-crashes/3435/20 "2019-10-24T13:40:29Z")

</div>

How many photos did you take with each device?

I might be on to something, and it might be an out of memory error after all. I added 50000 locations to the database just to have lots of data available, and now it crashes. Not in the thumbnail view or in the map view, but when I click the “Adjust timing” button. So hopefully I have found the problem, now I just need to fix it.

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