bugGNU Octave - Bugs: bug #65745, Use of "linestyle"...

 
 

bug #65745: Use of "linestyle" appears to crash Octave, tried 8.4 and 9.1...

Submitter:  None
Submitted:  Tue 14 May 2024 06:15:24 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Need Info Assigned to:  None
Originator Name:  Pierre Lelievre Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 9.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Tue 04 Jun 2024 03:19:29 AM UTC, comment #3: 

No response, closing report.

Rik <rik5>
Group administrator
Wed 15 May 2024 09:10:58 PM UTC, comment #2: 

Try the OpenGL switcher app first.  Many times there is a problem with the hardware-accelerated OpenGL drivers provided by a hardware vendor rather than the software versions supplied by a developer such as Microsoft.

Also, is there a simpler example than semilogx?  Does the same thing occur with plot()?


plot (1:10, 'r', 'LineWidth', 2)
plot (1:10, 'r--', 'LineWidth', 2)



Rik <rik5>
Group administrator
Tue 14 May 2024 07:19:32 PM UTC, comment #1: 

what is the size of the data you're using with that plot function? using a small sample I cannot reproduce this crash in Octave 9.1.0 on Windows 10.


>> semilogx(1:10, 1:10,'r','LineWidth',2)
>> semilogx(1:10, 1:10,'r--','LineWidth',2)


both plot fine with no crashes.

changing the data to span/include 0 values makes no difference:


>> semilogx(-1:10, -1:10,'r','LineWidth',2)
>> semilogx(-1:10, -1:10,'r--','LineWidth',2)


both plot fine.

If you can, please provide either your input data or a reasonable data set that produces the crash so we can try to recreate the issue.

Second thought, can you try using the OpenGL switcher app to see if the OpenGL driver is the issue? You may be using your graphics hardware's opengl driver, and switching to the one bundled with Octave may avoid the issue. If you used the .exe Octave installer there should be a Shortcut in the octave folder of your Start menu.  otherwise see https://docs.octa ... re-Rendering.html

Nicholas Jankowski <nrjank>
Group Member
Tue 14 May 2024 06:15:24 PM UTC, original submission:  

This code works perfectly:

semilogx(resampled_rtings_target_new(:,1), resampled_rtings_target_new(:,2), 'r', 'LineWidth', 2);


And this code crash



semilogx(resampled_rtings_target_new(:,1), resampled_rtings_target_new(:,2), 'r--', 'LineWidth', 2);


Anonymous

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by nrjank (Posted a comment)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-06-04 rik5 Open/ClosedOpen Closed
    2024-05-15 rik5 SummaryAnny linestyle appear to crash Octave, tried 8.4 and 9.1... Use of "linestyle" appears to crash Octave, tried 8.4 and 9.1...
    2024-05-14 nrjank StatusNone Need Info

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code