Opened 5 years ago

Closed 5 years ago

#5646 closed defect (fixed)

Crash when importing SSP files with TLM systems

Reported by: robbr48 Owned by: Adeel Asghar
Priority: blocker Milestone: 1.14.0
Component: OMEdit Version:
Keywords: OMS, SSP, TLM Cc:

Description

Creating OMS models with TLM systems works fine. Loading an SSP file with a TLM system, however, crashes the GUI when trying to open the library entries.

I have done extensive debugging, and I could pinpoint the crash to this line (ModelWidgetContainer.cpp, 7312):

pModelWidget->show();

Importing SSP with only non-TLM systems works fine.

Attachments (1)

testtlm.ssp (418 bytes ) - added by robbr48 5 years ago.
SSP file containing an empty TLM system

Download all attachments as: .zip

Change History (3)

by robbr48, 5 years ago

Attachment: testtlm.ssp added

SSP file containing an empty TLM system

comment:1 by robbr48, 5 years ago

I was able to pinpoint the problem more accurately. It crashes in GitCommands::getGitStdout, on the line gitProcess->waitForFinished(). It seems like there is a conflict with the QProcess stuff and the signal handlers in OMTLMSimulator. I will disable these for now, at least during the modelling stage.

comment:2 by Adeel Asghar, 5 years ago

Milestone: Future1.14.0
Priority: highblocker
Resolution: fixed
Status: newclosed

Fixed in 3b5fdf8/OpenModelica.

Thanks for the debugging. It helped to fix this quickly!

Note: See TracTickets for help on using tickets.