{"action":"created","issue":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1089","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1089/labels{/name}","comments_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1089/comments","events_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1089/events","html_url":"https://github.com/PCSX2/pcsx2/issues/1089","id":125457584,"number":1089,"title":"Pcsx2 linux with print GL error enabled broken GCC 5.3?","user":{"login":"maximu","id":1274014,"avatar_url":"https://avatars.githubusercontent.com/u/1274014?v=3","gravatar_id":"","url":"https://api.github.com/users/maximu","html_url":"https://github.com/maximu","followers_url":"https://api.github.com/users/maximu/followers","following_url":"https://api.github.com/users/maximu/following{/other_user}","gists_url":"https://api.github.com/users/maximu/gists{/gist_id}","starred_url":"https://api.github.com/users/maximu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximu/subscriptions","organizations_url":"https://api.github.com/users/maximu/orgs","repos_url":"https://api.github.com/users/maximu/repos","events_url":"https://api.github.com/users/maximu/events{/privacy}","received_events_url":"https://api.github.com/users/maximu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-07T18:32:43Z","updated_at":"2016-01-07T20:56:35Z","closed_at":"2016-01-07T20:49:29Z","body":"crash always for me\r\nterminate called after throwing an instance of 'std::length_error'\r\n  what():  basic_string::_M_create\r\nCore dumped.\r\n\r\n>Program received signal SIGABRT, Aborted.\r\n[Switching to Thread 0xeebdeb40 (LWP 20692)]\r\n0xf7fd9bf0 in __kernel_vsyscall ()\r\n(gdb) where\r\n#0  0xf7fd9bf0 in __kernel_vsyscall ()\r\n#1  0xf66e2e66 in raise () from /usr/lib32/libc.so.6\r\n#2  0xf66e44e7 in abort () from /usr/lib32/libc.so.6\r\n#3  0xf6969e55 in __gnu_cxx::__verbose_terminate_handler () at /build/gcc-multilib/src/gcc-5.3.0/libstdc++-v3/libsupc++/vterminate.cc:95\r\n#4  0xf6967943 in __cxxabiv1::__terminate (handler=0xf6969d00 <__gnu_cxx::__verbose_terminate_handler()>)\r\n    at /build/gcc-multilib/src/gcc-5.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:47\r\n#5  0xf69679bd in std::terminate () at /build/gcc-multilib/src/gcc-5.3.0/libstdc++-v3/libsupc++/eh_terminate.cc:57\r\n#6  0xf6967c81 in __cxxabiv1::__cxa_throw (obj=0xeba93230, tinfo=0xf6a66428 <typeinfo for std::length_error>, dest=0xf697cd30 <std::length_error::~length_error()>)\r\n    at /build/gcc-multilib/src/gcc-5.3.0/libstdc++-v3/libsupc++/eh_throw.cc:87\r\n#7  0xf6991ca4 in std::__throw_length_error (__s=0xf6a1eaa9 \"basic_string::_M_create\") at /build/gcc-multilib/src/gcc-5.3.0/libstdc++-v3/src/c++11/functexcept.cc:86\r\n#8  0xf69ff09a in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create (this=0xeebddb50, __capacity=@0xeebddb2c: 4294967295, \r\n    __old_capacity=0) at /build/gcc-multilib/src/gcc-build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/bits/basic_string.tcc:142\r\n#9  0xf07742c4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char*> (this=0xeebddb50, \r\n    __beg=0xee24bed8 \"GSDeviceOGL::Create\", __end=<optimized out>) at /usr/include/c++/5.3.0/bits/basic_string.tcc:223\r\n#10 0xf07743a5 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char const*> (__end=0xee24bed7 \"\", \r\n    __beg=0xee24bed8 \"GSDeviceOGL::Create\", this=0xeebddb50) at /usr/include/c++/5.3.0/bits/basic_string.h:195\r\n#11 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*> (__end=0xee24bed7 \"\", \r\n    __beg=0xee24bed8 \"GSDeviceOGL::Create\", this=0xeebddb50) at /usr/include/c++/5.3.0/bits/basic_string.h:214\r\n#12 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (__a=..., __n=4294967295, __s=0xee24bed8 \"GSDeviceOGL::Create\", \r\n    this=0xeebddb50) at /usr/include/c++/5.3.0/bits/basic_string.h:448\r\n#13 GSDeviceOGL::DebugOutputToFile (gl_source=33354, gl_type=33385, id=2989, gl_severity=33387, gl_length=-1, gl_message=0xee24bed8 \"GSDeviceOGL::Create\", \r\n    userParam=0x0) at /home/mrc/pcsx2/plugins/GSdx/GSDeviceOGL.cpp:1525\r\n#14 0xebbbc5ab in ?? () from /usr/lib32/xorg/modules/dri/i965_dri.so\r\n#15 0xf077df01 in GSDeviceOGL::Create (this=0xee201d80, wnd=0xee23b228) at /home/mrc/pcsx2/plugins/GSdx/GSDeviceOGL.cpp:215\r\n#16 0xf07bf7db in GSRenderer::CreateDevice (this=0xee2020e0, dev=0xee201d80) at /home/mrc/pcsx2/plugins/GSdx/GSRenderer.cpp:79\r\n#17 0xf076cff0 in _GSopen (dsp=dsp@entry=0x9df6500 <pDsp>, title=title@entry=0xf081ea85 \"\", renderer=GSRendererType::OGL_SW, threads=<optimized out>)\r\n    at /home/mrc/pcsx2/plugins/GSdx/GS.cpp:469\r\n#18 0xf076d5df in GSopen2 (dsp=0x9df6500 <pDsp>, flags=1) at /home/mrc/pcsx2/plugins/GSdx/GS.cpp:536\r\n#19 0x08097170 in SysMtgsThread::OpenPlugin (this=0x9ee48d0 <mtgsThread>) at /home/mrc/pcsx2/pcsx2/MTGS.cpp:195\r\n#20 0x08098fda in SysMtgsThread::OnResumeInThread (this=0x9ee48d0 <mtgsThread>, isSuspended=true) at /home/mrc/pcsx2/pcsx2/MTGS.cpp:570\r\n#21 0x082c9147 in SysThreadBase::StateCheckInThread (this=0x9ee48d0 <mtgsThread>) at /home/mrc/pcsx2/pcsx2/System/SysThreadBase.cpp:324\r\n#22 0x08097dbb in SysMtgsThread::ExecuteTaskInThread (this=0x9ee48d0 <mtgsThread>) at /home/mrc/pcsx2/pcsx2/MTGS.cpp:276\r\n#23 0x0838c22f in Threading::pxThread::_try_virtual_invoke (this=0x9ee48d0 <mtgsThread>, method=<optimized out>)\r\n    at /home/mrc/pcsx2/common/src/Utilities/ThreadTools.cpp:545\r\n#24 0x0838d53f in Threading::pxThread::_internal_execute (this=0x9ee48d0 <mtgsThread>) at /home/mrc/pcsx2/common/src/Utilities/ThreadTools.cpp:644\r\n#25 0x0838d67e in Threading::pxThread::_internal_callback (itsme=0x9ee48d0 <mtgsThread>) at /home/mrc/pcsx2/common/src/Utilities/ThreadTools.cpp:684\r\n#26 0xf6877315 in start_thread () from /usr/lib32/libpthread.so.0\r\n#27 0xf67a0d6e in clone () from /usr/lib32/libc.so.6\r\n\r\nIf disable GL print this error not are present and working fine.\r\n"},"comment":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/comments/169802665","html_url":"https://github.com/PCSX2/pcsx2/issues/1089#issuecomment-169802665","issue_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/1089","id":169802665,"user":{"login":"maximu","id":1274014,"avatar_url":"https://avatars.githubusercontent.com/u/1274014?v=3","gravatar_id":"","url":"https://api.github.com/users/maximu","html_url":"https://github.com/maximu","followers_url":"https://api.github.com/users/maximu/followers","following_url":"https://api.github.com/users/maximu/following{/other_user}","gists_url":"https://api.github.com/users/maximu/gists{/gist_id}","starred_url":"https://api.github.com/users/maximu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximu/subscriptions","organizations_url":"https://api.github.com/users/maximu/orgs","repos_url":"https://api.github.com/users/maximu/repos","events_url":"https://api.github.com/users/maximu/events{/privacy}","received_events_url":"https://api.github.com/users/maximu/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T20:56:35Z","updated_at":"2016-01-07T20:56:35Z","body":"Yes, I always use Release build only one active gdb/debug for debugging to give more precise information thx the fix :+1: :) "}}