Crash when two or more cameras have the same name
Submitted by an unknown user
Assigned to Eric Gregory
Link to original bug (#717851)
Description
---- Reported by shotwell-maint@gnome.bugs 2011-05-29 13:45:00 -0700 ----
Original Redmine bug id: 3679
Original URL: http://redmine.yorba.org/issues/3679
Searchable id: yorba-bug-3679
Original author: Michal Nanasi
Original description:
I am using ubuntu natty with shotwell 0.10 from yorba ppa.
If I try to run shotwell, it will crash:
mic@typewriter:~$ shotwell
(shotwell:3994): IBUS-%(=caps)WARNING% !**: Connect to unix:abstract=/tmp /dbus-mCU7znxYyh,guid=0ce5d5933233939c5558921700000172 failed: Failed to connect to socket /tmp/dbus-mCU7znxYyh: Connection refused.
!**
ERROR:src/sidebar/Branch.c:827:sidebar_branch_node_add_child: assertion failed: (added)
Aborted
---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:39:00 -0700 ----
History
Comment 1
Updated by Lucas Beeler over 2 years ago
- Target version set to 0.10.1
- Priority changed from High to Urgent
ERROR:src/sidebar/Branch.c:827:sidebar_branch_node_add_child:
assertion failed: (added) Aborted
I've seen this assertion fire before in the wake of our sidebar refactoring. This is a legitimate problem, albeit one that's very hard to reproduce. Since it is a crasher and I think the fix is simple, I'm marking this 0.10.1 and upping the priority to critical. If we have to do a dot release, it'd be nice to fix it.
@mic:
Could you attach a copy of your photo.db file to this ticket? Or, if the file is too large to be a Trac attachment, you could email it to shotwell@yorba.org? Your photo.db file is located in ~/.shotwell/data.
Comment 2
Updated by Michal Nanasi over 2 years ago
Hi,
I have played a bit with it a figured this:
The shotwell crash when I put second memory card into computer. If in the computer are two memory cards, shotwell will crash on startup. Shotwell works with one memory card. At least, I can use shotwell. I have attached photo.db file.
Comment 3
Updated by Lucas Beeler over 2 years ago
- Assignee changed from Anonymous to Eric Gregory
We have just reproduced this in-house. The problem is definitely in the sidebar code and appears to result from attempting to add two child objects of the same name (as happens when you insert two “Mass Storage Cameras†-- which is what GPhoto labels memory cards). Assigning to Eric since he last touched the sidebar code.
Comment 4
Updated by Eric Gregory over 2 years ago
- Subject changed from Crash on startup to Crash when two or more cameras have the same name
Renaming to reflect problem.
Comment 5
Updated by Eric Gregory over 2 years ago
- Resolution set to fixed
- % Done changed from 0 to 100
Fixed in ca594d07
Comment 6
Updated by Charles Lindsay 7 months ago
- Status changed from 5 to Fixed
--- Bug imported by chaz@yorba.org 2013-11-25 21:54 UTC ---
This bug was previously known as bug 3679 at http://redmine.yorba.org/show_bug.cgi?id=3679 Imported an attachment (id=262117)
Unknown Component Using default product and component set in Parameters Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.
Version: 0.10.1
Resolution: RESOLVED FIXED