Wings 3D Development Forum
[fixed] OSX,Wings2.0.2, CJK Language, Crashed when openig Plug-In-Manager - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [fixed] OSX,Wings2.0.2, CJK Language, Crashed when openig Plug-In-Manager (/showthread.php?tid=1558)



[fixed] OSX,Wings2.0.2, CJK Language, Crashed when openig Plug-In-Manager - tkbd - 02-02-2016

By following bug, can't use Plug-in-Manager in these languages.

How to make this problem.
  1. In Wings3D's pereference dialog ,swith to Chinese or Japanese.
  2. (For example Japanese version)Select "編集>プラグイン管理" for open Plug-In-Manager.
    This command means that same operation selection "Edit>Plug In Manager" in English UeseInterface.
  3. Then Wings3D crash.( this occurs also in v1.5.4 .)

The cause is ....

A problem occurs when probably the Plugin Manager to get the information of the three plug-ins
wpc_circularize
wpc_frow Connect
wpc_inset


If remove these module files, Plugin manager doesn't crash.
Other commands no problem for display also contain CJK characters in menu entry.

For example a crash log which case circularize.
Code:
Dump written 2016-2-2_18-1
Version: 2.0.2
Window: geom
Reason: badarg

Short stack trace:
[]

Long stack trace:
[{erlang,list_to_atom,[[29872,29366,21270]],[]},
{wings_plugin,plugin_key,1,[{file,"wings_plugin.erl"},{line,599}]},
{wings_plugin,normalize_menu,1,[{file,"wings_plugin.erl"},{line,586}]},
{wings_plugin,plugin_menu_info,1,[{file,"wings_plugin.erl"},{line,539}]},
{wings_plugin,plugin_info,2,[{file,"wings_plugin.erl"},{line,426}]},
{wings_plugin,'-plugin_modules/2-lc$^0/1-0-',3,
               [{file,"wings_plugin.erl"},{line,422}]},
{wings_plugin,'-plugin_modules/2-lc$^0/1-0-',3,
               [{file,"wings_plugin.erl"},{line,423}]},
{wings_plugin,plugin_modules,2,[{file,"wings_plugin.erl"},{line,421}]}]



These Numbers [29872,29366,21270] means UTF-8 code
29872 環 (0x074B0)
29366 状 (0x072B6)
21270 化 (0x072B6)
These are Japanse translation string of "Circularise" for menu entry string.

------------------------------------------------------------------------------
tkbd


RE: OSX,Wings2.0.2, CJK Language, Crashed when openig Plug-In-Manager - micheus - 02-03-2016

tkbd, thanks for so complete information about the problem (as always). That helps a lot.


RE: OSX,Wings2.0.2, CJK Language, Crashed when openig Plug-In-Manager - tkbd - 02-05-2016

micheus,thanks for watching.

This is a bug that is from long ago(Wings3D v1.x.x?).
I wrote as much detail as possible because for trouble on 2byte character code doesn't occur in the Latin code environment.


RE: OSX,Wings2.0.2, CJK Language, Crashed when openig Plug-In-Manager - dgud - 03-17-2016

Fixed.