#3979 closed defect (fixed)
OMEdit 64 bit Windows version crashes when saving models
Reported by: | Bernhard Thiele | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | Future |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: | francois.beaude@…, Adrian Pop, Per Östlund |
Description
I just got a report of a project collaborator that OMEdit crashes for him (every time) when modifying a model and saving it afterwards.
He experienced this problem with OpenModelica 64 bit v1.9.6 (Windows) and also with a recent nightly build (re)installation (OMEdit v1.10.0-dev-159-g4de9151).
Unfortunately, I can't try to reproduce it, since I don't have Windows 64 bit myself.
Attachments (3)
Change History (12)
comment:1 by , 9 years ago
Cc: | added |
---|
comment:2 by , 9 years ago
comment:4 by , 8 years ago
Using the attached test package with OpenModelica 1.9.6 (on Windows 7), the GUI crashes for example when trying to click on "Connectors" to expand this part of the package, or when trying to open TestPackage.Setups.PVGenerator.LoadVar.GeneratorWithLoadVar.
Modifying this model then saving it may also lead to crashes.
by , 8 years ago
Attachment: | script.mos added |
---|
comment:5 by , 8 years ago
Cc: | added |
---|---|
Component: | OMEdit → Interactive Environment |
Owner: | changed from | to
Status: | new → assigned |
The program crashes when doing a lookup. I have attached a minimal script to reproduce the issue.
I have also attached the backtrace for more information.
by , 8 years ago
comment:6 by , 8 years ago
The problem is with:
import TestPackage.Types "standard TestPackage variable types";
in TestPackage/package.mo
Because Types is already part of TestPackage having it imported is like a self reference.
If you comment that import everything is fine.
comment:7 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | assigned → accepted |
comment:8 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Fixed in 4f0d761/OMCompiler.
We need more info than this.
Does he has spaces or special characters (i.e. éè) in the path to the model?
Does he try to save the model in a write protected area?
OM 1.9.6 is just 32bit there is no 64bit version for it.
Can he send the contents of the %TEMP%/OpenModelica/OMEdit to us?
Or at least the files from the above directory:
omeditcommands.mos
omeditcommunication.log
omediterror.txt
omeditoutput.txt
openmodelica.stacktrace.OMEdit
if they exist?