{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/deepmath/issues/13","repository_url":"https://api.github.com/repos/tensorflow/deepmath","labels_url":"https://api.github.com/repos/tensorflow/deepmath/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/deepmath/issues/13/comments","events_url":"https://api.github.com/repos/tensorflow/deepmath/issues/13/events","html_url":"https://github.com/tensorflow/deepmath/issues/13","id":213911464,"number":13,"title":"TensorFlow Fold crash","user":{"login":"girving","id":70511,"avatar_url":"https://avatars2.githubusercontent.com/u/70511?v=3","gravatar_id":"","url":"https://api.github.com/users/girving","html_url":"https://github.com/girving","followers_url":"https://api.github.com/users/girving/followers","following_url":"https://api.github.com/users/girving/following{/other_user}","gists_url":"https://api.github.com/users/girving/gists{/gist_id}","starred_url":"https://api.github.com/users/girving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girving/subscriptions","organizations_url":"https://api.github.com/users/girving/orgs","repos_url":"https://api.github.com/users/girving/repos","events_url":"https://api.github.com/users/girving/events{/privacy}","received_events_url":"https://api.github.com/users/girving/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-13T22:05:42Z","updated_at":"2017-03-13T22:05:42Z","closed_at":null,"body":"Background: `deepmath` has [`tensorflow`](https://github.com/tensorflow/tensorflow) and [`fold`]((https://github.com/tensorflow/fold) submodules.  `model_utils_test` exercises fold features, and crashes on Mac with\r\n\r\n    Python(5066,0x7fffcaea83c0) malloc: *** error for object 0x10b2ba238: pointer being freed was not allocated\r\n\r\nThe stacktrace looks like\r\n\r\n    (lldb) bt\r\n    * thread #4: tid = 0xe86c7, 0x00007fffc2189dd6 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT\r\n      * frame #0: 0x00007fffc2189dd6 libsystem_kernel.dylib`__pthread_kill + 10\r\n        frame #1: 0x00007fffc2275787 libsystem_pthread.dylib`pthread_kill + 90\r\n        frame #2: 0x00007fffc20ef420 libsystem_c.dylib`abort + 129\r\n        frame #3: 0x00007fffc21df03f libsystem_malloc.dylib`free + 530\r\n        frame #4: 0x000000010b1715cb _deserializing_weaver_op.so`tensorflow::OpDef::SharedDtor() + 107\r\n        frame #5: 0x000000010b17141c _deserializing_weaver_op.so`tensorflow::OpDef::~OpDef() + 28\r\n        frame #6: 0x000000010b10276d _deserializing_weaver_op.so`_GLOBAL__sub_I_deserializing_weaver_op.cc + 317\r\n    ...\r\n\r\nIt looks like some TensorFlow symbols are duplicated in the `_pywrapweaver.so` file, but not all of them:\r\n\r\n    % nm ./org_fold/tensorflow_fold/loom/_pywrapweaver.so\r\n    ...\r\n    0000000000070e50 T __ZN10tensorflow5OpDef10SharedDtorEv\r\n    ...\r\n                 U __ZN10tensorflow11TensorShape9InsertDimEix\r\n\r\nIt's possible that proto symbols are being duplicated and non-proto symbols are not."}}
{"actor":{"display_login":"girving"}}