TCLsci is locked when starting scilab
Reported by Chenfeng Zhu
BUG DESCRIPTION:
----------------
After compiling scilab as normal and running it, it just stopped at its starting. (ctrl+c cannot end it.)
i could run "scilab-cli" and use it. But I cannot delete what I input. Once I press "delete", the program is dead. any actions (including "ctrl+c") don't work.
ERROR LOG:
----------
#0 pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007fc7b14f2005 in __Wait (signalName=<optimized out>, lockName=<optimized out>)
at src/cpp/Thread_Wrapper.cpp:116
#2 0x00007fc7ad6f88ef in OpenTCLsci () at src/c/InitTclTk.c:231
#3 0x00007fc7ad6f8a2d in InitializeTclTk () at src/c/InitializeTclTk.c:25
#4 0x00007fc7b12eb7ac in StartScilabEngine (_pSEI=_pSEI@entry=0x15ffa40)
at src/cpp/InitScilab.cpp:252
#5 0x000000000040197a in main (argc=1, argv=0x7fffec032878)
at modules/startup/src/cpp/scilab.cpp:435
HOW TO REPRODUCE THE BUG:
-------------------------
git clone the newest master branch.
compile it.
"./scilab"
OTHER INFORMATION:
------------------
I tried scilab-6* and nightly master. it works fine.