Opened 19 years ago

Last modified 19 years ago

#42 closed defect (fixed)

omc craches on loadFile()

Reported by: x05elmja Owned by: x05elmja
Priority: critical Milestone:
Component: Version:
Keywords: Cc: x05elmja, Adrian Pop

Description


Change History (3)

comment:1 by x05elmja, 19 years ago

Here is how to reproduce the crash.

Create folder 'folder space23' (with a space and numbers in the name)
Create a file 'C:/folder space23/hej.mo' with the following content:

record hej
muu
end hej;

Start WinMosh and type:

loadFile("C:/folder space23/hej.mo")

Windows will pop-up a dialog 'omc.exe has encountered a problem and needs to
close. We are sorry for the inconvenience.'

This is with OMC installation from the MSI package:
http://www.ida.liu.se/labs/pelab/modelica/OpenModelica/OMC/OpenModelica1_3.msi

comment:2 by Peter Aronsson, 19 years ago

Works for me with trunk. /PA.

comment:3 by x05elmja, 19 years ago

Yeah, this bug seems to be 1.3.0 (pehaps windows only) specific.

OMC 1.3.1 does not crush on this bug, so either someone have fixed this bug
or it now instead of crushing right away quietly corrupts the heap and dies
40 min later :P

Note: See TracTickets for help on using tickets.