[gthumb-list] Crash when performing "rotate physically"

I'm on 2.12.2 built from Git (commit
9a7650d053a78063e0161d953b8e89c35cd11f75) and when I perform "rotate
physically" on a whole folder of pictures I get a crash with the
following error:

gthumb: tiffcomposite.cpp:1141: virtual uint32_t
Exiv2::ByteOrder, int32_t, uint32_t, uint32_t, uint32_t&): Assertion `sv
== d' failed.

Here's the stack trace as best I can gather it:

Program received signal SIGABRT, Aborted.
0x00007ffff3c09ba5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff3c09ba5 in raise () from /lib/libc.so.6
#1  0x00007ffff3c0d6b0 in abort () from /lib/libc.so.6
#2  0x00007ffff3c02a71 in __assert_fail () from /lib/libc.so.6
#3  0x00007ffff4e1703e in ?? () from /usr/lib/libexiv2.so.6
#4  0x00007ffff4e12c1e in ?? () from /usr/lib/libexiv2.so.6
#5  0x00007ffff4e16d7d in ?? () from /usr/lib/libexiv2.so.6
#6  0x00007ffff4e12465 in ?? () from /usr/lib/libexiv2.so.6
#7  0x00007ffff4e123e0 in ?? () from /usr/lib/libexiv2.so.6
#8  0x00007ffff4e16deb in ?? () from /usr/lib/libexiv2.so.6
#9  0x00007ffff4e1b2d9 in ?? () from /usr/lib/libexiv2.so.6
#10 0x00007ffff4db6e21 in Exiv2::ExifParser::encode(std::vector<unsigned
char, std::allocator<unsigned char> >&, unsigned char const*, unsigned
int, Exiv2::ByteOrder, Exiv2::ExifData const&) () from
#11 0x00007ffff4dca02f in ?? () from /usr/lib/libexiv2.so.6
#12 0x00007ffff4dcb313 in Exiv2::JpegBase::writeMetadata() ()
   from /usr/lib/libexiv2.so.6
#13 0x00007fffec707722 in exiv2_write_metadata_private (
    image=<value optimized out>, info=<value optimized out>,
    pixbuf=<value optimized out>) at exiv2-utils.cpp:1027
#14 0x00007fffec70826b in exiv2_write_metadata_to_buffer (
    buffer=0x7fffffffe190, buffer_size=0x7fffffffe188, info=0xa44760,
    pixbuf=0x0, error=<value optimized out>) at exiv2-utils.cpp:1091
#15 0x00007fffec70cf53 in exiv2_jpeg_tran_cb (tran_info=0x7fffffffd950)
---Type <return> to continue, or q <return> to quit---
    at main.c:212
#16 0x0000000000477091 in invoke_marshaller_1 (hook=0x789990,
    data=0x7fffe80472a0) at gth-hook.c:190
#17 0x00007ffff442beef in g_hook_list_marshal (hook_list=0x7a05f0,
    may_recurse=1, marshaller=0x477058 <invoke_marshaller_1>,
    data=0x7fffe80472a0) at /build/buildd/glib2.0-2.26.1/glib/ghook.c:387
#18 0x0000000000477423 in gth_hook_invoke (
    name=0x7fffecd2f4e0 "jpegtran-after", first_data=0x7fffffffd950)
    at gth-hook.c:269
#19 0x00007fffecd2cf70 in jpegtran (in_buffer=0x7fffe850bb10,
    in_buffer_size=1289796, out_buffer=0x7fffffffe190,
    out_buffer_size=0x7fffffffe188, transformation=GTH_TRANSFORM_NONE,
    mcu_action=JPEG_MCU_ACTION_ABORT, error=0x7fffffffe148) at
#20 0x00007fffecf357d3 in file_buffer_ready_cb (buffer=0x7fffe84e6178,
    count=1289796, error=0x0, user_data=0x7fffe8508d90) at
#21 0x0000000000442da5 in load_file__stream_read_cb
    result=0xb8d980, user_data=0x7fffe84e5150) at gio-utils.c:2011
#22 0x00007ffff6beb2e9 in async_ready_callback_wrapper (
    source_object=0xb6c800, res=0xb8d980, user_data=0x7fffe84e5150)
    at /build/buildd/glib2.0-2.26.1/gio/ginputstream.c:470
#23 0x00007ffff6bfaf28 in complete_in_idle_cb_for_thread (
    _data=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/gio/gsimpleasyncresult.c:757
---Type <return> to continue, or q <return> to quit---
#24 0x00007ffff4439342 in g_main_dispatch (context=0x7214a0)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#25 g_main_context_dispatch (context=0x7214a0)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#26 0x00007ffff443d2a8 in g_main_context_iterate (context=0x7214a0,
    block=<value optimized out>, dispatch=<value optimized out>,
    self=<value optimized out>)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#27 0x00007ffff443d7b5 in g_main_loop_run (loop=0x6e6d70)
    at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2988
#28 0x00007ffff74aa3e7 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.22.0/gtk/gtkmain.c:1237
#29 0x00000000004af7e4 in main (argc=1, argv=0x7fffffffe578) at main.c:449

At first I thought that this was maybe a bug in libexiv2, but if I
perform "rotate physically" on each individual image in the folder I
don't get the crash, so now I'm just confused. Any ideas would be



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]