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

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

[Octave-bug-tracker] [bug #60473] rmdir called with empty string causes


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #60473] rmdir called with empty string causes gui to crash on windows
Date: Thu, 29 Apr 2021 01:14:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?60473>

                 Summary: rmdir called with empty string causes gui to crash
on windows
                 Project: GNU Octave
            Submitted by: nrjank
            Submitted on: Thu 29 Apr 2021 01:14:18 AM EDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Jankowski
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Octave for windows, 64bit, zip package installer. verified on 6.2.0 and 6.2.1
(build hg id: 50aa945836c3 Mon, Apr 26, 2021).  not set up to build so have
not verified on default branch.  

stumbled upon this in bug #60472, where pkg was reliably crashing to desktop.
turns out some odd behavior was calling rmdir("","s"). 

can reliably recreate crash by loading the GUI and running:


rmdir("")


assuming it's a crash and not just a forced close or exit because octave
doesn't retain any recent command history after the last normal session. 

note that this doesn't happen when run from the CLI.  in than case you just
get:


octave:2> rmdir("")
ans = 0
octave:3>
-verabtim-




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60473>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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