[Shotwell] reproducible crash



Hi everyone,

I am in a bit desperate situation - I have activated
        write metadata to files
and now shotwell simply crashes. Every time. I recompiled from current
git, no change.

The debug output at the end contains:
shotwell: tiffcomposite.cpp:749: virtual Exiv2::Internal::TiffComponent* 
Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, 
Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr): Assertion `mn_' failed.


A backtrace gives:
#0  0x00007f7e92e21458 in __GI_raise (sig=sig entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007f7e92e228da in __GI_abort () at abort.c:89
#2  0x00007f7e92e1a387 in __assert_fail_base (fmt=<optimized out>, 
    assertion=assertion entry=0x7f7e92b52604 "mn_", file=file entry=0x7f7e92b52512 "tiffcomposite.cpp", 
    line=line entry=749, 
    function=function entry=0x7f7e92b52f00 "virtual Exiv2::Internal::TiffComponent* 
Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, 
Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)") at assert.c:92
#3  0x00007f7e92e1a432 in __GI___assert_fail (assertion=0x7f7e92b52604 "mn_", 
    file=0x7f7e92b52512 "tiffcomposite.cpp", line=749, 
    function=0x7f7e92b52f00 "virtual Exiv2::Internal::TiffComponent* 
Exiv2::Internal::TiffMnEntry::doAddPath(uint16_t, Exiv2::Internal::TiffPath&, 
Exiv2::Internal::TiffComponent*, Exiv2::Internal::TiffComponent::AutoPtr)")
    at assert.c:101
#4  0x00007f7e92a90a6e in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#5  0x00007f7e92a8b1c2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#6  0x00007f7e92a8bc57 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#7  0x00007f7e92a8b1c2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#8  0x00007f7e92a9070b in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#9  0x00007f7e92a8b1c2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#10 0x00007f7e92a8bc57 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#11 0x00007f7e92a8b1c2 in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#12 0x00007f7e92aa8eec in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#13 0x00007f7e92a9708d in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
---Type <return> to continue, or q <return> to quit---
#14 0x00007f7e92a286f6 in Exiv2::ExifParser::encode(std::vector<unsigned char, std::allocator<unsigned char> 
&, unsigned char const*, unsigned int, Exiv2::ByteOrder, Exiv2::ExifData const&) ()
   from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#15 0x00007f7e92a4322f in ?? () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#16 0x00007f7e92a445f9 in Exiv2::JpegBase::writeMetadata() () from /usr/lib/x86_64-linux-gnu/libexiv2.so.14
#17 0x00007f7e9b681b52 in ?? () from /usr/lib/x86_64-linux-gnu/libgexiv2.so.2
#18 0x00007f7e9b682b32 in gexiv2_metadata_save_file () from /usr/lib/x86_64-linux-gnu/libgexiv2.so.2
#19 0x00000000004cb692 in photo_metadata_write_to_file (self=self entry=0x15d90660, 
    file=file entry=0x7f7e1c00c6c0, error=error entry=0x7f7e21f369e8)
    at /home/norbert/Debian/shotwell/shotwell.git/src/photos/PhotoMetadata.vala:152
#20 0x00000000004d57e3 in jfif_metadata_writer_real_write_metadata (base=<optimized out>, 
metadata=0x15d90660, 
    error=0x7f7e21f36a28) at /home/norbert/Debian/shotwell/shotwell.git/src/photos/JfifSupport.vala:142
#21 0x00000000005da4ab in photo_persist_master_metadata (self=0x3993760, metadata=metadata entry=0x15d90660, 
    state=state entry=0x7f7e21f36a98, error=error entry=0x7f7e21f36a90)
    at /home/norbert/Debian/shotwell/shotwell.git/src/Photo.vala:2662
#22 0x000000000068310a in metadata_writer_commit_job_commit_master (error=0x7f7e21f36a88, self=0x7f7e40002d70)
    at /home/norbert/Debian/shotwell/shotwell.git/src/MetadataWriter.vala:58
#23 metadata_writer_commit_job_real_execute (base=<optimized out>)
    at /home/norbert/Debian/shotwell/shotwell.git/src/MetadataWriter.vala:38
#24 0x000000000047d970 in workers_thread_start (ignored=<optimized out>, self=0xf1e91c0)
    at /home/norbert/Debian/shotwell/shotwell.git/src/threads/Workers.vala:96
#25 _workers_thread_start_gfunc (data=<optimized out>, self=0xf1e91c0)
    at /home/norbert/Debian/shotwell/shotwell.git/src/threads/Workers.vala:31
#26 0x00007f7e9364d55e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f7e9364cbc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7e93199454 in start_thread (arg=0x7f7e21f37700) at pthread_create.c:334
#29 0x00007f7e92ed6e5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109


ANything I can do against this?

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


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