{"action":"created","issue":{"url":"https://api.github.com/repos/MrKepzie/Natron/issues/724","labels_url":"https://api.github.com/repos/MrKepzie/Natron/issues/724/labels{/name}","comments_url":"https://api.github.com/repos/MrKepzie/Natron/issues/724/comments","events_url":"https://api.github.com/repos/MrKepzie/Natron/issues/724/events","html_url":"https://github.com/MrKepzie/Natron/issues/724","id":92745574,"number":724,"title":"Segfault when closing Natron ","user":{"login":"StepanDav","id":12791467,"avatar_url":"https://avatars.githubusercontent.com/u/12791467?v=3","gravatar_id":"","url":"https://api.github.com/users/StepanDav","html_url":"https://github.com/StepanDav","followers_url":"https://api.github.com/users/StepanDav/followers","following_url":"https://api.github.com/users/StepanDav/following{/other_user}","gists_url":"https://api.github.com/users/StepanDav/gists{/gist_id}","starred_url":"https://api.github.com/users/StepanDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepanDav/subscriptions","organizations_url":"https://api.github.com/users/StepanDav/orgs","repos_url":"https://api.github.com/users/StepanDav/repos","events_url":"https://api.github.com/users/StepanDav/events{/privacy}","received_events_url":"https://api.github.com/users/StepanDav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-02T22:06:04Z","updated_at":"2015-07-02T22:16:01Z","closed_at":null,"body":"This only happens when I have a project open (and there may be some background activity). Various flavors of the segfault happen to me almost every time I use the snapshot, but I obviously didn't terribly care since I was closing Natron anyway :)\r\n\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\nmalloc_consolidate (av=av@entry=0x7f3cab945620 <main_arena>) at malloc.c:4094\r\n4094\tmalloc.c: No such file or directory.\r\n(gdb) bt\r\n#0  malloc_consolidate (av=av@entry=0x7f3cab945620 <main_arena>) at malloc.c:4094\r\n#1  0x00007f3cab61ab48 in _int_malloc (av=0x7f3cab945620 <main_arena>, bytes=12320) at malloc.c:3383\r\n#2  0x00007f3cab61ce40 in __GI___libc_malloc (bytes=12320) at malloc.c:2858\r\n#3  0x00007f3caf1dc40b in ?? () from /opt/NatronSnapshot/bin/../lib/libpython3.4m.so.1.0\r\n#4  0x00007f3caf1dc4db in ?? () from /opt/NatronSnapshot/bin/../lib/libpython3.4m.so.1.0\r\n#5  0x00007f3caf1dfa28 in PyDict_Merge () from /opt/NatronSnapshot/bin/../lib/libpython3.4m.so.1.0\r\n#6  0x00007f3caf1dfc00 in PyDict_Copy () from /opt/NatronSnapshot/bin/../lib/libpython3.4m.so.1.0\r\n#7  0x00007f3caf26c2c9 in PyImport_Cleanup () from /opt/NatronSnapshot/bin/../lib/libpython3.4m.so.1.0\r\n#8  0x00007f3caf278cfe in Py_Finalize () from /opt/NatronSnapshot/bin/../lib/libpython3.4m.so.1.0\r\n#9  0x00000000009dfb18 in AppManager::~AppManager() ()\r\n#10 0x00000000006ed3d1 in main ()\r\n(gdb) info threads\r\n  Id   Target Id         Frame \r\n  3    Thread 0x7f3c98eaf700 (LWP 23478) \"CacheDeleter\" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38\r\n* 1    Thread 0x7f3cafdab940 (LWP 23470) \"Natron.debug\" malloc_consolidate (av=av@entry=0x7f3cab945620 <main_arena>) at malloc.c:4094\r\n(gdb) thread 3\r\n[Switching to thread 3 (Thread 0x7f3c98eaf700 (LWP 23478))]\r\n#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38\r\n38\t../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or directory.\r\n(gdb) bt\r\n#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38\r\n#1  0x00007f3cac74a4bc in ?? () from /opt/NatronSnapshot/bin/../lib/libQtCore.so.4\r\n#2  0x00007f3cac746145 in QMutex::lockInternal() () from /opt/NatronSnapshot/bin/../lib/libQtCore.so.4\r\n#3  0x00007f3cac74b07d in ?? () from /opt/NatronSnapshot/bin/../lib/libQtCore.so.4\r\n#4  0x00007f3cac74ba49 in ?? () from /opt/NatronSnapshot/bin/../lib/libQtCore.so.4\r\n#5  0x00007f3cac178062 in start_thread (arg=0x7f3c98eaf700) at pthread_create.c:312\r\n#6  0x00007f3cab686c1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/MrKepzie/Natron/issues/comments/118182517","html_url":"https://github.com/MrKepzie/Natron/issues/724#issuecomment-118182517","issue_url":"https://api.github.com/repos/MrKepzie/Natron/issues/724","id":118182517,"user":{"login":"StepanDav","id":12791467,"avatar_url":"https://avatars.githubusercontent.com/u/12791467?v=3","gravatar_id":"","url":"https://api.github.com/users/StepanDav","html_url":"https://github.com/StepanDav","followers_url":"https://api.github.com/users/StepanDav/followers","following_url":"https://api.github.com/users/StepanDav/following{/other_user}","gists_url":"https://api.github.com/users/StepanDav/gists{/gist_id}","starred_url":"https://api.github.com/users/StepanDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StepanDav/subscriptions","organizations_url":"https://api.github.com/users/StepanDav/orgs","repos_url":"https://api.github.com/users/StepanDav/repos","events_url":"https://api.github.com/users/StepanDav/events{/privacy}","received_events_url":"https://api.github.com/users/StepanDav/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T22:16:01Z","updated_at":"2015-07-02T22:16:01Z","body":"Oh, the complaint from QThread is very likely very relevant :)\r\n\r\n```\r\n$ NatronSnapshot -debug\r\nNatron\r\nVersion: 2.0.0\r\nCopyright (C) 2015 the Natron developers\r\n>>>Use the --help or -h option to print usage.<<<\r\n\r\nQThread: Destroyed while thread is still running\r\n```"}}