Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baritone crashes on execution of pathing commands #4621

Open
4 tasks done
FaccoCris opened this issue Jan 18, 2025 · 3 comments
Open
4 tasks done

Baritone crashes on execution of pathing commands #4621

FaccoCris opened this issue Jan 18, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@FaccoCris
Copy link

Some information

Operating system: Windows 10
Java version: 21
Minecraft version: 1.21.1 and 1.21.4
Baritone version: 1.11.0 (1.21.1 build) and baritone-meteor for 1.21.4
Other mods (if used): KSMP 4 modpack for the 1.21.1 build but no mods except meteor and baritone jars for the 1.21.4 build

Exception, error or logs

modded 1.21.1 log
latest.log

vanilla meteor+baritone 1.21.4 log

latest.log

How to reproduce

Any pathing command reproduces the issue which results in an instant crash on both versions.

Modified settings

None

Final checklist

  • I know how to properly use check boxes
  • I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
  • I have included logs, exceptions and / or steps to reproduce the issue.
  • I have not used any OwO's or UwU's in this issue.
@FaccoCris FaccoCris added the bug Something isn't working label Jan 18, 2025
@FaccoCris FaccoCris changed the title Please add a brief but descriptive title Baritone crashes on execution of pathing commands Jan 18, 2025
@FaccoCris
Copy link
Author

latest.log

this is the latest log i got while doing some testing on the 1.21.1 version using the KSMP 4 modpack, the pathing worked correctly and instantly when i used a waypoint goto command but when i simply ask to "goto birch_log" it starts pathing and immediately crashes the instance

@FaccoCris
Copy link
Author

Correction:
i just tried all of the different versions baritone without any other mod installed running through the vanilla mc launcher and all of them seem to be running fine, will do some more testing to try and fully understand what is causing the issues

@ZacSharp
Copy link
Collaborator

The two logs from modded runs contain no indication of a crash at all. They just end after the #mine command, which is slightly concerning.

The log from the meteor + Baritone run ends with an exception which might be causes by pathHistoryCutoffAmount being set to a higher value than maxPathHistoryLength

I also found a possibly unrelated exception in that log leading me to think there is a race condition in GetToBlockProcess where, if you cancel it between a scan being started and the scan actually executing, gettingTo will become null right before the scan reads it and consequently crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants