http://bugs.winehq.org/show_bug.cgi?id=22311
Summary: PlayOnline viewer corrupts terminal console Product: Wine Version: 1.1.42 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: wylda@volny.cz
PlayOnline viewer corrupts terminal console - console is flooded by binary chars. This was already mentioned in bug 22197, but unfortunately patch attached there does not fix that. The reason is, that does not happen always.
Following steps have highest probability (for me) to reproduce that issue:
1. configure wine to run in windowed mode
2. "wine pol.exe" and _immediatelly_ switch back to console, so wine's window lose focus
3. wait till music begins to play (music is also accompanied by console line "err:d3d:context_apply_draw_buffer >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glDrawBuffers() @ context.c / 1890" --probably unrelated to the problem)
4. when you see above err:d3d press Ctrl+C
If there is no binary mess, than repeat.
Sometimes you get 1,5Mbytes of mess into a console and sometimes nothing (it could still be corrupted but luckily does not display a byte).
http://bugs.winehq.org/show_bug.cgi?id=22311
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://dl.square-enix.co.jp | |/polus/setup.exe
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #1 from Wylda wylda@volny.cz 2010-04-08 09:11:23 --- Created an attachment (id=27280) --> (http://bugs.winehq.org/attachment.cgi?id=27280) valgrind + wine-1.1.42-113-g2c5eee2
Valgrind log showing some "definitely lost:". I can't read such log, but i hope, that you guys can read and understand that ;)
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #2 from Wylda wylda@volny.cz 2010-04-09 05:32:17 ---
Still not fixed in wine-1.1.42-146-g1c02a90.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2010-04-09 05:57:33 --- (In reply to comment #2)
Still not fixed in wine-1.1.42-146-g1c02a90.
I'm not entirely sure if the wording is intentionally like that or not, but something along the lines of "Still present in ..." sounds a lot more friendly than "Still not fixed in ...". The bug hasn't been open for that long.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #4 from Wylda wylda@volny.cz 2010-04-09 06:01:59 --- (In reply to comment #3)
...sounds a lot more friendly
Ok, sorry ;) English is not my native, so bad wording my happen. Fixing my replay template :-) In future, if that would happend again, please excuse some wrong Ctrl+c & Ctrl+v behaviour.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2010-04-09 07:07:18 --- I don't personally mind much, I know most Wine developers and users don't have English as a native language, including me, and I appreciate the testing either way. I could see someone take it the wrong way though.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #6 from Wylda wylda@volny.cz 2010-04-21 14:04:41 ---
This regression (bisected) is still present in wine-1.1.43-191-g7614656.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #7 from Wylda wylda@volny.cz 2010-04-29 06:10:40 ---
This regression (bisected) is still present in wine-1.1.43-347-gb939193.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #8 from Wylda wylda@volny.cz 2010-04-29 06:11:32 ---
Opsss... This is not regression, sorry for confusion.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #9 from Wylda wylda@volny.cz 2010-05-10 14:50:42 ---
Situation maybe got a little bit better in wine-1.1.44-72-g658209b. I was not flooded by binary mess in my console, but instead i got different messages like:
* Exception frame is not in stack limits => unable to dispatch exception. or * Segmentation fault or * wine client error:43: write: Bad file descriptor or * wine client error:32: write: Bad file descriptor
and others numbers behind error:
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #10 from Wylda wylda@volny.cz 2010-05-27 13:44:39 ---
During the test of bug 22294 i noticed, that in some cases i still get segmentation fault. So i tried WINEDEBUG=+heap and found in log:
trace:heap:RtlAllocateHeap (0x110000,70000062,00000005): returning 0x125708
trace:heap:RtlFreeHeap (0x110000,70000062,0x1244c8): returning TRUE
err:heap:HEAP_ValidateInUseArena Heap 0x110000: block 0x125708 tail overwritten at 0x12570d (byte 0/19 == 0x68)
...what to do now?
Tested under wine-1.2-rc1-142-ga72f3f3.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2010-05-27 15:37:42 --- You might try running it under valgrind, sometimes that can help pinpoint a memory bug (if it's in Wine.) Warning: it's not for the faint of heart.
http://bugs.winehq.org/show_bug.cgi?id=22311
--- Comment #12 from Wylda wylda@volny.cz 2010-05-27 19:46:48 --- Created an attachment (id=28339) --> (http://bugs.winehq.org/attachment.cgi?id=28339) +heap & valgrind console log from wine-1.2-rc1-142-ga72f3f3
(In reply to comment #11)
You might try running it under valgrind...
I got one trace and attached(+heap & valgrind). I also noticed, that when running wine-1.2-rc1-142-ga72f3f3 the apps ends up with "Unhandled exception" under valgrind, but this does not happen in 1.1.44+valgrind. So another problem??
Download isn't too big, so maybe someone more experienced could have judge this.
http://bugs.winehq.org/show_bug.cgi?id=22311
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #13 from Wylda wylda@volny.cz 2010-06-20 08:15:15 ---
Few wine versions i can't reproduce the terminal corruption, thus fixed. Now tested under wine-1.2-rc4.
http://bugs.winehq.org/show_bug.cgi?id=22311
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2010-06-25 12:41:32 --- Closing bugs fixed in 1.2-rc5.