Solved [Bug] 1.5 Fishing with Magic Bait In Farm Pond Causes Game To Crash

bioweapon

Farmhand
Farm type: Standard

As soon as I left-click after the "fish biting cue", the game crashes.

Tried fishing with Magic Bait in the ocean, and it works fine (and, can catch fishes from other seasons, as expected).

I never have any mod.

Debugger says:

Code:
(gdb) r
Starting program: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\StardewValley.exe
[New Thread 6080.0x1770]
warning: `C:\Windows\SYSTEM32\ntdll.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `C:\Windows\System32\wow64.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `C:\Windows\System32\wow64win.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
warning: `C:\Windows\System32\wow64cpu.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.
[New Thread 6080.0x12f4]
[New Thread 6080.0x48c]
[New Thread 6080.0x2ac0]
[New Thread 6080.0x3bac]
[New Thread 6080.0x10ac]
[New Thread 6080.0x3824]
[New Thread 6080.0x628]
[New Thread 6080.0x24f8]
[New Thread 6080.0x1150]
warning: CLR:(
warning: C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll
warning: )
warning: Rejecting native image because native image dependency C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll had a different identity than expected
warning:
[New Thread 6080.0x22f0]
[New Thread 6080.0x220c]
[New Thread 6080.0x3c4]
[New Thread 6080.0x2f04]
[New Thread 6080.0x2428]
[Thread 6080.0x2428 exited with code 0]
[New Thread 6080.0x3440]
[New Thread 6080.0xd3c]
[New Thread 6080.0x292c]
[New Thread 6080.0x2954]
[New Thread 6080.0x3574]
[New Thread 6080.0x2764]
[New Thread 6080.0x39a8]
[New Thread 6080.0x390c]
[New Thread 6080.0x1274]
[New Thread 6080.0x349c]
NoFpsCap: This feature is not available
[New Thread 6080.0x1968]
[New Thread 6080.0xb7c]
[New Thread 6080.0xecc]
[New Thread 6080.0x3830]
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
warning: [S_API] SteamAPI_Init(): Loaded 'C:\Program Files (x86)\Steam\steamclient.dll' OK.
[New Thread 6080.0x2810]
warning: [S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
[Thread 6080.0x2810 exited with code 0]
System.InvalidOperationException: Steamworks is not initialized.
   at Steamworks.InteropHelp.TestIfAvailableClient()
   at StardewValley.SDKs.SteamHelper.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\SteamHelper.cs:line 142
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
Window_ClientSizeChanged(); Window.ClientBounds={X:384 Y:228 Width:1280 Height:720}
[New Thread 6080.0x3a34]
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
loadPreferences(); begin - languageCode=en
savePreferences(); async=False, languageCode=en
Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
[New Thread 6080.0x36b4]
[New Thread 6080.0xe3c]
[New Thread 6080.0xee0]
[New Thread 6080.0x28bc]
[New Thread 6080.0x2044]
[New Thread 6080.0x35e0]
[New Thread 6080.0x11e4]
[New Thread 6080.0x12f0]
[New Thread 6080.0xef8]
[New Thread 6080.0x1b80]
[New Thread 6080.0x3ab4]
[New Thread 6080.0x1888]
gameMode was 'titleScreenGameMode (0)', set to 'loadingMode (6)'.
getLoadEnumerator('bioweapon_221663134')
regular stream detected...
[Thread 6080.0x3ab4 exited with code 0]
[New Thread 6080.0x2a90]
Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
[Thread 6080.0x2a90 exited with code 0]
[New Thread 6080.0x2d28]
TextBox.Selected is now 'True'.
TextBox.Selected is now 'False'.
[Thread 6080.0x2d28 exited with code 0]
[New Thread 6080.0x2c70]
loadPreferences(); begin - languageCode=en
gameMode was 'loadingMode (6)', set to 'playingGameMode (3)'.
getLoadEnumerator() exited, elapsed = '00:00:05.6343818'
setupEventCommands() registered '131' methods
Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
Warping to Farm
loadPreferences(); begin - languageCode=en
loadPreferences(); begin - languageCode=en
Window_ClientSizeChanged(); Window.ClientBounds={X:0 Y:0 Width:2048 Height:1152}
gameMode was 'playingGameMode (3)', set to 'errorLogMode (11)'.
gameMode was 'errorLogMode (11)', set to 'playingGameMode (3)'.

Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at StardewValley.GameLocation.getFish(Single millisecondsAfterNibble, Int32 bait, Int32 waterDepth, Farmer who, Double baitPotency, Vector2 bobberTile, String locationName) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 11871
   at StardewValley.Farm.getFish(Single millisecondsAfterNibble, Int32 bait, Int32 waterDepth, Farmer who, Double baitPotency, Vector2 bobberTile, String location) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\Farm.cs:line 1490
   at StardewValley.Tools.FishingRod.DoFunction(GameLocation location, Int32 x, Int32 y, Int32 power, Farmer who) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Tools\FishingRod.cs:line 351
   at StardewValley.Tool.endUsing(GameLocation location, Farmer who) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Tools\Tool.cs:line 450
   at StardewValley.Farmer.performEndUsingTool() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Farmer.cs:line 6051
   at Netcode.NetEvent0.Poll() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Netcode\NetEvent.cs:line 38
   at Netcode.NetEvent0.Fire() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Netcode\NetEvent.cs:line 30
   at StardewValley.Farmer.EndUsingTool() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Farmer.cs:line 6034
   at StardewValley.Game1.<>c__DisplayClass904_0.<UpdateControlInput>b__0() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 17658
   at StardewValley.ModHooks.OnGame1_UpdateControlInput(KeyboardState& keyboardState, MouseState& mouseState, GamePadState& gamePadState, Action action) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\ModHooks.cs:line 11
   at StardewValley.Game1.UpdateControlInput(GameTime time) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 17073
   at StardewValley.Game1._update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4596
   at StardewValley.Game1.Update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3768
   at StardewValley.GameRunner.Update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 958
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at StardewValley.Program.Main(String[] args) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 156
[Thread 6080.0x2c70 exited with code 0]
[Thread 6080.0x2f04 exited with code 0]
[Thread 6080.0x3c4 exited with code 0]
gdb: unknown target exception 0xe0434352 at 0x7692a892

Thread 1 "MainThrd" received signal ?, Unknown signal.
0x0114d9c8 in ?? ()
(gdb)

Note: "StardewValley.exe" is the same as "Stardew Valley.exe"; this is for gdb to run it.
 
Last edited:
Thanks for the report, but just so you know, the ponds on the standard farm only give trash, never fish , so even if it didn't crash the game, fishing there with magic bait would be pointless.
 

bioweapon

Farmhand
Thanks for the report, but just so you know, the ponds on the standard farm only give trash, never fish , so even if it didn't crash the game, fishing there with magic bait would be pointless.
I didn't know that. That being said, the description of Magic Bait reads "Allows you to catch fish from any season, time, or weather, from whichever type of water you cast into. "

My initial understanding was that I can catch any fish in the game, in any water I wish to fish. In other words, I can catch river fishes in the ocean, and vice versa.

So it is actually "Allows you to catch all possible fishes, restricted only by the type of water you fish in, but not restricted by season, time, or weather"?
 
Yeah, basically. The restriction of "place where you fish" still applies: from river only river fish, from ocean only ocean fish, etc. Which makes sense, it's the one restriction you have absolute control of, any other basically means waiting.

It's better this way, though. With absolutely no restrictions, all ~70 fish would have an equal chance to bite. That's barely more than a 1% of getting the one fish type your want, a literal roulette.
 

Odin

Moderator
Staff member
This should be fixed in 1.5.2! Please mention if it's still an issue for you!
 
Top