{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/4977","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/4977/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/4977/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/4977/events","html_url":"https://github.com/JuliaLang/julia/issues/4977","id":23479557,"number":4977,"title":"Possible invalid free in suitesparse tests.","user":{"login":"Keno","id":1291671,"avatar_url":"https://avatars.githubusercontent.com/u/1291671?v=3","gravatar_id":"","url":"https://api.github.com/users/Keno","html_url":"https://github.com/Keno","followers_url":"https://api.github.com/users/Keno/followers","following_url":"https://api.github.com/users/Keno/following{/other_user}","gists_url":"https://api.github.com/users/Keno/gists{/gist_id}","starred_url":"https://api.github.com/users/Keno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keno/subscriptions","organizations_url":"https://api.github.com/users/Keno/orgs","repos_url":"https://api.github.com/users/Keno/repos","events_url":"https://api.github.com/users/Keno/events{/privacy}","received_events_url":"https://api.github.com/users/Keno/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/JuliaLang/julia/labels/sparse","name":"sparse","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-11-29T08:17:23Z","updated_at":"2015-02-14T10:52:41Z","closed_at":"2015-02-14T10:52:29Z","body":"Got the following when running the suitesparse tests. Unfortunately due to lack of JIT symbolization and since asan messes with gdb, I can't say what that function is. Might be worth running through valgrind with `vgdb` to get symbolization. Mostly leaving this here so I don't forget. \r\n```\r\n     * suitesparse\r\n=================================================================\r\n==80052==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x0000013185c0 in thread T0\r\n    #0 0x477979 in free /home/kfischer/julia/deps/llvm-svn/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64\r\n    #1 0x7fffce5b4e6d (+0x1e6d)\r\n    #2 0x7fffce5b4235 (+0x1235)\r\n    #3 0x7fffce5b4025 (+0x1025)\r\n    #4 0x7ffff0398ba2 in jl_apply_generic (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdc2ba2)\r\n    #5 0x7ffff0469c80 in do_call (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xe93c80)\r\n    #6 0x7ffff0465d20 in eval (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xe8fd20)\r\n    #7 0x7ffff04664ac in eval (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xe904ac)\r\n    #8 0x7ffff046953a in eval_body (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xe9353a)\r\n    #9 0x7ffff04699eb in jl_interpret_toplevel_thunk_with (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xe939eb)\r\n    #10 0x7ffff048b260 in jl_toplevel_eval_flex (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xeb5260)\r\n    #11 0x7ffff048c3d3 in jl_parse_eval_all (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xeb63d3)\r\n    #12 0x7ffff048cb36 in jl_load (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xeb6b36)\r\n    #13 0x7fffd666611a (+0x111a)\r\n    #14 0x7ffff0398ba2 in jl_apply_generic (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdc2ba2)\r\n    #15 0x7ffff03a8e7c in jl_f_apply (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdd2e7c)\r\n    #16 0x7fffdcbe50ba (+0xba)\r\n    #17 0x7fffd67f02d5 (+0x2d5)\r\n    #18 0x7fffd66b90b5 (+0xb5)\r\n    #19 0x7ffff0398ba2 in jl_apply_generic (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdc2ba2)\r\n    #20 0x7ffff03a8e53 in jl_f_apply (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdd2e53)\r\n    #21 0x7fffdcc100fb (+0x40fb)\r\n    #22 0x7ffff0398ba2 in jl_apply_generic (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdc2ba2)\r\n    #23 0x7ffff03a8e53 in jl_f_apply (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xdd2e53)\r\n    #24 0x7fffd67be4ba (+0x4ba)\r\n    #25 0x7ffff04769a2 in switch_stack (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xea09a2)\r\n    #26 0x7ffff04768eb in switch_stack (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xea08eb)\r\n    #27 0x7ffff04761a7 in julia_trampoline (/home/kfischer/julia/usr/bin/../lib/libjulia.so+0xea01a7)\r\n    #28 0x7fffee1e176c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226\r\n    #29 0x48e01c in _start (/home/kfischer/julia/usr/bin/julia-readline+0x48e01c)\r\n\r\nAddressSanitizer can not describe address in more detail (wild memory access suspected).\r\nSUMMARY: AddressSanitizer: bad-free /home/kfischer/julia/deps/llvm-svn/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:64 free\r\n==80052==ABORTING\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/74370535","html_url":"https://github.com/JuliaLang/julia/issues/4977#issuecomment-74370535","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/4977","id":74370535,"user":{"login":"ViralBShah","id":744411,"avatar_url":"https://avatars.githubusercontent.com/u/744411?v=3","gravatar_id":"","url":"https://api.github.com/users/ViralBShah","html_url":"https://github.com/ViralBShah","followers_url":"https://api.github.com/users/ViralBShah/followers","following_url":"https://api.github.com/users/ViralBShah/following{/other_user}","gists_url":"https://api.github.com/users/ViralBShah/gists{/gist_id}","starred_url":"https://api.github.com/users/ViralBShah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ViralBShah/subscriptions","organizations_url":"https://api.github.com/users/ViralBShah/orgs","repos_url":"https://api.github.com/users/ViralBShah/repos","events_url":"https://api.github.com/users/ViralBShah/events{/privacy}","received_events_url":"https://api.github.com/users/ViralBShah/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T10:52:41Z","updated_at":"2015-02-14T10:52:41Z","body":"Please reopen if we can have a test case to reproduce."}}