{"action":"created","issue":{"url":"https://api.github.com/repos/graphitemaster/neothyne/issues/61","repository_url":"https://api.github.com/repos/graphitemaster/neothyne","labels_url":"https://api.github.com/repos/graphitemaster/neothyne/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/graphitemaster/neothyne/issues/61/comments","events_url":"https://api.github.com/repos/graphitemaster/neothyne/issues/61/events","html_url":"https://github.com/graphitemaster/neothyne/issues/61","id":197297997,"number":61,"title":"buffer overflow: window size changed midgame","user":{"login":"matthiaskrgr","id":476013,"avatar_url":"https://avatars.githubusercontent.com/u/476013?v=3","gravatar_id":"","url":"https://api.github.com/users/matthiaskrgr","html_url":"https://github.com/matthiaskrgr","followers_url":"https://api.github.com/users/matthiaskrgr/followers","following_url":"https://api.github.com/users/matthiaskrgr/following{/other_user}","gists_url":"https://api.github.com/users/matthiaskrgr/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiaskrgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiaskrgr/subscriptions","organizations_url":"https://api.github.com/users/matthiaskrgr/orgs","repos_url":"https://api.github.com/users/matthiaskrgr/repos","events_url":"https://api.github.com/users/matthiaskrgr/events{/privacy}","received_events_url":"https://api.github.com/users/matthiaskrgr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-23T01:13:59Z","updated_at":"2016-12-23T01:38:31Z","closed_at":"2016-12-23T01:38:31Z","body":"in game (3d map) the game sometimes crashed when the window resolution is force via window manager (i3)\r\n\r\n````\r\n[...]\r\n[method] => loaded `billboarding' program\r\n[model] => loaded animated model `models/iqmtest' (containing 2 materials) using half-precision float\r\n[model] => loaded static model `models/cube' (containing 1 material) using half-precision float\r\n[model] => loaded static model `models/ball' (containing 2 materials) using half-precision float\r\n=================================================================\r\n==2436==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6300004ce960 at pc 0x7f2a45c01cff bp 0x7ffeb37c9570 sp 0x7ffeb37c8d18\r\nREAD of size 1468 at 0x6300004ce960 thread T0\r\n    #0 0x7f2a45c01cfe  (/lib64/libasan.so.3+0x5ecfe)\r\n    #1 0x7f2a336bdb1d  (/usr/lib64/dri/i965_dri.so+0x170b1d)\r\n    #2 0x7f2a336bdef8  (/usr/lib64/dri/i965_dri.so+0x170ef8)\r\n    #3 0x7f2a336be961  (/usr/lib64/dri/i965_dri.so+0x171961)\r\n    #4 0x7f2a336beb6f  (/usr/lib64/dri/i965_dri.so+0x171b6f)\r\n    #5 0x7f2a336adc16  (/usr/lib64/dri/i965_dri.so+0x160c16)\r\n    #6 0x7f2a336aea0f  (/usr/lib64/dri/i965_dri.so+0x161a0f)\r\n    #7 0x76b331 in gl::TexImage2D(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*, char const*, unsigned long) /home/matthias/vcs/github/neothyne/r_common.cpp:913\r\n    #8 0x84dbbc in r::gui::drawTexture(float, float, float, float, unsigned char const*) /home/matthias/vcs/github/neothyne/r_gui.cpp:1001\r\n    #9 0x8653e5 in r::gui::render(r::pipeline const&) /home/matthias/vcs/github/neothyne/r_gui.cpp:618\r\n    #10 0x45d511 in neoMain(FrameTimer&, a::Audio&, r::World&, int, char**, bool&) game/main.cpp:262\r\n    #11 0x4a2280 in entryPoint /home/matthias/vcs/github/neothyne/engine.cpp:1162\r\n    #12 0x7f2a447ce400 in __libc_start_main (/lib64/libc.so.6+0x20400)\r\n    #13 0x40c239 in _start (/home/matthias/vcs/github/neothyne/neothyne+0x40c239)\r\n\r\n0x6300004ce960 is located 0 bytes to the right of 58720-byte region [0x6300004c0400,0x6300004ce960)\r\nallocated by thread T0 here:\r\n    #0 0x7f2a45c69e50 in malloc (/lib64/libasan.so.3+0xc6e50)\r\n    #1 0x6637e8 in neoCoreMalloc /home/matthias/vcs/github/neothyne/u_new.cpp:13\r\n    #2 0x6637e8 in alignedAllocator<false>::neoMalloc(unsigned long) /home/matthias/vcs/github/neothyne/u_new.cpp:42\r\n    #3 0x6637e8 in neoMalloc(unsigned long) /home/matthias/vcs/github/neothyne/u_new.cpp:113\r\n    #4 0x6637e8 in operator new[](unsigned long) /home/matthias/vcs/github/neothyne/u_new.cpp:135\r\n\r\nSUMMARY: AddressSanitizer: heap-buffer-overflow (/lib64/libasan.so.3+0x5ecfe) \r\nShadow bytes around the buggy address:\r\n  0x0c6080091cd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0c6080091ce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0c6080091cf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0c6080091d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0c6080091d10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n=>0x0c6080091d20: 00 00 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa\r\n  0x0c6080091d30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\r\n  0x0c6080091d40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\r\n  0x0c6080091d50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\r\n  0x0c6080091d60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\r\n  0x0c6080091d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\r\nShadow byte legend (one shadow byte represents 8 application bytes):\r\n  Addressable:           00\r\n  Partially addressable: 01 02 03 04 05 06 07 \r\n  Heap left redzone:       fa\r\n  Heap right redzone:      fb\r\n  Freed heap region:       fd\r\n  Stack left redzone:      f1\r\n  Stack mid redzone:       f2\r\n  Stack right redzone:     f3\r\n  Stack partial redzone:   f4\r\n  Stack after return:      f5\r\n  Stack use after scope:   f8\r\n  Global redzone:          f9\r\n  Global init order:       f6\r\n  Poisoned by user:        f7\r\n  Container overflow:      fc\r\n  Array cookie:            ac\r\n  Intra object redzone:    bb\r\n  ASan internal:           fe\r\n  Left alloca redzone:     ca\r\n  Right alloca redzone:    cb\r\n==2436==ABORTING\r\n````"},"comment":{"url":"https://api.github.com/repos/graphitemaster/neothyne/issues/comments/268926994","html_url":"https://github.com/graphitemaster/neothyne/issues/61#issuecomment-268926994","issue_url":"https://api.github.com/repos/graphitemaster/neothyne/issues/61","id":268926994,"user":{"login":"graphitemaster","id":343195,"avatar_url":"https://avatars.githubusercontent.com/u/343195?v=3","gravatar_id":"","url":"https://api.github.com/users/graphitemaster","html_url":"https://github.com/graphitemaster","followers_url":"https://api.github.com/users/graphitemaster/followers","following_url":"https://api.github.com/users/graphitemaster/following{/other_user}","gists_url":"https://api.github.com/users/graphitemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/graphitemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphitemaster/subscriptions","organizations_url":"https://api.github.com/users/graphitemaster/orgs","repos_url":"https://api.github.com/users/graphitemaster/repos","events_url":"https://api.github.com/users/graphitemaster/events{/privacy}","received_events_url":"https://api.github.com/users/graphitemaster/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T01:38:31Z","updated_at":"2016-12-23T01:38:31Z","body":"Fixed"}}
{"actor":{"display_login":"graphitemaster"}}