You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program received signal SIGFPE, Arithmetic exception.
0xb7e0c1a2 in Exiv2::Internal::printLong (os=..., value=...) at /home/rookie/exiv2-master/src/tags_int.cpp:2197
2197 if (r.second != 0) return os << static_cast(r.first) / r.second;
(gdb) bt
#0 0xb7e0c1a2 in Exiv2::Internal::printLong (os=..., value=...) at /home/rookie/exiv2-master/src/tags_int.cpp:2197 #1 0xb7c18f93 in Exiv2::Exifdatum::write (this=0x80d5878, os=..., pMetadata=) at /home/rookie/exiv2-master/src/exif.cpp:227 #2 0xb7c92723 in Exiv2::Metadatum::print (this=, pMetadata=0x80cbcb0) at /home/rookie/exiv2-master/src/metadatum.cpp:74 #3 0x080831ec in Action::Print::printMetadatum (this=, md=..., pImage=) at /home/rookie/exiv2-master/src/actions.cpp:745 #4 0x0807ff5c in Action::Print::printMetadata (this=, image=) at /home/rookie/exiv2-master/src/actions.cpp:542 #5 0x0807e113 in Action::Print::printList (this=0x80cbb20) at /home/rookie/exiv2-master/src/actions.cpp:531 #6 0x08070c67 in Action::Print::run (this=0x80cbb20, path="/home/rookie/fpe_poc") at /home/rookie/exiv2-master/src/actions.cpp:248 #7 0x0804dd9b in main (argc=, argv=) at /home/rookie/exiv2-master/src/exiv2.cpp:172
The text was updated successfully, but these errors were encountered:
Thanks for reporting. I could not reproduce the issue on master ... could you give more details about the platform, exiv2 version/commit used, compilation settings, etc ?
POC:
fpe_poc.zip
gdb --args ./exiv2 -pt ~/fpe_poc
Program received signal SIGFPE, Arithmetic exception.
0xb7e0c1a2 in Exiv2::Internal::printLong (os=..., value=...) at /home/rookie/exiv2-master/src/tags_int.cpp:2197
2197 if (r.second != 0) return os << static_cast(r.first) / r.second;
(gdb) bt
#0 0xb7e0c1a2 in Exiv2::Internal::printLong (os=..., value=...) at /home/rookie/exiv2-master/src/tags_int.cpp:2197
#1 0xb7c18f93 in Exiv2::Exifdatum::write (this=0x80d5878, os=..., pMetadata=) at /home/rookie/exiv2-master/src/exif.cpp:227
#2 0xb7c92723 in Exiv2::Metadatum::print (this=, pMetadata=0x80cbcb0) at /home/rookie/exiv2-master/src/metadatum.cpp:74
#3 0x080831ec in Action::Print::printMetadatum (this=, md=..., pImage=) at /home/rookie/exiv2-master/src/actions.cpp:745
#4 0x0807ff5c in Action::Print::printMetadata (this=, image=) at /home/rookie/exiv2-master/src/actions.cpp:542
#5 0x0807e113 in Action::Print::printList (this=0x80cbb20) at /home/rookie/exiv2-master/src/actions.cpp:531
#6 0x08070c67 in Action::Print::run (this=0x80cbb20, path="/home/rookie/fpe_poc") at /home/rookie/exiv2-master/src/actions.cpp:248
#7 0x0804dd9b in main (argc=, argv=) at /home/rookie/exiv2-master/src/exiv2.cpp:172
The text was updated successfully, but these errors were encountered: