Menu

Crashes on Clicking any Equipment module

2021-12-12
2022-02-18
  • Shailesh Paranjpe

    I have 64-bit DWSim installed on Linux Manjaro. When I open DWSim from terminal, it opens, I can model the PFD. However, whenever I click on any equipment module to input information, the application crashes. I am attaching the error log for handy reference. This happens with any new simulation file I make, and also with sample files provided.

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-12-13

    try the wine version.

     
  • Shailesh Paranjpe

    Also, when the program is started, initially, an unhandled error was raised which I ignored by clicking 'Continue'. This error is as follows:

    System.InvalidOperationException: An error occured while creating the form. See Exception.InnerException for details. The error is: Thread exception mode cannot be changed once any Controls are created on the thread. ---> System.InvalidOperationException: Thread exception mode cannot be changed once any Controls are created on the thread.
    at System.Windows.Forms.NativeWindow.SetUnhandledExceptionModeInternal (System.Windows.Forms.UnhandledExceptionMode mode, System.Boolean threadScope) [0x0002c] in <2736a4f873604bfea9e5f3a0d64b37d6>:0
    at System.Windows.Forms.Application.SetUnhandledExceptionMode (System.Windows.Forms.UnhandledExceptionMode mode, System.Boolean threadScope) [0x00001] in <2736a4f873604bfea9e5f3a0d64b37d6>:0
    at System.Windows.Forms.Application.SetUnhandledExceptionMode (System.Windows.Forms.UnhandledExceptionMode mode) [0x00001] in <2736a4f873604bfea9e5f3a0d64b37d6>:0
    at DWSIM.FormMain..ctor () [0x00149] in <fe7588c15b5c43f1adcfe5039a89965c>:0
    at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
    at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <373bec4b1e6c428eb4e9ef6a5beee544>:0
    --- End of inner exception stack trace ---
    at DWSIM.My.MyProject+MyForms.CreateInstance[T] (T Instance) [0x000e0] in <fe7588c15b5c43f1adcfe5039a89965c>:0
    at DWSIM.My.MyProject+MyForms.getFormMain () [0x00000] in <fe7588c15b5c43f1adcfe5039a89965c>:0
    at DWSIM.My.MyApplication.OnCreateMainForm () [0x00007] in <fe7588c15b5c43f1adcfe5039a89965c>:0
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x0000e] in <70262a328cf6449f82f1ec1f243c26cc>:0
    at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel () [0x00035] in <70262a328cf6449f82f1ec1f243c26cc>:0 *</fe7588c15b5c43f1adcfe5039a89965c></fe7588c15b5c43f1adcfe5039a89965c></fe7588c15b5c43f1adcfe5039a89965c></fe7588c15b5c43f1adcfe5039a89965c>

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-12-16

    Ok, thanks for the reports. I'll investigate the issues as soon as possible.

     
  • Daniel Medeiros

    Daniel Medeiros - 2021-12-16

    I've just installed Ubuntu 20.04.2 and installed DWSIM v7.1.2 both normal and wine versions and they worked correctly as expected. Please use Ubuntu if possible, as it is the distro that I use to develop and test DWSIM for Linux.

     
  • Shailesh Paranjpe

    Post awaiting moderation.
  • Shailesh Paranjpe

    As per the suggestion from Daniel, I tried with v.7.1.2-Wine version on Manjaro and it works perfectly. Unfortunately, when I try to use v.7.3.2 with the same Manjaro, it does not work. On using 7.3.2, the software loads, but whenever I try to open any saved simulation (or try to save a newly created simulation), the software crashes. Please advise because otherwise, I am stuck at using v.7.1.2. Thanks.

     

Log in to post a comment.