{"action":"created","issue":{"url":"https://api.github.com/repos/tomilov/quickhull/issues/4","repository_url":"https://api.github.com/repos/tomilov/quickhull","labels_url":"https://api.github.com/repos/tomilov/quickhull/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tomilov/quickhull/issues/4/comments","events_url":"https://api.github.com/repos/tomilov/quickhull/issues/4/events","html_url":"https://github.com/tomilov/quickhull/issues/4","id":168676449,"number":4,"title":"segfault when running high dimensional input file (46 columns x 1955 rows)","user":{"login":"LMHmedchem","id":2525054,"avatar_url":"https://avatars.githubusercontent.com/u/2525054?v=3","gravatar_id":"","url":"https://api.github.com/users/LMHmedchem","html_url":"https://github.com/LMHmedchem","followers_url":"https://api.github.com/users/LMHmedchem/followers","following_url":"https://api.github.com/users/LMHmedchem/following{/other_user}","gists_url":"https://api.github.com/users/LMHmedchem/gists{/gist_id}","starred_url":"https://api.github.com/users/LMHmedchem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LMHmedchem/subscriptions","organizations_url":"https://api.github.com/users/LMHmedchem/orgs","repos_url":"https://api.github.com/users/LMHmedchem/repos","events_url":"https://api.github.com/users/LMHmedchem/events{/privacy}","received_events_url":"https://api.github.com/users/LMHmedchem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-01T15:39:34Z","updated_at":"2016-08-08T12:45:18Z","closed_at":null,"body":"Hello,\r\n\r\nThe folks at the opensuse forum have been helping me to build this app in the hope of running it on this high dimensional data.\r\n\r\nThis is the thread at opensuse\r\nhttps://forums.opensuse.org/showthread.php/519164-need-cmake-3-1-or-higher-in-opensuse-13-2-yast-only-has-3-0\r\n\r\nAs you can see, there were some opensuse configuration issues to address before getting the app built. There are segfault events from both quickhull and qh.\r\n\r\nFrom quickhull\r\n\r\n(gdb) run < PCA_46-inputs.txt\r\nStarting program: /usr/bin/quickhull < PCA_46-inputs.txt\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\r\ninput file: stdin\r\ndimensionality of input is 46\r\nrbox command line:\r\ninput points count = 1955\r\nepsilon = 0\r\nsimplex time = 423152us\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x000000000041e2c5 in std::__1::__split_buffer<quick_hull<std::__1::__forward_list_iterator<std::__1::__forward_list_node<std::__1::forward_list<double, std::__1::allocator<double> >, void*>*>, double>::facet*, std::__1::allocator<quick_hull<std::__1::__forward_list_iterator<std::__1::__forward_list_node<std::__1::forward_list<double, std::__1::allocator<double> >, void*>*>, double>::facet*> >::push_back(quick_hull<std::__1::__forward_list_iterator<std::__1::__forward_list_node<std::__1::forward_list<double, std::__1::allocator<double> >, void*>*>, double>::facet*&&) (this=0x7fffffffdd50, \r\n        __x=<unknown type in /usr/lib/debug/usr/bin/quickhull.debug, CU 0x15b, DIE 0x54748>) at /usr/include/c++/v1/__split_buffer:565\r\n    565        if (__end_ == __end_cap())\r\n\r\nand from qh\r\n\r\n(gdb) run < PCA_46-inputs.txt\r\nStarting program: /usr/bin/qh < PCA_46-inputs.txt\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\r\ndimensionality of input is 46\r\nrbox command line:\r\ninput points count = 1955\r\nepsilon = 2.22045e-16\r\nsimplex time = 416578us\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x000000000042dd8f in std::__1::__hash_table<unsigned long,\r\nstd::__1::hash<unsigned long>, std::__1::equal_to<unsigned long>,\r\nstd::__1::allocator<unsigned long> >::__construct_node (this=<error\r\nreading variable: Cannot access memory at address 0x7fffff7fecf8>,\r\n__v=<error reading variable: Cannot access memory at address\r\n0x7fffff7fecf0>, __hash=<error reading variable: Cannot access memory\r\n0x7fffff7fecf0>at address 0x7fffff7fece8>)\r\n0x7fffff7fecf0>at /usr/include/c++/v1/__hash_table:2088 2088\r\n\r\nSorry for not using code tags on the above output but I can't seem to get github to format my message correctly with the code tage inserted.\r\n\r\nThere appears to be a trap for the number of input dimensions being beyond the supported range, so this would appear to be a bug. I have attached the input file here in case that is of use. The thread at opensuse has the output  from running cmake. Please let me know if there is anything else you  need to know.\r\n\r\nThis was built on opensuse 13.2 x86_64 and I believe that others at opensuse have tried with Leap 42.1 and Tumbleweed.\r\n\r\nThanks.\r\n[PCA_46-inputs.txt.zip](https://github.com/tomilov/quickhull/files/394184/PCA_46-inputs.txt.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/tomilov/quickhull/issues/comments/238224433","html_url":"https://github.com/tomilov/quickhull/issues/4#issuecomment-238224433","issue_url":"https://api.github.com/repos/tomilov/quickhull/issues/4","id":238224433,"user":{"login":"tomilov","id":896175,"avatar_url":"https://avatars.githubusercontent.com/u/896175?v=3","gravatar_id":"","url":"https://api.github.com/users/tomilov","html_url":"https://github.com/tomilov","followers_url":"https://api.github.com/users/tomilov/followers","following_url":"https://api.github.com/users/tomilov/following{/other_user}","gists_url":"https://api.github.com/users/tomilov/gists{/gist_id}","starred_url":"https://api.github.com/users/tomilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomilov/subscriptions","organizations_url":"https://api.github.com/users/tomilov/orgs","repos_url":"https://api.github.com/users/tomilov/repos","events_url":"https://api.github.com/users/tomilov/events{/privacy}","received_events_url":"https://api.github.com/users/tomilov/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T12:45:18Z","updated_at":"2016-08-08T12:45:18Z","body":"@LMHmedchem how long qh works until it crashed?"}}
{"actor":{"display_login":"tomilov"}}