{"action":"created","issue":{"url":"https://api.github.com/repos/openMVG/openMVG/issues/493","repository_url":"https://api.github.com/repos/openMVG/openMVG","labels_url":"https://api.github.com/repos/openMVG/openMVG/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/openMVG/openMVG/issues/493/comments","events_url":"https://api.github.com/repos/openMVG/openMVG/issues/493/events","html_url":"https://github.com/openMVG/openMVG/issues/493","id":138541155,"number":493,"title":"openMVG_main_GlobalSfM: SIGSEGV, Segmentation fault (Ubuntu 15.10)","user":{"login":"mad-de","id":7095883,"avatar_url":"https://avatars.githubusercontent.com/u/7095883?v=3","gravatar_id":"","url":"https://api.github.com/users/mad-de","html_url":"https://github.com/mad-de","followers_url":"https://api.github.com/users/mad-de/followers","following_url":"https://api.github.com/users/mad-de/following{/other_user}","gists_url":"https://api.github.com/users/mad-de/gists{/gist_id}","starred_url":"https://api.github.com/users/mad-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mad-de/subscriptions","organizations_url":"https://api.github.com/users/mad-de/orgs","repos_url":"https://api.github.com/users/mad-de/repos","events_url":"https://api.github.com/users/mad-de/events{/privacy}","received_events_url":"https://api.github.com/users/mad-de/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openMVG/openMVG/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-04T17:59:01Z","updated_at":"2016-03-26T20:14:33Z","closed_at":null,"body":"gdb:\r\n```\r\ngdb --args /home/martin/openMVG_build/Linux-x86_64-RELEASE/openMVG_main_GlobalSfM -i /home/martin/meshes/42_manuell_out/matches/sfm_data.json -m /home/martin/meshes/42_manuell_out/matches/ -o /home/martin/meshes/42_manuell_out/reconstruction_global/\r\n```\r\ngdb output:\r\n```\r\nGNU gdb (Ubuntu 7.10-1ubuntu2) 7.10\r\nCopyright (C) 2015 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from /home/mona/openMVG_build/Linux-x86_64-RELEASE/openMVG_main_GlobalSfM...(no debugging symbols found)...done.\r\n(gdb) r\r\nStarting program: /home/mona/openMVG_build/Linux-x86_64-RELEASE/openMVG_main_GlobalSfM -i /home/mona/meshes/42_manuell_out/matches/sfm_data.json -m /home/mona/meshes/42_manuell_out/matches/ -o /home/mona/meshes/42_manuell_out/reconstruction_global/\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n\r\n-----------------------------------------------------------\r\nGlobal Structure from Motion:\r\n-----------------------------------------------------------\r\nOpen Source implementation of the paper:\r\n\"Global Fusion of Relative Motions for Robust, Accurate and Scalable Structure from Motion.\"\r\nPierre Moulon, Pascal Monasse and Renaud Marlet.  ICCV 2013.\r\n------------------------------------------------------------\r\n\r\n- Features Loading -\r\n0%   10   20   30   40   50   60   70   80   90   100%\r\n|----|----|----|----|----|----|----|----|----|----|\r\n[New Thread 0x7ffff51ce700 (LWP 32370)]\r\n[New Thread 0x7ffff49cd700 (LWP 32371)]\r\n[New Thread 0x7ffff41cc700 (LWP 32372)]\r\n[New Thread 0x7ffff39cb700 (LWP 32373)]\r\n[New Thread 0x7ffff31ca700 (LWP 32374)]\r\n[New Thread 0x7ffff29c9700 (LWP 32375)]\r\n[New Thread 0x7ffff21c8700 (LWP 32376)]\r\n***************************************************\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7ffff49cd700 (LWP 32371)]\r\n0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4] ()\r\n(gdb) bt full\r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n(gdb) \r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n(gdb) \r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n(gdb) \r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n(gdb) \r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n(gdb) \r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n(gdb) \r\n#0  0x0000000000564f9a in openMVG::sfm::GlobalSfMReconstructionEngine_RelativeMotions::SetFeaturesProvider(openMVG::sfm::Features_Provider*) [clone ._omp_fn.4]\r\n    ()\r\nNo symbol table info available.\r\n#1  0x00007ffff71a949e in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1\r\nNo symbol table info available.\r\n#2  0x00007ffff6f836aa in start_thread (arg=0x7ffff49cd700)\r\n    at pthread_create.c:333\r\n        __res = <optimized out>\r\n        pd = 0x7ffff49cd700\r\n        now = <optimized out>\r\n        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737297307392, \r\n                -4472646417761969006, 0, 140737488342655, 140737297308096, 2, \r\n                4472671456909581458, 4472666207140830354}, \r\n              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, \r\n            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}\r\n        not_first_call = <optimized out>\r\n        pagesize_m1 = <optimized out>\r\n        sp = <optimized out>\r\n        freesize = <optimized out>\r\n        __PRETTY_FUNCTION__ = \"start_thread\"\r\n#3  0x00007ffff6417e9d in clone ()\r\n    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\nNo locals.\r\n```"},"comment":{"url":"https://api.github.com/repos/openMVG/openMVG/issues/comments/201925026","html_url":"https://github.com/openMVG/openMVG/issues/493#issuecomment-201925026","issue_url":"https://api.github.com/repos/openMVG/openMVG/issues/493","id":201925026,"user":{"login":"mad-de","id":7095883,"avatar_url":"https://avatars.githubusercontent.com/u/7095883?v=3","gravatar_id":"","url":"https://api.github.com/users/mad-de","html_url":"https://github.com/mad-de","followers_url":"https://api.github.com/users/mad-de/followers","following_url":"https://api.github.com/users/mad-de/following{/other_user}","gists_url":"https://api.github.com/users/mad-de/gists{/gist_id}","starred_url":"https://api.github.com/users/mad-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mad-de/subscriptions","organizations_url":"https://api.github.com/users/mad-de/orgs","repos_url":"https://api.github.com/users/mad-de/repos","events_url":"https://api.github.com/users/mad-de/events{/privacy}","received_events_url":"https://api.github.com/users/mad-de/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T20:14:33Z","updated_at":"2016-03-26T20:14:33Z","body":"would it be of any help if I'd send you the pictures that caused the crash, so you can investigate yourself?"}}