bugGNU Octave - Bugs: bug #60732, Crash of the command windows when...

 
 

bug #60732: Crash of the command windows when pasting special characters (and other strange behaviors)

Submitter:  Charles Praplan <charprap>
Submitted:  Sat 05 Jun 2021 08:42:28 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 05 Jun 2021 10:18:50 AM UTC, comment #1: 

Seems to be a duplicate of bug #59495.

Closing report.

Markus Mützel <mmuetzel>
Group administrator
Sat 05 Jun 2021 08:42:28 AM UTC, original submission:  

Consider the appended m-file, which only contains the 2 following lines:
disp('Ré');
%disp('Ré');

1)
When executing the appended m-file, everything is as expected: Ré is displayed.

2)
When copying the two lines to the clipboard and pasting them into the command windows, the command windows crashes!!!!


Additionally there are other strange behaviors:

3)
When selecting the first line only and executing it with F9, the result is different from point 1: Ré

4)
When copying the first line only (with CR) to the clipboard, pasting it into the command windows, the result is as follows:

    >> d
    error: 'd' undefined near line 1, column 1
    >> i
    ans =  0 + 1i
    >> s
    error: 's' undefined near line 1, column 1
    >> p
    error: 'p' undefined near line 1, column 1
    >> (
    '
    error: parse error:
   
      syntax error
   
    >>> '
        ^
    >> R
    error: 'R' undefined near line 1, column 1
    >> ');
    error: parse error:
   
      unterminated character string constant
   
    >>> ');
          ^
5)
When copying the first line only (without CR), pasting it into the command windows and pressing enter, the result is as for point 4 but additionally there are 30 lines of semicolons displayed in the console.

Charles Praplan <charprap>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #51516:  test.m added by charprap (40B - text/plain)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by charprap (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-05 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #59495
    2021-06-05 charprap Attached File- Added test.m, #51516

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code