http://bugs.winehq.org/show_bug.cgi?id=58322
Bug ID: 58322 Summary: wine: Unhandled page fault on read access to 0000000000000000 Product: Wine Version: 10.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jesperpedersen.db@gmail.com Distribution: ---
Created attachment 78680 --> http://bugs.winehq.org/attachment.cgi?id=78680 NPE log
Hi,
I'm getting
wine: Unhandled page fault on read access to 0000000000000000 at address 00006FFFFEA40FB0 (thread 013c), starting debugger...
and the winedbg doesn't show any details.
Attached in the WINEDEBUG=warn+all log (it occurs at line 4217).
Any hints on debugging this further would be great !
Thanks for creating Wine !
Best regards, Jesper
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #1 from Jesper Pedersen jesperpedersen.db@gmail.com --- I forgot - this is from the Fedora 42 repository, so
wine-staging-10.9-1.1.x86_64 winehq-staging-10.9-1.1.x86_64 wine-staging-debugsource-10.9-1.1.x86_64 wine-staging-debuginfo-10.9-1.1.x86_64
http://bugs.winehq.org/show_bug.cgi?id=58322
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- What application are you trying to run? Is there a free download available?
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #3 from Jesper Pedersen jesperpedersen.db@gmail.com --- Its https://shiningrocksoftware.com/game/ - an old game, and there is no free version available
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #4 from Jesper Pedersen jesperpedersen.db@gmail.com --- https://appdb.winehq.org/objectManager.php?sClass=application&iId=15893
http://bugs.winehq.org/show_bug.cgi?id=58322
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|wine: Unhandled page fault |Banished! crashes |on read access to | |0000000000000000 |
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #5 from Jesper Pedersen jesperpedersen.db@gmail.com --- I got wine/master compiled, so wine-10.9-40-gd17d9490c6d now. Same issue.
Now, I have to figure how I help to track this down - any pointers would be greatly appreciated
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #6 from Jesper Pedersen jesperpedersen.db@gmail.com --- Created attachment 78683 --> http://bugs.winehq.org/attachment.cgi?id=78683 Startup issue
I guess this is unrelated, but the application doesn't until after the 'q'. Separate issue ?
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #7 from Jesper Pedersen jesperpedersen.db@gmail.com --- Created attachment 78684 --> http://bugs.winehq.org/attachment.cgi?id=78684 winedbg ?
http://bugs.winehq.org/show_bug.cgi?id=58322
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #8 from Eric Pouech eric.pouech@gmail.com --- in #1, did you attach the full output (including winedbg?) could be that you're facing two different issues: - one crash - then another while getting debugging information
in #6 & 7 can you share how you compiled wine? (config options, compiler version...)
the backtrace looks quite strange: - the invalid memory errors shouldn't happen as most of the offending variables are on stack, - the dwarf error don't make sense: they're not even part of dwarf standard) - CODEVIEW entry looks suspicious too
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #9 from Jesper Pedersen jesperpedersen.db@gmail.com --- WINEDEBUG=warn+all wine Application-steam-x64.exe >> /tmp/gd17d9490c6d.txt 2>&1
Now, line 17402 (gd17d9490c6d.txt) says,
wine: Unhandled division by zero at address 00006FFFFB88EB02 (thread 0024), starting debugger...
export CC=clang ./configure --prefix=/usr/local/packages/wine-master --enable-win64 --enable-debug make clean && make -j12 sudo make install
clang --version clang version 20.1.5 (Fedora 20.1.5-1.fc42) Target: x86_64-redhat-linux-gnu Thread model: posix InstalledDir: /usr/lib64/llvm20/bin Configuration file: /etc/clang/x86_64-redhat-linux-gnu-clang.cfg
Thanks for helping with this !
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #10 from Jesper Pedersen jesperpedersen.db@gmail.com --- Created attachment 78685 --> http://bugs.winehq.org/attachment.cgi?id=78685 A warn+all from rev gd17d9490c6d
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #11 from Jesper Pedersen jesperpedersen.db@gmail.com --- I tried
export CC=clang export CXX=clang++ export CFLAGS=" -O0 -g -fno-omit-frame-pointer -fsanitize=address -fno-sanitize=null -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize-recover=all -fsanitize-recover=address -fsanitize-address-use-after-scope -fno-sanitize=alignment" export CXXFLAGS=" -O0 -g -fno-omit-frame-pointer -fsanitize=address -fno-sanitize=null -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize-recover=all -fsanitize-recover=address -fsanitize-address-use-after-scope -fno-sanitize=alignment" export LDFLAGS="-fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize=null -fno-sanitize=alignment" ./configure --prefix=/usr/local/packages/wine-master --enable-win64
But 'configure' doesn't work with that :(
autoconf --version autoconf (GNU Autoconf) 2.72
Is there a way to force '-O0 -g -fno-omit-frame-pointer' since there is no --enable-debug ? Is there a way to use sanitize ?
Thanks in advance for feedback !
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #12 from Eric Pouech eric.pouech@gmail.com --- actually, there's a first exception 0024:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised then app likely loads some debug information which in turn (likely) generate another execption
integration of sanitize is WIP, so don't hold your breath on that one
from #10 this should work (you need also to add the same flags for CFLAGS & LDFLAGS to use it for .so files compilation) CC=clang ./configure --enable-win64 --enable-silent-rules CROSSCFLAGS="-O0 -fno-omit-frame-pointer" CROSSLDFLAGS="-fno-omit-frame-pointer"
the debug output in #10 looks cleaner than what you got in (#1)
you can try to run your app from winedbg so see if you can get a better stack trace
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #13 from Jesper Pedersen jesperpedersen.db@gmail.com --- Created attachment 78687 --> http://bugs.winehq.org/attachment.cgi?id=78687 ntdll: Unhandled attr op
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #14 from Jesper Pedersen jesperpedersen.db@gmail.com --- Created attachment 78688 --> http://bugs.winehq.org/attachment.cgi?id=78688 dbghelp stacktrace
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #15 from Jesper Pedersen jesperpedersen.db@gmail.com --- Hi Eric,
The ntdll is upon startup (pressed 'c'), game starts, crashes, press "Show details" -> nothing, and then it is the dbghelp ('bt').
Any ideas would be very helpful :)
Thanks for your help so far !
http://bugs.winehq.org/show_bug.cgi?id=58322
--- Comment #16 from Jesper Pedersen jesperpedersen.db@gmail.com --- Created attachment 78693 --> http://bugs.winehq.org/attachment.cgi?id=78693 Mini dump generated by Banished itself
I don't know if this is useful or not