Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server crash #6

Closed
testname1 opened this issue Apr 13, 2012 · 7 comments
Closed

server crash #6

testname1 opened this issue Apr 13, 2012 · 7 comments

Comments

@testname1
Copy link

Aborted
Segmentation fault
samp03svr: /home/q/Zeex-samp-profiler-plugin-b671653/src/amx_profiler/profiler.cpp:84: int amx_profiler::Profiler::amx_Debug(int ()(AMX)): Assertion `call_stack_.GetTop()->function()->type() == "normal"' failed.

@testname1
Copy link
Author

Crashdetect ничего не выдал, молча падает с выводом в linux консоль текста выше

@testname1
Copy link
Author

На последней версии до сих пор так
Конкретно выяснить что именно заставляет сервер ложится мне непонятно
В 1-ным таймером и в 1-го на сервере никаких проблем нет на винде

@testname1
Copy link
Author

Aborted
samp03svr: /home/q/Zeex-samp-profiler-plugin-1993c0a/src/amx_profiler/profiler.cpp:84: int amx_profiler::Profiler::amx_Debug(int ()(AMX)): Assertion `call_stack_.GetTop()->function()->type() == "normal"' failed.
Всё также вылетает
версия
v2.7.5

@testname1
Copy link
Author

В режиме совмещённом с jit 0.7.4. который я описал здесь
https://github.com/Zeex/samp-jit-plugin/issues/15
когда profiler выводит только значения callback'ов
никаких крашей нет

Сам краш происходит в момент завершения функции
Например

в OnPlayerText
вызывается OnPlayerCommandText
в момент завершения OnPlayerCommandText происходит сам краш

При вызове стандартным путём OnPlayerCommandText никаких проблем нет

На windows вылетов никаких вроде как нет

@testname1
Copy link
Author

Баг не стабильно вылетает, может и не вылететь, поэтому воспроизвести иногда тяжело

@cyber-punk
Copy link

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.

@testname1
Copy link
Author

Проверил последнюю версию, вроде проблем не наблюдается
Позже протестирую плагин несколько часов когда появится возможность

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants