[Bug 18101] New: when trying to start a new game, a file called "default.tot" starts to grow in size arbitrarily
http://bugs.winehq.org/show_bug.cgi?id=18101 Summary: when trying to start a new game, a file called "default.tot" starts to grow in size arbitrarily Product: Wine Version: 1.1.18 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: simulcra(a)uchicago.edu CC: simulcra(a)uchicago.edu "default.tot" is a generally problematic file in various infinite engine games (there are various bugs out there, generally related to character creation). For example, for baldur's gate 2, sometimes you can have a problem trying to save a game because of a presence of a 0-byte file called "default.tot" in the tempsave/ directory. Deleting it will allow a save, though the game will create a new 0-byte default.tot file almost immediately (a more permanent hack to fix this is to mkdir tempsave/default.tot). Icewind Dale 2 has a problem with default.tot in which in previous versions of wine, tryign to create a party with more than 1 character at the start will result in a crash, related to a defaul.tot issue (in some versions of wine, an actual error message would pop up). Starting with 1.1.18, the issue has become drastically more severe. *Any* attempt at creating a new party will result in the game creating a default.tot file, and instead of leaving it at 0-bytes, it will begin to grow it arbitrarily while the game is stuck at the loading screen. I've seen it go up to 500 megabytes in size before finally doing a wineserver -k to quite the Icewind Dale 2 process. Doing the Baldur's Gate 2 hack (creating an empty default.tot/ directory to block the reation of the file) lets the game get past its original lock point, but then will lock up anew after the loading screen finishes. I'm currently running some regression tests to see when this bug got introduced, so stand by. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2009-10-29 15:26:17 --- Is this still an issue in current (1.1.32 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 Per Christian Henden <perchrh-wine(a)pvv.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |perchrh-wine(a)pvv.org --- Comment #2 from Per Christian Henden <perchrh-wine(a)pvv.org> 2010-07-21 12:52:22 --- Not reproducible with wine-1.2.0-release. I've followed Chris' instruction and created a party with two custom characters. No crashes or other issues occurred.I suggest closing this ticket. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #3 from GyB <gyebro69(a)gmail.com> 2010-11-06 05:26:32 CDT --- Created an attachment (id=31747) --> (http://bugs.winehq.org/attachment.cgi?id=31747) last 15000 lines of +relay,+seh,+tid log I'm still experiencing the issue with Wine-1.3.6: the game freezes on the loading screen after you created a party (consisting of one or more members) from scratch. The issue doesn't happen when you choose a pre-built party. The default.tot file is always 0 bytes size for me. The workaround found on the AppDb page of the game still works: you have to create an empty directory named default.tot, inside the /temp and /tempsave directories. I attached a trimmed +relay,+seh,+tid log (only the last 15k lines) because the whole log would be 500 MB uncompressed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #4 from GyB <gyebro69(a)gmail.com> 2010-11-06 07:01:14 CDT --- Created an attachment (id=31748) --> (http://bugs.winehq.org/attachment.cgi?id=31748) error message A screenshot showing the error message that the game throws, indicating that something went wrong with that 'default.tot' file. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #5 from Dan Kegel <dank(a)kegel.com> 2010-11-06 12:20:57 CDT --- 15000 lines doesn't seem to be enough... try 250K lines, and run it through rzip, that ought to compress it well. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 GyB <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #31747|0 |1 is obsolete| | --- Comment #6 from GyB <gyebro69(a)gmail.com> 2010-11-06 12:40:56 CDT --- Created an attachment (id=31754) --> (http://bugs.winehq.org/attachment.cgi?id=31754) rzipped +relay,+seh,+tid log (uncompressed 32 MB) Last 500k lines of the log. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #7 from Dan Kegel <dank(a)kegel.com> 2010-11-06 13:08:20 CDT --- The zero-length default.tot looks like a dup of bug 13560. The log shows the curious sequence 0024:Call KERNEL32.CreateFileA(011966a8 "C:\\Program Files\\GOG.com\\Icewind Dale II\\tempsave\\default.tot",80000000,00000003,0df7e634,00000003,00000080,00000000) ret=007fd77d 0024:Ret KERNEL32.CreateFileA() retval=000000e8 ret=007fd77d 0024:Call KERNEL32.SetFilePointer(000000e8,00000000,00000000,00000001) ret=007fd852 0024:Ret KERNEL32.SetFilePointer() retval=00000000 ret=007fd852 0024:Call KERNEL32.SetFilePointer(000000e8,00000000,00000000,00000002) ret=007fd852 0024:Ret KERNEL32.SetFilePointer() retval=00000000 ret=007fd852 0024:Call KERNEL32.SetFilePointer(000000e8,00000000,00000000,00000000) ret=007fd852 0024:Ret KERNEL32.SetFilePointer() retval=00000000 ret=007fd852 0024:Call KERNEL32.SetFilePointer(000000e8,00000000,00000000,00000000) ret=007fd852 0024:Ret KERNEL32.SetFilePointer() retval=00000000 ret=007fd852 0024:Call KERNEL32.CloseHandle(000000e8) ret=007fd8cc ... 0024:Call KERNEL32.lstrlenA(008b9b78 "Compression Failed for File ") ret=007fcf09 The 500K lines weren't enough to show who created the file :-) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 GyB <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #31754|0 |1 is obsolete| | --- Comment #8 from GyB <gyebro69(a)gmail.com> 2010-11-06 13:24:33 CDT --- Created an attachment (id=31757) --> (http://bugs.winehq.org/attachment.cgi?id=31757) rzipped +relay log (68 MB uncompressed) This log contains slightly more than 1 million lines, if that's still not enough, email me Dan, and I gift you a copy of the game (available from GoG.com). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 GyB <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com --- Comment #9 from GyB <gyebro69(a)gmail.com> 2011-12-04 03:43:37 CST --- I re-tested the bug with Wine-1.3.34 on Fedora 16: Icewind Dale 2 still crashes at the exact same point, when creating a party. The game becomes unresponsive and Wine prints err:ntdll:RtlpWaitForCriticalSection section 0x75693340 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0046, blocked by 003a, retrying (60 sec) I made a strange discovery: I can't reproduce the bug if I install and run the game on my external USB hdd. First I thought it has something to do with the mount options. Here's how the partition is mounted where the game crashes: rw,relatime,seclabel,user_xattr,barrier=1,data=ordered The mount options on the external hdd (where the game is working): rw,nosuid,nodev,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered,uhelper=udisks Both partitions are formatted as EXT4. I remounted the partition where the game crashes with nosuid,nodev but that didn't help. But what could be the problem then? All testing was done in a clean wineprefix and with a complete game reinstall. A possible workaround for the party creation bug in IWD2: After you created all the characters you want, do not start the game right away. Instead go back to the main menu, start a new game and import your newly created characters one by one into the party. The game won't crash in this way. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #10 from Dan Kegel <dank(a)kegel.com> 2011-12-04 09:03:05 CST --- Could be a timing issue. You could try reducing the number of cores with taskset -c 1 wine ... or the like and see if that makes any difference. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #11 from GyB <gyebro69(a)gmail.com> 2011-12-04 13:33:02 CST --- (In reply to comment #10)
Could be a timing issue. You could try reducing the number of cores with taskset -c 1 wine ... or the like and see if that makes any difference.
That didn't help either. With 'taskset -c 0' the game hangs at the same point as before, the only difference is that this message isn't showing up in the terminal: err:ntdll:RtlpWaitForCriticalSection section 0x68ebe340 "x11drv_main.c: X11DRV_CritSection" .... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 --- Comment #12 from GyB <gyebro69(a)gmail.com> 2012-07-09 11:50:20 CDT --- Still present in Wine 1.5.8, tested with Icewind Dale 2 Complete. Just as in my previous test, the problem doesn't occur when I install the game on an external usb disk. Out of curiosity (and mainly because both Icewind Dale and Baldur's Gate use the same Infinity game engine), I tried the patches in bug #17956 (attachment #40936 and attachment #40937). Guess what? The patches do fix the problem when creating a new party in IWD 2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=18101 Goblinstomper(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Goblinstomper(a)gmail.com --- Comment #13 from Goblinstomper(a)gmail.com 2012-07-28 17:07:47 CDT --- I tested the GoG version of "Icewind dale 2 complete" with wine 1.5.9, default.tot were at comfortable 3.1kb after loading the first area. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18101 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #14 from Austin English <austinenglish(a)gmail.com> --- (In reply to Goblinstomper from comment #13)
I tested the GoG version of "Icewind dale 2 complete" with wine 1.5.9, default.tot were at comfortable 3.1kb after loading the first area.
Dupe. *** This bug has been marked as a duplicate of bug 13560 *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=18101 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org