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

# Crash Error #1657

Closed
Donkey-Robot opened this issue Dec 28, 2015 · 8 comments
Closed

# Crash Error #1657

Donkey-Robot opened this issue Dec 28, 2015 · 8 comments
Labels

Comments

@Donkey-Robot
Copy link

#0 0x0000713443ed8b13 in epoll_wait ()

at ../sysdeps/unix/syscall-template.S:81

#1 0x0000000000a068b4 in boost::asio::detail::epoll_reactor::run (

this=0x3c54e30, block=true, ops=...)
at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:392

#2 0x0000000000a075cd in boost::asio::detail::task_io_service::do_run_one (

this=0x3c54d00, lock=..., this_thread=..., ec=...)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:368

#3 0x0000000000a07391 in boost::asio::detail::task_io_service::run (

this=0x3c54d00, ec=...)
at /usr/include/boost/asio/detail/impl/task_io_service.ipp:153

#4 0x0000000000a078bd in boost::asio::io_service::run (this=0x7c6f1f7711d0)

at /usr/include/boost/asio/impl/io_service.ipp:59

#5 0x0000000000a04e07 in ServiceManager::run (this=0x7c6f1f7711a0)

at /home/Viking/src/server.cpp:52

#6 0x000000000097e87d in main (argc=1, argv=0x7c6f1f7713f8)

at /home/Viking/src/otserv.cpp:110
@marksamman
Copy link
Member

You need to provide the backtrace of the dispatcher thread.

@Donkey-Robot
Copy link
Author

removed

@marksamman
Copy link
Member

That is not what I asked for.

@Donkey-Robot
Copy link
Author

Sorry man, I dont understand. You could give a short explanation please?

@marksamman
Copy link
Member

You need to switch to the dispatcher thread and print the backtrace in gdb, it doesn't even necessarily have to be the dispatcher thread, so you should just switch to all threads and post the backtrace. You switch thread with the command thread. Example:

thread 1
bt
thread 2
bt
thread 3
bt

@Donkey-Robot
Copy link
Author

Humm ok, I need to wait this crash again right? To do this commands, because I restarted the server. Waiting here for crash again

PS. I was updated the Boost system

@marksamman
Copy link
Member

If you didn't generate a core dump, yes, you'll have to wait for it to crash again. Please open a new issue when you have a backtrace that shows where it crashed. It would also help to build with debug flags if you're not already doing so. Use this command to generate debug build files with CMake:

cmake -DCMAKE_BUILD_TYPE=Debug ..

@Donkey-Robot
Copy link
Author

I had already done it (compiled with debug mode), waiting crashing again, thank you for your answers .

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

No branches or pull requests

2 participants