{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/79","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/79/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/79/events","html_url":"https://github.com/chrsmith/bwapi/issues/79","id":58482769,"number":79,"title":"Spawning of new units crashes replays","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Other","name":"Type-Other","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-22T00:32:21Z","updated_at":"2015-02-22T00:32:21Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Compile the ExampleAIModule with the following code:\n\nExampleAIModule.cpp\n-------------------\n#include \"ExampleAIModule.h\"\nusing namespace BWAPI;\nvoid ExampleAIModule::onStart()\n{\n  Broodwar->sendText(\"Hello world!\");\n}\nvoid ExampleAIModule::onFrame()\n{\n\tBroodwar->sendText(\"Frame: %d\", Broodwar->getFrameCount());\n}\n\nExampleAIModule.h\n-----------------\n#pragma once\n#include <BWAPI.h>\n#include <BWTA.h>\nclass ExampleAIModule : public BWAPI::AIModule\n{\npublic:\n  virtual void onStart();\n  virtual void onFrame();\n};\n\n2. Load the attached replay\n\n3. View the replay. It will crash at frame 317. This is the first frame in\nwhich a new unit (scv) is produced in the replay.\n\nWhat is the expected output? What do you see instead?\nThe replay plays to completion when BWAPI is disabled in the chaos launcher\n\nPlease use labels and text to provide additional information.\nRunning version 1.16.1\nOccurs on both Vista and XP.\n```\n\n-----\nOriginal issue reported on code.google.com by `bgwe...@gmail.com` on 7 Oct 2009 at 1:04\n\nAttachments:\n* [FlashSpear.rep](https://storage.googleapis.com/google-code-attachments/bwapi/issue-79/comment-0/FlashSpear.rep)\n"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75406034","html_url":"https://github.com/chrsmith/bwapi/issues/79#issuecomment-75406034","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/79","id":75406034,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T00:32:21Z","updated_at":"2015-02-22T00:32:21Z","body":"```\nI've worked around this issue for now.\n```\n\n-----\nOriginal comment by `bgwe...@gmail.com` on 13 Oct 2009 at 3:06\n* Changed state: **WontFix**"}}