Public bug reported:

qiv 2.2.4-2 amd64
libimlib2 1.4.6-2 amd64


Set up:
When calling qiv with the -q1 (rotate) option an Imlib debug message is printed 
due to a NULL parameter being passed to the library when the file is missing... 
I'd expect that qiv stops processing of any not found or corrupt file before 
Imlib2 is called.


Expected behaviour:
Only the qiv "Unable to read file" message is displayed


Actual behaviour:
An Imlib2 developer warning is printed along with the qiv error message


Example:
$ qiv missing.jpg
Unable to read file: Failed to open file 'missing.jpg': No such file or 
directory

$ qiv -q1 missing.jpg 
Unable to read file: Failed to open file 'missing.jpg': No such file or 
directory
***** Imlib2 Developer Warning ***** :
        This program is calling the Imlib call:

        imlib_image_orientate();

        With the parameter:

        image

        being NULL. Please fix your program.

** Affects: qiv (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580758

Title:
  qiv: Imlib developer warning on missing files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qiv/+bug/1580758/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to