Comments (9)
I don't know how useful this is, but I ran the app through Debug View, and this is the output
[22628] =================================================================
[22628] ==22628==ERROR: AddressSanitizer: access-violation on unknown address 0x000000000000 (pc 0x7ff6b12b7ddc bp 0x000000000000 sp 0x009f7f59e190 T0)
[22628] ==22628==The signal is caused by a READ memory access.
[22628] ==22628==Hint: address points to the zero page.
[22628] #0 0x7ff6b12b7ddb in choose_windows D:\a\xNetHack\xNetHack\src\windows.c:263
[22628] #1 0x7ff6b0d13a4e in main D:\a\xNetHack\xNetHack\sys\windows\windmain.c:537
[22628] #2 0x7ff6b13a838f in WinMain D:\a\xNetHack\xNetHack\win\win32\NetHackW.c:241
[22628] #3 0x7ff6b14aeca1 in invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:102
[22628] #4 0x7ff6b14aebfd in __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
[22628] #5 0x7ff6b14aeabd in __scrt_common_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:330
[22628] #6 0x7ff6b14aed1d in WinMainCRTStartup D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp:16
[22628] #7 0x7ffa9c1026bc (C:\Windows\System32\KERNEL32.DLL+0x1800126bc)
[22628] #8 0x7ffa9e2edfb7 (C:\Windows\SYSTEM32\ntdll.dll+0x18005dfb7)
[22628]
[22628] AddressSanitizer can not provide additional info.
[22628] SUMMARY: AddressSanitizer: access-violation D:\a\xNetHack\xNetHack\src\windows.c:263 in choose_windows
[22628] ==22628==ABORTING
So, the culprit may be something to do with
Line 263 in 7b1ce94
from xnethack.
@ZzZombo: since it's been a while since you opened this issue, I wanted to let you know that this is a helpful report and hasn't been ignored. The problem is that most (all?) of the regular xNetHack contributors are currently limited in their ability to troubleshoot this by a lack of Windows PC access.
Just for some more context for whenever it's possible to dig into this further, what version of xNetHack is this? Is it a precompiled binary from the releases page, or did you build it yourself?
from xnethack.
Version 7.1.0 Windows, built May 26 2022 22:16:23, taken from the official releases page.
from xnethack.
I assume the equivalent GUI program from regular NetHack starts fine?
There's always a possibility that xNetHack 7.1 has some windowport specific bug that was fixed upstream in 3.7 after 7.1's release. I haven't touched any of the nethackW code myself.
from xnethack.
All NetHack executables start and play fine from version 3.4.3 up to inclusive 3.6.6. Could somebody perhaps add crash dump creation or something so that there is anything to send you? Even good old printf
logging scattered all around the window creation code might help to pinpoint when/where it crashes.
from xnethack.
@ZzZombo do you know if this is still happening with the current version of xNetHack? If not this can be closed
from xnethack.
Still an issue.
from xnethack.
External report that seems to be the same: https://www.reddit.com/r/nethack/comments/1cgwwdu/xnethack_does_not_want_to_start/
from xnethack.
The user behind the external report on Reddit linked above says the ASCII/non-tiles Windows executable also crashes, but after character creation (as opposed to the immediate crash on the tiles version), which may or may not be different from the original report from @ZzZombo ("I didn't play much" in the issue here, and really no specifics on Reddit about how long after character creation before it crashes). Another Reddit user has also concurred in the same thread that he's experiencing the same thing.
from xnethack.
Related Issues (20)
- Martial arts buffs: AC bonus
- Martial arts buffs: immunity to leg damage from bad kicks
- Martial arts buffs: disarming on crits
- Martial arts buffs: scale the die size with skill HOT 1
- Martial arts buffs: automatic kicks
- Cancelled ghosts should be incapable of turning invisible HOT 1
- Grudge Patch: leprechauns have a one-way grudge against gold golems and gold dragons HOT 1
- Sitting on the floor should mess up dust/carve engravings
- Wishing for "tripe" should give a tripe ration (currently it doesn't recognize that)
- Wizard's Tower second floor is boring and tedious HOT 7
- No portal on the Plane of Air HOT 1
- Vault Guards HOT 10
- sandbox doesn't know this Lua version HOT 4
- while helplessstuck HOT 2
- Vapors from dropped potion of monster detection can cause panic while levitating.
- Vanilla Text Fragment
- Strong Valkyries "clumsily throw" Mjollnir
- rogues
- Unknown options that previously used to work HOT 2
- Slings HOT 3
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 xnethack.