Bug 62304
Summary: | (Japanese i18n) kterm segmentation fault | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Warren Togami <wtogami> |
Component: | kterm | Assignee: | Nakai <ynakai> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | skipjack-beta2 | CC: | petersen, tagoh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-17 09:16:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 61590 |
Description
Warren Togami
2002-03-29 13:38:43 UTC
Re-tested in Skipjack beta 2 Run "LANG=ja_JP kterm" and it crashes when you SHIFT-SPACE. Run "LANG=ja_JP.eucJP kterm" and it works properly. I can't reproduce this. Re-tested again. Now when I run "LANG=ja_JP kterm", it crashes when I hit SHIFT-SPACE five times. Hmmm, I can't reproduce this with kinput2, skkinput, or no XIM client, no matter how many time I press shift-space. To original reporter, You need to set XMODIFIERS=@im=kinput2 for workaround. Basically when you start X, the appropriate XMODIFIERS is set by /etc/X11/xinit/xinitrc.d/xinput. but I guess probably your environment is set XMODIFIERS=@im=none. Xlibs has this really cause. Here's ltrace log: XPending(0x08072ad8, 0x08085488, 0xbffed5f8, 0x40150a1d, 0x08073098) = 1 XNextEvent(0x08072ad8, 0xbffed5d0, 0xbffed5f8, 0x40150a1d, 0x08073098) = 0 XtDispatchEvent(0xbffed5d0, 0xbffed5d0, 0xbffed5f8, 0x40150a1d, 2 <unfinished ...> XmbLookupString(0x0809b348, 0xbffed5d0, 0xbffed291, 256, 0xbffed15c) = 0 XFlush(0x08072ad8, 0, 0xbffed658, 0x0804fa7c, 8) = 1 select(5, 0x0806d3a0, 0x0806d420, 0, 0) = 1 XPending(0x08072ad8, 0xbffed5d0, 0xbffed5f8, 0x40150a1d, 2) = 1 XNextEvent(0x08072ad8, 0xbffed5d0, 0xbffed5f8, 0x40150a1d, 2) = 0 XtDispatchEvent(0xbffed5d0, 0xbffed5d0, 0xbffed5f8, 0x40150a1d, 2 <unfinished ...> XUnregisterIMInstantiateCallback(0x08072ad8, 0, 0, 0, 0x08060ad0) = 1 XIMOfIC(0x0809b348, 0, 0, 0x08072ad8, 0) = 0x0809b0c8 XCloseIM(0x0809b0c8, 0, 0, 0x08072ad8, 0) = 1 XtMalloc(1, 0x08060ad0, 0, 0x40169817, 0x08072ad8) = 0x0809b778 XSetLocaleModifiers(0x0809b778, 0, 0, 0x08072ad8, 0x0808dad0) = 0x08090e88 XtFree(0x0809b778, 0, 0, 0x08072ad8, 0x0808dad0) = 0x0809b780 XRegisterIMInstantiateCallback(0x08072ad8, 0, 0, 0, 0x08060ad0 <unfinished ...> --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ AFAIK this is well-known bug, and I don't think kterm has this problem, because of this problem may occurs with a lot of applications depended on Xlibs. Thanks, I understand now. kterm with both ja_JP and jaJP.eucJP does indeed segfault only if XMODIFIERS="@im=none". Is this Xlibs bug potentially dangerous in any other instances? Shouldn't the component of this report be changed? Well, no. I applied a patch to avoid this problem. This problem should be fixed in kterm-6.2.0-28. this version of kterm should not crashes whether XMODIFIERS is set or not. but please note that the appropriate XMODIFIERS is needed for using kinput2. |