{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/16771","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/16771/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/16771/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/16771/events","html_url":"https://github.com/tensorflow/tensorflow/issues/16771","id":294370820,"number":16771,"title":"core dump is occured using reduce_sum","user":{"login":"funwarioisii","id":20943066,"avatar_url":"https://avatars3.githubusercontent.com/u/20943066?v=4","gravatar_id":"","url":"https://api.github.com/users/funwarioisii","html_url":"https://github.com/funwarioisii","followers_url":"https://api.github.com/users/funwarioisii/followers","following_url":"https://api.github.com/users/funwarioisii/following{/other_user}","gists_url":"https://api.github.com/users/funwarioisii/gists{/gist_id}","starred_url":"https://api.github.com/users/funwarioisii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funwarioisii/subscriptions","organizations_url":"https://api.github.com/users/funwarioisii/orgs","repos_url":"https://api.github.com/users/funwarioisii/repos","events_url":"https://api.github.com/users/funwarioisii/events{/privacy}","received_events_url":"https://api.github.com/users/funwarioisii/received_events","type":"User","site_admin":false},"labels":[{"id":404586594,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20tensorflower","name":"stat:awaiting tensorflower","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"rohan100jain","id":144114,"avatar_url":"https://avatars2.githubusercontent.com/u/144114?v=4","gravatar_id":"","url":"https://api.github.com/users/rohan100jain","html_url":"https://github.com/rohan100jain","followers_url":"https://api.github.com/users/rohan100jain/followers","following_url":"https://api.github.com/users/rohan100jain/following{/other_user}","gists_url":"https://api.github.com/users/rohan100jain/gists{/gist_id}","starred_url":"https://api.github.com/users/rohan100jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohan100jain/subscriptions","organizations_url":"https://api.github.com/users/rohan100jain/orgs","repos_url":"https://api.github.com/users/rohan100jain/repos","events_url":"https://api.github.com/users/rohan100jain/events{/privacy}","received_events_url":"https://api.github.com/users/rohan100jain/received_events","type":"User","site_admin":false},"assignees":[{"login":"rohan100jain","id":144114,"avatar_url":"https://avatars2.githubusercontent.com/u/144114?v=4","gravatar_id":"","url":"https://api.github.com/users/rohan100jain","html_url":"https://github.com/rohan100jain","followers_url":"https://api.github.com/users/rohan100jain/followers","following_url":"https://api.github.com/users/rohan100jain/following{/other_user}","gists_url":"https://api.github.com/users/rohan100jain/gists{/gist_id}","starred_url":"https://api.github.com/users/rohan100jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohan100jain/subscriptions","organizations_url":"https://api.github.com/users/rohan100jain/orgs","repos_url":"https://api.github.com/users/rohan100jain/repos","events_url":"https://api.github.com/users/rohan100jain/events{/privacy}","received_events_url":"https://api.github.com/users/rohan100jain/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-02-05T12:08:48Z","updated_at":"2018-05-10T12:46:46Z","closed_at":null,"author_association":"NONE","body":"Core dump is occured when I tried thus code `tf.reduce_sum(tf.constant([1, 2, 3], dtype=tf.uint8))`.\r\nI consider reduction function is not supported tf.uint8, so please `raise TypeError`.\r\nThe code I linked looks relevant the problem. (I couldn't send Pull Request and propose good code.)\r\nI snipped a part of the error message.\r\nPlease fix.\r\n\r\n日本語：\r\n `tf.reduce_sum(tf.constant([1, 2, 3], dtype=tf.uint8))`を実行した際にコアダンプが発生しました\r\n恐らくreduce系の関数でtf.uint8をサポートしていないからだと思います　そのため`raise TypeError`などしてほしいです\r\nうまいコードも思いつかずプルリクエストも出せなかったので，この問題に関連すると思われるコードをリンクしました．\r\nエラーメッセージの一部を貼り付けました　修正お願いします\r\n\r\n## Environment\r\ntf.__version__ -> '1.4.1'\r\ncv2.__version__ -> '3.3.1'\r\nnp.__version__ -> '1.14.0'\r\n\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/bd0d204700df1a1a245b0593a11efd8ede139311/tensorflow/python/ops/math_ops.py#L1318\r\n\r\npython test.py\r\n2018-02-05 19:23:40.942499: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA\r\n*** Error in `/home/dl-box/miniconda2/envs/onyx/bin/python': double free or corruption (!prev): 0x00005636654f79f0 ***\r\n======= Backtrace: =========\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f7371da17e5]\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f7371daa37a]\r\n/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f7371dae53c]\r\n/usr/lib/x86_64-linux-gnu/libcuda.so.1(+0x30c906)[0x7f731ee39906]\r\n/usr/lib/x86_64-linux-gnu/libcuda.so.1(+0x30c974)[0x7f731ee39974]\r\n/usr/lib/x86_64-linux-gnu/libcuda.so.1(+0x1ef281)[0x7f731ed1c281]\r\n/usr/lib/x86_64-linux-gnu/libcuda.so.1(+0x1c79fb)[0x7f731ecf49fb]\r\n/usr/lib/x86_64-linux-gnu/libcuda.so.1(cuInit+0x4d)[0x7f731ed47abd]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(+0x89b796)[0x7f73268a4796]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN9perftools8gputools4cuda10CUDADriver4InitEv+0x5d)[0x7f73268a495d]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZNK9perftools8gputools4cuda12CudaPlatform18VisibleDeviceCountEv+0x12)[0x7f73268b48a8]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow20BaseGPUDeviceFactory17GetValidDeviceIdsERKSsPSt6vectorIiSaIiEE+0xf0)[0x7f73267d86b0]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow20BaseGPUDeviceFactory13CreateDevicesERKNS_14SessionOptionsERKSsPSt6vectorIPNS_6DeviceESaIS8_EE+0x1b1)[0x7f73267db3b3]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow13DeviceFactory10AddDevicesERKNS_14SessionOptionsERKSsPSt6vectorIPNS_6DeviceESaIS8_EE+0x159)[0x7f73267f8ddd]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(_ZN10tensorflow20DirectSessionFactory10NewSessionERKNS_14SessionOptionsE+0x98)[0x7f732a1be5ba]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so(_ZN10tensorflow10NewSessionERKNS_14SessionOptionsEPPNS_7SessionE+0xfb)[0x7f732683666c]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(TF_NewDeprecatedSession+0x21)[0x7f732807e03f]\r\n/home/dl-box/miniconda2/envs/onyx/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(+0xfa3267)[0x7f7327d5e267]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyCFunction_FastCallDict+0x91)[0x56366192b7d1]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x19e17c)[0x5636619bb17c]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyEval_EvalFrameDefault+0x30a)[0x5636619ddbba]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x197354)[0x5636619b4354]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x19824f)[0x5636619b524f]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x19e255)[0x5636619bb255]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyEval_EvalFrameDefault+0x10b8)[0x5636619de968]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x1974f6)[0x5636619b44f6]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyFunction_FastCallDict+0x1bc)[0x5636619b56fc]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyObject_FastCallDict+0x26f)[0x56366192bc5f]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyObject_Call_Prepend+0x63)[0x5636619308c3]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(PyObject_Call+0x3e)[0x56366192b69e]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x16a80b)[0x56366198780b]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x19e4b7)[0x5636619bb4b7]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyObject_FastCallDict+0x8b)[0x56366192ba7b]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x19e2ce)[0x5636619bb2ce]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(_PyEval_EvalFrameDefault+0x30a)[0x5636619ddbba]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(PyEval_EvalCodeEx+0x329)[0x5636619b5d39]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(PyEval_EvalCode+0x1c)[0x5636619b6adc]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x214be4)[0x563661a31be4]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(PyRun_FileExFlags+0xa1)[0x563661a31fe1]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(PyRun_SimpleFileExFlags+0x1c4)[0x563661a321e4]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(Py_Main+0x5ff)[0x563661a35cbf]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(main+0xee)[0x5636618fcdbe]\r\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f7371d4a830]\r\n/home/dl-box/miniconda2/envs/onyx/bin/python(+0x1c75eb)[0x5636619e45eb]\r\n======= Memory map: ========\r\n56366181d000-563661adb000 r-xp 00000000 08:01 4994230                    /home/dl-box/miniconda2/envs/onyx/bin/python3.6\r\n563661cdb000-563661cde000 r--p 002be000 08:01 4994230                    /home/dl-box/miniconda2/envs/onyx/bin/python3.6\r\n563661cde000-563661d41000 rw-p 002c1000 08:01 4994230                    /home/dl-box/miniconda2/envs/onyx/bin/python3.6\r\n563661d41000-563661d72000 rw-p 00000000 00:00 0 \r\n56366386c000-5636659ec000 rw-p 00000000 00:00 0                          [heap]\r\n7f72b4000000-7f72b4021000 rw-p 00000000 00:00 0 \r\n7f72b4021000-7f72b8000000 ---p 00000000 00:00 0 \r\n.\r\n\r\n7f7370df8000-7f7370dfb000 r-xp 00000000 08:01 4988702                    /home/dl-box/miniconda2/envs/onyx/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so\r\n7f7370dfb000-7f7370ffa000 ---p 00003000 08:01 4988702                    /home/dl-box/miniconda2/envs/onyx/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so\r\n7f7370ffa000-7f7370ffb000 r--p 00002000 08:01 4988702                    /home/dl-box/miniconda2/envs/onyx/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so\r\n7f7370ffb000-7f7370ffd000 rw-p 00003000 08:01 4988702                    /home/dl-box/miniconda2/envs/onyx/lib/python3.6/lib-dynload/_heapq.cpython-36m-x86_64-linux-gnu.so\r\n7f7370ffd000-7f737103d000 rw-p 00000000 00:00 0 \r\n7f737103d000-7f7371412000 r--p 00000000 08:01 1837470                    /usr/lib/locale/locale-archive\r\n7f7371412000-7f737151a000 r-xp 00000000 08:01 131145                     /lib/x86_64-linux-gnu/libm-2.23.so\r\n7f737151a000-7f7371719000 ---p 00108000 08:01 131145                     /lib/x86_64-linux-gnu/libm-2.23.so\r\n7f7371719000-7f737171a000 r--p 00107000 08:01 131145                     /lib/x86_64-linux-gnu/libm-2.23.so\r\n7f737171a000-7f737171b000 rw-p 00108000 08:01 131145                     /lib/x86_64-linux-gnu/libm-2.23.so\r\n7f737171b000-7f7371722000 r-xp 00000000 08:01 131862                     /lib/x86_64-linux-gnu/librt-2.23.so\r\n7f7371722000-7f7371921000 ---p 00007000 08:01 131862                     /lib/x86_64-linux-gnu/librt-2.23.so\r\n7f7371921000-7f7371922000 r--p 00006000 08:01 131862                     /lib/x86_64-linux-gnu/librt-2.23.so\r\n7f7371922000-7f7371923000 rw-p 00007000 08:01 131862                     /lib/x86_64-linux-gnu/librt-2.23.so\r\n7f7371923000-7f7371925000 r-xp 00000000 08:01 131483                     /lib/x86_64-linux-gnu/libutil-2.23.so\r\n7f7371925000-7f7371b24000 ---p 00002000 08:01 131483                     /lib/x86_64-linux-gnu/libutil-2.23.so\r\n7f7371b24000-7f7371b25000 r--p 00001000 08:01 131483                     /lib/x86_64-linux-gnu/libutil-2.23.so\r\n7f7371b25000-7f7371b26000 rw-p 00002000 08:01 131483                     /lib/x86_64-linux-gnu/libutil-2.23.so\r\n7f7371b26000-7f7371b29000 r-xp 00000000 08:01 131431                     /lib/x86_64-linux-gnu/libdl-2.23.so\r\n7f7371b29000-7f7371d28000 ---p 00003000 08:01 131431                     /lib/x86_64-linux-gnu/libdl-2.23.so\r\n7f7371d28000-7f7371d29000 r--p 00002000 08:01 131431                     /lib/x86_64-linux-gnu/libdl-2.23.so\r\n7f7371d29000-7f7371d2a000 rw-p 00003000 08:01 131431                     /lib/x86_64-linux-gnu/libdl-2.23.so\r\n7f7371d2a000-7f7371eea000 r-xp 00000000 08:01 131427                     /lib/x86_64-linux-gnu/libc-2.23.so\r\n7f7371eea000-7f73720ea000 ---p 001c0000 08:01 131427                     /lib/x86_64-linux-gnu/libc-2.23.so\r\n7f73720ea000-7f73720ee000 r--p 001c0000 08:01 131427                     /lib/x86_64-linux-gnu/libc-2.23.so\r\n7f73720ee000-7f73720f0000 rw-p 001c4000 08:01 131427                     /lib/x86_64-linux-gnu/libc-2.23.so\r\n7f73720f0000-7f73720f4000 rw-p 00000000 00:00 0 \r\n7f73720f4000-7f737210c000 r-xp 00000000 08:01 131426                     /lib/x86_64-linux-gnu/libpthread-2.23.so\r\n7f737210c000-7f737230b000 ---p 00018000 08:01 131426                     /lib/x86_64-linux-gnu/libpthread-2.23.so\r\n7f737230b000-7f737230c000 r--p 00017000 08:01 131426                     /lib/x86_64-linux-gnu/libpthread-2.23.so\r\n7f737230c000-7f737230d000 rw-p 00018000 08:01 131426                     /lib/x86_64-linux-gnu/libpthread-2.23.so\r\n7f737230d000-7f7372311000 rw-p 00000000 00:00 0 \r\n7f7372311000-7f7372337000 r-xp 00000000 08:01 131335                     /lib/x86_64-linux-gnu/ld-2.23.so\r\n7f7372344000-7f7372509000 rw-p 00000000 00:00 0 \r\n7f737252d000-7f737252e000 rw-p 00000000 00:00 0 \r\n7f737252e000-7f737252f000 rwxp 00000000 00:00 0 \r\n7f737252f000-7f7372536000 r--s 00000000 08:01 2230848                    /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache\r\n7f7372536000-7f7372537000 r--p 00025000 08:01 131335                     /lib/x86_64-linux-gnu/ld-2.23.so\r\n7f7372537000-7f7372538000 rw-p 00026000 08:01 131335                     /lib/x86_64-linux-gnu/ld-2.23.so\r\n7f7372538000-7f7372539000 rw-p 00000000 00:00 0 \r\n7ffdfa56f000-7ffdfa58f000 rwxp 00000000 00:00 0                          [stack]\r\n7ffdfa58f000-7ffdfa590000 rw-p 00000000 00:00 0 \r\n7ffdfa5c0000-7ffdfa5c3000 r--p 00000000 00:00 0                          [vvar]\r\n7ffdfa5c3000-7ffdfa5c5000 r-xp 00000000 00:00 0                          [vdso]\r\nffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]\r\nAborted (core dumped)"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/388043050","html_url":"https://github.com/tensorflow/tensorflow/issues/16771#issuecomment-388043050","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/16771","id":388043050,"user":{"login":"tensorflowbutler","id":28546240,"avatar_url":"https://avatars2.githubusercontent.com/u/28546240?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflowbutler","html_url":"https://github.com/tensorflowbutler","followers_url":"https://api.github.com/users/tensorflowbutler/followers","following_url":"https://api.github.com/users/tensorflowbutler/following{/other_user}","gists_url":"https://api.github.com/users/tensorflowbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflowbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflowbutler/subscriptions","organizations_url":"https://api.github.com/users/tensorflowbutler/orgs","repos_url":"https://api.github.com/users/tensorflowbutler/repos","events_url":"https://api.github.com/users/tensorflowbutler/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflowbutler/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T12:46:46Z","updated_at":"2018-05-10T12:46:46Z","author_association":"MEMBER","body":"Nagging Assignee @rohan100jain: It has been 92 days with no activity and this issue has an assignee. Please update the label and/or status accordingly."}}
{"actor":{"display_login":"tensorflowbutler"}}