{"action":"closed","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/5100","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/5100/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/5100/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/5100/events","html_url":"https://github.com/Itseez/opencv/issues/5100","id":98279526,"number":5100,"title":"Opencv sigsegv from java bindings","user":{"login":"cnuernber","id":40426,"avatar_url":"https://avatars.githubusercontent.com/u/40426?v=3","gravatar_id":"","url":"https://api.github.com/users/cnuernber","html_url":"https://github.com/cnuernber","followers_url":"https://api.github.com/users/cnuernber/followers","following_url":"https://api.github.com/users/cnuernber/following{/other_user}","gists_url":"https://api.github.com/users/cnuernber/gists{/gist_id}","starred_url":"https://api.github.com/users/cnuernber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnuernber/subscriptions","organizations_url":"https://api.github.com/users/cnuernber/orgs","repos_url":"https://api.github.com/users/cnuernber/repos","events_url":"https://api.github.com/users/cnuernber/events{/privacy}","received_events_url":"https://api.github.com/users/cnuernber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv/labels/affected:%20master","name":"affected: master","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/category:%20java%20bindings","name":"category: java bindings","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/priority:%20normal","name":"priority: normal","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-30T22:39:38Z","updated_at":"2015-08-02T16:58:32Z","closed_at":"2015-08-02T16:58:32Z","body":"We are running an app processing many, many images and I am seeing periodic crashes in opencv.\r\n\r\nHere is a representative stack trace:\r\n\r\n```\r\nJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)\r\nJ 3492  org.opencv.core.Mat.nGetB(JIII[B)I (0 bytes) @ 0x00007fbd817e7622 [0x00007fbd817e75c0+0x62]\r\nJ 3491 C1 org.opencv.core.Mat.get(II[B)I (133 bytes) @ 0x00007fbd817e6a14 [0x00007fbd817e6860+0x1b4]\r\nj  thinktopic.image.core$opencv_matrix_to_byte_pixels.invoke(Ljava/lang/Object;)Ljava/lang/Object;+182\r\nJ 2958 C1 thinktopic.image.core$bounding_box_from_single_channel_cv_matrix.invoke(Ljava/lang/Object;)Ljava/lang/Object; (613 bytes) @ 0x00007fbd81702c94 [0x00007fbd817029e0+0x2b4]\r\nj  cn.ingester.functions$process_image_record.invoke(Ljava/lang/Object;)Ljava/lang/Object;+179\r\nj  clojure.core$pmap$fn__6740$fn__6741.invoke()Ljava/lang/Object;+21\r\nj  clojure.core$binding_conveyor_fn$fn__4442.invoke()Ljava/lang/Object;+14\r\nJ 1504 C1 clojure.lang.AFn.call()Ljava/lang/Object; (5 bytes) @ 0x00007fbd8138e33c [0x00007fbd8138e300+0x3c]\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\nI believe that there is a problem with opencv30 and keeping reference counts to the objects because this crash is periodic so I believe it is a timing issue w/r/t the java gc.\r\n"}}