https://bugs.winehq.org/show_bug.cgi?id=48694
Bug ID: 48694 Summary: The Bat! (64bit) crashes after start Product: Wine Version: 5.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mywine@schiermeier-it.de Distribution: ---
Created attachment 66563 --> https://bugs.winehq.org/attachment.cgi?id=66563 Backtrace from wines debugger app.
Starting the mail program "The Bat!" v9.1 in 64bit leads to a crash. The installation works flawless.
The 32bit version works.
https://bugs.winehq.org/show_bug.cgi?id=48694
Joerg Schiermeier mywine@schiermeier-it.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian URL| |https://www.ritlabs.com/dow | |nload/files3/the_bat/thebat | |_64_9-1.msi
--- Comment #1 from Joerg Schiermeier mywine@schiermeier-it.de --- Download links for "The Bat!": 64bit version - this was crashing: https://www.ritlabs.com/download/files3/the_bat/thebat_64_9-1.msi 32bit version - this is working: https://www.ritlabs.com/download/files3/the_bat/thebat_32_9-1.msi
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #2 from Joerg Schiermeier mywine@schiermeier-it.de --- Created attachment 66564 --> https://bugs.winehq.org/attachment.cgi?id=66564 Logging from my console.
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #4 from Joerg Schiermeier mywine@schiermeier-it.de --- For the record: I use these packages from this location: https://dl.winehq.org/wine-builds/debian/dists/bullseye/main/binary-amd64/
wine-devel 5.3~bullseye amd64 wine-devel-amd64 5.3~bullseye amd64 wine-devel-dbg:amd64 5.3~bullseye amd64 wine-devel-dev 5.3~bullseye amd64 wine-devel-i386:i386 5.3~bullseye i386 winehq-devel 5.3~bullseye amd64
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #5 from Joerg Schiermeier mywine@schiermeier-it.de --- I just updated my local git repository with wines code and I got again a crash after starting the "The Bat!" exe file:
"configure" was done with: ./configure --verbose --disable-tests --enable-win64
and "make" with: make -j 6
The creation of a new WINEPREFIX works without errors. But than: crash.
If anybody gets clues about a regression in wines code itself, please inform me - I will do a regression testing.
Thank you.
btw: Ritlabs, the company behind "The Bat", also changed something inside "The Bat!" last weeks. Hopefully we don't have to hit two moving targets...
More infos are available here: https://www.mail-archive.com/tbbeta@thebat.dutaint.com/
And they released just new versions: https://www.mail-archive.com/tbbeta@thebat.dutaint.com/msg112537.html
32bit works, 64bit crashes.
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi Joerg,
I compiled my wine with CFLAGS="-O0"
Could you try if that helps anything? i
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #7 from Joerg Schiermeier mywine@schiermeier-it.de --- (In reply to Louis Lenders from comment #6)
I compiled my wine with CFLAGS="-O0"
Yes, this does the trick!
I just tested again with this compilation flag and now TheBat! 64bit is running!
https://bugs.winehq.org/show_bug.cgi?id=48694
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|The Bat! (64bit) crashes |The Bat! (64bit) crashes |after start |right after start (starts | |fine with wine compiled | |with CFLAGS=-O0 though)
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Joerg Schiermeier from comment #7)
(In reply to Louis Lenders from comment #6)
I compiled my wine with CFLAGS="-O0"
Yes, this does the trick!
Ok , i change the title of bugreport then.
Hopefully someone with more knowledge could look into this to find root cause of this crash
https://bugs.winehq.org/show_bug.cgi?id=48694
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #9 from Paul Gofman gofmanp@gmail.com --- (In reply to Louis Lenders from comment #3)
Maybe Paul could have a look at it as he investigated similar bugs IRC (?)
I could not reproduce the crash. I've installed application referenced version. I don't have Debian installed to test that, I was testing on Fedora and tried the following Wine executables so far:
- My local build (with -O2 of course); - Winhq Fedora build; - 64 bit Debian binaries referenced in Comment #4, right on Fedora.
All the variants above allowed me to start the application without crash. It might be hard to guess the reason for such sort of issue without reproducing it. Is it reproducible with trial version, clean Wine prefix? Does it crash right during starting the program, or does it show some Window and I have to do something specific in them?
Could someone please attach WINEDEBUG=+relay,+loaddll compressed log from mainstream Wine (not Staging) binaries with the crash reproduced (uncut, from start to end)?
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #10 from Paul Gofman gofmanp@gmail.com --- (In reply to Paul Gofman from comment #9)
Could someone please attach WINEDEBUG=+relay,+loaddll compressed log from mainstream Wine (not Staging) binaries with the crash reproduced (uncut, from start to end)?
Sorry, WINEDEBUG=+relay,+seh,+loaddll
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #11 from Joerg Schiermeier mywine@schiermeier-it.de --- Hello Paul!
To put the things in right order: The debian package from winehq only leads me to this error.
Following the guide how to report bugs (https://wiki.winehq.org/Bugs#How_to_report) I compiled wine from source (from wines git repository) and got also this error. So it seems to be independent from a used distribution.
If you want to repuduce this bug please compile wine from source.
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #12 from Paul Gofman gofmanp@gmail.com --- (In reply to Joerg Schiermeier from comment #11)
Hello Paul!
If you want to repuduce this bug please compile wine from source.
Sorry if its been not entirely clear, but my comment #9 implies I already did that. As I tried to explain, it is not reproducible here with either Winhq prebuilt binaries nor with locally compiled version.
So if you want to give me a chance to solve this bug, could you please provide what I ask for in Comment #9, Comment #10?
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #13 from Joerg Schiermeier mywine@schiermeier-it.de --- Created attachment 66609 --> https://bugs.winehq.org/attachment.cgi?id=66609 Logging of wines start to bring up TheBat! 64bit
Here is the log done with "export WINEDEBUG=+relay,+seh,+loaddll" set.
Before I cleaned my wine prefix with: "rm -fR ~/.wine" and than I created a new prefix with "/path/to/wine/source/wine /path/to/wine/source/programs/wineboot/wineboot.exe -fu"
The start command line was: "/path/to/wine/source/wine &> ~/Downloads/thebat64.log ./thebat64.exe" inside The Bat!'s program folder.
The logfile thebat64.log is compressed with gz (and tared).
When it crash it showed the crash dialog where you can choose either to write a log which leads to the log file "Backtrace from wines debugger app" I uploaded here before or to close. I choosed close.
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #14 from Joerg Schiermeier mywine@schiermeier-it.de --- Created attachment 66610 --> https://bugs.winehq.org/attachment.cgi?id=66610 Logging of wines start to bring up TheBat! 64bit - clicking backtrace.
Same as attachment 66609 but now with backtrace from debugger app on.
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #15 from Joerg Schiermeier mywine@schiermeier-it.de --- Created attachment 66611 --> https://bugs.winehq.org/attachment.cgi?id=66611 New backtrace from wines debugger app.
Backtrace from wines debugger app - now with "WINEDEBUG=+relay,+seh,+loaddll" set.
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #16 from Paul Gofman gofmanp@gmail.com --- Created attachment 66614 --> https://bugs.winehq.org/attachment.cgi?id=66614 Test patch
(In reply to Joerg Schiermeier from comment #13)
Created attachment 66609 [details] Logging of wines start to bring up TheBat! 64bit
Here is the log done with "export WINEDEBUG=+relay,+seh,+loaddll" set.
Thanks, that helps. Now I could reproduce the crash after setting my timezone to the one which has daylight saving time (which is probably your case), more exactly, TZ=America/New_York. It seems that if you don't have such a time zone set it doesn't crash like it was in my case.
Does the attached patch help (with Wine built with -O2 of course, the way the problem was reproducible)?
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #17 from Joerg Schiermeier mywine@schiermeier-it.de --- Hi Paul!
Success! Your patch is working! "The Bat!" 64bit is now starting like expected.
https://bugs.winehq.org/show_bug.cgi?id=48694
Joerg Schiermeier mywine@schiermeier-it.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll
https://bugs.winehq.org/show_bug.cgi?id=48694
Joerg Schiermeier mywine@schiermeier-it.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|The Bat! (64bit) crashes |The Bat! (64bit) crashes |right after start (starts |right after start |fine with wine compiled | |with CFLAGS=-O0 though) |
https://bugs.winehq.org/show_bug.cgi?id=48694
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=48694
--- Comment #18 from Paul Gofman gofmanp@gmail.com --- Should be fixed by https://source.winehq.org/git/wine.git/commit/3f0cbf4691450a3acfbec1aa48e084....
https://bugs.winehq.org/show_bug.cgi?id=48694
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |3f0cbf4691450a3acfbec1aa48e | |08475cb9d7196
--- Comment #19 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Paul Gofman from comment #18)
Should be fixed by https://source.winehq.org/git/wine.git/commit/ 3f0cbf4691450a3acfbec1aa48e08475cb9d7196.
Yes, it`s fixed for me too. Starts fine now for me in current git compiled with CFLAGS="-O2". I checked that when I revert the above commit the program crashes again right away for me.
Thanks Paul!
https://bugs.winehq.org/show_bug.cgi?id=48694
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.4.
https://bugs.winehq.org/show_bug.cgi?id=48694
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=48694
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #21 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.1.