{"action":"created","issue":{"url":"https://api.github.com/repos/Creepsky/creepMiner/issues/401","repository_url":"https://api.github.com/repos/Creepsky/creepMiner","labels_url":"https://api.github.com/repos/Creepsky/creepMiner/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/Creepsky/creepMiner/issues/401/comments","events_url":"https://api.github.com/repos/Creepsky/creepMiner/issues/401/events","html_url":"https://github.com/Creepsky/creepMiner/issues/401","id":330840445,"node_id":"MDU6SXNzdWUzMzA4NDA0NDU=","number":401,"title":"Segfault with AUTO on CPU Instructions (1.8.1)","user":{"login":"Baxxster","id":1894790,"node_id":"MDQ6VXNlcjE4OTQ3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1894790?v=4","gravatar_id":"","url":"https://api.github.com/users/Baxxster","html_url":"https://github.com/Baxxster","followers_url":"https://api.github.com/users/Baxxster/followers","following_url":"https://api.github.com/users/Baxxster/following{/other_user}","gists_url":"https://api.github.com/users/Baxxster/gists{/gist_id}","starred_url":"https://api.github.com/users/Baxxster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baxxster/subscriptions","organizations_url":"https://api.github.com/users/Baxxster/orgs","repos_url":"https://api.github.com/users/Baxxster/repos","events_url":"https://api.github.com/users/Baxxster/events{/privacy}","received_events_url":"https://api.github.com/users/Baxxster/received_events","type":"User","site_admin":false},"labels":[{"id":471005995,"node_id":"MDU6TGFiZWw0NzEwMDU5OTU=","url":"https://api.github.com/repos/Creepsky/creepMiner/labels/Priority:%20Low","name":"Priority: Low","color":"0e8a16","default":false},{"id":471005994,"node_id":"MDU6TGFiZWw0NzEwMDU5OTQ=","url":"https://api.github.com/repos/Creepsky/creepMiner/labels/Type:%20bug","name":"Type: bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-09T01:09:57Z","updated_at":"2018-06-13T16:02:56Z","closed_at":null,"author_association":"NONE","body":"### Subject of the issue\r\nSegfault with AUTO on CPU Instructions (1.8.1)\r\n\r\n### Your environment\r\nVersion: 1.8.1 (release, tar.gz source)\r\nOS: Debian 9.2 ( 4.9.0-4-amd64)\r\n\r\n### Steps to reproduce\r\nCompiled creepminer, pasted in my plots, pool info and deadline, started the miner with AUTO on CPU instructions.\r\n\r\n### Expected behavior\r\nMiner should start without errors\r\n\r\n### Actual behavior\r\nWhen \"cpuInstructionSet\" is set to AUTO it segfaults, it's fixed (for me) by changing it to SSE2.\r\nMy CPU supports the following:\r\nfpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf eagerfpu pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb cpb hw_pstate vmmcall arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold\r\n\r\nThe Auto detection fails on this CPU for some reason. (AMD Opteron 6282 SE)"},"comment":{"url":"https://api.github.com/repos/Creepsky/creepMiner/issues/comments/396993417","html_url":"https://github.com/Creepsky/creepMiner/issues/401#issuecomment-396993417","issue_url":"https://api.github.com/repos/Creepsky/creepMiner/issues/401","id":396993417,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njk5MzQxNw==","user":{"login":"muksihs","id":32560971,"node_id":"MDQ6VXNlcjMyNTYwOTcx","avatar_url":"https://avatars0.githubusercontent.com/u/32560971?v=4","gravatar_id":"","url":"https://api.github.com/users/muksihs","html_url":"https://github.com/muksihs","followers_url":"https://api.github.com/users/muksihs/followers","following_url":"https://api.github.com/users/muksihs/following{/other_user}","gists_url":"https://api.github.com/users/muksihs/gists{/gist_id}","starred_url":"https://api.github.com/users/muksihs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muksihs/subscriptions","organizations_url":"https://api.github.com/users/muksihs/orgs","repos_url":"https://api.github.com/users/muksihs/repos","events_url":"https://api.github.com/users/muksihs/events{/privacy}","received_events_url":"https://api.github.com/users/muksihs/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T16:02:56Z","updated_at":"2018-06-13T16:02:56Z","author_association":"NONE","body":"I don't know if this is the same issue with cpu detect or not, but creepminer is segfaulting w/o a log file being generated.\r\n\r\nHave tried \"AUTO\", \"SSE4\", and \"SSE2\".\r\n\r\n```Java\r\n[743074.964707] do_general_protection: 3 callbacks suppressed\r\n[743074.964709] traps: creepMiner[17696] general protection ip:7f0fdd377c51 sp:7f0f94ff7ff0 error:0 in libPocoJSON.so.50[7f0fdd335000+54000]\r\n[812688.728439] traps: creepMiner[8782] general protection ip:7f28ef690840 sp:7fffa8d0e5a8 error:0 in libc-2.23.so[7f28ef5f1000+1c0000]\r\n[812692.280392] traps: creepMiner[8788] general protection ip:7f89ffcb0840 sp:7fff21843528 error:0 in libc-2.23.so[7f89ffc11000+1c0000]\r\n[812881.207803] traps: creepMiner[9614] general protection ip:7f0c5b243840 sp:7fff2cf7e478 error:0 in libc-2.23.so[7f0c5b1a4000+1c0000]\r\n[812894.295743] traps: creepMiner[9629] general protection ip:7f0b7c501840 sp:7fffa1057e88 error:0 in libc-2.23.so[7f0b7c462000+1c0000]\r\n[813119.209585] traps: creepMiner[9858] general protection ip:7f0fca547840 sp:7fff83f6c368 error:0 in libc-2.23.so[7f0fca4a8000+1c0000]\r\n[813122.461509] traps: creepMiner[9875] general protection ip:7f8688fe3840 sp:7ffd90f8f098 error:0 in libc-2.23.so[7f8688f44000+1c0000]\r\n[813183.189714] traps: creepMiner[9939] general protection ip:7f19cf5a5840 sp:7fff777b3b18 error:0 in libc-2.23.so[7f19cf506000+1c0000]\r\n[813215.889469] traps: creepMiner[9970] general protection ip:7fd054c9a840 sp:7ffc99697e18 error:0 in libc-2.23.so[7fd054bfb000+1c0000]\r\n[813224.777466] traps: creepMiner[9979] general protection ip:7f3d203a0840 sp:7ffe388f1908 error:0 in libc-2.23.so[7f3d20301000+1c0000]\r\n[813246.009341] traps: creepMiner[10010] general protection ip:7f57d0ccf840 sp:7ffcbfa54348 error:0 in libc-2.23.so[7f57d0c30000+1c0000]\r\n```\r\n\r\n```Bash\r\nmuksihs@muksihs-PowerEdge-T310 ~ $ cat /etc/issue\r\nLinux Mint 18.3 Sylvia \\n \\l\r\n```\r\n\r\n```Bash\r\nmuksihs@muksihs-PowerEdge-T310 ~ $ cat /proc/cpuinfo \r\nprocessor\t: 0\r\nvendor_id\t: GenuineIntel\r\ncpu family\t: 6\r\nmodel\t\t: 30\r\nmodel name\t: Intel(R) Xeon(R) CPU           X3430  @ 2.40GHz\r\nstepping\t: 5\r\nmicrocode\t: 0x4\r\ncpu MHz\t\t: 2395.052\r\ncache size\t: 8192 KB\r\nphysical id\t: 0\r\nsiblings\t: 4\r\ncore id\t\t: 0\r\ncpu cores\t: 4\r\napicid\t\t: 0\r\ninitial apicid\t: 0\r\nfpu\t\t: yes\r\nfpu_exception\t: yes\r\ncpuid level\t: 11\r\nwp\t\t: yes\r\nflags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm pti retpoline tpr_shadow vnmi flexpriority ept vpid dtherm ida\r\nbugs\t\t: cpu_meltdown spectre_v1 spectre_v2\r\nbogomips\t: 4790.10\r\nclflush size\t: 64\r\ncache_alignment\t: 64\r\naddress sizes\t: 36 bits physical, 48 bits virtual\r\n```"}}
{"actor":{"display_login":"muksihs"}}