{"action":"created","issue":{"url":"https://api.github.com/repos/ofnode/ofApp/issues/4","labels_url":"https://api.github.com/repos/ofnode/ofApp/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ofnode/ofApp/issues/4/comments","events_url":"https://api.github.com/repos/ofnode/ofApp/issues/4/events","html_url":"https://github.com/ofnode/ofApp/issues/4","id":105018287,"number":4,"title":"throwing std::bad_alloc","user":{"login":"avilleret","id":504914,"avatar_url":"https://avatars.githubusercontent.com/u/504914?v=3","gravatar_id":"","url":"https://api.github.com/users/avilleret","html_url":"https://github.com/avilleret","followers_url":"https://api.github.com/users/avilleret/followers","following_url":"https://api.github.com/users/avilleret/following{/other_user}","gists_url":"https://api.github.com/users/avilleret/gists{/gist_id}","starred_url":"https://api.github.com/users/avilleret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avilleret/subscriptions","organizations_url":"https://api.github.com/users/avilleret/orgs","repos_url":"https://api.github.com/users/avilleret/repos","events_url":"https://api.github.com/users/avilleret/events{/privacy}","received_events_url":"https://api.github.com/users/avilleret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-09-05T10:06:03Z","updated_at":"2015-09-07T09:58:31Z","closed_at":null,"body":"From a fresh clone and build I got this : \r\n\r\n~~~~\r\n$ ./ofApp \r\nterminate called after throwing an instance of 'std::bad_alloc'\r\n  what():  std::bad_alloc\r\nAbandon\r\n~~~~\r\n\r\nHere is a gdb backtrace (this is not a debug build) :\r\n\r\n~~~~\r\n#0  0x00007fffefb0f267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55\r\n#1  0x00007fffefb10eca in __GI_abort () at abort.c:89\r\n#2  0x00007ffff0453b5d in __gnu_cxx::__verbose_terminate_handler() ()\r\n   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#3  0x00007ffff04519a6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#4  0x00007ffff04519f1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#5  0x00007ffff0451c09 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#6  0x00007ffff04521ac in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#7  0x00007ffff04e34b7 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()\r\n   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#8  0x00007ffff7a49770 in assign ()\r\n    at /usr/bin/../lib/gcc/x86_64-linux-gnu/5.1.1/../../../../include/c++/5.1.1/bits/basic_string.h:1091\r\n#9  operator= ()\r\n    at /usr/bin/../lib/gcc/x86_64-linux-gnu/5.1.1/../../../../include/c++/5.1.1/bits/basic_string.h:549\r\n#10 operator= () at /usr/include/boost/filesystem/path.hpp:186\r\n#11 ofSetWorkingDirectoryToDefault () at ../src/openframeworks/utils/ofUtils.cpp:309\r\n#12 0x00007ffff79255db in ofInit () at ../src/openframeworks/app/ofAppRunner.cpp:109\r\n#13 0x00007ffff792635f in ofCreateWindow () at ../src/openframeworks/app/ofAppRunner.cpp:181\r\n#14 0x0000000000402eb6 in main () at ../src/main.cpp:7\r\n~~~~"},"comment":{"url":"https://api.github.com/repos/ofnode/ofApp/issues/comments/138256540","html_url":"https://github.com/ofnode/ofApp/issues/4#issuecomment-138256540","issue_url":"https://api.github.com/repos/ofnode/ofApp/issues/4","id":138256540,"user":{"login":"avilleret","id":504914,"avatar_url":"https://avatars.githubusercontent.com/u/504914?v=3","gravatar_id":"","url":"https://api.github.com/users/avilleret","html_url":"https://github.com/avilleret","followers_url":"https://api.github.com/users/avilleret/followers","following_url":"https://api.github.com/users/avilleret/following{/other_user}","gists_url":"https://api.github.com/users/avilleret/gists{/gist_id}","starred_url":"https://api.github.com/users/avilleret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avilleret/subscriptions","organizations_url":"https://api.github.com/users/avilleret/orgs","repos_url":"https://api.github.com/users/avilleret/repos","events_url":"https://api.github.com/users/avilleret/events{/privacy}","received_events_url":"https://api.github.com/users/avilleret/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T09:58:31Z","updated_at":"2015-09-07T09:58:31Z","body":"and using regular `ld` instead of gold one leads to undefined error : https://gist.github.com/avilleret/55f3b67c90449a7e87e1\r\n(with gcc / g++)"}}