{"id":20356799,"url":"https://github.com/lifeiteng/tf_valgrind_crash","last_synced_at":"2026-05-07T12:33:12.852Z","repository":{"id":71286463,"uuid":"155847675","full_name":"lifeiteng/tf_valgrind_crash","owner":"lifeiteng","description":"A simple example for test valgrind tensorflow","archived":false,"fork":false,"pushed_at":"2018-11-05T11:51:23.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T01:17:42.898Z","etag":null,"topics":["tensorflow","valgrind"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lifeiteng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-02T10:01:16.000Z","updated_at":"2018-11-05T11:51:25.000Z","dependencies_parsed_at":"2023-04-16T10:58:15.902Z","dependency_job_id":null,"html_url":"https://github.com/lifeiteng/tf_valgrind_crash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiteng%2Ftf_valgrind_crash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiteng%2Ftf_valgrind_crash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiteng%2Ftf_valgrind_crash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lifeiteng%2Ftf_valgrind_crash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lifeiteng","download_url":"https://codeload.github.com/lifeiteng/tf_valgrind_crash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241890580,"owners_count":20037736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tensorflow","valgrind"],"created_at":"2024-11-14T23:18:07.071Z","updated_at":"2026-05-07T12:33:07.811Z","avatar_url":"https://github.com/lifeiteng.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tf_valgrind_crash\nA simple example for test valgrind tensorflow\n\n* `This is a bug of OS X` [stackoverflow](https://stackoverflow.com/questions/44990380/why-valgrind-segfaults-when-i-launch-a-new-thread).\n\n-----------\n* test under Tensorflow tag `v1.11.0` \u0026 `master`\n\n## build\n```\nTF_CODE_DIR=SET_YOUR_TF_CODE_DIR\n\ncp -r tfvalgrind_crash $TF_CODE_DIR\ncp test.sh $TF_CODE_DIR\ncd $TF_CODE_DIR\n\nbazel build //tfvalgrind_crash:fake_tfvalgrind_crash\n```\n\n## test\n```\nbash test.sh\n```\n\nyou will see:\n```\ntest.sh: line 13: 33497 Segmentation fault: 11  valgrind --tool=callgrind --dump-instr=yes --demangle=yes bazel-bin/tfvalgrind_crash/fake_tfvalgrind_crash\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeiteng%2Ftf_valgrind_crash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flifeiteng%2Ftf_valgrind_crash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flifeiteng%2Ftf_valgrind_crash/lists"}