octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filenam


From: anonymous
Subject: [Octave-bug-tracker] [bug #49219] hang in imread for non-exiting filename with spaces
Date: Wed, 28 Sep 2016 21:04:23 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0

URL:
  <http://savannah.gnu.org/bugs/?49219>

                 Summary: hang in imread for non-exiting filename with spaces
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 28 Sep 2016 09:04:20 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

on my system make check hangs on scripts/image/imfinfo test.
This can be reduced to this script


names = {'xx_1.jpg', 'xx 1.jpg'};
for i = 1 : length(names)
   try
     fprintf(2, 'attempting imread %s\n', names{i});
     imread (names{i});
   catch
     fprintf(2, 'file %s does not exist\n', names{i});
     error_thrown = true;
   end_try_catch
end


which produces


attempting imread xx_1.jpg
file xx_1.jpg does not exist
attempting imread xx 1.jpg


and hangs (also on 4.0.3) in the imread 'xx 1.jpg'.
gcc 4.9.3, GraphicMagick 1.3.17, RHEL 6.8




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49219>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]