{"action":"created","issue":{"url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/149","repository_url":"https://api.github.com/repos/MegaGlest/megaglest-source","labels_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/149/comments","events_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/149/events","html_url":"https://github.com/MegaGlest/megaglest-source/issues/149","id":207090365,"number":149,"title":"stacktrace output after MG appears to exit normally","user":{"login":"andy5995","id":16764864,"avatar_url":"https://avatars.githubusercontent.com/u/16764864?v=3","gravatar_id":"","url":"https://api.github.com/users/andy5995","html_url":"https://github.com/andy5995","followers_url":"https://api.github.com/users/andy5995/followers","following_url":"https://api.github.com/users/andy5995/following{/other_user}","gists_url":"https://api.github.com/users/andy5995/gists{/gist_id}","starred_url":"https://api.github.com/users/andy5995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy5995/subscriptions","organizations_url":"https://api.github.com/users/andy5995/orgs","repos_url":"https://api.github.com/users/andy5995/repos","events_url":"https://api.github.com/users/andy5995/events{/privacy}","received_events_url":"https://api.github.com/users/andy5995/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-12T23:17:16Z","updated_at":"2017-02-16T00:38:08Z","closed_at":null,"body":"Several times now I've noticed this in the terminal after exiting Megaglest (MG closes, reports no errors in the GUI, but this is output to the terminal):\r\n\r\nI'm including all the output from the time MG is executed; the stacktrace is near the end.\r\n\r\nThis may only happen after after I host a game on my server, but not when I play a game. I'll be sure to take note of that in the future.\r\n\r\n```\r\nmegaglest v3.12-dev\r\nCompiled using: GNUC: 60300 [64bit] platform: Linux-X64 endianness: little\r\nGIT: [Rev: 5582.bc74eebb] - using STREFLOP [SSE] - [no-denormals]\r\nAuto Change resolution to (1280 x 1024) from (1024 x 768)\r\nMainWindow forced change of resolution to desktop values (1280 x 1024) instead of (1024 x 768)\r\nCannot connect to server socket err = No such file or directory\r\nCannot connect to server request channel\r\njack server is not running or cannot be started\r\nJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock\r\nJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock\r\nGame unique identifier is: 327e89d8-f16d-11e6-ba7f-a3b1f4ab840b\r\n** #2 Socket peek error for sock = -1 err = -1 lastSocketError = 104 mustGetData = 0\r\n** Disconnecting sock = -1\r\nGame unique identifier is: 1d81dc22-f16f-11e6-a5a2-819f54204190\r\n*TESTING*: START Waiting for lagging client playerIndex = 0 [Issh] clientLagCount = 23.000000 [0.000000]\r\n**WARNING** Detected lag from client: 0 networkPauseGameForLaggedClients: 1\r\n[CMDR] Pausing game for lagging client(s), current world frame [65218]\r\n*TESTING*: FINISHED Waiting for lagging client playerIndex = 0 [Issh]\r\n==> Requested Resume Game after Pause for lagging client(s)...\r\n[CMDR] Resuming game after Pause for lagging client(s), current world frame [65220]\r\n** #2 Socket peek error for sock = 27 err = 0 lastSocketError = 0 mustGetData = 0\r\n** LAST CHANCE for disconnection check for sock = 27\r\n** Disconnecting sock = 27\r\nIsConnected socket has disconnected sock = -1 err = 0 lastSocketError = 0\r\n** #2 Socket peek error for sock = 26 err = 0 lastSocketError = 0 mustGetData = 0\r\n** LAST CHANCE for disconnection check for sock = 26\r\n** Disconnecting sock = 26\r\nIsConnected socket has disconnected sock = -1 err = 0 lastSocketError = 0\r\n** #2 Socket peek error for sock = 23 err = 0 lastSocketError = 0 mustGetData = 0\r\n** LAST CHANCE for disconnection check for sock = 23\r\n** Disconnecting sock = 23\r\nIsConnected socket has disconnected sock = -1 err = 0 lastSocketError = 0\r\nterminate called after throwing an instance of 'Shared::Platform::megaglest_runtime_error'\r\n  what():  In [thread.cpp::removeThreadFromList Line: 164] iterFind == Thread::threadList.end() Thread::threadList.size() = 1\r\nStack Trace:\r\n./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)address [0x5613f3516c4c] line: 0\r\n./megaglest:Shared::Platform::Thread::removeThreadFromList()address [0x5613f3517a60] line: 0\r\n./megaglest:Shared::Platform::Thread::~Thread()address [0x5613f35186ac] line: 0\r\n./megaglest:Shared::PlatformCommon::BaseThread::~BaseThread()address [0x5613f34c314e] line: 0\r\n./megaglest:Shared::Platform::Thread::shutdownThreads()address [0x5613f3517e90] line: 0\r\n./megaglest:()address [0x5613f30ece98] line: 0\r\n./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x5613f3109b4b] line: 0\r\n/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f2fb48892b1] line: 0\r\n./megaglest:_start()address [0x5613f2f2db0a] line: 0\r\n\r\nAborted\r\nandy@oceanus:~/src/megaglest-source/mk/linux$ \r\n```"},"comment":{"url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/comments/280190620","html_url":"https://github.com/MegaGlest/megaglest-source/issues/149#issuecomment-280190620","issue_url":"https://api.github.com/repos/MegaGlest/megaglest-source/issues/149","id":280190620,"user":{"login":"andy5995","id":16764864,"avatar_url":"https://avatars.githubusercontent.com/u/16764864?v=3","gravatar_id":"","url":"https://api.github.com/users/andy5995","html_url":"https://github.com/andy5995","followers_url":"https://api.github.com/users/andy5995/followers","following_url":"https://api.github.com/users/andy5995/following{/other_user}","gists_url":"https://api.github.com/users/andy5995/gists{/gist_id}","starred_url":"https://api.github.com/users/andy5995/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy5995/subscriptions","organizations_url":"https://api.github.com/users/andy5995/orgs","repos_url":"https://api.github.com/users/andy5995/repos","events_url":"https://api.github.com/users/andy5995/events{/privacy}","received_events_url":"https://api.github.com/users/andy5995/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T00:38:08Z","updated_at":"2017-02-16T00:38:08Z","body":"Auto-pause or pause is not likely related.\r\n\r\nThe sequence of events in the case below was:\r\n\r\n1. I started MG\r\n2. Joined titi's server\r\n3. disconnected and hosted so he could download a map\r\n4. after titi connected and downloaded a map, he hosted\r\n5. I joined his server\r\n6. We played a game with no pausing\r\n7. I exited through the menus and got this stacktrace\r\n\r\nThis stacktrace appears to be the same, so I won't post anymore until I have more info.\r\n```\r\n\r\nmegaglest v3.12-dev\r\nCompiled using: GNUC: 60300 [64bit] platform: Linux-X64 endianness: little\r\nGIT: [Rev: 5584.48186124] - using STREFLOP [SSE] - [no-denormals]\r\nAuto Change resolution to (1280 x 1024) from (1024 x 768)\r\nMainWindow forced change of resolution to desktop values (1280 x 1024) instead of (1024 x 768)\r\nCannot connect to server socket err = No such file or directory\r\nCannot connect to server request channel\r\njack server is not running or cannot be started\r\nJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock\r\nJackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock\r\n** #2 Socket peek error for sock = 20 err = 0 lastSocketError = 0 mustGetData = 0\r\n** LAST CHANCE for disconnection check for sock = 20\r\n** Disconnecting sock = 20\r\nIsConnected socket has disconnected sock = -1 err = 0 lastSocketError = 0\r\n** #2 Socket peek error for sock = -1 err = -1 lastSocketError = 104 mustGetData = 0\r\n** Disconnecting sock = -1\r\n** #2 Socket peek error for sock = 23 err = 0 lastSocketError = 0 mustGetData = 0\r\n** LAST CHANCE for disconnection check for sock = 23\r\n** Disconnecting sock = 23\r\nIsConnected socket has disconnected sock = -1 err = 0 lastSocketError = 0\r\nGame unique identifier is: 529315aa-f3d8-11e6-aaf0-630eb6c8a87e\r\nterminate called after throwing an instance of 'Shared::Platform::megaglest_runtime_error'\r\n  what():  In [thread.cpp::removeThreadFromList Line: 164] iterFind == Thread::threadList.end() Thread::threadList.size() = 1\r\nStack Trace:\r\n./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)address [0x555e3acd9c2c] line: 0\r\n./megaglest:Shared::Platform::Thread::removeThreadFromList()address [0x555e3acdaa40] line: 0\r\n./megaglest:Shared::Platform::Thread::~Thread()address [0x555e3acdb68c] line: 0\r\n./megaglest:Shared::PlatformCommon::BaseThread::~BaseThread()address [0x555e3ac8612e] line: 0\r\n./megaglest:Shared::Platform::Thread::shutdownThreads()address [0x555e3acdae70] line: 0\r\n./megaglest:()address [0x555e3a8afe98] line: 0\r\n./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x555e3a8ccb4b] line: 0\r\n/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f18888132b1] line: 0\r\n./megaglest:_start()address [0x555e3a6f0b0a] line: 0\r\n\r\nAborted\r\n```\r\n"}}
{"actor":{"display_login":"andy5995"}}