{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2172","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2172/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2172/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2172/events","html_url":"https://github.com/ethereum/cpp-ethereum/issues/2172","id":87805943,"number":2172,"title":"ethminer version 0.9.25 giving segmentation error after chunking change","user":{"login":"Ulysseus","id":10251137,"avatar_url":"https://avatars.githubusercontent.com/u/10251137?v=3","gravatar_id":"","url":"https://api.github.com/users/Ulysseus","html_url":"https://github.com/Ulysseus","followers_url":"https://api.github.com/users/Ulysseus/followers","following_url":"https://api.github.com/users/Ulysseus/following{/other_user}","gists_url":"https://api.github.com/users/Ulysseus/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulysseus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulysseus/subscriptions","organizations_url":"https://api.github.com/users/Ulysseus/orgs","repos_url":"https://api.github.com/users/Ulysseus/repos","events_url":"https://api.github.com/users/Ulysseus/events{/privacy}","received_events_url":"https://api.github.com/users/Ulysseus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-12T18:01:10Z","updated_at":"2015-06-14T15:06:06Z","closed_at":null,"body":"After updating to latest version of the cpp client I get the following warning and segmentation error, it used to mine perfectly before this\r\n\r\n[OPENCL]:Found suitable OpenCL device [AMD Radeon HD - FirePro D300 Compute Engine] with 2147483648 bytes of GPU memory\r\nBenchmarking on platform: { \"platform\": \"Apple\", \"device\": \"AMD Radeon HD - FirePro D300 Compute Engine\", \"version\": \"OpenCL 1.2 \" }\r\nPreparing DAG...\r\nWarming up...\r\n  ℹ  17:57:09|gpuminer0  workLoop 0 #00000000… #00000000…\r\n  ℹ  17:57:09|gpuminer0  Initialising miner...\r\n[OPENCL]:Using platform: Apple\r\n[OPENCL]:Using device: AMD Radeon HD - FirePro D300 Compute Engine(OpenCL 1.2 )\r\n[OPENCL]:Using 4 chunks. Max OpenCL allocateable memory is536870912\r\n[OPENCL]:Printing program log\r\n[OPENCL]:<program source>:45:6: warning: no previous prototype for function 'keccak_f1600_round'\r\nvoid keccak_f1600_round(uint2* a, uint r, uint out_size)\r\n     ^\r\n<program source>:161:6: warning: no previous prototype for function 'keccak_f1600_no_absorb'\r\nvoid keccak_f1600_no_absorb(ulong* a, uint in_size, uint out_size, uint isolate)\r\n     ^\r\n<program source>:203:6: warning: no previous prototype for function 'fnv'\r\nuint fnv(uint x, uint y)\r\n     ^\r\n<program source>:208:7: warning: no previous prototype for function 'fnv4'\r\nuint4 fnv4(uint4 x, uint4 y)\r\n      ^\r\n<program source>:213:6: warning: no previous prototype for function 'fnv_reduce'\r\nuint fnv_reduce(uint4 v)\r\n     ^\r\n<program source>:236:10: warning: no previous prototype for function 'init_hash'\r\nhash64_t init_hash(__constant hash32_t const* header, ulong nonce, uint isolate)\r\n         ^\r\n<program source>:252:6: warning: no previous prototype for function 'inner_loop_chunks'\r\nuint inner_loop_chunks(uint4 init, uint thread_id, __local uint* share, __global hash128_t const* g_dag, __global hash128_t const* g_dag1, __global hash128_t const* g_dag2, __global hash128_t const* g_dag3, uint isolate)\r\n     ^\r\n<program source>:286:6: warning: no previous prototype for function 'inner_loop'\r\nuint inner_loop(uint4 init, uint thread_id, __local uint* share, __global hash128_t const* g_dag, uint isolate)\r\n     ^\r\n<program source>:320:10: warning: no previous prototype for function 'final_hash'\r\nhash32_t final_hash(hash64_t const* init, hash32_t const* mix, uint isolate)\r\n         ^\r\n<program source>:339:10: warning: no previous prototype for function 'compute_hash_simple'\r\nhash32_t compute_hash_simple(\r\n         ^\r\n<program source>:392:10: warning: no previous prototype for function 'compute_hash'\r\nhash32_t compute_hash(\r\n         ^\r\n<program source>:436:10: warning: no previous prototype for function 'compute_hash_chunks'\r\nhash32_t compute_hash_chunks(\r\n         ^\r\n\r\n[OPENCL]:Loading chunk kernels\r\n[OPENCL]:Creating buffer for chunk 0\r\n[OPENCL]:Creating buffer for chunk 1\r\n[OPENCL]:Creating buffer for chunk 2\r\n[OPENCL]:Creating buffer for chunk 3\r\n[OPENCL]:Creating buffer for header.\r\n[OPENCL]:Mapping chunk 0\r\n[OPENCL]:Mapping chunk 1\r\n[OPENCL]:Mapping chunk 2\r\n[OPENCL]:Mapping chunk 3\r\n[OPENCL]:Creating mining buffer 0\r\n[OPENCL]:Creating mining buffer 1\r\nSegmentation fault: 11"},"comment":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/comments/111839350","html_url":"https://github.com/ethereum/cpp-ethereum/issues/2172#issuecomment-111839350","issue_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2172","id":111839350,"user":{"login":"Ulysseus","id":10251137,"avatar_url":"https://avatars.githubusercontent.com/u/10251137?v=3","gravatar_id":"","url":"https://api.github.com/users/Ulysseus","html_url":"https://github.com/Ulysseus","followers_url":"https://api.github.com/users/Ulysseus/followers","following_url":"https://api.github.com/users/Ulysseus/following{/other_user}","gists_url":"https://api.github.com/users/Ulysseus/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulysseus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulysseus/subscriptions","organizations_url":"https://api.github.com/users/Ulysseus/orgs","repos_url":"https://api.github.com/users/Ulysseus/repos","events_url":"https://api.github.com/users/Ulysseus/events{/privacy}","received_events_url":"https://api.github.com/users/Ulysseus/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T15:06:06Z","updated_at":"2015-06-14T15:06:06Z","body":"I tried version 9.26 with and without single chunk still get the segmentation fault 11\r\n\r\n[OPENCL]:Found suitable OpenCL device [AMD Radeon HD - FirePro D300 Compute Engine] with 2147483648 bytes of GPU memory\r\nBenchmarking on platform: { \"platform\": \"Apple\", \"device\": \"AMD Radeon HD - FirePro D300 Compute Engine\", \"version\": \"OpenCL 1.2 \" }\r\nPreparing DAG...\r\nWarming up...\r\n  ℹ  17:03:30|gpuminer0  workLoop 0 #00000000… #00000000…\r\n  ℹ  17:03:30|gpuminer0  Initialising miner...\r\n[OPENCL]:Using platform: Apple\r\n[OPENCL]:Using device: AMD Radeon HD - FirePro D300 Compute Engine(OpenCL 1.2 )\r\n[OPENCL]:Forcing single chunk. Good luck!\r\nUsing 1 big chunk. Max OpenCL allocateable memory is 536870912\r\n[OPENCL]:Printing program log\r\n[OPENCL]:<program source>:45:6: warning: no previous prototype for function 'keccak_f1600_round'\r\nvoid keccak_f1600_round(uint2* a, uint r, uint out_size)\r\n     ^\r\n<program source>:161:6: warning: no previous prototype for function 'keccak_f1600_no_absorb'\r\nvoid keccak_f1600_no_absorb(ulong* a, uint in_size, uint out_size, uint isolate)\r\n     ^\r\n<program source>:203:6: warning: no previous prototype for function 'fnv'\r\nuint fnv(uint x, uint y)\r\n     ^\r\n<program source>:208:7: warning: no previous prototype for function 'fnv4'\r\nuint4 fnv4(uint4 x, uint4 y)\r\n      ^\r\n<program source>:213:6: warning: no previous prototype for function 'fnv_reduce'\r\nuint fnv_reduce(uint4 v)\r\n     ^\r\n<program source>:236:10: warning: no previous prototype for function 'init_hash'\r\nhash64_t init_hash(__constant hash32_t const* header, ulong nonce, uint isolate)\r\n         ^\r\n<program source>:252:6: warning: no previous prototype for function 'inner_loop_chunks'\r\nuint inner_loop_chunks(uint4 init, uint thread_id, __local uint* share, __global hash128_t const* g_dag, __global hash128_t const* g_dag1, __global hash128_t const* g_dag2, __global hash128_t const* g_dag3, uint isolate)\r\n     ^\r\n<program source>:286:6: warning: no previous prototype for function 'inner_loop'\r\nuint inner_loop(uint4 init, uint thread_id, __local uint* share, __global hash128_t const* g_dag, uint isolate)\r\n     ^\r\n<program source>:320:10: warning: no previous prototype for function 'final_hash'\r\nhash32_t final_hash(hash64_t const* init, hash32_t const* mix, uint isolate)\r\n         ^\r\n<program source>:339:10: warning: no previous prototype for function 'compute_hash_simple'\r\nhash32_t compute_hash_simple(\r\n         ^\r\n<program source>:392:10: warning: no previous prototype for function 'compute_hash'\r\nhash32_t compute_hash(\r\n         ^\r\n<program source>:436:10: warning: no previous prototype for function 'compute_hash_chunks'\r\nhash32_t compute_hash_chunks(\r\n         ^\r\n\r\n[OPENCL]:Loading single big chunk kernels\r\n[OPENCL]:Creating one big buffer\r\n[OPENCL]:Creating buffer for header.\r\n[OPENCL]:Mapping one big chunk.\r\n[OPENCL]:Creating mining buffer 0\r\n[OPENCL]:Creating mining buffer 1\r\nSegmentation fault: 11\r\n"}}