Receiving unhandled NULL exception
Launching bug reporter #0 0x007fffdd325600 in _L_unlock_13 #1 0x007fffdd325a68 in _XimLocalSetICValues #2 0x007fffdd325a70 in _XimSetICDefaults #3 0x007fffdd325ae0 in _XimSetICDefaults #4 0x007fffdd325b50 in _XimLocalCreateIC #5 0x007fffdd325d80 in XCreateIC #6 0x007fffdd325e90 in InitializeX11() #7 0x007fffdd325eb0 in InitX11ToSDL() #8 0x007fffdd326640 in InputInit() #9 0x007fffdd326650 in InitializeEngineNoGraphics() #10 0x007fffdd326690 in Application::InitializeProject() #11 0x007fffdd326d10 in InitializeUnity(void*) #12 0x007fffdd326e50 in main #13 0x007fffdd3271f0 in __libc_start_main #14 0x007fffdd3272b0 in _start
Currently you still need a display for the Linux editor, even in nographics mode.
This is a known issue which we plan to address (but there’s no timeframe right now).
without any display (through webmin custom command) but I get :
Error opening default X display
(Filename: /home/builduser/buildslave/unity/build/PlatformDependent/Linux/X11Quarantine.cpp Line: 152)
Receiving unhandled NULL exception #0 0x007ffc5596eb40 in funlockfile #1 0x007ffc5596f0c8 in _XimLocalSetICValues #2 0x007ffc5596f0d0 in _XimSetICDefaults #3 0x007ffc5596f140 in _XimSetICDefaults #4 0x007ffc5596f1b0 in _XimLocalCreateIC #5 0x007ffc5596f3d0 in XCreateIC #6 0x007ffc5596f4d0 in InitializeX11() #7 0x007ffc5596f4f0 in InitX11ToSDL() #8 0x007ffc5596fc80 in InputInit() #9 0x007ffc5596fc90 in InitializeEngineNoGraphics() #10 0x007ffc5596fcf0 in Application::InitializeProject() #11 0x007ffc559703d0 in InitializeUnity(void*) #12 0x007ffc55970510 in main #13 0x007ffc559708c0 in __libc_start_main #14 0x007ffc55970980 in _start
Executing the script (sh starter.sh) from command line (not with root user) it works.
It would be nice if
root user can also run the script.sh because most of the web clients run as root
the need of a display is removed (servers do not have a display).
/opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.10' not found (required by /opt/Unity/Editor/Unity) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.9’ not found (required by /opt/Unity/Editor/Unity) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by /opt/Unity/Editor/Unity) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.11’ not found (required by /opt/Unity/Editor/Unity) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by /opt/Unity/Editor/Data/Tools/libfreeimage.so.3) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.9’ not found (required by /opt/Unity/Editor/Data/Tools/libfreeimage.so.3) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by /opt/Unity/Editor/Data/Tools/libfreeimage.so.3) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.10’ not found (required by /opt/Unity/Editor/libcef.so) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.15' not found (required by /opt/Unity/Editor/libcef.so) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.9’ not found (required by /opt/Unity/Editor/libcef.so) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.11' not found (required by /opt/Unity/Editor/libcef.so) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version GLIBCXX_3.4.9’ not found (required by /opt/Unity/Editor/Data/Tools/libumbraoptimizer64.so) /opt/Unity/Editor/Unity: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.11’ not found (required by /opt/Unity/Editor/Data/Tools/libumbraoptimizer64.so)
Can’t get home directory! (Filename: /home/builduser/buildslave/unity/build/PlatformDependent/Linux/SystemInfo.cpp Line: 262) mono profile = ‘/opt/Unity/Editor/Data/Mono/lib/mono/2.0’ Initialize mono Mono path[0] = ‘/opt/Unity/Editor/Data/Managed’ Mono path[1] = ‘/opt/Unity/Editor/Data/Mono/lib/mono/2.0’ Mono path[2] = ‘/opt/Unity/Editor/Data/UnityScript’ Mono path[3] = ‘/opt/Unity/Editor/Data/Mono/lib/mono/2.0’ Mono config path = ‘/opt/Unity/Editor/Data/Mono/etc’ Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56606 Can’t get home directory! (Filename: /home/builduser/buildslave/unity/build/PlatformDependent/Linux/SystemInfo.cpp Line: 262) CreateDirectory ‘/Unity’ failed: (current dir: /opt/lampp/htdocs/SimpleUnityGameProjectTemplate_v4) Can’t get home directory! (Filename: /home/builduser/buildslave/unity/build/PlatformDependent/Linux/SystemInfo.cpp Line: 262) Can’t get home directory! (Filename: /home/builduser/buildslave/unity/build/PlatformDependent/Linux/SystemInfo.cpp Line: 262) DisplayProgressbar: Unity license Can’t get home directory! (Filename: /home/builduser/buildslave/unity/build/PlatformDependent/Linux/SystemInfo.cpp Line: 262) Request Timeout while processing request “https://public-cdn.cloud.unity3d.com/config/production”, HTTP error code 0 .Cancelling DisplayDialog: Failed to activate/update license. Missing or bad username and password. Please try again using valid credentials or contact support@unity3d.comThis should not be called in batch mode. (Filename: /home/builduser/buildslave/unity/build/Editor/Platform/Linux/EditorUtility.cpp Line: 219)
I suppose that this have to do with the fact that I am calling unity from the web user “daemon” but not the user that installed Unity3d from the ubuntu interface. By running the command from the terminal as me (jimver user) everything works.
I have tried to state my username and password explicitly from command line ( -username -password arguments) but no lack. I am afraid that the “This should not be called in batch mode” is something like a firewall for the command line.
I am stating below what I have tried.
I have changed the httpd.conf standard web user to be me (jimver) instead of daemon and now I get a different message
Running without the SUID sandbox! See chromium - An open-source project to help move the web forward. - Monorail for more information on developing with the sandbox on. ATTENTION: default value of option force_s3tc_enable overridden by environment. [0110/115845:ERROR:sandbox_linux.cc(308)] InitializeSandbox() called with multiple threads in process gpu-process No sufficient permissions while processing request “https://core.cloud.unity3d.com/api/login”, HTTP error code 401 .Cancelling DisplayDialog: Failed to activate/update license. Timeout occured while trying to update license. Please try again later or contact support@unity3d.com This should not be called in batch mode. (Filename: /home/builduser/buildslave/unity/build/Editor/Platform/Linux/EditorUtility.cpp Line: 219)
Any ideas ? Should I try to search for SUID sandbox ?
Do i need a commercial license? Why from ubunu terminal is working but not from php-lampp ? If i am going to buy a license do you warranty that will work or other problems may occur?
I have activated my personal license during unity installation in windows. I then change machine to ubuntu and downloaded the linux version in ubuntu and installed it with ubuntu gui interface with the same username and password as in windows (i did not want to make a second account).
So I have two paths to check:
a) I guess that although my personal license is activated, it is not for linux but for windows. Am I right ? or
b) should I install and activate somehow the license in linux in headless mode?
You need to activate every Unity installation.
If you’ve already activated the installation on the server for your user, then you don’t need to pass the -username and -password arguments on the batch mode command line (when you do, it thinks you’re trying to update your activation).
There is something going wrong with the unity authentication.
In ubuntu16 with xampp, the php 5.6.24 runs as daemon user and it can not create the necessary folders for the compiling (that are very spread withing ubuntu system).
The only solution was to do a change the opt/lampp/etc/httpd.conf , i.e. to replace the daemon user in
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon
with the registered in unity user which in my case is jimver
and the new error I get now is:
DisplayProgressbar: Unity license [0111/095517:ERROR:browser_main_loop.cc(161)] Running without the SUID sandbox! See chromium - An open-source project to help move the web forward. - Monorail for more information on developing with the sandbox on. ATTENTION: default value of option force_s3tc_enable overridden by environment. [0111/095517:ERROR:sandbox_linux.cc(308)] InitializeSandbox() called with multiple threads in process gpu-process Cancelling DisplayDialog: Failed to activate/update license. Missing or bad username and password. Please try again using valid credentials or contact support@unity3d.com This should not be called in batch mode. (Filename: /home/builduser/buildslave/unity/build/Editor/Platform/Linux/EditorUtility.cpp Line: 219)
obviously the SUID sandbox is not loaded because “InitializeSandbox() called with multiple threads in process gpu-process” which means that Unity is initializing by using the gpu? and why multiple threads? I am using it only once.