gee_array_list_real_get: assertion failed: (index < self->_size)

Bug #836268 reported by matt.wartell
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Shotwell
Fix Released
Undecided
Unassigned
shotwell (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I upgraded from 0.9.3-0ubuntu0.1_i386.deb to the yoruba ppa 0.11.0 and with no UI actions the following assertion reliably triggers on every execution.

Downgrade was not possible because 0.11.0 upgraded the ~/.shotwell database schema.

$ shotwell
**
ERROR:arraylist.c:483:gee_array_list_real_get: assertion failed: (index < self->_size)
Aborted (core dumped)
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ apt-cache policy shotwell
shotwell:
  Installed: 0.11.0-1~natty1
  Candidate: 0.11.0-1~natty1
  Version table:
 *** 0.11.0-1~natty1 0
        500 http://ppa.launchpad.net/yorba/ppa/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
     0.9.3-0ubuntu0.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
     0.9.2-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

Loaded symbols for /usr/lib/gstreamer-0.10/libgstjpeg.so
Core was generated by `shotwell'.
Program terminated with signal 6, Aborted.
#0 0x00872416 in __kernel_vsyscall ()
(gdb) where
#0 0x00872416 in __kernel_vsyscall ()
#1 0x077c4e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0x077c834e in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x009f73a0 in g_assertion_message () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0x009f797d in g_assertion_message_expr () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0x00f47c5a in ?? () from /usr/lib/libgee.so.2
#6 0x00f41fc8 in gee_abstract_list_get () from /usr/lib/libgee.so.2
#7 0x0832834e in photo_monitor_real_candidates_for_unknown_file (base=0xc266518, file=0xd4be850, info=0xda56b30,
    _result_=0x89af6f4) at src/PhotoMonitor.c:1658
#8 0x0831e646 in media_monitor_candidates_for_unknown_file (self=0xc266518, file=0xd4be850, info=0xda56b30, _result_=0x89af6f4)
    at src/MediaMonitor.c:996
#9 0x082e3b9e in library_monitor_async_discovery_completed_co (data=0x89af688) at src/LibraryMonitor.c:1819
#10 0x009cb311 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x009cfaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0x009d0270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#13 0x009d092b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#14 0x04a79c39 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x082f8916 in application_start (self=0x8981430) at src/Application.c:141
#16 0x081cc204 in library_exec (mounts=0x898a5c0, mounts_length1=0) at src/main.c:1124
#17 0x081cd785 in _vala_main (args=0xbf8a3724, args_length1=1) at src/main.c:1592
#18 0x081cda18 in main (argc=1, argv=0xbf8a3724) at src/main.c:1657

Tags: assert
Revision history for this message
Lucas Beeler (lucas-yorba) wrote :

Hi Matt,

I'm one of the Shotwell devs. I'd like to open an upstream bug ticket for this problem, but I'll need a little bit more information to do so. Could you run Shotwell with logging turned on and then attach the generated log file to this ticket? To learn how to enable logging in Shotwell, see the "I found a bug in Shotwell. How can I report it?" section of the Shotwell FAQ here: http://redmine.yorba.org/projects/shotwell/wiki/ShotwellFAQ

Lucas

Revision history for this message
matt.wartell (matt-wartell+lp) wrote : Re: [Bug 836268] Re: gee_array_list_real_get: assertion failed: (index < self->_size)
Download full text (3.9 KiB)

I shall but I'm currently rebuilding the 0.9.3 database which will be some
more hours (big photobase).

I'll attach to the original bug report unless you indicate otherwise.

-m

On Mon, Aug 29, 2011 at 3:00 PM, Lucas Beeler <email address hidden>wrote:

> Hi Matt,
>
> I'm one of the Shotwell devs. I'd like to open an upstream bug ticket
> for this problem, but I'll need a little bit more information to do so.
> Could you run Shotwell with logging turned on and then attach the
> generated log file to this ticket? To learn how to enable logging in
> Shotwell, see the "I found a bug in Shotwell. How can I report it?"
> section of the Shotwell FAQ here:
> http://redmine.yorba.org/projects/shotwell/wiki/ShotwellFAQ
>
> Lucas
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/836268
>
> Title:
> gee_array_list_real_get: assertion failed: (index < self->_size)
>
> Status in “shotwell” package in Ubuntu:
> New
>
> Bug description:
> I upgraded from 0.9.3-0ubuntu0.1_i386.deb to the yoruba ppa 0.11.0
> and with no UI actions the following assertion reliably triggers on
> every execution.
>
> Downgrade was not possible because 0.11.0 upgraded the ~/.shotwell
> database schema.
>
> $ shotwell
> **
> ERROR:arraylist.c:483:gee_array_list_real_get: assertion failed: (index <
> self->_size)
> Aborted (core dumped)
> $ lsb_release -rd
> Description: Ubuntu 11.04
> Release: 11.04
> $ apt-cache policy shotwell
> shotwell:
> Installed: 0.11.0-1~natty1
> Candidate: 0.11.0-1~natty1
> Version table:
> *** 0.11.0-1~natty1 0
> 500 http://ppa.launchpad.net/yorba/ppa/ubuntu/ natty/main i386
> Packages
> 100 /var/lib/dpkg/status
> 0.9.3-0ubuntu0.1 0
> 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386
> Packages
> 0.9.2-0ubuntu3 0
> 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
>
> Loaded symbols for /usr/lib/gstreamer-0.10/libgstjpeg.so
> Core was generated by `shotwell'.
> Program terminated with signal 6, Aborted.
> #0 0x00872416 in __kernel_vsyscall ()
> (gdb) where
> #0 0x00872416 in __kernel_vsyscall ()
> #1 0x077c4e71 in raise () from /lib/i386-linux-gnu/libc.so.6
> #2 0x077c834e in abort () from /lib/i386-linux-gnu/libc.so.6
> #3 0x009f73a0 in g_assertion_message () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #4 0x009f797d in g_assertion_message_expr () from
> /lib/i386-linux-gnu/libglib-2.0.so.0
> #5 0x00f47c5a in ?? () from /usr/lib/libgee.so.2
> #6 0x00f41fc8 in gee_abstract_list_get () from /usr/lib/libgee.so.2
> #7 0x0832834e in photo_monitor_real_candidates_for_unknown_file
> (base=0xc266518, file=0xd4be850, info=0xda56b30,
> _result_=0x89af6f4) at src/PhotoMonitor.c:1658
> #8 0x0831e646 in media_monitor_candidates_for_unknown_file
> (self=0xc266518, file=0xd4be850, info=0xda56b30, _result_=0x89af6f4)
> at src/MediaMonitor.c:996
> #9 0x082e3b9e in library_monitor_async_discovery_completed_co
> (data=0x89af688) at src/LibraryMonitor.c:1819
> #10 0x009cb311 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #11 0x009cfaa8 i...

Read more...

Revision history for this message
Javier Paniagua Laconich (jpaniagualaconich) wrote :

Shotwell 0.11.0 and seemingly the same problem.

Changed in shotwell (Ubuntu):
status: New → Confirmed
Revision history for this message
Joel Duckworth (joel-jpd) wrote :

Crashes on startup for me too. I can attach debug info too if you need it. Is there a way to revert the older version 0.10 from the PPA?

Revision history for this message
Joel Duckworth (joel-jpd) wrote :
Revision history for this message
Joerg Beyer (j-beyer) wrote :

Same problem here. Since this is a crash on start that happens every time I start shotwell, this renders shotwell unusable right now.

Do you need any informations or have any ideas?

Revision history for this message
Jim Nelson (yorba-jim) wrote :

I looked over the trace log and the code and I see the problem: http://redmine.yorba.org/issues/4088

We should have this fixed in 0.11.1, which is coming soon!

Revision history for this message
Jim Nelson (yorba-jim) wrote :

To reproduce the problem:

* Have a RAW+JPEG pair in your Shotwell library directory. (That is, a RAW file that has a JPEG file with the same name but a JPG extension in the same directory that Shotwell has paired together. This happens when importing from a camera.)
* Close Shotwell.
* Make a copy of a paired JPEG in the same directory as the original JPEG and its RAW file.
* Restart Shotwell.

The crash will occur after a moment.

A fix has been checked in and should be available in 0.11.1. For those people who are seeing this problem and would like to work around it until then, the only thing I can suggest is to look through your Shotwell library directory (usually ~/Pictures) for any copy of a paired JPEG file and move it to another directory. There may be more than one, you'll need to move all of them.

Changed in shotwell:
status: New → Fix Committed
Changed in shotwell (Ubuntu):
status: Confirmed → Fix Committed
Changed in shotwell (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shotwell - 0.11.1-0ubuntu1

---------------
shotwell (0.11.1-0ubuntu1) oneiric; urgency=low

  * New upstream version, fixes the translation template (lp: #838860)
    - gee_array_list_real_get: assertion failed (lp: #836268)
    - send to encoding issue (lp: #831791)
    - upload to piwigo (lp: #830169)
 -- Sebastien Bacher <email address hidden> Fri, 09 Sep 2011 15:49:04 +0200

Changed in shotwell (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Joel Duckworth (joel-jpd) wrote :

Yay, I was counting down the days on this one... well done

On Fri, Sep 9, 2011 at 10:05 PM, Launchpad Bug Tracker <
<email address hidden>> wrote:

> This bug was fixed in the package shotwell - 0.11.1-0ubuntu1
>
> ---------------
> shotwell (0.11.1-0ubuntu1) oneiric; urgency=low
>
> * New upstream version, fixes the translation template (lp: #838860)
> - gee_array_list_real_get: assertion failed (lp: #836268)
> - send to encoding issue (lp: #831791)
> - upload to piwigo (lp: #830169)
> -- Sebastien Bacher <email address hidden> Fri, 09 Sep 2011 15:49:04 +0200
>
> ** Changed in: shotwell (Ubuntu)
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/836268
>
> Title:
> gee_array_list_real_get: assertion failed: (index < self->_size)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/shotwell/+bug/836268/+subscriptions
>

--
Joel Duckworth
http://duckworth.me - <email address hidden>
+61 413 087 191

Jim Nelson (yorba-jim)
Changed in shotwell:
status: Fix Committed → Fix Released
Revision history for this message
matt.wartell (matt-wartell+lp) wrote :

Initial test of 11.1 appears to be working properly. Thanks folks.

$ apt-cache policy shotwell
shotwell:
  Installed: 0.11.1-1~natty1
  Candidate: 0.11.1-1~natty1
  Version table:
 *** 0.11.1-1~natty1 0
        500 http://ppa.launchpad.net/yorba/ppa/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
     0.9.3-0ubuntu0.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
     0.9.2-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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