Comments (1)
Got a similar segfault, where rloc_pos_ok sends goodpos the level
global:
Program received signal SIGSEGV, Segmentation fault.
0x081d0d8a in goodpos ()
(gdb) backtrace
#0 0x081d0d8a in goodpos ()
#1 0x081d388d in rloc_pos_ok ()
#2 0x081d3f24 in rloc ()
#3 0x081b890c in shkinit ()
#4 0x081b8bdb in stock_room ()
#5 0x081c7a34 in fill_room ()
#6 0x081cbc72 in sp_level_coder ()
#7 0x081cbf99 in load_special ()
#8 0x0812feec in makemaz ()
#9 0x0812a8df in makelevel ()
#10 0x0812c1e9 in mklev ()
#11 0x080a5db5 in goto_level ()
#12 0x080cc4a0 in prev_level ()
#13 0x080a5632 in doup ()
#14 0x080ecc7b in domove ()
#15 0x080f469b in domovecmd ()
#16 0x0808a697 in do_command ()
#17 0x080675ec in command_input ()
#18 0x080679c1 in nh_command ()
#19 0x08235e59 in nhnet_command ()
#20 0x0805e837 in commandloop ()
#21 0x0805ec68 in rungame ()
#22 0x0804ad5a in mainmenu ()
#23 0x0804ae7c in main ()
I think the new level compiler calls functions that use level
before it's assigned properly as the return value of mklev
, causing these intermittent segfaults. Setting level
pre-emptively in the special level coder should solve this.
from dynahack.
Related Issues (20)
- also in terms of Grunthack enhancements (races?)
- Savegame corruption
- Bypass Thiefbane's two-hand requirement for One-Eyed Sam
- Being confused by an umber hulk does not stop travel
- Allow count with force-fight to limit the number of attacks used in melee
- Being stunned or confused still permits running/travel/autoexplore
- Vorpal Blade, Thiefbane and Mjollnir broken by artifact hit refactoring
- Kicking is stopped by safe_peaceful option
- '^' is not allowed as a shortcut when targeting for travel
- Position descriptions broken on the Plane of Water
- Exploding bags of holding do not affect engulfing monsters
- Ring of sustain ability can be used to exploit strength mod when becoming (un)weak from hunger
- Hero polymorphed into a disintegration dragon can walk through iron bars without affecting them
- Crash on level change, possibly related to multiple leashed pets HOT 3
- corpses rot way too fast sometimes HOT 3
- Polymorphed pet appears in its old form when being detected
- Arc quest nemesis levelports to the home level, crashes the game
- Trouble compiling on windows
- Crashes when loading any game (windows x86) HOT 2
- I like this but some things are strange (enhancement category)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynahack.