Description of problem: Running the command "identify -units" without type dumps core Version-Release number of selected component (if applicable): ImageMagick-6.8.6.3-4.fc20.x86_64 How reproducible: always Steps to Reproduce: 1.see description 2. 3. Actual results: identify -units Aborted (core dumped) Expected results: understandable error message Additional info:
I can't reproduce it: $ identify -units Bohol_Tarsier.jpg identify: option requires an argument `-units' @ error/identify.c/IdentifyImageCommand/839. It segfaulted only if I run it even without image filename like "identify -units". But what the intention of them? It absurd by nature, is not?
(In reply to Pavel Alexeev (aka Pahan-Hubbitus) from comment #1) > I can't reproduce it: > $ identify -units Bohol_Tarsier.jpg > identify: option requires an argument `-units' @ > error/identify.c/IdentifyImageCommand/839. > > It segfaulted only if I run it even without image filename like "identify > -units". But what the intention of them? It absurd by nature, is not? I agree that's absurd, but I simply forgot the -units value. Independent from this, a well programmed tool should never dump core if an operating error happens.
Thank you for the bugreport and willing make free software better. Reported upstream: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=25542
*** Bug 1169822 has been marked as a duplicate of this bug. ***