[Bug 1191585] Re: Crash when exporting photos to a directory
the issue should be fixed with shotwell 0.15 in Ubuntu 13.10 ** Changed in: shotwell (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191585 Title: Crash when exporting photos to a directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1191585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1191585] Re: Crash when exporting photos to a directory
** Changed in: shotwell (Ubuntu) Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191585 Title: Crash when exporting photos to a directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1191585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1191585] Re: Crash when exporting photos to a directory
Remember that JPEG is compressed, and that in memory each pixel requires 24 bits (3 bytes). So, a 3000x3000 image is 25MB in RAM. Seventy of them is 1.7GB. In order to speed up the export, Shotwell uses background threads to parallelize the process, uone thread per CPU. I suspect that's the issue here -- too many export operations at once eating up a lot of RAM. I forgot to mention before, I've ticketed your problem here: http://redmine.yorba.org/issues/7115 We'll leave this open ... it probably makes sense to reduce the number of background operations to keep memory usage reasonable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191585 Title: Crash when exporting photos to a directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1191585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1191585] Re: Crash when exporting photos to a directory
So it turns out that this is only reproducible when I'm running "low" on memory. I rather optimistically run my 8Gb laptop without swap and while trying to reproduce this again tonight I noticed that at the point of the crash, the whole machine grinds to a halt and I got some OOM killer spew in dmesg. I killed off some memory hogs (2x 2Gb firefox etc.), and reran the shotwell export and it completed successfully. So sorry I guess this is arguably PEBKAC. Though, I'm only trying to export 71 photos which are 127Mb of data when in JPEG format so I'm a little surprised shotwell needs as much memory as it apparently does. If that's not a known issue, I may try and re-run this monitoring the shotwell process to see it's peak memory usage during the export. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191585 Title: Crash when exporting photos to a directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1191585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1191585] Re: Crash when exporting photos to a directory
Thanks for the stack trace, that goes a long way toward finding the problem. One question: if you run Shotwell from the console and reproduce the problem, do you see a message displayed on the console, something like "raw pixbuf for could not be loaded"? ** Changed in: shotwell (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191585 Title: Crash when exporting photos to a directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1191585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1191585] Re: Crash when exporting photos to a directory
This is with the standard package (i.e. no debug symbols), but FWIW, this is some of the output when reproducing the crash under gdb: | L 26654 2013-06-16 22:18:42 [CRT] Offset of directory Sony1, entry 0x2001 is out of bounds: Offset = 0x0034ec76; truncating the entry | | L 26654 2013-06-16 22:18:42 [CRT] Offset of directory Sony1, entry 0x2001 is out of bounds: Offset = 0x00342a76; truncating the entry | | L 26654 2013-06-16 22:18:42 [CRT] Offset of directory Sony1, entry 0x2001 is out of bounds: Offset = 0x0035ac76; truncating the entry | | L 26654 2013-06-16 22:18:42 [CRT] Offset of directory Sony1, entry 0x2001 is out of bounds: Offset = 0x003c9076; truncating the entry | | L 26654 2013-06-16 22:18:42 [CRT] Offset of directory Sony1, entry 0x2001 is out of bounds: Offset = 0x003c9076; truncating the entry | | L 26654 2013-06-16 22:18:42 [CRT] Offset of directory Sony1, entry 0x2001 is out of bounds: Offset = 0x003c9076; truncating the entry | | ** | ERROR:/build/buildd/shotwell-0.14.1/src/Photo.vala:3323:photo_get_pixbuf_with_options: assertion failed: (pixbuf != null) | | Program received signal SIGABRT, Aborted. | [Switching to Thread 0x7fffc5783700 (LWP 26695)] | 0x7399b037 in raise () from /lib/x86_64-linux-gnu/libc.so.6 | (gdb) bt | #0 0x7399b037 in raise () from /lib/x86_64-linux-gnu/libc.so.6 | #1 0x7399e698 in abort () from /lib/x86_64-linux-gnu/libc.so.6 | #2 0x741c33b6 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 | #3 0x741c3914 in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 | #4 0x005f63f8 in photo_get_pixbuf_with_options () | #5 0x005f6d07 in photo_export () | #6 0x00677616 in ?? () | #7 0x0047fd58 in ?? () | #8 0x741c56f2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 | #9 0x741c4eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 | #10 0x73d33f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 | #11 0x73a5de1d in clone () from /lib/x86_64-linux-gnu/libc.so.6 | (gdb) exit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191585 Title: Crash when exporting photos to a directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1191585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs