bugFreeciv - Bugs: bug #21038, Can't enter text with some CJK...

 
 
Show feedback again

bug #21038: Can't enter text with some CJK input methods => replace gtk+ DLLs with version >2.24.10

Submitted by:  taka <taka>
Submitted on:  Mon 19 Aug 2013 09:55:51 AM UTC  
 
Category: client-gtk-2.0Severity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: Christian Prochaska <cproc>Open/Closed: Open
Release: 2.4.0-RC1Operating System: Microsoft Windows
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 17 Mar 2014 01:19:05 PM UTC, comment #16:

The bug report for the crash in comment #12: is at http://gna.org/bugs/index.php?21811

Anonymous
Mon 17 Mar 2014 08:17:06 AM UTC, comment #15:

The crash reported in comment #12: Access Violation
at location 7c82c914 has nothing to do with gtk so I have opened a separate bug report.

Anonymous
Sun 16 Mar 2014 03:46:53 AM UTC, comment #14:

> Sadly still true; and taka's upstream bug remains open (someone
> last poked it on Jan 6).


There's also an comment that 2.24.10 "has a massive memory leak on Windows, mostly fixed in 2.24.14". So I would be quite happy to have some version between 2.24.14 and 2.24.20 bulndled (as we're not aware of freeciv-affecting bugs in those)

Marko Lindqvist <cazfi>
Project Administrator
Sun 02 Mar 2014 04:44:55 AM UTC, comment #13:

This bug also causes a problem that all pages of the help browser becomes completely blank.
It's a extremely serious problem for beginners and need to be corrected as soon as possible.

Anonymous
Sun 16 Feb 2014 09:19:55 AM UTC, comment #12:

Yes - I can now confirm the problem with the Korean system.

My original comment #9 used an English system. You can use the Korean IME without problem with this setting.

But when I changed system settings and opened a Korean language freeciv I ran into problems. I could not type into the chat bar in either English or Korean.

I got this crash a few seconds later

+verbatim
Error occured on Sunday, February 16, 2014 at 18:10:48.

C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe caused an Access Violation at location 7c82c914 in module C:\WINDOWS\system32\ntdll.dll Reading from location 00000004.

Registers:
eax=0003b6a8 ebx=00030000 ecx=01a93c08 edx=00000000 esi=0003b6a0 edi=0003b728
eip=7c82c914 esp=00239bc4 ebp=00239bd0 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246

Call stack:
7C82C914 C:\WINDOWS\system32\ntdll.dll:7C82C914 RtlDeleteCriticalSection
7C82A69B C:\WINDOWS\system32\ntdll.dll:7C82A69B wcslen
77BBCEF6 C:\WINDOWS\system32\msvcrt.dll:77BBCEF6 free
76ED6108 C:\WINDOWS\system32\DNSAPI.dll:76ED6108 Local_GetRecordsForLocalName
76ED6143 C:\WINDOWS\system32\DNSAPI.dll:76ED6143 Local_GetRecordsForLocalName
7C81A19A C:\WINDOWS\system32\ntdll.dll:7C81A19A LdrInitializeThunk
7C830CE8 C:\WINDOWS\system32\ntdll.dll:7C830CE8 RtlSetThreadErrorMode
77E6689B C:\WINDOWS\system32\kernel32.dll:77E6689B GetVolumeInformationW
77E668FD C:\WINDOWS\system32\kernel32.dll:77E668FD ExitProcess
77BCADE4 C:\WINDOWS\system32\msvcrt.dll:77BCADE4 strerror
77BCAEFC C:\WINDOWS\system32\msvcrt.dll:77BCAEFC _initterm
77BCAF52 C:\WINDOWS\system32\msvcrt.dll:77BCAF52 exit
0040598C C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0040598CDwarf Error: mangled line number section.
0044A466 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0044A466Dwarf Error: mangled line number section.
004A2A41 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:004A2A41Dwarf Error: mangled line number section.
0043C442 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0043C442 server_handle_packet ../../../../server/hand_gen.c:42
004040C8 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:004040C8
0043E6B5 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:0043E6B5Dwarf Error: mangled line number section.
00406281 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:00406281
00401C87 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:00401C87Dwarf Error: mangled line number section.
004010DB C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:004010DB
00401178 C:\Program Files\Freeciv-2.4.1-gtk2\freeciv-server.exe:00401178
77E6F1EB C:\WINDOWS\system32\kernel32.dll:77E6F1EB ProcessIdToSessionId
-verbatim

Anonymous
Tue 11 Feb 2014 01:22:54 AM UTC, comment #11:

to comment #9

Did you change your system to Korean when you tested it?

Windows Control Panel - Regional Options - Language Settings
or
"set LANG=ko" in your system environment.

taka <taka>
Mon 10 Feb 2014 01:26:47 AM UTC, comment #10:

