{"action":"created","issue":{"url":"https://api.github.com/repos/real-logic/Aeron/issues/93","labels_url":"https://api.github.com/repos/real-logic/Aeron/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/real-logic/Aeron/issues/93/comments","events_url":"https://api.github.com/repos/real-logic/Aeron/issues/93/events","html_url":"https://github.com/real-logic/Aeron/issues/93","id":69017801,"number":93,"title":"Seeing \"IndexOutOfBoundsException\" at media driver","user":{"login":"vksingh70","id":11162695,"avatar_url":"https://avatars.githubusercontent.com/u/11162695?v=3","gravatar_id":"","url":"https://api.github.com/users/vksingh70","html_url":"https://github.com/vksingh70","followers_url":"https://api.github.com/users/vksingh70/followers","following_url":"https://api.github.com/users/vksingh70/following{/other_user}","gists_url":"https://api.github.com/users/vksingh70/gists{/gist_id}","starred_url":"https://api.github.com/users/vksingh70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vksingh70/subscriptions","organizations_url":"https://api.github.com/users/vksingh70/orgs","repos_url":"https://api.github.com/users/vksingh70/repos","events_url":"https://api.github.com/users/vksingh70/events{/privacy}","received_events_url":"https://api.github.com/users/vksingh70/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T21:54:10Z","updated_at":"2015-04-21T22:25:14Z","closed_at":null,"body":"Occasionally, I see \"java.lang.IndexOutOfBoundsException\" error at media driver\r\n[[347215.675806] EXCEPTION [605/605]: java.lang.IndexOutOfBoundsException(index=-1786265548, length=4, capacity=16777216)\r\nuk.co.real_logic.agrona.concurrent.UnsafeBuffer.boundsCheck UnsafeBuffer.java:795\r\nuk.co.real_logic.agrona.concurrent.UnsafeBuffer.getIntVolatile UnsafeBuffer.java:423\r\nuk.co.real_logic.aeron.common.concurrent.logbuffer.FrameDescriptor.frameLengthVolatile FrameDescriptor.java:262\r\nuk.co.real_logic.aeron.common.concurrent.logbuffer.TermScanner.scanForAvailability TermScanner.java:62\r\nuk.co.real_logic.aeron.driver.DriverPublication.onRetransmit DriverPublication.java:214\r\n]\r\nSteps to reproduce on a machine \r\n1> Start a media driver on machine1\r\n    java -cp aeron-samples/build/libs/samples.jar -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true uk.co.real_logic.aeron.driver.MediaDriver\r\n\r\n2> Start a Stat sample app on  machine1 \r\n    java -cp aeron-samples/build/libs/samples.jar -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true uk.co.real_logic.aeron.samples.AeronStat\r\n\r\n3>  Start media driver on a different machine2\r\n     java -cp aeron-samples/build/libs/samples.jar -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true uk.co.real_logic.aeron.driver.MediaDriver\r\n\r\n4> Start a samle stat app on machine2\r\n    java -cp aeron-samples/build/libs/samples.jar -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true uk.co.real_logic.aeron.samples.AeronStat\r\n\r\n5> Start a subscriber app on machine2\r\n     java -cp aeron-samples/build/libs/samples.jar -Daeron.dir.data=/tmp/aeron/data -Daeron.dir.conductor=/tmp/aeron/conductor -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true uk.co.real_logic.aeron.samples.MultipleSubscriberWithFrag\r\n\r\n6> Start a publisher on machine1\r\n    java -cp aeron-samples/build/libs/samples.jar -Daeron.dir.data=/tmp/aeron/data -Daeron.dir.conductor=/tmp/aeron/conductor -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true uk.co.real_logic.aeron.samples.MultiplePublisherWithFrag\r\n\r\nOnce in a while, I see the error on media driver at machine1."},"comment":{"url":"https://api.github.com/repos/real-logic/Aeron/issues/comments/94960517","html_url":"https://github.com/real-logic/Aeron/issues/93#issuecomment-94960517","issue_url":"https://api.github.com/repos/real-logic/Aeron/issues/93","id":94960517,"user":{"login":"tmontgomery","id":1979352,"avatar_url":"https://avatars.githubusercontent.com/u/1979352?v=3","gravatar_id":"","url":"https://api.github.com/users/tmontgomery","html_url":"https://github.com/tmontgomery","followers_url":"https://api.github.com/users/tmontgomery/followers","following_url":"https://api.github.com/users/tmontgomery/following{/other_user}","gists_url":"https://api.github.com/users/tmontgomery/gists{/gist_id}","starred_url":"https://api.github.com/users/tmontgomery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmontgomery/subscriptions","organizations_url":"https://api.github.com/users/tmontgomery/orgs","repos_url":"https://api.github.com/users/tmontgomery/repos","events_url":"https://api.github.com/users/tmontgomery/events{/privacy}","received_events_url":"https://api.github.com/users/tmontgomery/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T22:25:14Z","updated_at":"2015-04-21T22:25:14Z","body":"Are these errors still seen with the latest set of changes?\r\n"}}