Git Product home page Git Product logo

Comments (9)

Gremious avatar Gremious commented on July 18, 2024 1

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

if ('+' == winchoices[i].procs->name[0])

from xnethack.

entrez avatar entrez commented on July 18, 2024

@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.

ZzZombo avatar ZzZombo commented on July 18, 2024

Version 7.1.0 Windows, built May 26 2022 22:16:23, taken from the official releases page.

from xnethack.

copperwater avatar copperwater commented on July 18, 2024

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.

ZzZombo avatar ZzZombo commented on July 18, 2024

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.

copperwater avatar copperwater commented on July 18, 2024

@ZzZombo do you know if this is still happening with the current version of xNetHack? If not this can be closed

from xnethack.

ZzZombo avatar ZzZombo commented on July 18, 2024

Still an issue.

from xnethack.

entrez avatar entrez commented on July 18, 2024

External report that seems to be the same: https://www.reddit.com/r/nethack/comments/1cgwwdu/xnethack_does_not_want_to_start/

from xnethack.

entrez avatar entrez commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.