{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/211","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/211/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/211/events","html_url":"https://github.com/chrsmith/bwapi/issues/211","id":58275180,"number":211,"title":"Unhandled exception at 0x004c0918 in StarCraft.exe: 0xC0000005: Access violation reading location 0x0000000c.","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"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T21:46:47Z","updated_at":"2015-02-19T21:46:47Z","closed_at":null,"body":"```\nException Address: 0x004c0918 in StarCraft.exe\nException Type: 0xC0000005: Access violation reading location 0x0000000c\nStarcraft error log:\n\nUnhandled exception at 0x004c0918 in StarCraft.exe: 0xC0000005: Access\nviolation reading location 0x0000000c.\n\n\tBWAPI.dll!BWAPI::UnitImpl::orderSelect()  Line 2376\tC++\n \tBWAPI.dll!BWAPI::UnitImpl::rightClick(BWAPI::Unit * target=0x02a9d970)\n Line 1269\tC++\n \tCustomAIModule.dll!ConstructionManager::update()  Line 357 + 0x1f bytes\tC++\n \tCustomAIModule.dll!BuildManager::update()  Line 25 + 0x17 bytes\tC++\n \tCustomAIModule.dll!BasicAIModule::onFrame()  Line 124\tC++\n \tBWAPI.dll!BWAPI::GameImpl::update()  Line 868\tC++\n \tBWAPI.dll!nextFrameHook()  Line 38\tC++\n\n\n\nvoid UnitImpl::orderSelect()\n  {\n    BW::Unit * * select = new BW::Unit * [1];\n    select[0] = this->getOriginalRawData();\n    BW::selectUnits(1, select);\n->    delete [] select;\n  }\n```\n\n-----\nOriginal issue reported on code.google.com by `d...@drown.the.cat` on 26 Apr 2010 at 1:48"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75144272","html_url":"https://github.com/chrsmith/bwapi/issues/211#issuecomment-75144272","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/211","id":75144272,"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-19T21:46:47Z","updated_at":"2015-02-19T21:46:47Z","body":"```\n-\t\tthis\t0x02a9e438 {buildUnit=0x00000000 alive=true dead=false \n...}\tBWAPI::UnitImpl *\nconst\n+\t\tBWAPI::Unit\t{...}\tBWAPI::Unit\n+\t\tbuildUnit\t0x00000000 {buildUnit=??? alive=??? dead=??? ...}\tBWAPI::UnitImpl *\n\t\talive\ttrue\tbool\n\t\tdead\tfalse\tbool\n\t\tuserSelected\tfalse\tbool\n\t\tstaticInformation\tfalse\tbool\n+\t\tsavedPlayer\t0x00000000\tBWAPI::Player *\n+\t\tsavedUnitType\t{id=0 }\tBWAPI::UnitType\n\t\tlastVisible\tfalse\tbool\n\t\tmakeVisible\tfalse\tbool\n+\t\tlastType\t{id=7 }\tBWAPI::UnitType\n+\t\tlastPlayer\t0x02a3c3a0 {force=0x076f10a8 units=[24](0x02a9d970\n{buildUnit=0x00000000 alive=true dead=false ...},0x02a9d9e8 \n{buildUnit=0x00000000\nalive=true dead=false ...},0x02a9dad8 {buildUnit=0x00000000 alive=true \ndead=false\n...},0x02a9dc40 {buildUnit=0x00000000 alive=true dead=false ...},0x02a9dcb8\n{buildUnit=0x00000000 alive=true dead=false ...},0x02a9dd30 \n{buildUnit=0x00000000\nalive=true dead=false ... \tBWAPI::Player *\n\t\tnukeDetected\tfalse\tbool\n\t\tanimState\t1\tint\n\t\tlarva\t[0]()\tstd::set<BWAPI::Unit *,std::less<BWAPI::Unit\n*>,std::allocator<BWAPI::Unit *> >\n+\t\tbwUnitLocal\t0x00effa60 {previousUnit=0x0061a618 nextUnit=0x0061a4c8 \nhitPoints=0\n...}\tBW::Unit *\n+\t\tbwOriginalUnit\t0x0061c6e8 {previousUnit=0x0061a618 nextUnit=0x0061a4c8\nhitPoints=0 ...}\tBW::Unit *\n\t\tindex\t1556\tunsigned short\n+\t\tstaticType\t{id=176 }\tBWAPI::UnitType\n+\t\tstaticPosition\t{_x=3968 _y=4016 }\tBWAPI::Position\n+\t\tstaticTilePosition\t{_x=123 _y=125 }\tBWAPI::TilePosition\n\t\tstaticResources\t1500\tint\n\t\tstaticHitPoints\t100000\tint\n-\t\tselect\t0x07c82dd0\tBW::Unit * *\n-\t\t\t0x0061c6e8 {previousUnit=0x0061a618 nextUnit=0x0061a4c8 hitPoints=0 \n...}\tBW::Unit *\n+\t\tpreviousUnit\t0x0061a618 {previousUnit=0x00000000 nextUnit=0x0061c6e8 \nhitPoints=0\n...}\tBW::Unit *\n+\t\tnextUnit\t0x0061a4c8 {previousUnit=0x0061c6e8 nextUnit=0x0061a378 hitPoints=0 \n...}\nBW::Unit *\n\t\thitPoints\t0\tint\n+\t\tsprite\t0x00000000 {prev=??? next=??? spriteID=??? ...}\tBW::CSprite *\n+\t\tmoveToPos\t{x=159 y=3057 }\tBW::Position\n+\t\ttargetUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n+\t\tnextWaypoint\t{x=159 y=3057 }\tBW::Position\n+\t\tnextWaypoint2\t{x=159 y=3057 }\tBW::Position\n+\t\tmovementFlags\t{value=0 }\tUtil::BitMask<unsigned char>\n\t\tcurrentDirection\t237 'í'\tunsigned char\n\t\tflingyTurnRadius\t40 '('\tunsigned char\n\t\tvelocityDirection\t237 'í'\tunsigned char\n\t\tflingyID\t81\tunsigned short\n\t\tunknown_0x026\t0\tunsigned char\n\t\tflingyMovementType\t0\tunsigned char\n+\t\tposition\t{x=159 y=3057 }\tBW::Position\n\t\txHalt\t40704\tunsigned int\n\t\tyHalt\t782592\tunsigned int\n\t\tflingySpeed\t1280\tunsigned int\n\t\tunknownSpeed_0x038\t0\tunsigned int\n\t\tunknownSpeed_0x03C\t0\tunsigned int\n\t\tcurrent_speedX\t0\tint\n\t\tcurrent_speedY\t0\tint\n\t\tflingyAcceleration\t67\tunsigned short\n\t\tunknown_0x04A\t60909\tunsigned short\n\t\tplayerID\t3 '\u0003'\tunsigned char\n\t\torderID\t0\tunsigned char\n+\t\torderFlags\t{value='\u0001' }\tUtil::BitMask<unsigned char>\n\t\torderSignal\t0\tunsigned char\n+\t\torderUnitID\t{id=228 }\tBW::UnitType\n\t\tunused_0x052\t0\tunsigned short\n\t\tmainOrderTimer\t1 '\u0001'\tunsigned char\n\t\tgroundWeaponCooldown\t0\tunsigned char\n\t\tairWeaponCooldown\t0\tunsigned char\n\t\tspellCooldown\t0\tunsigned char\n+\t\torderTargetPos\t{x=139 y=3018 }\tBW::Position\n+\t\torderTargetUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? ...}\nBW::Unit *\n\t\tshieldPoints\t25600\tunsigned int\n+\t\tunitID\t{id=7 }\tBW::UnitType\n\t\tunknown_0x066\t0\tunsigned short\n+\t\tpreviousPlayerUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\nBW::Unit *\n+\t\tnextPlayerUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n+\t\tsubUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n\t\torderQueueHead\t0x00000000\tBW::Order *\n\t\torderQueueTail\t0x00000000\tBW::Order *\n\t\tunknown_0x07C\t0\tunsigned int\n+\t\tconnectedUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n\t\torderQueueCount\t0\tunsigned char\n\t\tunknownOrderTimer_0x085\t0\tunsigned char\n\t\tunknown_0x086\t0\tunsigned short\n\t\tdisplayedUnitID\t0\tunsigned short\n\t\tunknown_0x08A\t44564\tunsigned int\n\t\trankIncrease\t0\tunsigned char\n\t\tkillCount\t0\tunsigned char\n\t\tstateFlags\t6658\tunsigned int\n\t\tcurrentButtonSet\t7\tunsigned short\n\t\tunknown_0x095\t2560\tunsigned short\n+\t\tbuildQueue\t0x0061c780 {id=228 }\tBW::UnitType [5]\n\t\tenergy\t12800\tunsigned short\n\t\tbuildQueueSlot\t0\tunsigned char\n\t\ttargetOrderSpecial\t1 '\u0001'\tunsigned char\n\t\tsecondaryOrderID\t23 '\u0017'\tunsigned char\n\t\tunknown_0x0A7\t0\tunsigned char\n\t\thpGainDuringRepair\t47\tunsigned int\n\t\tremainingBuildTime\t0\tunsigned short\n\t\tunknown_0x0AE\t1\tunsigned short\n+\t\tloadedUnitIndex\t0x0061c798 \"\"\tunsigned short [8]\n+\t\tchildInfoUnion\t{vultureBikeMines={...} childUnit1=0x00000000\nparentUnit=0x00000000 }\tBW::Unit::ChildInfoUnion_type\n+\t\tchildUnitUnion1\t{unitIsBuilding={...} nextUnitInParentHangar=0x0b300080 }\nBW::Unit::ChildUnitUnion1_type\n+\t\tchildUnitUnion2\t{unitIsNotScarabInterceptor={...}\nprevUnitInParentHangar=0x0061e7b8 }\tBW::Unit::ChildUnitUnion2_type\n+\t\tchildUnitUnion3\t{inHanger=0 creepExpansionTimer=0 decreaseMineralTimer=0 }\nBW::Unit::ChildUnitUnion3_type\n\t\tupgradeLevel\t0\tunsigned char\n\t\tisCarryingSomething\t0\tunsigned char\n\t\tresourceCarying\t0\tunsigned char\n+\t\tunitUnion1\t{unitUnion1Sub={...} resourceTarget_connectedNydus=0x00000000\nnukeDot=0x00000000 }\tBW::Unit::UnitUnion1_type\n+\t\tunknown_0x0D4\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n+\t\tunknown_0x0D8\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n+\t\tstatus\t{value=462849 }\tUtil::BitMask<unsigned int>\n\t\tresourceType\t0\tunsigned char\n\t\twireframeRandomizer\t244 'ô'\tunsigned char\n\t\tsecondaryOrderState\t0\tunsigned char\n\t\tunknownCounterDown_0x0E3\t15 '\u000F'\tunsigned char\n\t\tvisibilityStatus\t4294967295\tunsigned int\n\t\tunknown_0x0E8\t0\tunsigned int\n+\t\tcurrentBuildUnit\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? ...}\nBW::Unit *\n+\t\tunknown_0x0F0\t0x0061c7d8 \"\"\tunsigned char [8]\n+\t\trallyPsiProviderUnion\t{rally={...} }\tBW::Unit::RallyPsiProviderUnion_type\n\t\tpathUnknown_0x100\t0\tunsigned int\n\t\tunknown_0x104\t256\tunsigned short\n\t\tunused_0x106\t0\tunsigned char\n\t\tisBeingHealed\t0\tunsigned char\n+\t\tcontours1Unknown\t{x=23 y=2845 }\tBW::Position\n+\t\tcontours2Unknown\t{x=279 y=3101 }\tBW::Position\n\t\tremoveTimer\t0\tunsigned short\n\t\tdefenseMatrixDamage\t0\tunsigned short\n\t\tdefenseMatrixTimer\t0\tunsigned char\n\t\tstimTimer\t0\tunsigned char\n\t\tensnareTimer\t0\tunsigned char\n\t\tlockdownTimer\t0\tunsigned char\n\t\tirradiateTimer\t0\tunsigned char\n\t\tstasisTimer\t0\tunsigned char\n\t\tplagueTimer\t0\tunsigned char\n\t\tisUnderStorm\t0\tunsigned char\n+\t\tirradiatedBy\t0x00000000 {previousUnit=??? nextUnit=??? hitPoints=??? \n...}\tBW::Unit *\n\t\tirradiatePlayerID\t0\tunsigned char\n+\t\tparasiteFlags\t{value=0 }\tUtil::BitMask<unsigned char>\n\t\tcycleCounter\t6 '\u0006'\tunsigned char\n\t\tisBlind\t0\tunsigned char\n\t\tmaelstromTimer\t0\tunsigned char\n\t\tunused_0x125\t0\tunsigned char\n\t\tacidSporeCount\t0\tunsigned char\n+\t\tacidSporeTime\t0x0061c80f \"\"\tunsigned char [9]\n\t\toffsetIndex3by3\t0\tunsigned short\n\t\tunused_0x132\t0\tunsigned short\n\t\tisAIControlled\t0\tunsigned int\n\t\tairStrength\t0\tunsigned short\n\t\tgroundStrength\t0\tunsigned short\n\t\tunknown_0x13C\t4294967295\tunsigned int\n\t\tunknown_0x140\t4294967295\tunsigned int\n\t\tunknown_0x144\t4294967295\tunsigned int\n\t\tunknown_0x148\t4294967295\tunsigned int\n\t\trepulseUnknown1\t0\tunsigned char\n\t\trepulseUnknown2\t0\tunsigned char\n\t\tdriftPosX\t0\tunsigned char\n\t\tdriftPosY\t0\tunsigned char\n\n```\n\n-----\nOriginal comment by `d...@drown.the.cat` on 26 Apr 2010 at 1:50"}}