{"action":"created","issue":{"url":"https://api.github.com/repos/lucabaldini/xpedaq/issues/148","repository_url":"https://api.github.com/repos/lucabaldini/xpedaq","labels_url":"https://api.github.com/repos/lucabaldini/xpedaq/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/lucabaldini/xpedaq/issues/148/comments","events_url":"https://api.github.com/repos/lucabaldini/xpedaq/issues/148/events","html_url":"https://github.com/lucabaldini/xpedaq/issues/148","id":193525753,"number":148,"title":"Monitor crash","user":{"login":"albertomanfreda","id":7805566,"avatar_url":"https://avatars.githubusercontent.com/u/7805566?v=3","gravatar_id":"","url":"https://api.github.com/users/albertomanfreda","html_url":"https://github.com/albertomanfreda","followers_url":"https://api.github.com/users/albertomanfreda/followers","following_url":"https://api.github.com/users/albertomanfreda/following{/other_user}","gists_url":"https://api.github.com/users/albertomanfreda/gists{/gist_id}","starred_url":"https://api.github.com/users/albertomanfreda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertomanfreda/subscriptions","organizations_url":"https://api.github.com/users/albertomanfreda/orgs","repos_url":"https://api.github.com/users/albertomanfreda/repos","events_url":"https://api.github.com/users/albertomanfreda/events{/privacy}","received_events_url":"https://api.github.com/users/albertomanfreda/received_events","type":"User","site_admin":false},"labels":[{"id":358105777,"url":"https://api.github.com/repos/lucabaldini/xpedaq/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-05T15:20:14Z","updated_at":"2016-12-05T15:32:32Z","closed_at":null,"body":"The monitor crashes consistently during the playback of data taken at the radiation test in Legnaro. The error messages produced are similar to the following:\r\n\r\n*** Error in `./bin/xpemon': free(): invalid next size (normal): 0x00007f15b4005750 ***\r\n======= Backtrace: =========\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f15dff407e5]\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f15dff48e0a]\r\n/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f15dff4c98c]\r\n./bin/xpemon[0x49d754]\r\n\r\nfollowed by a very long sequence of unintelligible lines.\r\nThe crashes occur always at the same position in the file (for example after ~15000 events from 003_0000118_data.mdat) so it is possible that they are caused by corrupted buffer headers.\r\nNote, however, that pEventReader::readPendingDatagram() already performs a check of validity on the incoming pDataBlocks:\r\n```\r\npDataBlock p (reinterpret_cast<unsigned char*> (data), size);\r\n  for (unsigned int evt = 0; evt < p.numEvents(); ++evt)\r\n  {\r\n    if (p.errorSummary() > 0)\r\n    {\r\n      std::cout << \"Invalid event n. \" <<  evt  << \" of \" << p;\r\n      return;\r\n    }\r\n```\r\nso it must be something that manages to escape this check (or either something else totally unrelated)."},"comment":{"url":"https://api.github.com/repos/lucabaldini/xpedaq/issues/comments/264884743","html_url":"https://github.com/lucabaldini/xpedaq/issues/148#issuecomment-264884743","issue_url":"https://api.github.com/repos/lucabaldini/xpedaq/issues/148","id":264884743,"user":{"login":"albertomanfreda","id":7805566,"avatar_url":"https://avatars.githubusercontent.com/u/7805566?v=3","gravatar_id":"","url":"https://api.github.com/users/albertomanfreda","html_url":"https://github.com/albertomanfreda","followers_url":"https://api.github.com/users/albertomanfreda/followers","following_url":"https://api.github.com/users/albertomanfreda/following{/other_user}","gists_url":"https://api.github.com/users/albertomanfreda/gists{/gist_id}","starred_url":"https://api.github.com/users/albertomanfreda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertomanfreda/subscriptions","organizations_url":"https://api.github.com/users/albertomanfreda/orgs","repos_url":"https://api.github.com/users/albertomanfreda/repos","events_url":"https://api.github.com/users/albertomanfreda/events{/privacy}","received_events_url":"https://api.github.com/users/albertomanfreda/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T15:32:32Z","updated_at":"2016-12-05T15:32:32Z","body":"I just realized that this check does make no-sense (we can check only the whole buffer, not the single events). Proposed change \r\n"}}
{"actor":{"display_login":"albertomanfreda"}}