shotwell 0.9.2 crashes when removing a tag

Bug #773629 reported by Jan Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: shotwell

when i remove a tag from a picture, shotwell crashes with a segfault

Revision history for this message
Clint Rogers (clinton-yorba) wrote :

Hi,

Unfortunately, I'm unable to reproduce this in the most current version; can you try the same operation in 0.9.3 and let us know if it still happens?

If it does, can you try running it with GDB and post the stack dump here?

Revision history for this message
Jan Schürmann (visionfactory.net) wrote :

it's still there, how do i run with GDB?

Revision history for this message
Jan Schürmann (visionfactory.net) wrote :
Revision history for this message
Jan Schürmann (visionfactory.net) wrote :

i've added the shotwell.log file and the output from gdb in terminal window. is there somewhere a gdb file?
actually i've made it by copying the terminal output...

Revision history for this message
Adam Dingle (adam-yorba) wrote :

Thanks for the log file and debug output. The stack trace reveals that this is related to the global menu. Unfortunately I can't reproduce this on Ubuntu Natty either in 0.9.2 or in trunk.

Do you see this crash every time you remove any tag from any picture?

Could you try the following? First make sure that auto-import is disabled. Start Shotwell with an empty library - you can do this by running, for example, 'shotwell -d ~/foo'. Now import a single photo. Add a tag to the photo, then remove it. Does Shotwell crash? If so, could you attach the photo here, and also tell us what the text of the tag is?

Changed in shotwell (Ubuntu):
status: New → Incomplete
Revision history for this message
Jan Schürmann (visionfactory.net) wrote :

yes it crashes.
not when removing the first tag, but when removing the second one.
i added the picture.
the first tag was Gimp and the second one was Mock-Up.
i've then start Shotwell again and remove the last tag which was Indicators and after that it crashes immediately...

Revision history for this message
Adam Dingle (adam-yorba) wrote :

Thanks for the picture. I just tried to reproduce this again on Ubuntu Natty, but was unsuccessful. Here's what I did:

1. Start Shotwell with an empty library: "SHOTWELL_LOG=1 shotwell -d ~/foo".
2. In Nautilus, find the photo indicator_mockup.jpg that Jan attached above and drag it into Shotwell. Choose Import in Place.
3. Select the photo and press Ctrl+T. Type these tags: "Gimp, Mock-Up, Indicators".
4. In the sidebar, select the Gimp tag.
5. In the main view, right click on the photo and choose 'Remove Tag "Gimp" from Photo'.
6. Repeat steps 4-5 for the Mock-Up and Indicators tags.

When I did this, everything worked normally. I then tried the above steps again, but in step 5 instead of right clicking I chose 'Tags->Remove Tag "Gimp" From Photos' from the top-level menu. Again, everything worked normally.

Jan, if you perform the steps above do you see the crash? If not, can you provide a sequence of steps that crashes? Are you sure you've applied all software updates to your Natty installation?

Revision history for this message
Jan Schürmann (visionfactory.net) wrote :

ok, i've performed that steps and it crashes right after removing the first tag (Gimp)

i attached the log file

Changed in shotwell (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.