Bug 281947 - games/bsdgames: rogue segmentation fault after reloading saved game
Summary: games/bsdgames: rogue segmentation fault after reloading saved game
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Zsolt Udvari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-09 04:39 UTC by geoff
Modified: 2024-11-30 06:46 UTC (History)
2 users (show)

See Also:
jockl: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.