Opened 4 years ago

Closed 4 years ago

#5909 closed defect (fixed)

Issue with OMEdit under Windows 10

Reported by: casella Owned by: adeas31
Priority: critical Milestone: 1.16.0
Component: OMEdit Version:
Keywords: Cc: adrpo, gianni.ferretti@…

Description

My colleague Gianni Ferretti reports a strange case: he just bought a new Windows 10 laptop and installed OpenModelica on it. The command-line compiler works fine, as well as other tools like OMNotebook. OMEdit instead shows the splash screen for a while and then dies without further notice.

This happens with the official, stable, and nighly build versions.

Any idea why this could happen, and/or what could we look at to figure out what's wrong?

Change History (6)

comment:1 Changed 4 years ago by adrpo

We need: %TEMP%/OpenModelica/OMEdit directory as a zip.

You could also try restart, maybe the OPENMODELICAHOME environment variable is not set properly.

comment:2 Changed 4 years ago by adeas31

Everything looks fine in the logs. Can you do the following,

  • Delete the %TEMP%/OpenModelica/OMEdit directory
  • Run OMEdit from the command prompt like this OMEdit.exe --Debug=true
  • Resend the newly created %TEMP%/OpenModelica/OMEdit directory.

comment:3 Changed 4 years ago by adeas31

Hmmm not sure what is wrong.

What happens if you run it with gdb. There is gdb inside OpenModelica installation folder.

%OPENMODELICAHOME%/tools/msys/mingw64/bin/gdb.exe OMEdit.exe

comment:4 Changed 4 years ago by adeas31

I fixed the problem on Gianni's PC. The problem is that the libeay32.dll from msys is crashing and it is the one that is used by default since we set the path for msys mingw when we start omc from OMEdit. I still don't know why it is crashing but as a workaround i renamed the libs in msys mingw so that the libs from OM bin folder are used.

comment:5 Changed 4 years ago by adeas31

I have now updated the windows installer to automatically rename the MSYS ssl libs so that the libs inside bin directory are used (https://github.com/OpenModelica/OpenModelicaSetup/commit/0eb066072fd9c40cb498dcc96857dfff1a844a72).

comment:6 Changed 4 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.