{"action":"created","issue":{"url":"https://api.github.com/repos/Astroua/CARTAvis/issues/94","labels_url":"https://api.github.com/repos/Astroua/CARTAvis/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/Astroua/CARTAvis/issues/94/comments","events_url":"https://api.github.com/repos/Astroua/CARTAvis/issues/94/events","html_url":"https://github.com/Astroua/CARTAvis/issues/94","id":112414289,"number":94,"title":"Application crashes when trying to save some images","user":{"login":"durga2112","id":4204212,"avatar_url":"https://avatars.githubusercontent.com/u/4204212?v=3","gravatar_id":"","url":"https://api.github.com/users/durga2112","html_url":"https://github.com/durga2112","followers_url":"https://api.github.com/users/durga2112/followers","following_url":"https://api.github.com/users/durga2112/following{/other_user}","gists_url":"https://api.github.com/users/durga2112/gists{/gist_id}","starred_url":"https://api.github.com/users/durga2112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durga2112/subscriptions","organizations_url":"https://api.github.com/users/durga2112/orgs","repos_url":"https://api.github.com/users/durga2112/repos","events_url":"https://api.github.com/users/durga2112/events{/privacy}","received_events_url":"https://api.github.com/users/durga2112/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Astroua/CARTAvis/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-20T16:59:27Z","updated_at":"2015-10-21T15:10:01Z","closed_at":null,"body":"Some of the files in the CARTAImages repository are causing crashes when I try to save a copy of them as an image. It doesn't take much to trigger this bug:\r\n\r\n- start CARTA\r\n- load either BigImagesTest/h_m51_b_s05_drz_sci.fits or TransposeTest/RaDecVel.fits into the image viewer\r\n- attempt to save the image using the default settings\r\n\r\nAt this point, I get one of a few error messages. These are the messages I've seen so far:\r\n\r\n- *** Error in `/home/jeff/scratch/build/dev/cpp/desktop/desktop': double free or corruption (out): 0x00007f2799b6c010 ***\r\n- *** Error in `/home/jeff/scratch/build/dev/cpp/desktop/desktop': munmap_chunk(): invalid pointer: 0x00000000018cf830 ***\r\n- *** Error in `/home/jeff/scratch/build/dev/cpp/desktop/desktop': free(): invalid next size (fast): 0x0000000002aeaf00 ***\r\n\r\nIt's possible that there are other files that can trigger this bug as well; I haven't tried all of them. I do find it curious that TransposeTest/VelRaDec.fits saves just fine without crashing, though. I am running code taken straight from the develop branch as of this writing."},"comment":{"url":"https://api.github.com/repos/Astroua/CARTAvis/issues/comments/149926972","html_url":"https://github.com/Astroua/CARTAvis/issues/94#issuecomment-149926972","issue_url":"https://api.github.com/repos/Astroua/CARTAvis/issues/94","id":149926972,"user":{"login":"astrilet","id":11414991,"avatar_url":"https://avatars.githubusercontent.com/u/11414991?v=3","gravatar_id":"","url":"https://api.github.com/users/astrilet","html_url":"https://github.com/astrilet","followers_url":"https://api.github.com/users/astrilet/followers","following_url":"https://api.github.com/users/astrilet/following{/other_user}","gists_url":"https://api.github.com/users/astrilet/gists{/gist_id}","starred_url":"https://api.github.com/users/astrilet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrilet/subscriptions","organizations_url":"https://api.github.com/users/astrilet/orgs","repos_url":"https://api.github.com/users/astrilet/repos","events_url":"https://api.github.com/users/astrilet/events{/privacy}","received_events_url":"https://api.github.com/users/astrilet/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T15:10:00Z","updated_at":"2015-10-21T15:10:00Z","body":"I put those images into the google shared folder under \"Images\" directory\n\nOn Tue, Oct 20, 2015 at 10:27 PM, Pavol Federl <notifications@github.com>\nwrote:\n\n> Thanks Jeff.\n>\n> I am trying to quickly look at this problem. I don't know what is causing\n> it yet, but I have a feeling.\n>\n> Anyhow, I noticed a different problem. About 1/10 times when I run this\n> version of the viewer, I don't get the 'Save...' menu at all. @slovelan\n> <https://github.com/slovelan> would you know why that is happening?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Astroua/CARTAvis/issues/94#issuecomment-149778700>.\n>\n"}}