bugGNU Octave - Bugs: bug #62352, Octave GUI crashes immediatley...

 
 

bug #62352: Octave GUI crashes immediatley after loading

Submitted by:  None
Submitted on:  Fri 22 Apr 2022 01:09:14 PM UTC
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Need Info Assigned to:  None
Originator Name:  Tiago Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 7.1.0
Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Thu 19 May 2022 05:17:55 PM UTC, comment #11: 

Is there an ini file after you have been running the version from octave? If not, could you open the preferences dialog, close it by "OK" and check again if there is an ini file?

If yes, try to reinstall the "normal" octave version and see if it normally starts with the existing ini file.

Torsten Lilge <ttl>
Project Member
Thu 19 May 2022 07:09:23 AM UTC, comment #10: 

Yes, deleting the ini file from its location somewhere in appdata/roaming causes the welcome wizard to reappear (rather, the wizard where 'Hi, we noticed it's your first time using GUI on this device!') BUT after 'successful' setup, the main window does not appear, but the welcome wizard appears again. the process repeats.

for now i've managed to finally run octave by 1) deleting the .ini file 2) renaming the octave directory 3) uninstalling again 4) reinstalling but this time through a packet manager (winget)

it doesn't seem to be a fully functioning octave however, as my supposedly-working-perfectly files provided by my lectures are showing errors left and right, plus heavy lagging

Anonymous
Mon 09 May 2022 07:35:12 PM UTC, comment #9: 

Reply to comment #8:

If I understand correctly, deleting the ini file results in Octave's welcome wizard at next start. Does the main window appear after the welcome wizard or does Octave quits even without showing the main window? From which location have you removed the ini-file?

Torsten Lilge <ttl>
Project Member
Mon 09 May 2022 03:44:19 AM UTC, comment #8: 

original submission:

> Hello,
> I downloaded octave from your website and the first time i have installed octave GUI it worked. Then i closed it, when i went to open it for the second time it never opened again. The screen gets all white for some seconds and then it returnes to the desktop. since then i have uninstalled and installed octave GUI countless times to try to fix it but it never worked again in my computer. I have also tried to install another versions of octave but none worked.
> I have a windows 10 x64 home operating system version 21H1.
>
>


Hello, I have also recently been facing the same problem. I have just tried to delete .ini file, but while GUI treats it as a fresh install, a new .ini file does not appear. I also have referred to bug #56795 for solutions but none have seemed to work. I tried installing through package managers (winget) also but to no avail.

Anonymous
Thu 28 Apr 2022 03:03:45 PM UTC, comment #7: 

I was wondering - what series of events acuatlly happen when the ini file is not found? We've examined ini files that were 'causing' crashes before (assumed because deleting the file allows the gui to open again), but haven't seen anything obviously wrong with those files.

is it possible there's something else wrong/changed, but deleting the ini file causes a corrected to that change even if the ini wasn't the problem? I noticed on the next startup octave acts as if it's a new install and opens the first start wizard.  does that do anything else that could actually be the corrective action?

Nicholas Jankowski <nrjank>
Project Member
Thu 28 Apr 2022 01:00:53 PM UTC, comment #6: 

Another possibility is to change Octave's exit code so that it attempts to record some status about a crash and then on startup to present some options at startup depending on whether a previous session crashed.  That could all be done within the GUI prior to loading the resources file.

John W. Eaton <jwe>
Project Administrator
Thu 28 Apr 2022 12:52:02 PM UTC, comment #5: 

Hah, yes i was also wondering about the CLI. A “restore gui to defaults” command that just deletes the ini. Is there a location for such platform specific M files? Or would it be cross platform form?

Nicholas Jankowski <nrjank>
Project Member
Thu 28 Apr 2022 06:05:09 AM UTC, comment #4: 

Oh yes, this was a genius idea: "If you are not able to start octave, just start octave and use the menu entry to remove the ini file". But maybe we can provide a function which can be called from the cli version.

Torsten Lilge <ttl>
Project Member
Wed 27 Apr 2022 07:15:42 PM UTC, comment #3: 

since the issue usually prevents loading of the gui, I'm not sure how that option would be executed to help the issue? or do you mean Windows Start menu entry?

Nicholas Jankowski <nrjank>
Project Member
Wed 27 Apr 2022 07:05:52 PM UTC, comment #2: 

OT regarding this specific bug, but would it be helpful to add an emergency menu entry which backups and removes the current ini file and restarts Octave?

Torsten Lilge <ttl>
Project Member
Fri 22 Apr 2022 02:17:46 PM UTC, comment #1: 

this has happened on occasion and it is not yet clear what is the exact cause or conflict. Since you said it worked previously, it may be some conflicting setting in the octave-gui.ini file. This file can persist even with uninstall/reinstall, so not surprising that alone didn't fix it.

Many people (including myslef) have found that deleting this file, forcing octave to rebuild a new file from defaults, allows octave to run normally again.

Please try the following and see if it works for you:

The octave-gui.ini file is located in:

C:\Users\<USERNAME>\AppData\Roaming\octave

where <USERNAME> is replaced by the name of your user profile.  The AppData folder is usually hidden, and not visible unless you've changed that visibility setting in windows.

The easiest way to navigate there is to open a Windows Explorer window (shortcut WindowsKey-E), and in the address bar click and type in %APPDATA%.  This should take you to the AppData or AppData/Roaming folder in your profile.  Find the octave folder, and the octave-gui.ini file should be in there.  Deleting this file, octave will treat the next launch as a fresh install.

Please let us know if that helps.  If you want, you can upload the ini file here as an attachment, although to date we haven't found anything in the ini files to explain why this problem is occurring on some windows systems.

if the problem persists even after clearing that file, please let us know.

Nicholas Jankowski <nrjank>
Project Member
Fri 22 Apr 2022 01:09:14 PM UTC, original submission:  

Hello,
I downloaded octave from your website and the first time i have installed octave GUI it worked. Then i closed it, when i went to open it for the second time it never opened again. The screen gets all white for some seconds and then it returnes to the desktop. since then i have uninstalled and installed octave GUI countless times to try to fix it but it never worked again in my computer. I have also tried to install another versions of octave but none worked.
I have a windows 10 x64 home operating system version 21H1.

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 None (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by nrjank (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
    2022-04-22 nrjank CategoryNone => GUI
        StatusNone => Need Info
        SummaryOctave doesn't work => Octave GUI crashes immediatley after loading

    Back to the top


    Powered by Savane 3.9