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

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

[Octave-bug-tracker] [bug #64194] plot(1:10) using qt causes Octave to s


From: Andy Potvin
Subject: [Octave-bug-tracker] [bug #64194] plot(1:10) using qt causes Octave to stop working
Date: Mon, 15 May 2023 11:25:57 -0400 (EDT)

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

                 Summary: plot(1:10) using qt causes Octave to stop working
                   Group: GNU Octave
               Submitter: afpotvin
               Submitted: Mon 15 May 2023 03:25:54 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: afpotvin
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0 8.X Series Bug Fix Release 
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 15 May 2023 03:25:54 PM UTC By: Andy Potvin <afpotvin>

I am having trouble using the default qt graphics_toolkit in Octave since at
least 7.2.0.
Curently I am using Octave 8.2.0 with Windows 7 SP1.

I saw bug # 62660 (also # 62661) and it's solution to use setenv('QT_OPENGL',
'desktop') 
seems to be on the right track, but doesn't fully work for me.

Specifically,  Octave quits working and I get the Windows dialog-box-of-death

"octave-gui.exe has stopped working"
in one of two ways:

1) Immediately after Octave starts, I can run 

   setenv('QT_OPENGL', 'desktop')
   % without error but as soon as I then try to run
   plot(1:10)

   the dialog-box-of-death occurs. [fn1]

2) After starting Octave, I can switch to fltk via

   graphics_toolkit('fltk')

   I can then

   plot(1:10) % and get the expected plot, and then 
   close % works as exected.  I can then
   setenv('QT_OPENGL', 'desktop') % and
   graphics_toolkit('qt') % without error.  And now I can even 
   plot(1:10) % without error and get the expected plot with toolbar and
working mouse coordinate tracking.
   % But ... when I then
   close

   The figure does close, but I get the Windows dialog-box-of-death. [fn2]

If immediately after Octave starts I try

plot(1:10)

A figure gets created, but nothing gets plotted.  Then, clicking in the figure
displays

warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing
'text' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing
'text' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing
'text' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing
'line' object
warning: opengl_renderer: Error 'invalid operation' (1282) occurred drawing
'axes' object

I can then 

close

and the figure gets closed and Octave continues.
   
Thank you for your prompt attention to this matter or letting me know a
workaround.

Regards,
Andy Potvin
afpotvin@hotmail.com
(626) 226-8436
   
[fn1] Following are the dialog-box-of-death problem details when it stops
working the first way.


Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     octave-gui.exe
  Application Version:  0.0.0.0
  Application Timestamp:        64385c9a
  Fault Module Name:    ig4icd64.dll
  Fault Module Version: 8.15.10.1883
  Fault Module Timestamp:       4a969c7d
  Exception Code:       c0000005
  Exception Offset:     000000000003ee1f
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:    1033
  Additional Information 1:     150e
  Additional Information 2:     150e98ed18edad92b834383a4eb2c6e2
  Additional Information 3:     ae3b
  Additional Information 4:     ae3b7a4f6fe9882082c96d611ae5a7bf

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy
statement offline:
  C:\windows\system32\en-US\erofflps.txt


  
[fn2] Following are the dialog-box-of-death problem details when it stops
working the first way.


Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:     octave-gui.exe
  Application Version:  0.0.0.0
  Application Timestamp:        64385c9a
  Fault Module Name:    ig4icd64.dll
  Fault Module Version: 8.15.10.1883
  Fault Module Timestamp:       4a969c7d
  Exception Code:       c0000005
  Exception Offset:     000000000003ee1f
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:    1033
  Additional Information 1:     d42a
  Additional Information 2:     d42a78e417bc0ac72758b65d3c5513fa
  Additional Information 3:     b91d
  Additional Information 4:     b91d190fde7b2ca59f0b54505aaaf21f

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy
statement offline:
  C:\windows\system32\en-US\erofflps.txt


 










    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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