bugGNU Octave - Bugs: bug #56795, Octave GUI opens and immediately...

 
 

bug #56795: Octave GUI opens and immediately closes

Submitter:  None
Submitted:  Thu 22 Aug 2019 05:36:21 PM UTC
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Kaywan Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.1.0
Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Thu 28 Nov 2019 06:09:38 AM UTC, comment #5: 

No response from the OP for three months.  Presumably problem can be solved by Philip's suggestion comment #3, as it often helped in such cases.  Closing report.

Kai Torben Ohlhus <siko1056>
Project Member
Fri 22 Nov 2019 11:40:11 PM UTC, comment #4: 

I had exactly this problem, and was able to fix it by going to  C:\User\<username>\.config\ and deleting the octave directory.

After restarting octave, I was led though  a series of startup screens and then gui   appeared and remained there (whereas before it would disappear after a second or so). The octave directory in C:\User\<username>\.config\ was regenerated and now contains a new qt-settings file. 

This happened after I upgraded from Octave 4 to Octave 5, so perhaps there is some incompatibility in the qt-settings between the two versions, and the old qt-settings should be erased as part of the upgrade/install process.

Anonymous
Fri 23 Aug 2019 05:32:22 PM UTC, comment #3: 

Thanks for reporting back.

AFAIK there is no reason Octave's GUI shouldn´t work on a high-resolution monitor.
The only bug report that maybe vaguely relates to your issue is bug #45220but I doubt it.

You can try to remove the qt-settings file and start Octave again.
It's somewhere in  C:\User\<username>\.config\

Philip Nienhuis <philipnienhuis>
Project Member
Fri 23 Aug 2019 04:52:56 PM UTC, comment #2: 

Hi Philip,
    To your questions, the GUI window just opens and after about one second closes again.  And I've tried it many times with the same results -- even re-installed JRE / Octave, to see if some updates would have helped.

On the bright side, I lucked out and found that the issue seems to have to do with the monitor resolution.
If instead of opening the window on my secondary 30" monitor, I open it on the small notebook screen, there is no problem.
Also, I can then move the windows over manually, just for some reason the window cannot open directly on the large screen.

Thanks,
Kaywan

comment #1:

> Q.1: Does Windows tell you that Octave has crashed? or does Octave silently (and apparently "gracefully") shut down by itself?
>
> Q.2: Did you try to restart Octave after that? maybe a few times?
>
> Sometimes I see Octave crashing w/o any apparent reason as well, seemingly more often after reinstalling Octave. FYI I use Octave mostly on Windows 7 Professional (home) & -Enterprise (at work), rarely on Win10.
> I simply restart Octave again, usually it works fine that second try and keeps on working fine thereafter also in next invocations.
>
> I wonder what the cause is - maybe dlls left in memory or maybe dlls still not released my malware checkers? New entries in the qt-settings file that haven't been initialized?  search me.
> All that counts for me is that Octave works fine afterwards.
>

Anonymous
Fri 23 Aug 2019 07:50:37 AM UTC, comment #1: 

Q.1: Does Windows tell you that Octave has crashed? or does Octave silently (and apparently "gracefully") shut down by itself?

Q.2: Did you try to restart Octave after that? maybe a few times?

Sometimes I see Octave crashing w/o any apparent reason as well, seemingly more often after reinstalling Octave. FYI I use Octave mostly on Windows 7 Professional (home) & -Enterprise (at work), rarely on Win10.
I simply restart Octave again, usually it works fine that second try and keeps on working fine thereafter also in next invocations.

I wonder what the cause is - maybe dlls left in memory or maybe dlls still not released my malware checkers? New entries in the qt-settings file that haven't been initialized?  search me.
All that counts for me is that Octave works fine afterwards.

Philip Nienhuis <philipnienhuis>
Project Member
Thu 22 Aug 2019 05:36:21 PM UTC, original submission:  

I installed octave-5.1.0-w64 with the installer.

Prior to that I installed JRE version 1.8.0_221.

The Octave CLI seems to run fine, but when I try to run the GUI the window opens for about 1 second, and then closes.   When I installed octave originally just last week, it was working fine, so possibly a very recent windows update could be the issue (?).

I checked in the Windows Event Viewer and found this error message (pointing to an issue in ntdll.dll)

Log Name:      Application
Source:        Application Error
Date:          8/22/2019 10:30:39 AM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-7DGJRST
Description:
Faulting application name: octave-gui.exe, version: 0.0.0.0, time stamp: 0x00000000
Faulting module name: ntdll.dll, version: 10.0.17763.592, time stamp: 0x0f1b8afd
Exception code: 0xc0000374
Fault offset: 0x00000000000fb049
Faulting process id: 0xb1c
Faulting application start time: 0x01d5590f501dfec9
Faulting application path: C:\Octave\OCTAVE~1.0\mingw64\bin\octave-gui.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: b1d6996c-d875-4d14-8f70-40e56d1feaa0
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-08-22T17:30:39.086940100Z" />
    <EventRecordID>3274</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DESKTOP-7DGJRST</Computer>
    <Security />
  </System>
  <EventData>
    <Data>octave-gui.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>00000000</Data>
    <Data>ntdll.dll</Data>
    <Data>10.0.17763.592</Data>
    <Data>0f1b8afd</Data>
    <Data>c0000374</Data>
    <Data>00000000000fb049</Data>
    <Data>b1c</Data>
    <Data>01d5590f501dfec9</Data>
    <Data>C:\Octave\OCTAVE~1.0\mingw64\bin\octave-gui.exe</Data>
    <Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
    <Data>b1d6996c-d875-4d14-8f70-40e56d1feaa0</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by None (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 project members can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-28 siko1056 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2019-08-23 philipnienhuis StatusNone Need Info

    Back to the top


    Powered by Savane 3.9