New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Developer Builds (for testing)

General discussion

Re: Developer Builds (for testing)

Postby Abs62 » Tue Sep 17, 2013 4:30 pm

Alec wrote:On three occasions, the hang/crash occurred when I was moving the cursor within the main window of GD itself.

Scan popup is turned on? Key modifiers enabled?
Alec wrote:Should I go on testing Build 158, or try the later builds, which appeared after I started writing this message?

Try to test both versions from my post above. It is same code compiled by different gcc versions.
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Tvangeste » Tue Sep 17, 2013 8:40 pm

Abs62 wrote:goldendict-1.5.0-RC-168-g0422cc5(EXE only).7z - 1.08 MB - latest exe compiled by gcc 4.4.0, for using with last EA build.
GoldenDict-1.5.0-RC-168-g0422cc5-full-gcc_4.8.1.7z - 16.57 MB - same source compiled by gcc 4.8.1, full complect with all libraries.

I was able to reproduce garbage in the articles in the first version rather quickly (plus I've seen a crash as well). To reproduce I used the classic UI mode (the search bar and suggestion list are in the sidebar), picked up some popular word, like "go" or "do", and then quickly went down and up through the entire suggestion list. Usually it take 1-2 trips to start seeing the garbage.
Image

With the second version, I haven't been able to reproduce the problem. BUT, the overall UI looks very ugly in this version, like Windows 2000 classic mode or something like that, not Windows 7. Did you compile Qt 4.8.5 yourself? Maybe a better option would be to use GCC 4.6.* (since 4.6.* should be fully compatible with 4.4 libs) and use the official Qt libs (compiled with GCC 4.4), that seems to be a good combination that worked reliably well for me for quite some time already.
Image
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Abs62 » Tue Sep 17, 2013 9:35 pm

Tvangeste wrote:I was able to reproduce garbage in the articles in the first version rather quickly (plus I've seen a crash as well). To reproduce I used the classic UI mode (the search bar and suggestion list are in the sidebar), picked up some popular word, like "go" or "do", and then quickly went down and up through the entire suggestion list. Usually it take 1-2 trips to start seeing the garbage.

Hm. I have tried this method many times but without such effect.
Tvangeste wrote:With the second version, I haven't been able to reproduce the problem. BUT, the overall UI looks very ugly in this version, like Windows 2000 classic mode or something like that, not Windows 7.

Under XP I don't see any differents. Under Win7 I'll look tomorrow.
Tvangeste wrote:Did you compile Qt 4.8.5 yourself?

Yes.
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Abs62 » Wed Sep 18, 2013 6:16 am

@Tvangeste, I have test GD with Qt-gcc 4.8.1 under Win7/64 and also found no differents in comparison with gcc-4.4.0 version. What exactly wrong with UI?
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Tvangeste » Wed Sep 18, 2013 6:20 am

Abs62 wrote:@Tvangeste, I have test GD with Qt-gcc 4.8.1 under Win7/64 and also found no differents in comparison with gcc-4.4.0 version. What exactly wrong with UI?


Compare:

Image vs Image
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Abs62 » Wed Sep 18, 2013 7:18 am

A. I don't use very ugly Win7 modern interfaces, I prefer strict classic theme. ;)
But I'll look anyway.
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Tvangeste » Wed Sep 18, 2013 11:45 am

Abs62, some more data points w.r.t. garbage in articles.

1. Compiled the latest GD with GCC 4.4. Was able to reproduce the garbage within 2-3 mins of testing.

2. Compiled the latest GD with GCC 4.6.3. Not able to reproduce the garbage.

3. Compiled with Visual Studio 2012. No garbage as well.

So it does look like GCC-4.4 related bug.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Abs62 » Wed Sep 18, 2013 2:44 pm

Tvangeste wrote:So it does look like GCC-4.4 related bug.

Not only. GCC 4.4 definitely have some bugs (я ещё не забыл, как от простого добавления в класс Config поля любого типа программа переставала запускаться на Win7/64), but today I have reproduce crash on unhandled exception with gcc 4.8 build. And fix it (I hope).

Next builds for testing:
goldendict-1.5.0-RC-170-g7d167ae(EXE only).7z - 1.08 MB - gcc 4.4.0, for using with last EA build.
GoldenDict-1.5.0-RC-170-g7d167ae-full-gcc_4.8.1.7z - 16.63 MB - gcc 4.8.1, full complect with all libraries.

Window styles must work now in gcc-4.8 build. Yesterday I just don't set "-qt-style-windowsvista" key while configure Qt.
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Tvangeste » Wed Sep 18, 2013 7:21 pm

Abs62 wrote:goldendict-1.5.0-RC-170-g7d167ae(EXE only).7z - 1.08 MB - gcc 4.4.0, for using with last EA build.
GoldenDict-1.5.0-RC-170-g7d167ae-full-gcc_4.8.1.7z - 16.63 MB - gcc 4.8.1, full complect with all libraries.


I was able to bring the first build to show me some garbage in the articles, but it didn't crash (may be just a coincidence, I didn't try hard enough).

The second build worked with no issues no matter how hard I tried.

I think we are established that GCC-4.4 based builds have some issue (race condition or similar).
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Alec » Thu Sep 19, 2013 10:42 am

GoldenDict-1.5.0-RC-170-g7d167ae-full-gcc_4.8.1.7z seems to have solved the problems that I was experiencing. I haven't managed to reproduce any of them with this version.

Well done!

Alec.
Alec
 
Posts: 57
Joined: Thu Apr 15, 2010 2:28 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 6 guests