salvador.lopez Posted June 7, 2016 Share Posted June 7, 2016 The unigine (2.2.1 linux Sim src) editor and projects always crash on startup. This happens both when launching them from command line and from the SDK Browser, both for existing and newly created empty projects. I have tested on two different machines with different linux distributions (OpenSUSE Leap 42.1 and CentOS 7), it happens on both. Both of them have working NVidia drivers installed. The problem also occurs with the Valley Benchmark demo too. I send attached the console output generated when running from command line, there is not much to work on in there, just a "Received signal SIGSEGV, invalid memory reference" at the end. (EDIT) Everything works fine in 2.2 in both machines. The issue is only in 2.2.1 log.txt Link to comment
salvador.lopez Posted June 7, 2016 Author Share Posted June 7, 2016 Here is the gdb info (attached) extracted using the "good bug report" instructions gdb-TestProject.txt Link to comment
silent Posted June 8, 2016 Share Posted June 8, 2016 Hi Salvador, Cound you please rebuild engine with minor modification in source/engine/utils/Thread.cpp: int Thread::terminate() { running = 0; waiting = 0; // add this line if(thread == 0) return 0; #ifdef _WIN32 return TerminateThread(thread,false); #elif defined(_LINUX) || defined(_MACOS) pthread_mutex_lock(&mutex); int ret = (pthread_cancel(thread) == 0); sleep(0); pthread_mutex_unlock(&mutex); return ret; #else return 0; #endif } And add modified engine libraries into your project's bin directory. After that engine should work as expected. Sorry for the inconvenience caused. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
salvador.lopez Posted June 8, 2016 Author Share Posted June 8, 2016 Thank you very much! That fixed the problem Link to comment
Recommended Posts