Wings 3D Development Forum

Full Version: Crash when starting Wings 3D 1.5.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

when starting Wings 3D 1.5.1 (64-Bit) i get the attached crash dump file.

I am using Windows 8.1 Pro (64-Bit) - German. I think the problem is related to the german name (with Umlaut: ö) that is used as user profile name ('Jörg').

Reason: {function_clause,
[{filename,join,
[{error,"C:\\Users\\J",<<"örg\\AppData\\Roaming">>},
"Wings3D/Preferences.txt"],
[{file,"filename.erl"},{line,406}]},
{wings_pref,try_location,2,[{file,"wings_pref.erl"},{line,276}]},
{wings_pref,win32_pref,0,[{file,"wings_pref.erl"},{line,205}]},
{wings_pref,load,0,[{file,"wings_pref.erl"},{line,41}]},
{wings,init,1,[{file,"wings.erl"},{line,100}]}]}

Wings 1.4.1 runs without any problems.

OS:
Windows 8.1 Pro (64-Bit) - German
CPU:
Intel Core i7-2600K
GPU:
NVIDIA GForce GTX 580 (Driver Version 331.65)
Intel HD Graphics 3000

I hope the provided information help to find the problem or to point me to my problem.
Can you test if version helps?
https://www.dropbox.com/sh/54h7afpm5hvx45m/hcay8uZhgc

NOTE that the version number script is bad so don't trust the version.
(11-02-2013, 11:13 PM)dgud Wrote: [ -> ]Can you test if version helps?
https://www.dropbox.com/sh/54h7afpm5hvx45m/hcay8uZhgc

NOTE that the version number script is bad so don't trust the version.

Thanks for the fast answer, but the problem remains the same (see attached crash log). I have manually checked that your new version (November 2nd 2013) of the program was used.

I have uninstalled the version 1.5.1 and installed the new version provided by you. I used the default path as the target directory.

Is there a command line switch available to change the preferences path? I could use it to confirm that the problem is the directory name of the user profile.
Jörg I think I messed up, can you try the new version..
I have not actually tested that this works, I just hope it does.
If this doesn't work you can start it with:
WINGS_PATH\bin\werl -run wings start_halt -extra "PATH_TO_PREFS_WO_UNICODE_CHARS"
if you replace the uppercase paths above to something appropriate.

Same place, my dropbox, now with a proper version, which I didn't understand why it
was not generated last time..

Note to self, do not make releases (even snapshots) after a half a battle of red wine,
on Saturday nights..trying to move code between two computers..
(11-04-2013, 07:31 PM)dgud Wrote: [ -> ]Jörg I think I messed up, can you try the new version..
I have not actually tested that this works, I just hope it does.
If this doesn't work you can start it with:
WINGS_PATH\bin\werl -run wings start_halt -extra "PATH_TO_PREFS_WO_UNICODE_CHARS"
if you replace the uppercase paths above to something appropriate.

Same place, my dropbox, now with a proper version, which I didn't understand why it
was not generated last time..

Note to self, do not make releases (even snapshots) after a half a battle of red wine,
on Saturday nights..trying to move code between two computers..

Hello dgud,

i tested the new version. Without command line argument the problem still remains (see attached crash file).

If i use the command like argument the application starts and runs without any problems. After closing the application the "Preferences.txt" file is stored within the defined directory. For example i used

"C:\Program Files\wings3d_1.5.1.7\bin\werl.exe" -run wings start_halt -extra "c:\Config"

At least I can use the new version. I'm willing to help to test any future versions.

The problem with wine and computers is not unknown to me Smile It's just beer instead of wine Smile
Ok thanks for testing, strange that you get the same error.

The thing is we have worked on adding proper unicode support for erlang (my actual work),
which is partially there for windows in erlang R16 which is used in wings-1.5.*
And the work will be finished in next version erlang that is due next year,
so I will probably not look at this until we have better unicode support in the language.
It's just to much time and effort to debug it in the current state.

So until then you will have to do with the hack above.
(11-05-2013, 09:52 AM)dgud Wrote: [ -> ]Ok thanks for testing, strange that you get the same error.

The thing is we have worked on adding proper unicode support for erlang (my actual work),
which is partially there for windows in erlang R16 which is used in wings-1.5.*
And the work will be finished in next version erlang that is due next year,
so I will probably not look at this until we have better unicode support in the language.
It's just to much time and effort to debug it in the current state.

So until then you will have to do with the hack above.

@dgud: Thanks for your efforts!

And to you and all other Wings 3D developers:

Thanks for this fantastic program!