Bug 281947

Summary: games/bsdgames: rogue segmentation fault after reloading saved game
Product: Ports & Packages Reporter: geoff <geoff.zian>
Component: Individual Port(s)Assignee: Zsolt Udvari <uzsolt>
Status: In Progress ---    
Severity: Affects Only Me CC: jockl, uzsolt
Priority: --- Flags: jockl: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description geoff 2024-10-09 04:39:50 UTC
bsdgames rogue has a segmentation fault issue on both freebsd 13.3 and 13.4 with bsdgames .75 and .76

run "rogue"
shift+S to save game

restore saved game
rogue -r <savedgame>

As soon as you fight a monster the program will segfault

If you never save the game you will not run into the issue.
Comment 1 Joachim Werner 2024-10-09 20:25:37 UTC
Thanks! I was able to reproduce it on FreeBSD 14.1 and will look into it.

The weird thing is: when I run rogue in gdb and restore the saved game, there's no segfault...
I'll try to get on it in the next couple of days.
Comment 2 Zsolt Udvari freebsd_committer freebsd_triage 2024-10-10 06:20:21 UTC
Thanks!
Comment 3 Zsolt Udvari freebsd_committer freebsd_triage 2024-11-30 06:46:18 UTC
Friendly ping.