-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Segfault when trying to cast a spell #76085
Comments
Failed to repeat.
|
Interesting, for me it is repeatable. Difference between Linux and Windows builds? Also, I did not know the button was renamed, sorry for that. |
Wouldn't be the first time the compiler/OS makes a difference. I wanted to specify what I did as I know nothing about magic mods, and thus not whether there may be multiple sets of magic. Anyway, the default key binding was ']'. |
Another possibility: I had assigned custom letters to some of the spells prior to upgrading to a version including #75624 - maybe those are problematic now? |
I'm getting this too, but I'm on Windows 11. Same Process. If it matters, this is a character I've been using for a while, with many spells, started on a previous release. Dissimilar stack trace, but I'm not sure if theres a setting I need to change for more verbose debugging.
Additional context: |
I was able to cause the issue on demand, on the latest build experimental (2024-09-02-0320) on a fresh character (with the above mods) by:
|
Best I can tell, it was caused by the commit cbcdfa4 in the select_spell method here. [uninformed speculation ahead] |
Describe the bug
I press the "cast spell" button and get a segfault.
Attach save file
The Collector-trimmed.tar.gz
Steps to reproduce
Expected behavior
I expect my character to not be able to break the game while trying to cast a spell. :)
Screenshots
No response
Versions and configuration
Dark Days Ahead [dda],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm],
Mind Over Matter [mindovermatter],
Xedra Evolved [xedra_evolved],
Bombastic Perks [bombastic_perks],
Extra Mutated Scenarios [extra_mut_scens],
Mythical Martial Arts [MMA],
Bionic Slots [cbm_slots],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
SpeedyDex [speedydex],
Stats Through Skills [StatsThroughSkills],
DinoMod [DinoMod],
Megafauna [megafauna],
Disable NPC Needs [no_npc_food]
]
Additional context
cdda crash.zip
I think I went a little overboard by using Mind over Matter, Magiclysm and Xedra Evolved in one world and learning a lot of spells.
Probably connected to #75624 - maybe the character knows too many spells, so automatic invlet assignment fails?
The text was updated successfully, but these errors were encountered: