Closed testname1 closed 11 years ago
Crashdetect ничего не выдал, молча падает с выводом в linux консоль текста выше
На последней версии до сих пор так Конкретно выяснить что именно заставляет сервер ложится мне непонятно В 1-ным таймером и в 1-го на сервере никаких проблем нет на винде
Aborted samp03svr: /home/q/Zeex-samp-profiler-plugin-1993c0a/src/amx_profiler/profiler.cpp:84: int amx_profiler::Profiler::amxDebug(int ()(AMX_)): Assertion `callstack.GetTop()->function()->type() == "normal"' failed. Всё также вылетает версия v2.7.5
В режиме совмещённом с jit 0.7.4. который я описал здесь https://github.com/Zeex/samp-jit-plugin/issues/15 когда profiler выводит только значения callback'ов никаких крашей нет
Сам краш происходит в момент завершения функции Например
в OnPlayerText вызывается OnPlayerCommandText в момент завершения OnPlayerCommandText происходит сам краш
При вызове стандартным путём OnPlayerCommandText никаких проблем нет
На windows вылетов никаких вроде как нет
Баг не стабильно вылетает, может и не вылететь, поэтому воспроизвести иногда тяжело
I also have this issue on the last version and the new one. When I try to compile I get this error.
[ 4%] Building CXX object CMakeFiles/profiler.dir/amx_profiler/c_interface.cpp.o In file included from /home/cpagent/GAMES/samp/samp-profiler/amx_profiler/profiler.h:31:0, from /home/cpagent/GAMES/samp/samp-profiler/amx_profiler/c_interface.cpp:27: /home/cpagent/GAMES/samp/samp-profiler/amx_profiler/call_graph.h: In member function âvoid amx_profiler::CallGraph::Traverse(F) constâ: /home/cpagent/GAMES/samp/samp-profiler/amx_profiler/call_graph.h:59:12: error: invalid use of incomplete type âclass amx_profiler::CallGraphNodeâ /home/cpagent/GAMES/samp/samp-profiler/amx_profiler/call_graph.h:32:7: error: forward declaration of âclass amx_profiler::CallGraphNodeâ make[2]: * [CMakeFiles/profiler.dir/amx_profiler/c_interface.cpp.o] Error 1 make[1]: * [CMakeFiles/profiler.dir/all] Error 2 make: *\ [all] Error 2
[Edit] well its been a while I will try and add -m32 and see if I can get it to compile. I still get this error anyhow when using the bin.
Проверил последнюю версию, вроде проблем не наблюдается Позже протестирую плагин несколько часов когда появится возможность
Aborted Segmentation fault samp03svr: /home/q/Zeex-samp-profiler-plugin-b671653/src/amx_profiler/profiler.cpp:84: int amx_profiler::Profiler::amxDebug(int ()(AMX_)): Assertion `callstack.GetTop()->function()->type() == "normal"' failed.