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

Developer Builds (for testing)

General discussion

Re: Developer Builds (for testing)

Postby Tvangeste » Thu Sep 19, 2013 10:54 am

Alec wrote: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.

WHEEEEEEEEW :)
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Tvangeste » Thu Sep 19, 2013 10:57 am

@Abs62, let me know which exactly MinGW/GCC version you've used (the download link would probably be the best), so that I could do the same.

Also, which configuration settings for the Qt build you've used?
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Abs62 » Thu Sep 19, 2013 11:17 am

Tvangeste wrote:@Abs62, let me know which exactly MinGW/GCC version you've used

4.8.1 32-bit posix-dwarf-rev5 from MinGW-builds
Tvangeste wrote:(the download link would probably be the best), so that I could do the same.

x32-4.8.1-release-posix-dwarf-rev5
Tvangeste wrote:Also, which configuration settings for the Qt build you've used?

Code: Select all
configure.exe -platform win32-g++-4.6 -debug-and-release -mmx -sse2 -sse -3dnow -opensource -nomake examples -nomake demos -phonon -phonon-backend -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg -qt-style-windowsvista
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Alec » Thu Sep 19, 2013 4:42 pm

I spoke too soon. I've now got the weirdest problem so far.

I'm using Windows 7, 64-bit, with SP1 installed.

I put GoldenDict-1.5.0-RC-170-g7d167ae-full-gcc_4.8.1 on to my hard disk, but configured it to run portably, so it is entirely self-contained. It runs perfectly there, including in Russian.

I then copied the whole thing on to a stick. If I run it portably from there, it works correctly in any language that uses the Latin alphabet.

If I select the "Russian" Group and type the word "house", it correctly shows various dictionaries containing the word "дом".

However, if I click on any instance of the word "дом" in any of the dictionary entries that are displayed, it immediately crashes, with this message in a temporary file called qt_temp.Hp5988 (no suffix):
"GoldenDict has crashed with an unexpected exception.
Exception: Iconv::exIncorrectSeq
Message: Invalid character sequence encountered during character convesion"
{Note the spelling mistake in that last word: that might make it easier to find.}

The same thing happens if I type the word "дом", and also if I type the word "dom" in Latin letters and let the transliteration routine display "дом".

It correctly translates any number of words from English to Russian, but the first Russian to English operation crashes it.

I switched off the Russian transliteration: same result. I conclude that the problem does not lie in the transliteration routine.

I borrowed a different stick, of a different make and age, and put it into a different USB slot, with a different drive letter, and repeated the whole process. Exactly the same errors happened, in exactly the same way. I conclude that this proves that the stick is not at fault.

Neither stick was full: both had at least 2GB of free space, and neither held any other program that was running at the time.

I removed some of my favourite dictionaries, i.e. those which usually come top of the list, and especially the one that always comes top of the list when I type "house". The problem occurred in exactly the same way. I conclude that the dictionaries that I removed were not at fault.

I replaced the AFF and DIC files for Russian: same result.

I changed their names, so the renamed (and now unused) files occupy the same physical space in the device, and I then copied the original AFF and DIC files again, so they are in a new physical location, but in the same directory. Same result. I conclude that the problem is not caused by those files sitting on a bad bit of the device.

It's the wrong end of a long, hard day, and am probably missing something really obvious and wasting everybody's time. If so, I apologize. Advice would be very welcome.

I'm baffled by these questions.

1) Why does the program work *portably* perfectly normally when it is on the hard disk, but crash in this way when it is on a stick, even though exactly the same program files are running exactly the same dictionaries with exactly the same configuration?

2) Why does this happen only when it is trying to translate from Russian, i.e. using Cyrillic characters as input?

3) Am I going mad?

Actually, I might have the answer to that last one ... :-)

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

Re: Developer Builds (for testing)

Postby Abs62 » Thu Sep 19, 2013 5:33 pm

What type of dictionaries do you use? Dsl, bgl, stardict or somethig other?
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Alec » Fri Sep 20, 2013 8:32 am

I use Dsl, Bgl, Stardict and XDXF dictionaries.

I'm currently engaged in testing each type separately.

However, I'm still puzzled about how the same dictionary can work on the hard disk and not on a stick.

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

Re: Developer Builds (for testing)

Postby Tvangeste » Fri Sep 20, 2013 8:35 am

Alec wrote:However, I'm still puzzled about how the same dictionary can work on the hard disk and not on a stick.

Me too! And I tested on both my USB sticks, and it works flawlessly, as usual! :)

Can you also try to remove the index files from GoldenDict\portable\index from USB stick and re-index the dictionaries. Any changes?

Also, just in case, what file system do you use on the sticks? NTFS, FAT, exFat?
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Developer Builds (for testing)

Postby Alec » Fri Sep 20, 2013 9:13 am

Good question!

All the hard disks that I've tried it on are NTFS. It worked on all of them.

The sticks were both FAT32. It didn't work on those.

Hmm.

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

Re: Developer Builds (for testing)

Postby Abs62 » Fri Sep 20, 2013 2:45 pm

@Alec, test this version: goldendict-1.5.0-RC-176-gc7b0452(EXE only).7z - 1.13 MB (gcc 4.8.1)
Launch it with command line key "--log-to-file" and after crash/quit look file "gd_log.txt" in GD config folder.
Abs62
 
Posts: 627
Joined: Mon Jun 14, 2010 11:51 am

Re: Developer Builds (for testing)

Postby Alec » Fri Sep 20, 2013 3:41 pm

After recent experiences, I hesitate to report success, but that latest build does seem to work both on hard disks and on the two sticks that I happen to have with me.

I've only been able to test it for a short time, but I tried all the techniques that made previous builds crash, and this build survived.

I'll test it further over the weekend on XP, and then on Monday I can try it on the 32-bit version of Windows 7 and on {expletive deleted} Vista.

Many thanks!

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 5 guests