{"action":"created","issue":{"url":"https://api.github.com/repos/real-logic/Aeron/issues/70","labels_url":"https://api.github.com/repos/real-logic/Aeron/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/real-logic/Aeron/issues/70/comments","events_url":"https://api.github.com/repos/real-logic/Aeron/issues/70/events","html_url":"https://github.com/real-logic/Aeron/issues/70","id":62204847,"number":70,"title":"Observed \"MALFORMED_FRAME_LENGTH [0/0]: COMMAND_UNKNOWN\" error at MediaDriver","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":[{"url":"https://api.github.com/repos/real-logic/Aeron/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/real-logic/Aeron/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":11,"created_at":"2015-03-16T20:47:30Z","updated_at":"2015-03-20T09:38:49Z","closed_at":null,"body":"I was testing Aeron with different TERM lengths and observed \"MALFORMED_FRAME_LENGTH [0/0]: COMMAND_UNKNOWN\" error at subscriber side media driver.\r\n1> Started  media driver at producer machine\r\n    java -cp aeron-samples/build/libs/samples.jar -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true -Daeron.term.buffer.length=65536  uk.co.real_logic.aeron.driver.MediaDriver\r\n\r\n2> Started Media Driver at different machine\r\njava -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\nWARNING: conductor directory already exists: /tmp/aeron/conductor\r\nWARNING: data directory already exists: /tmp/aeron/data\r\n( Error is printed after step 3)\r\n[1241.685856] MALFORMED_FRAME_LENGTH [0/0]: COMMAND_UNKNOWN\r\n[1241.688031] MALFORMED_FRAME_LENGTH [0/0]: COMMAND_UNKNOWN\r\n)\r\n\r\n3> Started a producer app (https://github.com/strangelydim/Aeron.git\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.BasicPublisherWithFragmentation\r\n\r\nava -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.BasicPublisherWithFragmentation\r\nPublishing to udp://224.168.33.11:5000 on stream Id 10\r\nException in thread \"main\" java.lang.IllegalArgumentException: encoded message exceeds maxMessageLength of 8192, length=8204\r\n\tat uk.co.real_logic.aeron.common.concurrent.logbuffer.LogAppender.checkMessageLength(LogAppender.java:310)\r\n\tat uk.co.real_logic.aeron.common.concurrent.logbuffer.LogAppender.append(LogAppender.java:133)\r\n\tat uk.co.real_logic.aeron.Publication.offer(Publication.java:146)\r\n\tat uk.co.real_logic.aeron.samples.BasicPublisherWithFragmentation.main(BasicPublisherWithFragmentation.java:73)\r\n\r\n4> Repeated the same test with TERM Buffer length set to 131072 at a machine where producer is\r\n java -cp aeron-samples/build/libs/samples.jar -Daeron.sample.channel=udp://224.168.33.11:5000 -Djava.net.preferIPv4Stack=true -Daeron.term.buffer.length=131072  uk.co.real_logic.aeron.driver.MediaDriver\r\n\r\nNo error were seen and messages were exchanged between Producer and Consumer.\r\n"},"comment":{"url":"https://api.github.com/repos/real-logic/Aeron/issues/comments/83969253","html_url":"https://github.com/real-logic/Aeron/issues/70#issuecomment-83969253","issue_url":"https://api.github.com/repos/real-logic/Aeron/issues/70","id":83969253,"user":{"login":"mjpt777","id":760524,"avatar_url":"https://avatars.githubusercontent.com/u/760524?v=3","gravatar_id":"","url":"https://api.github.com/users/mjpt777","html_url":"https://github.com/mjpt777","followers_url":"https://api.github.com/users/mjpt777/followers","following_url":"https://api.github.com/users/mjpt777/following{/other_user}","gists_url":"https://api.github.com/users/mjpt777/gists{/gist_id}","starred_url":"https://api.github.com/users/mjpt777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjpt777/subscriptions","organizations_url":"https://api.github.com/users/mjpt777/orgs","repos_url":"https://api.github.com/users/mjpt777/repos","events_url":"https://api.github.com/users/mjpt777/events{/privacy}","received_events_url":"https://api.github.com/users/mjpt777/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T09:38:49Z","updated_at":"2015-03-20T09:38:49Z","body":"We probably could change the rebuilder to handle 0 length messages and make the hearbeat work correctly now that we are position based. I could have a look at doing this if it would be useful?"}}