{"action":"created","issue":{"url":"https://api.github.com/repos/deeplearning4j/libnd4j/issues/153","repository_url":"https://api.github.com/repos/deeplearning4j/libnd4j","labels_url":"https://api.github.com/repos/deeplearning4j/libnd4j/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/deeplearning4j/libnd4j/issues/153/comments","events_url":"https://api.github.com/repos/deeplearning4j/libnd4j/issues/153/events","html_url":"https://github.com/deeplearning4j/libnd4j/issues/153","id":151904223,"number":153,"title":"Java fatal error SIGFPE during training","user":{"login":"crockpotveggies","id":1445295,"avatar_url":"https://avatars.githubusercontent.com/u/1445295?v=3","gravatar_id":"","url":"https://api.github.com/users/crockpotveggies","html_url":"https://github.com/crockpotveggies","followers_url":"https://api.github.com/users/crockpotveggies/followers","following_url":"https://api.github.com/users/crockpotveggies/following{/other_user}","gists_url":"https://api.github.com/users/crockpotveggies/gists{/gist_id}","starred_url":"https://api.github.com/users/crockpotveggies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crockpotveggies/subscriptions","organizations_url":"https://api.github.com/users/crockpotveggies/orgs","repos_url":"https://api.github.com/users/crockpotveggies/repos","events_url":"https://api.github.com/users/crockpotveggies/events{/privacy}","received_events_url":"https://api.github.com/users/crockpotveggies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-29T15:58:28Z","updated_at":"2016-05-06T08:19:34Z","closed_at":null,"body":"*Migrated from https://github.com/deeplearning4j/nd4j/issues/869*\r\n\r\nWhile training a convolutional net using a dataset of <10,000 black and white JPEGs,  I encountered a fatal error while training my net using Spark `1.6.1`:\r\n```\r\n# A fatal error has been detected by the Java Runtime Environment:\r\n#\r\n#  SIGFPE (0x8) at pc=0x000000012a82c8ba, pid=32002, tid=76291\r\n#\r\n# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)\r\n# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode bsd-amd64 compressed oops)\r\n# Problematic frame:\r\n# C  [libnd4j.dylib+0x278ba]  _ZN5shape8ind2subCEiPiii+0x8a\r\n#\r\n# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try \"ulimit -c unlimited\" before starting Java again\r\n```\r\n\r\nApplication output is here: https://gist.github.com/crockpotveggies/8fdcaa59224a25b62f6d237a8c2120c3\r\n\r\n~~This is the configuration of my convolutional neural net: https://gist.github.com/crockpotveggies/d342bbb8a614fc88286bb8e75a8454e1~~\r\n\r\n**I've uploaded a repo for reproducibility.** Use a dataset of <10,000 black and white images 100x100 dimensions, total of 8 labels. You can find it here: https://github.com/crockpotveggies/libnd4j-SIGFPE-error"},"comment":{"url":"https://api.github.com/repos/deeplearning4j/libnd4j/issues/comments/217378490","html_url":"https://github.com/deeplearning4j/libnd4j/issues/153#issuecomment-217378490","issue_url":"https://api.github.com/repos/deeplearning4j/libnd4j/issues/153","id":217378490,"user":{"login":"agibsonccc","id":1144306,"avatar_url":"https://avatars.githubusercontent.com/u/1144306?v=3","gravatar_id":"","url":"https://api.github.com/users/agibsonccc","html_url":"https://github.com/agibsonccc","followers_url":"https://api.github.com/users/agibsonccc/followers","following_url":"https://api.github.com/users/agibsonccc/following{/other_user}","gists_url":"https://api.github.com/users/agibsonccc/gists{/gist_id}","starred_url":"https://api.github.com/users/agibsonccc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agibsonccc/subscriptions","organizations_url":"https://api.github.com/users/agibsonccc/orgs","repos_url":"https://api.github.com/users/agibsonccc/repos","events_url":"https://api.github.com/users/agibsonccc/events{/privacy}","received_events_url":"https://api.github.com/users/agibsonccc/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T08:19:34Z","updated_at":"2016-05-06T08:19:34Z","body":"Is this possibly a race condition? The culpri is related to the labels it looks like ;/"}}