Vensim DSS Crashes on macOS
Posted: Sat Mar 28, 2020 9:48 pm
Hi,
I figured that during the final steps of the optimization (specifically, using Powell with Random starts), Vensim crashes without saving the optimization reports. I am on Vensim DSS 8.0.9 and running macOS version 10.15.4.
In the crash report generated by the operating system, I found these that might be useful:
Thread 2 Crashed:
0 libsystem_platform.dylib 0x00007fff6ee17e52 _platform_strlen + 18
1 libsystem_c.dylib 0x00007fff6ecb3891 __vfprintf + 5379
2 libsystem_c.dylib 0x00007fff6ecd9ad3 __v2printf + 475
3 libsystem_c.dylib 0x00007fff6ecc0085 vsprintf_l + 239
4 com.vensim.VensimDSS 0x0000000106b84786 _v_error + 2166
5 com.vensim.VensimDSS 0x0000000106c0512b powcall + 1867
6 com.vensim.VensimDSS 0x0000000106c1127b run_opt + 811
7 com.vensim.VensimDSS 0x0000000106c48cb7 _run_model + 4967
8 com.vensim.VensimDSS 0x0000000106da9cba _do_run_model_start + 1914
9 com.vensim.VensimDSS 0x0000000106da93cd _do_sim_menu_raw + 173
10 com.vensim.VensimDSS 0x0000000106da9fbd execute_do_sim_menu + 45
11 com.vensim.VensimDSS 0x0000000106d6321c _execute_in_new_thread + 236
12 com.vensim.VensimDSS 0x0000000106daa064 _do_sim_menu + 116
13 com.vensim.VensimDSS 0x0000000106dd43a6 do_toolbar_menu_execute + 1606
14 com.vensim.VensimDSS 0x0000000106d63695 execute_in_new_thread_worker_function + 357
15 libsystem_pthread.dylib 0x00007fff6ee26109 _pthread_start + 148
16 libsystem_pthread.dylib 0x00007fff6ee21b8b thread_start + 15
I also checked the exact model with the same optimization settings and it works well.
I figured that during the final steps of the optimization (specifically, using Powell with Random starts), Vensim crashes without saving the optimization reports. I am on Vensim DSS 8.0.9 and running macOS version 10.15.4.
In the crash report generated by the operating system, I found these that might be useful:
Thread 2 Crashed:
0 libsystem_platform.dylib 0x00007fff6ee17e52 _platform_strlen + 18
1 libsystem_c.dylib 0x00007fff6ecb3891 __vfprintf + 5379
2 libsystem_c.dylib 0x00007fff6ecd9ad3 __v2printf + 475
3 libsystem_c.dylib 0x00007fff6ecc0085 vsprintf_l + 239
4 com.vensim.VensimDSS 0x0000000106b84786 _v_error + 2166
5 com.vensim.VensimDSS 0x0000000106c0512b powcall + 1867
6 com.vensim.VensimDSS 0x0000000106c1127b run_opt + 811
7 com.vensim.VensimDSS 0x0000000106c48cb7 _run_model + 4967
8 com.vensim.VensimDSS 0x0000000106da9cba _do_run_model_start + 1914
9 com.vensim.VensimDSS 0x0000000106da93cd _do_sim_menu_raw + 173
10 com.vensim.VensimDSS 0x0000000106da9fbd execute_do_sim_menu + 45
11 com.vensim.VensimDSS 0x0000000106d6321c _execute_in_new_thread + 236
12 com.vensim.VensimDSS 0x0000000106daa064 _do_sim_menu + 116
13 com.vensim.VensimDSS 0x0000000106dd43a6 do_toolbar_menu_execute + 1606
14 com.vensim.VensimDSS 0x0000000106d63695 execute_in_new_thread_worker_function + 357
15 libsystem_pthread.dylib 0x00007fff6ee26109 _pthread_start + 148
16 libsystem_pthread.dylib 0x00007fff6ee21b8b thread_start + 15
I also checked the exact model with the same optimization settings and it works well.