{"action":"created","issue":{"url":"https://api.github.com/repos/a2o/snoopy/issues/39","labels_url":"https://api.github.com/repos/a2o/snoopy/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/a2o/snoopy/issues/39/comments","events_url":"https://api.github.com/repos/a2o/snoopy/issues/39/events","html_url":"https://github.com/a2o/snoopy/issues/39","id":68946828,"number":39,"title":"Snoopy crash the jvm","user":{"login":"ajzach","id":2071648,"avatar_url":"https://avatars.githubusercontent.com/u/2071648?v=3","gravatar_id":"","url":"https://api.github.com/users/ajzach","html_url":"https://github.com/ajzach","followers_url":"https://api.github.com/users/ajzach/followers","following_url":"https://api.github.com/users/ajzach/following{/other_user}","gists_url":"https://api.github.com/users/ajzach/gists{/gist_id}","starred_url":"https://api.github.com/users/ajzach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajzach/subscriptions","organizations_url":"https://api.github.com/users/ajzach/orgs","repos_url":"https://api.github.com/users/ajzach/repos","events_url":"https://api.github.com/users/ajzach/events{/privacy}","received_events_url":"https://api.github.com/users/ajzach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/a2o/snoopy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-04-16T15:20:16Z","updated_at":"2015-04-24T18:04:54Z","closed_at":null,"body":"I have Snoopy (the last version + my pull request) running in many servers, when a server is restarted the jvm falls:\r\n\r\nhs_err_pid:\r\n\r\n A fatal error has been detected by the Java Runtime Environment:\r\n\r\n  SIGSEGV (0xb) at pc=0x00007fab985724d7, pid=15146, tid=140374290736896\r\n\r\n JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43)\r\n Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b56 mixed mode linux-amd64 compressed oops)\r\n Problematic frame:\r\n C  [libc.so.6+0x3a4d7]  abort+0x297\r\n...................\r\n...................\r\n...................\r\nStack: [0x00007fab6fac2000,0x00007fab6fbc3000],  sp=0x00007fab6fbbf900,  free space=1014k\r\nNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)\r\nC  [libc.so.6+0x3a4d7]  abort+0x297\r\n\r\nJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)\r\nj  java.lang.UNIXProcess.forkAndExec([B[BI[BI[B[IZ)I+0\r\nj  java.lang.UNIXProcess.<init>([B[BI[BI[B[IZ)V+19\r\nj  java.lang.ProcessImpl.start([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;[Ljava/lang/ProcessBuilder$Redirect;Z)Ljava/lang/Process;+433\r\nj  java.lang.ProcessBuilder.start()Ljava/lang/Process;+124\r\nj  org.apache.hadoop.util.Shell.runCommand()V+125\r\nj  org.apache.hadoop.util.Shell.run()V+23\r\nj  org.apache.hadoop.util.Shell$ShellCommandExecutor.execute()V+1\r\nj  org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(Lorg/apache/hadoop/yarn/server/nodemanager/containermanager/    container/Container;Lorg/apache/hadoop/fs/Path;Lorg/apache/hadoop/fs/Path;Ljava/lang/String;Ljava/lang/String;Lorg/apache/hadoop/fs/Path;Ljava/util/  List;Ljava/util/List;)I+521\r\nj  org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call()Ljava/lang/Integer;+1097\r\nj  org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call()Ljava/lang/Object;+1\r\nj  java.util.concurrent.FutureTask.run()V+42\r\nj  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95\r\nj  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5\r\nj  java.lang.Thread.run()V+11\r\nv  ~StubRoutines::call_stub\r\n\r\n\r\napport.log:\r\nERROR: apport (pid 26360) Thu Apr 16 10:41:10 2015: called for pid 26323, signal 11, core limit 0\r\nERROR: apport (pid 26360) Thu Apr 16 10:41:10 2015: executable: /usr/lib/jvm/java-7-oracle/bin/java (command line \"/usr/lib/jvm/java-7-oracle//bin/java -Dproc_nodemanager -Xmx4000m -Dhadoop.log.dir=/home/hadoop/hadoop-2.5.0/logs -Dyarn..............\r\nERROR: apport (pid 26360) Thu Apr 16 10:41:10 2015: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment\r\nERROR: apport (pid 26360) Thu Apr 16 10:42:51 2015: wrote report /var/crash/_usr_lib_jvm_java-7-oracle_bin_java.1002.crash\r\n\r\nThe errors were produced using jenkins and hadoop, do you have any idea what could be the problem?\r\n"},"comment":{"url":"https://api.github.com/repos/a2o/snoopy/issues/comments/96016186","html_url":"https://github.com/a2o/snoopy/issues/39#issuecomment-96016186","issue_url":"https://api.github.com/repos/a2o/snoopy/issues/39","id":96016186,"user":{"login":"bostjan","id":107080,"avatar_url":"https://avatars.githubusercontent.com/u/107080?v=3","gravatar_id":"","url":"https://api.github.com/users/bostjan","html_url":"https://github.com/bostjan","followers_url":"https://api.github.com/users/bostjan/followers","following_url":"https://api.github.com/users/bostjan/following{/other_user}","gists_url":"https://api.github.com/users/bostjan/gists{/gist_id}","starred_url":"https://api.github.com/users/bostjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bostjan/subscriptions","organizations_url":"https://api.github.com/users/bostjan/orgs","repos_url":"https://api.github.com/users/bostjan/repos","events_url":"https://api.github.com/users/bostjan/events{/privacy}","received_events_url":"https://api.github.com/users/bostjan/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T18:04:53Z","updated_at":"2015-04-24T18:04:53Z","body":"Probably there are parts that are not thread-safe, and iniparser (external component) may be affected by this too. This did not pose a problem before, I guess no one was using threads that spawned too much processes too fast.\r\n\r\nDo you maybe know, how many processes is your java (Jenkins?) spawning per second? Does it use separate thread for each forkAndExec?\r\n\r\nb.\r\n\r\nPS: Would you be so kind and from now on open new issue if you find new bug? Tnx :)"}}