Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

App crashes while importing photos #653

Closed
ghost opened this issue Oct 16, 2021 · 6 comments
Closed

App crashes while importing photos #653

ghost opened this issue Oct 16, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Oct 16, 2021

What Happened?

Hello, I have a huge library (33 gb) of photos and videos and after importing some of them (~70%) this app crashes. This is happening on a clean install of eOS 6. I am new to Linux and Github in general so I don't know what I am supposed to do.

Steps to Reproduce

  1. Import a lot of photos and videos.
  2. And it crashes immediately.

Expected Behavior

It is supposed to open without hiccups.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@jeremypw
Copy link
Collaborator

Could be related to #641 or a similar metadata related issue?

Ideally you should install gdb and run Photos under that in a terminal to get a backtrace of the crash, but if you are new to Linux that might be challenging. If you would like to try there is further information here https://wiki.debian.org/HowToGetABacktrace

Alternatively try running Photos in a terminal with the command G_MESSAGES_DEBUG=all io.elementary.photos - it might give some useful information just before the crash.

Try importing the photos folder by folder to narrow down which photo(s) are causing a problem (assuming it is a metadata issue)

It could be a memory leak I guess - you can detect this by installing e.g. gnome-system-monitor with the terminal command sudo apt install gnome-system-monitor. If you have this running you can see which processes are using up memory as the run. (The terminal command htop does a similar thing).

@ghost
Copy link
Author

ghost commented Oct 17, 2021

I would like to try what you've suggested if I can. Other than that I tried Shotwell (from flathub) today because I heard that Elementary Photos app is a fork of it or something like that and Shotwell did not crash.

@jeremypw
Copy link
Collaborator

Yes Photos has diverged significantly from Shotwell by now and different bugs have been fixed in each.

@ghost
Copy link
Author

ghost commented Oct 19, 2021

I have no idea what was wrong but I solved my issue by importing photos in groups and I've found the jpeg file that was crashing the whole app -which is very very weird-. Anyway, I got rid of that photo and the problem solved.

@ghost ghost closed this as completed Oct 19, 2021
@jeremypw
Copy link
Collaborator

If you can extract the metadata from the culprit image and post it here (or on the similar report) that would help diagnose the problem. Photos should not crash even with pathological metadata.

@ghost
Copy link
Author

ghost commented Oct 19, 2021

Metadata Cleaner app from Flathub gives these results. This picture was a screenshot from a video

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant