bugGNU Octave - Bugs: bug #56740, Block Comments hang interpreter...

 
 

bug #56740: Block Comments hang interpreter (Mac OS)

Submitted by:  None
Submitted on:  Sat 10 Aug 2019 06:59:08 AM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.4.1
Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 12 Aug 2019 04:25:12 AM UTC, comment #2: 

OS: MacOS Mojave 10.14.6 (18G87)

Both 'Save File and Run' and Command window run script, that will happen.

App downloaded from https://octave-app.org/Download.html https://github.com/octave-app/octave-app/releases/download/v4.4.1/Octave-4.4.1.dmg

Liangbin Lian <jjm2473>
Sun 11 Aug 2019 09:09:31 PM UTC, comment #1: 

This example works for me on GNU/Linux.

@apjanke Can you confirm this on an otherwise working macOS build?

Is this specific to the GUI? Is this specific to running a script in the GUI editor with F5 (Save File and Run)?

Mike Miller <mtmiller>
Project Administrator
Sat 10 Aug 2019 06:59:08 AM UTC, original submission:  

Block Comments really 'block' everything!

Just run a simple script:

```
1;
printf("hello\n")

%{
block comment
%}

printf("world\n")

```

We will hang, nothing output, memory will be used out.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #47316:  test_freeze.m added by None (61B - application/octet-stream)
file #47313:  14_53_14__08_10_2019.jpg added by None (42KiB - image/jpeg)
file #47314:  14_54_05__08_10_2019.jpg added by None (228KiB - image/jpeg)
file #47315:  14_55_31__08_10_2019.jpg added by None (82KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jjm2473 (Posted a comment)
  • -email is unavailable- added by mtmiller
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-11 mtmiller StatusNone => Need Info
        Carbon-Copy- => Added apjanke
    2019-08-11 rik5 Carbon-CopyRemoved 72865 => -
    2019-08-11 rik5 CategoryPerformance => Interpreter
        Item GroupPerformance => Incorrect Result
        SummaryBlock Comments will freeze everything! => Block Comments hang interpreter (Mac OS)
    2019-08-10 None Attached File- => Added test_freeze.m, #47316
    2019-08-10 None Attached File- => Added 14_53_14__08_10_2019.jpg, #47313
        Attached File- => Added 14_54_05__08_10_2019.jpg, #47314
        Attached File- => Added 14_55_31__08_10_2019.jpg, #47315

    Back to the top


    Powered by Savane 3.5