google-code-export / photivo

Automatically exported from code.google.com/p/photivo
GNU General Public License v3.0
3 stars 0 forks source link

photivo crashes when jpg with "Include metadata" is enabled #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
---------
1. Open a file
2. make sure the "Include metadata" is selected
3. Save current pipe
4. photivo crashes.

What version of the product are you using? On what operating system?
---------
photivo 825:e8a74abda0b0
Arch Linux 64bit
exiv2 0.22

Backtrace
---------
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff73b0cdc in Exiv2::Iptcdatum::operator=(Exiv2::Iptcdatum const&) () 
from /lib/libexiv2.so.11
(gdb) bt
#0  0x00007ffff73b0cdc in Exiv2::Iptcdatum::operator=(Exiv2::Iptcdatum const&) 
() from /lib/libexiv2.so.11
#1  0x00007ffff73af448 in std::vector<Exiv2::Iptcdatum, 
std::allocator<Exiv2::Iptcdatum> >::operator=(std::vector<Exiv2::Iptcdatum, 
std::allocator<Exiv2::Iptcdatum> > const&) () from /lib/libexiv2.so.11
#2  0x00000000006504b9 in ptImageHelper::WriteExif (AFileName="", 
AExifBuffer=0x5acc630 "\a", AExifBufferLength=3) at 
../Sources/ptImageHelper.cpp:180
#3  0x00000000006608dd in WriteOut () at ../Sources/ptMain.cpp:2331
#4  0x000000000066e0e5 in Update (Phase=Phase@entry=12, ProcessorMode=0, 
WithIdentify=1, SubPhase=-1) at ../Sources/ptMain.cpp:1293
#5  0x000000000066f659 in WritePipe (OutputName="") at 
../Sources/ptMain.cpp:2406
#6  0x000000000068af96 in SaveOutput (mode=1) at ../Sources/ptMain.cpp:6893
#7  0x000000000068b01f in CB_WritePipeButton () at ../Sources/ptMain.cpp:6944
#8  0x000000000079eee5 in ptMainWindow::qt_static_metacall (_o=0xed4b20, 
_c=116630400, _id=3, _a=0xaaaaaaaaaaaaaaab) at 
../Objects/moc_ptMainWindow.cpp:261
#9  0x00007ffff4e15f3f in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /lib/libQtCore.so.4
#10 0x00007ffff5cbd2d2 in QAbstractButton::clicked(bool) () from 
/lib/libQtGui.so.4
#11 0x00007ffff5a1123e in ?? () from /lib/libQtGui.so.4
#12 0x00007ffff5a11a70 in ?? () from /lib/libQtGui.so.4
#13 0x00007ffff5a11cdc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () 
from /lib/libQtGui.so.4
#14 0x00007ffff5acbcba in QToolButton::mouseReleaseEvent(QMouseEvent*) () from 
/lib/libQtGui.so.4
#15 0x00007ffff56a7690 in QWidget::event(QEvent*) () from /lib/libQtGui.so.4
#16 0x00007ffff5657f7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /lib/libQtGui.so.4
#17 0x00007ffff565cc5b in QApplication::notify(QObject*, QEvent*) () from 
/lib/libQtGui.so.4
#18 0x00007ffff4e00a5e in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /lib/libQtCore.so.4
#19 0x00007ffff5658dbb in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from 
/lib/libQtGui.so.4
#20 0x00007ffff56d3804 in ?? () from /lib/libQtGui.so.4
#21 0x00007ffff56d2591 in QApplication::x11ProcessEvent(_XEvent*) () from 
/lib/libQtGui.so.4
#22 0x00007ffff56f8682 in ?? () from /lib/libQtGui.so.4
#23 0x00007ffff3c0a4a5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007ffff3c0a7d8 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007ffff3c0a894 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007ffff4e2ec56 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /lib/libQtCore.so.4
#27 0x00007ffff56f82fe in ?? () from /lib/libQtGui.so.4
#28 0x00007ffff4dff7af in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/lib/libQtCore.so.4
#29 0x00007ffff4dffa38 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/lib/libQtCore.so.4
#30 0x00007ffff4e046d8 in QCoreApplication::exec() () from /lib/libQtCore.so.4
#31 0x000000000069eb49 in photivoMain (Argc=1, Argv=<optimized out>) at 
../Sources/ptMain.cpp:922
#32 0x000000000042cbd6 in main (Argc=<optimized out>, Argv=<optimized out>) at 
../Sources/ptMain.cpp:382

Original issue reported on code.google.com by L.Jirkov...@gmail.com on 21 Jul 2012 at 1:51

GoogleCodeExporter commented 9 years ago
Exif write in jpeg works fine in revision f0032dec4b7d.

I'm unable to test revisions from 07281a78102b to e573bc528625 due (I suppose) 
the issue 75 (http://code.google.com/p/photivo/issues/detail?id=75).

Revisions after a6a510b296d2 crash on exif write.

I *suppose* the problem is in changeset 07281a78102b.

thanks!

Original comment by gotho...@gmail.com on 26 Jul 2012 at 11:19

GoogleCodeExporter commented 9 years ago
It seems that metadata write on jpeg now works fine:

Photivo version 2013-01-21 (rev b7c3d791d90a)+

Original comment by gotho...@gmail.com on 29 Jan 2013 at 9:51

GoogleCodeExporter commented 9 years ago
I seem to have the same issue.
EOS400D cr2 files in a job file.
First input file causes the job to fail , with the error very much like above.
(crashing on exif writing jpg).

Original comment by jos@de-laender.be on 4 Feb 2013 at 9:01