http://bugs.winehq.org/show_bug.cgi?id=21920
Summary: Regression! Houaiss Portuguese Dictionary won't install in wine 1.1.38. Product: Wine Version: 1.1.38 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mrx@riseup.net
Created an attachment (id=26595) --> (http://bugs.winehq.org/attachment.cgi?id=26595) Houaiss fails to run in wine 1.1.38 (log)
Hello friends... I posted a bug some time ago, but the problem couldn't be solved:
http://bugs.winehq.org/show_bug.cgi?id=20866
I was told it's a regression, and that I should perform a regression test myself. Well, I'd be really interested in helping you guys solve this problem, but I didn't find it so easy to do those regression tests. But I'm willing to learn, if someone could give me a hand. I tried to follow the instructions at http://wiki.winehq.org/RegressionTesting but got stuck when I got to "Compiling Wine". I guess this is very typical. I've never done such a job in my life, and I don't even think I know what exactly compiling a software is although I tried to read a bit about it...)
Ok, In the 1.0.1. version, the software runs quite well, although I occasionally have the bug described in my other thread (see above). In the 1.1.38, I cannot run the software at all, it crashes immediately after you start it. (log attached)
If I try to reinstall the software, it also crashes! (installation log attached).
I wish I could give up using this programm, since it is proprietary, but I don't think there is any other alternative. We don't even have comprehensive ENGLISH electronic dictionaries that are free software, let alone Portuguese ones! I'm sorry to disturb you... the thing is: I need it for my work, so I'd be really thankful if we could solve this thing together.
I found a place where you could download the software so that you could work on the problem, if you think it's worth it:
http://thepiratebay.org/torrent/3371730/Dicionario_Houaiss___serial
http://thepiratebay.org/torrent/3708050/Dic._Eletronico_Houaiss_da_Lingua_Po...
But I suppose you guys aren't allowed...
Anyway, thank you very much for your attention and help!
Zac
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #1 from Zac mrx@riseup.net 2010-03-04 06:19:41 --- Created an attachment (id=26596) --> (http://bugs.winehq.org/attachment.cgi?id=26596) Houaiss fails to install in wine 1.1.38
http://bugs.winehq.org/show_bug.cgi?id=21920
Zac mrx@riseup.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26596|Houaiss fails to install in |Houaiss fails to install in description|wine 1.1.38 |wine 1.1.38 (log)
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #2 from Zac mrx@riseup.net 2010-03-04 08:01:45 --- Created an attachment (id=26597) --> (http://bugs.winehq.org/attachment.cgi?id=26597) trying to compile wine - terminal output
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #3 from Zac mrx@riseup.net 2010-03-04 08:03:59 --- Hi... I was trying to perform the Regression test, so that I could help in some way. According to that tutorial at your site, you have first to compile wine.
Well, when I run 'CC="ccache gcc" ./configure --verbose' I get an error message (see attachment).
When I run 'apt-get build-dep wine wine-dev' again, there's a problem (see attachment) Well, I suppose I am doing something wrong which is quite simple to correct. I apologize, but I've never done this before... Do you think it's worth helping me perform this regression test to the end?
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=21920
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Blocks| |20866 Summary|Regression! Houaiss |Houaiss Portuguese |Portuguese Dictionary won't |Dictionary won't install |install in wine 1.1.38. |
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #4 from Austin English austinenglish@gmail.com 2010-03-04 10:42:11 --- This really isn't the place to ask, you should get help on wine-users/the forum, but are you sure you have ccache/gcc installed?
Try 'sudo apt-get build-dep wine' instead of wine-dev.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #5 from Zac mrx@riseup.net 2010-03-04 11:42:16 --- (In reply to comment #4)
This really isn't the place to ask,
Hi Austin! I'm sorry about that. I'll post these questions at the forum next time.
'apt-get build-dep wine' worked fine!! Thanks a lot! (Although I don't know what exactly I am doing... let's see what's gonna happen) :-/
Anyway, the bugs I posted here persist, and I suppose this is the right place to ask about bugs, isn't it?
Thank you very much for your help!
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #6 from Austin English austinenglish@gmail.com 2010-03-04 12:09:43 --- (In reply to comment #5)
(In reply to comment #4)
This really isn't the place to ask,
Hi Austin! I'm sorry about that. I'll post these questions at the forum next time.
'apt-get build-dep wine' worked fine!! Thanks a lot! (Although I don't know what exactly I am doing... let's see what's gonna happen) :-/
Anyway, the bugs I posted here persist, and I suppose this is the right place to ask about bugs, isn't it?
Yes, about wine bugs. But for general help, use the forum, not bugzilla.
Once you can compile wine, run the regression test to find the patch that causes the problem.
http://bugs.winehq.org/show_bug.cgi?id=21920
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #7 from Wylda wylda@volny.cz 2010-03-06 06:23:16 ---
I have no problem with running this dictionary... In all the following versions, i'm able to run this dictionary:
* 1.1.22, 1.1.30, 1.1.33, 1.1.37, 1.1.38, 1.1.39, 1.1.40
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #8 from Zac mrx@riseup.net 2010-03-07 12:24:29 --- (In reply to comment #7)
I have no problem with running this dictionary... In all the following versions, i'm able to run this dictionary:
- 1.1.22, 1.1.30, 1.1.33, 1.1.37, 1.1.38, 1.1.39, 1.1.40
That's funny, because I couldn't even install it with the 1.1.38 or 1.1.39.
Anyway, I've finally managed to perform the regression test:
Here's the bad commit: 1a3551b630eae2418692f21790fcc7fc973f5366
See attachment and http://forum.winehq.org/viewtopic.php?t=7855&postdays=0&postorder=as... for more details.
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #9 from Zac mrx@riseup.net 2010-03-07 12:26:41 --- Created an attachment (id=26671) --> (http://bugs.winehq.org/attachment.cgi?id=26671) bad_commit_(tested)_program_works
http://bugs.winehq.org/show_bug.cgi?id=21920
Zac mrx@riseup.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #26597|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=21920
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com
--- Comment #10 from Austin English austinenglish@gmail.com 2010-03-07 12:34:50 --- commit 1a3551b630eae2418692f21790fcc7fc973f5366 Author: Dylan Smith dylan.ah.smith@gmail.com Date: Mon Feb 2 01:32:20 2009 -0500
richedit: Use width from EM_SETTARGETDEVICE for wrapping.
The width for EM_SETTARGETDEVICE is used by some applications to set the wrapping width to a certain distance in twips. This can be used even though the target device is ignored.
http://bugs.winehq.org/show_bug.cgi?id=21920
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |richedit
--- Comment #11 from Juan Lang juan_lang@yahoo.com 2010-03-08 10:53:35 --- Setting component to riched20 based on Zac's regression test. (Zac, good work, thanks for doing that for us!)
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #12 from Zac mrx@riseup.net 2010-03-09 20:13:12 --- (In reply to comment #11)
Setting component to riched20 based on Zac's regression test. (Zac, good work, thanks for doing that for us!)
Hi Juan! Thank YOU for all your support. You gave me the inspiration to do it, by being so helpful! I hope it will help solve the problem! Thanks! Z.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #13 from Zac mrx@riseup.net 2010-04-18 23:03:16 --- (In reply to comment #11)
Setting component to riched20 based on Zac's regression test. (Zac, good work, thanks for doing that for us!)
Hi there! Sorry to ask you this, but... should this software be running with the latest wine version now? I'm asking this because since I did the Regression Test, I've been using the wine I compiled, simply because it works so well in comparison to what I had here. These days I tried the latest development version, but the software just didn't install. Same old thing. I don't know... have you finished working on that problem, based on the regression test I had done? Just trying to understand if the problem persists...
Thanks a lot! Zac
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #14 from Juan Lang juan_lang@yahoo.com 2010-04-19 10:34:07 --- (In reply to comment #13)
Sorry to ask you this, but... should this software be running with the latest wine version now? I'm asking this because since I did the Regression Test, I've been using the wine I compiled, simply because it works so well in comparison to what I had here.
Hi Zac, no, I haven't seen any update on this, sorry. (I was hoping Dylan might take a look.) This bug will be marked fixed if it's been fixed in the latest version.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #15 from Zac mrx@riseup.net 2010-04-19 11:27:03 ---
Hi Zac, no, I haven't seen any update on this, sorry. (I was hoping Dylan might take a look.) This bug will be marked fixed if it's been fixed in the latest version.
Hi Juan! Thank you for your reply! Well, ok then... as I said I've been using a compiled wine that's been working fine. That old problem never occured again with it. But of course, I'm still waiting for this to get fixed in the near future. I'll have a look here once in a while to see if the bug is marked 'fixed'. Thanks!
Zac.
Ps: I have another problem with another dictionary (OED). I'm gonna open a new bug report for that though. Thanks, see ya.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #16 from Dylan Smith dylan.ah.smith@gmail.com 2010-05-02 21:12:35 --- (In reply to comment #14)
Hi Zac, no, I haven't seen any update on this, sorry. (I was hoping Dylan might take a look.) This bug will be marked fixed if it's been fixed in the latest version.
Sorry, I haven't had much time to look at this. I did look at my commit but couldn't see how it caused the problem.
It would be very helpful if I could get a backtrace of the crash, and a debug log may also be helpful.
This could be obtained from running wine like this: WINEDEBUG=richedit wine Houaiss.exe 2> richedit.log
Also let me know what version of wine was used by running: wine --version
I would do this myself if it wasn't proprietary software, and didn't want to use an unauthorized copy to work on wine.
Zac, thanks for going through the effort to do the regression test.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #17 from Zac mrx@riseup.net 2010-05-11 10:01:50 ---
Sorry, I haven't had much time to look at this. I did look at my commit but couldn't see how it caused the problem.
Hi Dylan... nice to meet you. Don't worry, I'm sure we're gonna work this out together.
It would be very helpful if I could get a backtrace of the crash, and a debug log may also be helpful.
This could be obtained from running wine like this: WINEDEBUG=richedit wine Houaiss.exe 2> richedit.log
I'll try to do that as soon as I can, and report the results to you.
Also let me know what version of wine was used by running: wine --version
ok, I think I can tell how important that is... I learned my lesson.
I would do this myself if it wasn't proprietary software, and didn't want to use an unauthorized copy to work on wine.
I regret still having to use some proprietary software. It's a shame we don't have professional dictionaries which are free. It's not easy to make one, though.
Zac, thanks for going through the effort to do the regression test.
No big deal. It was kinda fun to learn all those things. Thank YOU for your support!
See you soon! Zac.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #18 from Dylan Smith dylan.ah.smith@gmail.com 2010-05-12 23:00:17 --- Created an attachment (id=27911) --> (http://bugs.winehq.org/attachment.cgi?id=27911) Patch to avoid notifying parent window in improper state.
My current theory is that the regression is only loosely related to my commit, which uncovered the real issue by changing the wrapping behaviour.
The console output that you originally posted ends with the line: caret.c:206: ME_GetCursorCoordinates: Assertion `~para->member.para.nFlags & 0x01' failed.
This indicates that changes were made to the text but wrapping hasn't been performed yet, which doesn't normally happen in the function ME_GetCursorCoordinates. Therefore I believe this probably happens because of some type of callback/notification sent while handling some message. I ruled out the word break procedure since it is currently only used for selection or cursor movement, which left me with checking for notifications (e.g. WM_NOTIFY or WM_COMMAND messages sent to the parent window).
After searching through the code I found that ME_CommitUndo and ME_CommitCoalescingUndo may notify the parent of a selection change and are called in several places before a (direct or indirect) call to ME_WrapMarkedParagraphs. The attached patch is a quick and dirty fix for this bug.
Could you try applying the patch to a recent version of wine and see if it fixes the regression?
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #19 from Dylan Smith dylan.ah.smith@gmail.com 2010-05-12 23:19:13 --- Created an attachment (id=27912) --> (http://bugs.winehq.org/attachment.cgi?id=27912) richedit: Avoid notifying parent window in improper state.
The attached patch is think is the proper way to fix the problem the previous patch worked around. It can be applied with the other patch, and if it works properly then it should prevent the output of FIXME messages saying "ME_SendSelChange had to call ME_WrapMarkedParagraphs".
http://bugs.winehq.org/show_bug.cgi?id=21920
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #20 from Dylan Smith dylan.ah.smith@gmail.com 2010-05-17 10:44:43 --- (In reply to comment #19)
Created an attachment (id=27912)
--> (http://bugs.winehq.org/attachment.cgi?id=27912) [details]
richedit: Avoid notifying parent window in improper state.
Accepted as commit 049cf5aca0a2daafe0ce078757ad60f1a1cadc9e, so please test with latest git checkout rather than patching, or test the next wine release to see if this fixes the bug.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #21 from Dylan Smith dylan.ah.smith@gmail.com 2010-05-19 11:14:58 --- My previous patch caused a regression (see Bug 22758), but the new fix has been accepted as commit dcbc22b98530857266ff950007b29b7a2fbcea1b.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #22 from Nikolay Sivov bunglehead@gmail.com 2010-06-15 02:05:25 --- Dylan, you're finished with that already or something is still pending?
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #23 from Dylan Smith dylan.ah.smith@gmail.com 2010-06-15 02:28:06 --- (In reply to comment #22)
Dylan, you're finished with that already or something is still pending?
I never ran the program, so I can't confirm that I actually fixed the bug. My changes that I think may have fixed the bug have been in wine since before wine-1.2-rc1, so it should be easy to test now.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #24 from Nikolay Sivov bunglehead@gmail.com 2010-06-15 02:41:54 --- Ok, thanks.
Zac, please retest with 1.2-rc3 or current wine, or provide a link to a demo if available.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #25 from Zac mrx@riseup.net 2010-07-02 08:29:54 --- (In reply to comment #24)
Ok, thanks.
Zac, please retest with 1.2-rc3 or current wine, or provide a link to a demo if available.
Hello, sorry for taking so long...
I tried to install the program with wine-1.1.42
I got an error message which is attached here.
I don't really understand all this technical discussion. I don't know how I could help.
Anyway... you've been very helpful.
Thank you very much.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #26 from Zac mrx@riseup.net 2010-07-02 08:32:12 --- Created an attachment (id=29293) --> (http://bugs.winehq.org/attachment.cgi?id=29293) Houaiss-failed-to-install-with-wine-1.1.42
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #27 from Juan Lang juan_lang@yahoo.com 2010-07-04 10:24:38 --- (In reply to comment #25)
Zac, please retest with 1.2-rc3 or current wine
I tried to install the program with wine-1.1.42
Hi Zac, 1.1.42 is too old. Please try with 1.2-rc3 or later, as Dylan asked.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #28 from Zac mrx@riseup.net 2010-07-14 21:45:34 ---
Hi Zac, 1.1.42 is too old. Please try with 1.2-rc3 or later, as Dylan asked.
Hello everyone! (Juan, thanks for your infinite patience!) I was finally able to compile wine 1.2-rc3 from source. I was hoping to find it in the binary packages, since I'm not very familiar with compiling stuff. It took me a while to understand that I would have to download the source and compile. So now I've finally done the job, and I have good news for you. The program installed quite well and seems to be running fine!! Let's wait a few days to see if any serious bugs appear, but I think the old regression was finally solved! By the way, the fonts look so much better.
Dylan, thank you VERY much for you work!
And many thanks to everyone else who helped me with this.
See you around.
Zac
http://bugs.winehq.org/show_bug.cgi?id=21920
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #29 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-15 01:17:14 --- This bug is fixed then. Please open separate bug reports for other problems.
http://bugs.winehq.org/show_bug.cgi?id=21920
--- Comment #30 from Zac mrx@riseup.net 2010-07-15 07:31:28 --- (In reply to comment #29)
This bug is fixed then. Please open separate bug reports for other problems.
Alright. Many thanks!
http://bugs.winehq.org/show_bug.cgi?id=21920
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #31 from Alexandre Julliard julliard@winehq.org 2010-07-30 12:57:48 --- Closing bugs fixed in 1.3.0.