Wings 3D Development Forum

Full Version: Wings 3D doesn't start up in Win10 [solved]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I run Wings 3D it simply doesn't open. When checking what's up with the task manager I can see the erl.exe process there, inactive with no changes in memory and no CPU usage. If I try to open it multiple times, then multiple erl.exe instances will show up in the task manager, all idle and using roughly the same memory (32-38 Mb). Running with --debug opens an empty erlang emulator instance.

Reinstalling Wings 3D changes nothing. Reinstalling microsoft's DLLs changes nothing. Running as admin changes nothing. Running from command prompt displays no errors and changes nothing.

This is something not specific to the latest version, as I first noticed this with an older one (2.1.5 I think) and then updated to 2.2.5 to see if that was the issue.
It's a strange behaviour and it looks like something happen only in your PC settings since it's not a general problem. I have no problem like this running many versions of Wings3D at Windows 10.

Quote:Running with --debug opens an empty erlang emulator instance.
Reinstalling Wings 3D changes nothing.
Reinstalling microsoft's DLLs changes nothing.
Running as admin changes nothing.
Running from command prompt displays no errors and changes nothing.
It looks like you already tried everything we alread suggested in the past related to this loading fail. Smile

The "opens an empty erlang emulator" really means you are not getting the initial information like this?
Code:
Erlang/OTP 19 [erts-8.1] [64-bit] [smp:4:4] [async-threads:10]

Eshell V8.1 (abort with ^G)


Some other informations you may provided us:
1) Did you tried to disable your anti-virus - to run again the installer (at least). Some antivirus uses to report the installer as a threat (a false positive).

Usually we need to install it as Administrator and in this case also force the Microsoft DLLs to be installed would make some difference.

2) Did you install the 32bits or 64bits? Could you try to install the another version you didn't install yet?

3) Do you get wings_crash.dump file on the desktop?

4) Is there a Erlang crash dump file at "F:\Program Files\wings3d_2.2.5\bin\erl_crash.dump"?

5) Is there any crash report from Windows? Do you can find something like this "C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_erl.exe_..." (that is the folder were we can find them - at least in Win7)?
Quote:The "opens an empty erlang emulator" really means you are not getting the initial information like this?

Yeah, it's completely blank.

Quote:1) Did you tried to disable your anti-virus - to run again the installer (at least). Some antivirus uses to report the installer as a threat (a false positive).

I'm using windows defender with live protection off, so I really doubt this might be the issue

Quote:2) Did you install the 32bits or 64bits? Could you try to install the another version you didn't install yet?

I tried 2.2.5 x64 and 32-bit, they both have the same problem

Quote:3) Do you get wings_crash.dump file on the desktop?

4) Is there a Erlang crash dump file at "F:\Program Files\wings3d_2.2.5\bin\erl_crash.dump"?

5) Is there any crash report from Windows? Do you can find something like this "C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_erl.exe_..." (that is the folder were we can find them - at least in Win7)?

No dump files or crash reports

I also decided to update graphic card drivers just in case, still no luck Sad
Very hard to try help with all these negatives results.
I just cannot think about anything else by now. Sad
What's interesting is I'm having the same problem on MacOS with 2.2.5. Wings won't start and I'm not getting any crash dumps or errors in terminal.

2.2.4 works perfectly for me.
Can you start erlang at all?
C:\Program Files\wings3d_2.2.5\bin\werl.exe

If you can, in that window start wings with:
Code:
wings:start().
Note the ending dot and press return.
I get the following error:

Code:
1> wings:start().
wings-2.2.5
Reading preferences from: c:/Users/mbart/AppData/Roaming/Wings3D/Preferences.txt
CRASH: wings_frame badarg [{erlang,'++',[{"Alt+O","Alt+O","Alt+O"},"'"],[]},
                           {wings_menu,menu_item_desc,2,
                               [{file,"wings_menu.erl"},{line,1037}]},
                           {wings_menu,menu_item,4,
                               [{file,"wings_menu.erl"},{line,1004}]},
                           {wings_menu,create_menu,4,
                               [{file,"wings_menu.erl"},{line,996}]},
                           {wings_menu,setup_menu,3,
                               [{file,"wings_menu.erl"},{line,907}]},
                           {wings_menu,'-setup_menus/2-fun-0-',3,
                               [{file,"wings_menu.erl"},{line,883}]},
                           {lists,foldl,3,[{file,"lists.erl"},{line,1263}]},
                           {wings_frame,init_menubar,1,
                               [{file,"wings_frame.erl"},{line,1361}]},
                           {wings_frame,init,1,
                               [{file,"wings_frame.erl"},{line,340}]},
                           {wx_object,init_it,6,
                               [{file,"wx_object.erl"},{line,372}]},
                           {proc_lib,init_p_do_apply,3,
                               [{file,"proc_lib.erl"},{line,249}]}]
Internal Error
2020-03-29T13:05:52.927000+02:00 error:
    supervisor: {local,mandatory}
    errorContext: start_error
    reason: {'EXIT',
                {function_clause,
                    [{wx_object,get_pid,
                         [{error,{bad_return_value,ok}}],
                         [{file,"wx_object.erl"},{line,335}]},
                     {wings_frame,start_link,0,
                         [{file,"wings_frame.erl"},{line,50}]},
                     {supervisor,do_start_child_i,3,
          ...
Version: 2.2.5
2020-03-29T13:05:52.946000+02:00 error:
    supervisor: {local,wings_sup}
    errorContext: start_error
    reason: {shutdown,
                {failed_to_start_child,top_frame,
                    {'EXIT',
                        {function_clause,
                            [{wx_object,get_pid,
                                 [{error,{bad_return_value,ok}}],
                                 [{file,"wx_object.erl"},{line,335}]},
                             {wings_frame,start_link,0,
      ...
Window: [wings_frame,wings_frame,<0.94.0>]
Reason: {bad_return_value,ok}

{error,
    {{shutdown,
         {failed_to_start_child,mandatory,
             {shutdown,
                 {failed_to_start_child,top_frame,
                     {'EXIT',
                         {function_clause,
                             [{wx_object,get_pid,
                                  [{error,{bad_return_value,ok}}],
                                  [{file,"wx_object.erl"},{line,335}]},
                              {wings_frame,start_link,0,
                                  [{file,"wings_frame.erl"},{line,50}]},
                              {supervisor,do_start_child_i,3,
                                  [{file,"supervisor.erl"},{line,379}]},
                              {supervisor,do_start_child,2,
                                  [{file,"supervisor.erl"},{line,365}]},
                              {supervisor,'-start_children/2-fun-0-',3,
                                  [{file,[...]},{line,...}]},
                              {supervisor,children_map,4,[{file,...},{...}]},
                              {supervisor,init_children,2,[{...}|...]},
                              {gen_server,init_it,2,[...]},
                              {gen_server,init_it,6,...},
                              {proc_lib,init_p_do_apply,...}]}}}}}},
     {wings_sup,start,[normal,[]]}}}
Something is probably broken in your preferences, deleting them will make it start.

Rename the Preferences.txt to Preferences.backup
c:/Users/mbart/AppData/Roaming/Wings3D/Preferences.txt
I love you. It works now