So:

  • the standard 2.3.5 Windows package has been built with Gtk 2.24.10, so we expect input method trouble for our original reporter
  • there is a test 2.3.5 build with Gtk 2.16.6 which should be OK wrt this symptom (as 2.3.4 was)
  • (2.4.2 is only available with Gtk 2.24.10, so there's no reason to hope for a fix there.)

It seems pretty likely that it is the Gtk version that's significant (since the original reporter identified a specific Gtk bug), but anyone who's having this trouble could try the two 2.3.5 builds and confirm that it occurs with one but not the other, just to rule out some difference in Freeciv between 2.3.x and 2.4.x.

Jacob Nevins <jtn>
Project Administrator
Sun 02 Feb 2014 08:00:56 AM UTC, comment #9:

I just downloaded Freeciv-2.4.1-win32-gtk2-setup.exe and tested the Korean IME. It works fine. I can type Korean in the chatline.

Anonymous
Sat 01 Feb 2014 10:56:06 AM UTC, comment #8:

> No, I don't have the problem.

Right, so, it sounds like we get to choose between having this bug and bug #21272 in the 2.3.5 release :(

See task #7763 for further discussion.

Jacob Nevins <jtn>
Project Administrator
Fri 31 Jan 2014 01:10:28 PM UTC, comment #7:

to comment #5

No, I don't have the problem.

>Can't enter text with Japanese input method


This bug occurs in CJK input method. (Chinese, Japanese, Korea)

taka <taka>
Mon 27 Jan 2014 10:32:05 PM UTC, comment #6:

I'm also a bit worried that once the updated dlls for Windows are available, they might activate bug #21475 for official builds.

Marko Lindqvist <cazfi>
Project Administrator
Mon 27 Jan 2014 10:29:13 PM UTC, comment #5:

taka, out of interest, do you have the same problem with the 2.3.4 Windows build, which uses a much older Gtk (2.16.6)?

Jacob Nevins <jtn>
Project Administrator
Mon 27 Jan 2014 10:22:58 PM UTC, comment #4:

> Unfortunately, the official GTK+ bundle for Windows [...]
> has not been updated yet.

Sadly still true; and taka's upstream bug remains open (someone last poked it on Jan 6).
So, I'm afraid 2.4.2 will not be able to fix this.

(Which is a shame, because if I'm reading the screenshot right, taka cannot use the chatline at all? Pretty major bug...)

Jacob Nevins <jtn>
Project Administrator
Tue 17 Sep 2013 10:52:40 PM UTC, comment #3:

OK, I reported to Bug 707760 in the GNOME bugzilla.
https://bugzilla.gnome.org/show_bug.cgi?id=707760

I'm looking forward to replacing DLL because I can't
input any commands in chat console if bug is occurred.
The bug makes me unhappy.

taka <taka>
Sun 08 Sep 2013 07:27:31 PM UTC, comment #2:

Unfortunately, the official GTK+ bundle for Windows (http://www.gtk.org/download/win32.php) has not been updated yet.

Christian Prochaska <cproc>
Project AdministratorIn charge of this item.
Wed 21 Aug 2013 10:26:41 PM UTC, comment #1:

For posterity: I had a bit set that we were deliberately using old Gtk2 to avoid some bug; but I think I was thinking of bug #18517, and it seems that the bug went away in newer Gtk2 (not seen with our current 2.24.10). So that's not a barrier to upgrading.

(For completeness, bug #18243 was another Gtk2-version-specific thing, but only on Linux so irrelevant here.)

Jacob Nevins <jtn>
Project Administrator
Mon 19 Aug 2013 09:55:51 AM UTC, original submission:

Windows packages contains the GTK+ for Windows
which version is 2.24.10 in Freeciv 2.4.0-RC1.
There are some bugs in the version 2.24.10.
Can you replace it to more new version?
Current version is 2.24.20 for 2.24 series.

-----

I can't input some texts in Freeciv 2.4.0-RC1
at Japanese input method environment. (see attachment file)

https://bugzilla.gnome.org/show_bug.cgi?id=668239
I think this bug is fixed in 2.24.12 and newer.
(I tested the gtk+ version 2.24.16, it's fine.)

taka <taka>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #18701:  gtkimecontext_bug.png added by taka (95kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cproc (Updated the item)
  • -unavailable- added by taka (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Feb 2014 10:26:13 AM UTCjtnSummaryCan\'t enter text with CJK input methods => replace gtk+ DLLs with version >2.24.10=>Can't enter text with some CJK input methods => replace gtk+ DLLs with version >2.24.10
    Sat 01 Feb 2014 10:56:06 AM UTCjtnSummaryCan\'t enter text with Japanese input method => replace gtk+ DLLs with version >2.24.10=>Can't enter text with CJK input methods => replace gtk+ DLLs with version >2.24.10
    Mon 27 Jan 2014 10:25:49 PM UTCjtnSummaryReplace the gtk+ DLLs to newer version=>Can't enter text with Japanese input method => replace gtk+ DLLs with version >2.24.10
    Wed 21 Aug 2013 10:26:41 PM UTCjtnCategoryclient-win32=>client-gtk-2.0
    Mon 19 Aug 2013 04:48:00 PM UTCcprocAssigned toNone=>cproc
    Mon 19 Aug 2013 09:55:51 AM UTCtakaAttached File-=>Added gtkimecontext_bug.png, #18701
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup