{"action":"created","issue":{"url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL/issues/1746","repository_url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL","labels_url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL/issues/1746/labels{/name}","comments_url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL/issues/1746/comments","events_url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL/issues/1746/events","html_url":"https://github.com/LoneGazebo/Community-Patch-DLL/issues/1746","id":153559605,"number":1746,"title":"Crash on mouse over of unexposed city.","user":{"login":"biship","id":1854029,"avatar_url":"https://avatars.githubusercontent.com/u/1854029?v=3","gravatar_id":"","url":"https://api.github.com/users/biship","html_url":"https://github.com/biship","followers_url":"https://api.github.com/users/biship/followers","following_url":"https://api.github.com/users/biship/following{/other_user}","gists_url":"https://api.github.com/users/biship/gists{/gist_id}","starred_url":"https://api.github.com/users/biship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biship/subscriptions","organizations_url":"https://api.github.com/users/biship/orgs","repos_url":"https://api.github.com/users/biship/repos","events_url":"https://api.github.com/users/biship/events{/privacy}","received_events_url":"https://api.github.com/users/biship/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-06T23:53:34Z","updated_at":"2016-05-07T17:14:35Z","closed_at":null,"body":"Bug Report Template\r\n\r\n\r\n**1. Mod Version (i.e Date - (4/23b)):**\r\n4/30 fefe branch, compiled with VS2015 (no code changes, solution left as vs2010 format).\r\n\r\n\r\n**2. Mod List (if using standard CPP set, leave blank):**\r\n\r\n> 05/06/2016  07:28 PM    <DIR>          (1) Community Patch (v 79)\r\n> 05/01/2016  11:22 AM    <DIR>          (2) Community Balance Patch (v 13)\r\n> 05/01/2016  11:22 AM    <DIR>          (3) CSD for CBP\r\n> 05/01/2016  11:22 AM    <DIR>          (4) Civ IV Diplomatic Features (v 11)\r\n> 05/01/2016  11:22 AM    <DIR>          (5) More Luxuries\r\n> 05/01/2016  11:22 AM    <DIR>          (6a) Community Balance Patch - Compatibility Files (EUI) (v 1)\r\n> 04/26/2016  04:55 PM    <DIR>          (7) Events and Decisions (CBP) (v 8)\r\n> 03/29/2016  06:43 AM    <DIR>          (BNW) Leugi's Barbarian Inmersion Enhancements (v 1)\r\n> 04/24/2016  02:08 PM    <DIR>          AI - Great People Choices (v 1)\r\n> 03/25/2016  06:56 AM    <DIR>          Buildings - Goldsmith (v 4)\r\n> 04/24/2016  02:08 PM    <DIR>          Buildings - Lighthouse Near Sea (v 2)\r\n> 03/25/2016  06:56 AM    <DIR>          Buildings - Textile Mill (v 4)\r\n> 04/30/2016  06:24 AM    <DIR>          Calypso's Colored Religious Icons (Basic) (v 4)\r\n> 04/30/2016  06:24 AM    <DIR>          Calypso's Colored Religious Icons (BNW Extended) (v 3)\r\n> 04/30/2016  06:24 AM    <DIR>          Calypso's Colored Religious Icons (Extended) (v 5)\r\n> 04/06/2016  10:43 AM    <DIR>          Civilization Selection Bonus Tooltips (v 3)\r\n> 03/15/2016  06:21 PM    <DIR>          Diplomacy - Auto-Denounce (v 1)\r\n> 04/07/2016  06:18 AM    <DIR>          Diplomacy - By Numbers (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Diplomacy - Tech Bonuses (v 1)\r\n> 03/19/2016  04:12 PM    <DIR>          FlagPromotions (v 7)\r\n> 04/26/2016  04:55 PM    <DIR>          Future Worlds (v 4)\r\n> 03/25/2016  06:56 AM    <DIR>          Global - Air Routes (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - City Jungle Bonus (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Civilians Move After Purchase (v 2)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Commander Influence Borders (v 1)\r\n> 04/07/2016  06:18 AM    <DIR>          Global - Enable Magellan (v 10)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Espionage Reports (v 2)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Fortify Almost Healed (v 1)\r\n> 03/06/2016  04:01 PM    <DIR>          Global - GA Happiness (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Jungle Production (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Local Generals (v 2)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - National Wonders  Exclude Razing (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Pro-rata Buildings Purchase (v 2)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Raze Major Capitals (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Global - Religious Settlers (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Goody Huts - No Auto-Mapping (v 2)\r\n> 03/15/2016  06:21 PM    <DIR>          Goody Huts - Tech Refund (v 7)\r\n> 03/25/2016  06:56 AM    <DIR>          Improvement - Farm Replacement (v 1)\r\n> 04/04/2016  08:13 PM    <DIR>          InfoAddict (v 22)\r\n> 04/30/2016  06:24 AM    <DIR>          Quick Turns (v 10)\r\n> 04/30/2016  06:24 AM    <DIR>          Really Advanced Setup (v 15)\r\n> 03/15/2016  06:21 PM    <DIR>          Religion - Bonus Beliefs (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Religion - Recurring Purchase Notify (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          Show Move-To (v 2)\r\n> 04/07/2016  06:18 AM    <DIR>          Tech - Satellites Reveal Cities (v 10)\r\n> 03/15/2016  06:22 PM    <DIR>          UI - City Happiness (v 17)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - City Religions (v 4)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Enhanced Demographics (v 6)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Enhanced Rankings (v 13)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Great Work Manager (v 14)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - National Wonder Splash Screens (v 10)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Barbarians (v 8)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay City Limits (v 8)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Continents (v 8)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Harbours And Airports (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Luxuries (v 3)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Resources (v 11)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Road And Rail (v 9)\r\n> 04/26/2016  04:52 PM    <DIR>          UI - Overlay Unimproved Tiles (v 1)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Overlay Wonders (v 7)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Project Splash Screens (v 8)\r\n> 04/07/2016  06:18 AM    <DIR>          UI - Promotion Tree (v 15)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Religion Spread (v 13)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Summary Antiquities (v 2)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Summary Barbarians (v 9)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Summary City States (v 12)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Summary Clock (v 11)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Summary Luxuries (v 13)\r\n> 03/25/2016  06:56 AM    <DIR>          UI - Summary Shipping (v 11)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Summary Specialists (v 11)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Trade Opportunities (v 28)\r\n> 03/24/2016  03:32 PM    <DIR>          UI - Unit List Enhancements (v 11)\r\n> 03/25/2016  06:56 AM    <DIR>          UI - Upgrade Tree (v 8)\r\n> 03/15/2016  06:21 PM    <DIR>          UI - Wonder Planner (v 14)\r\n> 03/25/2016  06:56 AM    <DIR>          Units - Rangers (v 11)\r\n> 03/27/2016  10:02 AM    <DIR>          Units - Sound Corrections (v 1)\r\n> 03/25/2016  06:56 AM    <DIR>          Units - Subs Ignore Borders (v 3)\r\n> 04/07/2016  06:18 AM    <DIR>          Units - Super Carrier (v 11)\r\n> 05/01/2016  11:22 AM    <DIR>          znicks overrides (v 1) (just sql changing difficulty tables)\r\n\r\n\r\n**3. Type of error (i.e. crash, interface bug, AI quirk): **\r\nCrash: 0xC0000005\r\n\r\n\r\n**4. Steps to reproduce:**\r\nLoad up save game, mouse over the _city tile_ of Salamanca. Then crash.\r\nIf you move a unit closer to the city, exposing one row of tiles below the city, then the crash no longer occurs. (EDIT: hmmm the crash can still occur (for the same city), but doesn't look like always)\r\nDoes not occur on city banner.\r\nDoesn't seem to occur for any other city.\r\n\r\n[debug.dll.zip](https://github.com/LoneGazebo/Community-Patch-DLL/files/253185/debug.dll.zip)\r\n[Logs.zip](https://github.com/LoneGazebo/Community-Patch-DLL/files/253186/Logs.zip)\r\n[AutoSave_0357 AD-1937.zip](https://github.com/LoneGazebo/Community-Patch-DLL/files/253187/AutoSave_0357.AD-1937.zip)\r\n[CvMiniDump.zip](https://github.com/LoneGazebo/Community-Patch-DLL/files/253188/CvMiniDump.zip)\r\n\r\n**5. Additional information:**\r\nIn VS2015 debugger when attached to civ5 dx11 process:\r\ndebug output window:\r\n```\r\nException thrown: read access violation.\r\nthis was nullptr.\r\n```\r\n\r\nCall Stack:\r\n`CvGameCore_Expansion2.dll!CvPlayer::GetGreatPersonExpendGold() Line 23959\tC++\r\n \tCvGameCore_Expansion2.dll!CvUnit::GetMaxHitPoints() Line 14648\tC++\r\n \tCvGameCore_Expansion2.dll!CvLuaUnit::lGetCombatDamage(lua_State * L) Line 912`\r\n\r\nDebugger says its unable to _read memory_ for m_iGreatPersonExpendGold.\r\n\r\n---------------------------\r\n\r\nSupporting information:\r\n\r\nPlease note that you can attach .zip files to Issues by dragging-and-dropping them. If possible, zip up all supporting data and post that way.\r\n\r\n1. Log files: Database.log and Lua.log needed\r\n2. Minidump file (located in your Civ5.exe directory)\r\n3. Screenshots (if needed)\r\n\r\n\r\n\r\n----------------------------\r\n"},"comment":{"url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL/issues/comments/217652821","html_url":"https://github.com/LoneGazebo/Community-Patch-DLL/issues/1746#issuecomment-217652821","issue_url":"https://api.github.com/repos/LoneGazebo/Community-Patch-DLL/issues/1746","id":217652821,"user":{"login":"biship","id":1854029,"avatar_url":"https://avatars.githubusercontent.com/u/1854029?v=3","gravatar_id":"","url":"https://api.github.com/users/biship","html_url":"https://github.com/biship","followers_url":"https://api.github.com/users/biship/followers","following_url":"https://api.github.com/users/biship/following{/other_user}","gists_url":"https://api.github.com/users/biship/gists{/gist_id}","starred_url":"https://api.github.com/users/biship/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biship/subscriptions","organizations_url":"https://api.github.com/users/biship/orgs","repos_url":"https://api.github.com/users/biship/repos","events_url":"https://api.github.com/users/biship/events{/privacy}","received_events_url":"https://api.github.com/users/biship/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T17:14:35Z","updated_at":"2016-05-07T17:14:35Z","body":"Thanks ilteroi. I'll check once you next push to github.\r\nI look forward to see what code was changed to better my understanding of C++."}}