shuaiqingli / fcitx

Automatically exported from code.google.com/p/fcitx
GNU General Public License v2.0
1 stars 0 forks source link

fcitx DBus模式在64位系统下失效 #170

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
如题,64位系统下,使用kimpanel,正确的fcitx配置,只要一调��
�fcitx,fcitx进程就会退出,在
控制台上得到的信息是信号11

就因为这个,我还误解了KDEMOD,因为之前我的Arch是32位的,ki
mpanel+fcitx工作的很OK,后来
KDEMOD在4.4.1的时候在组件中加入了kimpanel,所以,我就重装了�
��统,顺便换成64位的了,结果
kimpanel+fcitx就不可用了。

我以为是KDEMOD的原因,今天又重新装了一次系统,换KDE,还��
�64位,还是一样的毛病,所以,这样看
来,应试是64位系统的原因。

我不想再去试一把KDEMOD的32位了,我想应该是OK的。

好吧,我承认Arch不用重装系统,承认我有洁癖,自己愿意折�
��,哈哈。

Original issue reported on code.google.com by Alpha...@gmail.com on 12 Mar 2010 at 6:58

GoogleCodeExporter commented 8 years ago
有时间的话,可以帮忙调试吗?……希望帮忙定位一下错误��
�置

方法如下:
下载源代码,解压
执行:
CFLAGS="-g3 -O0" ./configure --prefix=$HOME/dbg-fcitx  
(先英文O和后数字0)
make
make install
这样就安装到$HOME/dbg-fcitx下面了
然后ctrl+alt+f1到终端,登录用户,执行
export DISPLAY=:0
gdb ~/dbg-fcitx/bin/fcitx
进入gdb之后输入r -D
如果fcitx挂掉会在错误位置停下

(说起来我这里xterm也可以直接调试……你如果无法在xterm内�
��动输入法,你也可以不用进终端)

Original comment by wen...@gmail.com on 12 Mar 2010 at 9:33

GoogleCodeExporter commented 8 years ago
等我有空再装一台64位的系统,会帮着试一下的,因为实在是
受不了用KDE而用不了kimpanel(其
实是fcitx自己的Tray在KDE下太丑了,不居中,背景不透明……��
�,所以,我又重装了系统了,正
好试一下KDEMOD 32位kimpanel+fcitx是不是真的没问题。

Original comment by Alpha...@gmail.com on 14 Mar 2010 at 11:18

GoogleCodeExporter commented 8 years ago
确证过了,32位的KDEMOD的kimpanel+fcitx是可以正常工作的,看来�
��确是64位的问题。

Original comment by Alpha...@gmail.com on 15 Mar 2010 at 1:55

GoogleCodeExporter commented 8 years ago
64位平台我已经架设好了,可是,按你上面提到的方法,我在
终端里面(konsole)运行dbg,然后用程序调用fcitx来
输出(kwrite),然后,kwrite就死掉了,konsole也死掉了,dbg的�
��出在konsole上面,但是不全,因为翻页翻
上去了,我只能看到当前这一页。
有没有办法让这些输出定向到一个文件,然后,我可以把文��
�发给你,或者贴到这里。

Original comment by Alpha...@gmail.com on 15 Mar 2010 at 9:34

GoogleCodeExporter commented 8 years ago
请帮忙看看,谢谢
archlinux x86_64
fcitx svn312
kdeplasma-addons-applets-kimpanel  4.4.1
使用DBus接口=1

$./autogen.sh
$ CFLAGS="-g3 -O0" ./configure --prefix=$HOME/dbg-fcitx --enable-xft 
--enable-dbus
--enable-recording
....
$ gdb ~/dbg-fcitx/bin/fcitx
GNU gdb (GDB) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/kafka/dbg-fcitx/bin/fcitx...done.
(gdb) r -D
Starting program: /home/kafka/dbg-fcitx/bin/fcitx -D
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff438b710 (LWP 21868)]
[New Thread 0x7ffff3b8a710 (LWP 21869)]
kwrite(21858)/Kate (Document) KateView::slotGotFocus: KateView::slotGotFocus
*** glibc detected *** /home/kafka/dbg-fcitx/bin/fcitx: double free or 
corruption
(!prev): 0x00000000009dafc0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71876)[0x7ffff6b33876]
/lib/libc.so.6(cfree+0x6c)[0x7ffff6b385ac]
/home/kafka/dbg-fcitx/bin/fcitx[0x429f45]
/home/kafka/dbg-fcitx/bin/fcitx[0x40661c]
/home/kafka/dbg-fcitx/bin/fcitx[0x426df1]
/home/kafka/dbg-fcitx/bin/fcitx[0x43b372]
/home/kafka/dbg-fcitx/bin/fcitx[0x43c655]
/home/kafka/dbg-fcitx/bin/fcitx[0x433965]
/home/kafka/dbg-fcitx/bin/fcitx[0x40a285]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7ffff6ae0b6d]
/home/kafka/dbg-fcitx/bin/fcitx[0x403ca9]
======= Memory map: ========
00400000-00453000 r-xp 00000000 08:01 131188                            
/home/kafka/dbg-fcitx/bin/fcitx
00652000-0065d000 rw-p 00052000 08:01 131188                            
/home/kafka/dbg-fcitx/bin/fcitx
0065d000-01ffd000 rw-p 00000000 00:00 0                                  [heap]
7fffec000000-7fffec021000 rw-p 00000000 00:00 0 
7fffec021000-7ffff0000000 ---p 00000000 00:00 0 
7ffff314a000-7ffff3160000 r-xp 00000000 08:01 787470                    
/usr/lib/libgcc_s.so.1
7ffff3160000-7ffff335f000 ---p 00016000 08:01 787470                    
/usr/lib/libgcc_s.so.1
7ffff335f000-7ffff3360000 rw-p 00015000 08:01 787470                    
/usr/lib/libgcc_s.so.1
7ffff338a000-7ffff338b000 ---p 00000000 00:00 0 
7ffff338b000-7ffff3b8b000 rw-p 00000000 00:00 0 
7ffff3b8b000-7ffff3b8c000 ---p 00000000 00:00 0 
7ffff3b8c000-7ffff45ed000 rw-p 00000000 00:00 0 
7ffff45ed000-7ffff4ae3000 r--p 00000000 08:01 1059217                   
/usr/share/fonts/wenquanyi/wqy-microhei/wqy-microhei.ttc
7ffff4ae3000-7ffff5133000 r--p 00000000 08:01 788542                    
/usr/lib/locale/locale-archive
7ffff5133000-7ffff5167000 r-xp 00000000 08:01 787242                    
/usr/lib/gconv/GB18030.so
7ffff5167000-7ffff5366000 ---p 00034000 08:01 787242                    
/usr/lib/gconv/GB18030.so
7ffff5366000-7ffff5367000 r--p 00033000 08:01 787242                    
/usr/lib/gconv/GB18030.so
7ffff5367000-7ffff5368000 rw-p 00034000 08:01 787242                    
/usr/lib/gconv/GB18030.so
7ffff5368000-7ffff536d000 r-xp 00000000 08:01 789301                    
/usr/lib/libXdmcp.so.6.0.0
7ffff536d000-7ffff556c000 ---p 00005000 08:01 789301                    
/usr/lib/libXdmcp.so.6.0.0
7ffff556c000-7ffff556d000 rw-p 00004000 08:01 789301                    
/usr/lib/libXdmcp.so.6.0.0
7ffff556d000-7ffff556f000 r-xp 00000000 08:01 789305                    
/usr/lib/libXau.so.6.0.0
7ffff556f000-7ffff576e000 ---p 00002000 08:01 789305                    
/usr/lib/libXau.so.6.0.0
7ffff576e000-7ffff576f000 rw-p 00001000 08:01 789305                    
/usr/lib/libXau.so.6.0.0
7ffff576f000-7ffff5795000 r-xp 00000000 08:01 788110                    
/usr/lib/libexpat.so.1.5.2
7ffff5795000-7ffff5994000 ---p 00026000 08:01 788110                    
/usr/lib/libexpat.so.1.5.2
7ffff5994000-7ffff5997000 rw-p 00025000 08:01 788110                    
/usr/lib/libexpat.so.1.5.2
7ffff5997000-7ffff59af000 r-xp 00000000 08:01 787699                    
/usr/lib/libz.so.1.2.3.9
7ffff59af000-7ffff5bae000 ---p 00018000 08:01 787699                    
/usr/lib/libz.so.1.2.3.9
7ffff5bae000-7ffff5baf000 rw-p 00017000 08:01 787699                    
/usr/lib/libz.so.1.2.3.9
7ffff5baf000-7ffff5bc9000 r-xp 00000000 08:01 789365                    
/usr/lib/libxcb.so.1.1.0
7ffff5bc9000-7ffff5dc9000 ---p 0001a000 08:01 789365                    
/usr/lib/libxcb.so.1.1.0
7ffff5dc9000-7ffff5dca000 rw-p 0001a000 08:01 789365                    
/usr/lib/libxcb.so.1.1.0
7ffff5dca000-7ffff5dd3000 r-xp 00000000 08:01 789705                    
/usr/lib/libXrender.so.1.3.0
7ffff5dd3000-7ffff5fd2000 ---p 00009000 08:01 789705                    
/usr/lib/libXrender.so.1.3.0
7ffff5fd2000-7ffff5fd3000 rw-p 00008000 08:01 789705                    
/usr/lib/libXrender.so.1.3.0
7ffff5fd3000-7ffff6064000 r-xp 00000000 08:01 787792                    
/usr/lib/libfreetype.so.6.4.0
7ffff6064000-7ffff6264000 ---p 00091000 08:01 787792                    
/usr/lib/libfreetype.so.6.4.0
7ffff6264000-7ffff626a000 rw-p 00091000 08:01 787792                    
/usr/lib/libfreetype.so.6.4.0
7ffff626a000-7ffff629c000 r-xp 00000000 08:01 787798                    
/usr/lib/libfontconfig.so.1.4.4
7ffff629c000-7ffff649c000 ---p 00032000 08:01 787798                    
/usr/lib/libfontconfig.so.1.4.4
7ffff649c000-7ffff649e000 rw-p 00032000 08:01 787798                    
/usr/lib/libfontconfig.so.1.4.4
7ffff649e000-7ffff64ac000 r-xp 00000000 08:01 789679                    
/usr/lib/libXi.so.6.1.0
7ffff64ac000-7ffff66ab000 ---p 0000e000 08:01 789679                    
/usr/lib/libXi.so.6.1.0
7ffff66ab000-7ffff66ac000 rw-p 0000d000 08:01 789679                    
/usr/lib/libXi.so.6.1.0
7ffff66ac000-7ffff66ae000 r-xp 00000000 08:01 85                        
/lib/libdl-2.11.1.so
7ffff66ae000-7ffff68ae000 ---p 00002000 08:01 85                        
/lib/libdl-2.11.1.so
7ffff68ae000-7ffff68af000 r--p 00002000 08:01 85                        
/lib/libdl-2.11.1.so
7ffff68af000-7ffff68b0000 rw-p 00003000 08:01 85                        
/lib/libdl-2.11.1.so
7ffff68b0000-7ffff68c1000 r-xp 00000000 08:01 789539                    
/usr/lib/libXext.so.6.4.0
7ffff68c1000-7ffff6ac1000 ---p 00011000 08:01 789539                    
/usr/lib/libXext.so.6.4.0
7ffff6ac1000-7ffff6ac2000 rw-p 00011000 08:01 789539                    
/usr/lib/libXext.so.6.4.0
7ffff6ac2000-7ffff6c0f000 r-xp 00000000 08:01 1520                      
/lib/libc-2.11.1.so
7ffff6c0f000-7ffff6e0f000 ---p 0014d000 08:01 1520                      
/lib/libc-2.11.1.so
7ffff6e0f000-7ffff6e13000 r--p 0014d000 08:01 1520                      
/lib/libc-2.11.1.so
7ffff6e13000-7ffff6e14000 rw-p 00151000 08:01 1520                      
/lib/libc-2.11.1.so
7ffff6e14000-7ffff6e19000 rw-p 00000000 00:00 0 
7ffff6e19000-7ffff6e20000 r-xp 00000000 08:01 92                        
/lib/librt-2.11.1.so
7ffff6e20000-7ffff701f000 ---p 00007000 08:01 92                        
/lib/librt-2.11.1.so
7ffff701f000-7ffff7020000 r--p 00006000 08:01 92                        
/lib/librt-2.11.1.so
7ffff7020000-7ffff7021000 rw-p 00007000 08:01 92                        
/lib/librt-2.11.1.so
7ffff7021000-7ffff705f000 r-xp 00000000 08:01 788120                    
/usr/lib/libdbus-1.so.3.4.0
7ffff705f000-7ffff725e000 ---p 0003e000 08:01 788120                    
/usr/lib/libdbus-1.so.3.4.0
7ffff725e000-7ffff725f000 r--p 0003d000 08:01 788120                    
/usr/lib/libdbus-1.so.3.4.0
7ffff725f000-7ffff7260000 rw-p 0003e000 08:01 788120                    
/usr/lib/libdbus-1.so.3.4.0
7ffff7260000-7ffff7393000 r-xp 00000000 08:01 789428                    
/usr/lib/libX11.so.6.3.0
7ffff7393000-7ffff7593000 ---p 00133000 08:01 789428                    
/usr/lib/libX11.so.6.3.0
7ffff7593000-7ffff7599000 rw-p 00133000 08:01 789428                    
/usr/lib/libX11.so.6.3.0
7ffff7599000-7ffff75ac000 r-xp 00000000 08:01 789468                    
/usr/lib/libXft.so.2.1.13
7ffff75ac000-7ffff77ac000 ---p 00013000 08:01 789468                    
/usr/lib/libXft.so.2.1.13
7ffff77ac000-7ffff77ad000 rw-p 00013000 08:01 789468                    
/usr/lib/libXft.so.2.1.13
7ffff77ad000-7ffff77c4000 r-xp 00000000 08:01 65                        
/lib/libpthread-2.11.1.so
7ffff77c4000-7ffff79c3000 ---p 00017000 08:01 65                        
/lib/libpthread-2.11.1.so
7ffff79c3000-7ffff79c4000 r--p 00016000 08:01 65                        
/lib/libpthread-2.11.1.so
7ffff79c4000-7ffff79c5000 rw-p 00017000 08:01 65                        
/lib/libpthread-2.11.1.so
7ffff79c5000-7ffff79c9000 rw-p 00000000 00:00 0 
7ffff79c9000-7ffff79ce000 r-xp 00000000 08:01 791190                    
/usr/lib/libXtst.so.6.1.0
7ffff79ce000-7ffff7bcd000 ---p 00005000 08:01 791190                    
/usr/lib/libXtst.so.6.1.0
7ffff7bcd000-7ffff7bce000 rw-p 00004000 08:01 791190                    
/usr/lib/libXtst.so.6.1.0
7ffff7bce000-7ffff7bde000 r-xp 00000000 08:01 789613                    
/usr/lib/libXpm.so.4.11.0
7ffff7bde000-7ffff7dde000 ---p 00010000 08:01 789613                    
/usr/lib/libXpm.so.4.11.0
7ffff7dde000-7ffff7ddf000 rw-p 00010000 08:01 789613                    
/usr/lib/libXpm.so.4.11.0
7ffff7ddf000-7ffff7dfd000 r-xp 00000000 08:01 94                        
/lib/ld-2.11.1.so
7ffff7fb1000-7ffff7fc7000 r--s 00000000 08:01 1479                      
/var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-le64.cache-3
7ffff7fc7000-7ffff7fd0000 rw-p 00000000 00:00 0 
7ffff7fe1000-7ffff7fe3000 r--s 00000000 08:01 1561                      
/var/cache/fontconfig/699564f050ff7e0f9dae359f33bc56a5-le64.cache-3
7ffff7fe3000-7ffff7fe8000 r--s 00000000 08:01 1626                      
/var/cache/fontconfig/5a02e0a9ca9b27d0aa4bd0c42ba2438d-le64.cache-3
7ffff7fe8000-7ffff7ff0000 r--s 00000000 08:01 1625                      
/var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-le64.cache-3
7ffff7ff0000-7ffff7ffa000 r--s 00000000 08:01 1470                      
/var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-le64.cache-3
7ffff7ffa000-7ffff7ffb000 rw-p 00000000 00:00 0 
7ffff7ffb000-7ffff7ffc000 r-xp 00000000 00:00 0                          [vdso]
7ffff7ffc000-7ffff7ffd000 r--p 0001d000 08:01 94                        
/lib/ld-2.11.1.so
7ffff7ffd000-7ffff7ffe000 rw-p 0001e000 08:01 94                        
/lib/ld-2.11.1.so
7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0 
7ffffffea000-7ffffffff000 rw-p 00000000 00:00 0                          [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]

Program received signal SIGABRT, Aborted.
0x00007ffff6af4035 in raise () from /lib/libc.so.6
(gdb) q
A debugging session is active.

        Inferior 1 [process 21949] will be killed.

Quit anyway? (y or n) y
....

Original comment by MaJia...@gmail.com on 15 Mar 2010 at 10:07

GoogleCodeExporter commented 8 years ago
囧,排版混乱啦

Original comment by MaJia...@gmail.com on 15 Mar 2010 at 10:09

GoogleCodeExporter commented 8 years ago
在终端中调试(tty,ctrl + alt + 
f1)不用在konsole里面调试(因为会挂掉)……

------------
gdb日志命令
set logging on    打开记录功能。
set logging off   关闭记录功能。
set logging file file   
改变当前日志文件的名称。默认的日志文件是`gdb.txt'。
set logging overwrite [on|off]
默认情况下,GDB会添加到日志文件中。如果你set logging 
on想复盖掉日志文件,就设置
overwrite。
show logging 显示日志设置的当前值。 
------------

稍微再帮个忙
在出现sig××××的时候
例如
Program received signal SIGABRT, Aborted.
0x00007ffff6af4035 in raise () from /lib/libc.so.6
(gdb) q

多运行几个输入up回车

Original comment by wen...@gmail.com on 15 Mar 2010 at 10:45

GoogleCodeExporter commented 8 years ago
已经有人提供Log了,哈哈,不过,我明天也要再试一下,当��
�学习了。

Original comment by Alpha...@gmail.com on 15 Mar 2010 at 11:02

GoogleCodeExporter commented 8 years ago
麻烦再看看~

Original comment by MaJia...@gmail.com on 15 Mar 2010 at 11:03

Attachments:

GoogleCodeExporter commented 8 years ago
谢谢,我来修改一下代码,很快放到SVN上,应该是R313或314,请
大家接着给出调试信息哈 

Original comment by yuking....@gmail.com on 16 Mar 2010 at 12:32

GoogleCodeExporter commented 8 years ago
r313还是不行的,不过gdb的记录当中没有那么多条了,只是告�
��你捕获信号……(忘了是哪个了)

Original comment by Alpha...@gmail.com on 16 Mar 2010 at 2:00

GoogleCodeExporter commented 8 years ago
R313同上不可用

Original comment by MaJia...@gmail.com on 16 Mar 2010 at 2:18

Attachments:

GoogleCodeExporter commented 8 years ago
汗,是我写错了。
已经上传了R314,并不能保证能解决问题,但希望能给出新的gdb
信息哈。谢谢啦~~~~~~~

Original comment by yuking....@gmail.com on 16 Mar 2010 at 2:49

GoogleCodeExporter commented 8 years ago
试了一下,第一个gdb记录,是Arch下用PKGBUILD编译的,所以,de
bug符号肯定被清除了,所以,只有错误信息。
第二个,和第三个,都是make install方式的。
第二个是DBus模式的
第三个是普通模式的
可怕的结果就是r314根本运行不起来了啊,倒!连普通传统模�
��也不行啊!

Original comment by Alpha...@gmail.com on 16 Mar 2010 at 3:37

Attachments:

GoogleCodeExporter commented 8 years ago
314这么改可能还真不行……

因为fcitx现在在dbus模式有3个线程,普通模式有2个线程,这内
存一搞一起来岂不是全mess up了……

Original comment by wen...@gmail.com on 16 Mar 2010 at 8:47

GoogleCodeExporter commented 8 years ago
的确,r314搞的连32位的dbus模式也不能用了。Wengxt,看来你要�
��鱼王通力合作一下。

Original comment by Alpha...@gmail.com on 16 Mar 2010 at 8:50

GoogleCodeExporter commented 8 years ago
我先搞个patch在这,有条件的试一试
在源代码根目录下执行 patch -i [filename] -p0

另外我开了个fcitx 
utf8化的branch,反正最近问题比较多,alpha.gu兄也不着急打包

Original comment by wen...@gmail.com on 16 Mar 2010 at 10:58

Attachments:

GoogleCodeExporter commented 8 years ago
明天到公司的时候试一下,能具体说一下这个Patch试图解决什
么吗?

Original comment by Alpha...@gmail.com on 16 Mar 2010 at 12:05

GoogleCodeExporter commented 8 years ago
啊,我当时试了好一阵,好像都是正常的呢。
有个建议,我们是不是考虑启动V4的开发?把UTF8/新界面的问�
��都考虑进来。而GB版的我们再发布一个3.6.4,
力求把现在的小问题都解决掉(有些问题如果不影响使用,��
�解决也行)。
不知大家意见如何?
希望wengxt能领导新的开发因为对UTF8和多线程这一块,我是真�
��没有啥经验。

Original comment by yuking....@gmail.com on 16 Mar 2010 at 12:30

GoogleCodeExporter commented 8 years ago
拭目以待了,3.6.4,希望还是把64位的这个kimpanel问题解决一��
�,其他的应该都不太影响使用吧。

Original comment by Alpha...@gmail.com on 16 Mar 2010 at 12:50

GoogleCodeExporter commented 8 years ago
试了一下,加了Patch的结果还是一样的Fail,Debug结果也是一样
的。

(Fail指在64位模式下使用Kimpanel)

Original comment by Alpha...@gmail.com on 17 Mar 2010 at 1:09

GoogleCodeExporter commented 8 years ago
能不能弄一个3.6.4的branch出来?专注于把这个版本做好,然后V3
就到此结束?

Original comment by yuking....@gmail.com on 17 Mar 2010 at 1:44

GoogleCodeExporter commented 8 years ago
还真是没法调试那个问题……我看着也一头雾水……

倒是整了整utf8化倒是很有进展……

Original comment by wen...@gmail.com on 18 Mar 2010 at 6:29

GoogleCodeExporter commented 8 years ago
在32位模式下,kimpanel现在也经常崩溃……

Original comment by yuking....@gmail.com on 18 Mar 2010 at 7:50

GoogleCodeExporter commented 8 years ago
简单看了下utf8的代码,wengtx的确很厉害呢,HOHO

Original comment by yuking....@gmail.com on 18 Mar 2010 at 7:55

GoogleCodeExporter commented 8 years ago
唉,我就等着吧,至少现在64位下传统方式是可用的,就是Tra
y图标是xpm的,所以,不能透明,位置也不居中,不
过,算是小的问题,大的方面,反正是可用,也就行了。

32位下kimpanel有问题吗?我倒是一直没有遇到。

Original comment by Alpha...@gmail.com on 18 Mar 2010 at 8:15

GoogleCodeExporter commented 8 years ago
我等着utf8的五笔可用,因为,我是用五笔的,只要五笔部分�
��用了,我就马上加进来测试一下:)

Original comment by Alpha...@gmail.com on 18 Mar 2010 at 8:29

GoogleCodeExporter commented 8 years ago
Very Good!
fcitx-utf8 R318 x86_64 能使用kimpanel了。
但有小问题,只能输入一个个的单字 :(

Original comment by MaJia...@gmail.com on 18 Mar 2010 at 12:25

Attachments:

GoogleCodeExporter commented 8 years ago
这个世界太疯狂了,才两分钟就崩溃,再也起不来了 :(
gdb.txt毫无用处
Starting program: /usr/bin/fcitx -D
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff3f52710 (LWP 8980)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000004103be in ?? ()
#1  0x4648450000000400 in ?? ()
#2  0x006c44e9ae97e94a in ?? ()
#3  0x0000490000000100 in ?? ()
#4  0x020000000197e600 in ?? ()
A debugging session is active.

    Inferior 1 [process 8977] will be killed.

Quit anyway? (y or n) 

Original comment by MaJia...@gmail.com on 18 Mar 2010 at 12:39

GoogleCodeExporter commented 8 years ago
那个为了配置文件不重复……utf8的配置文件暂时在~/.config/fci
tx-utf8下面

我可能还没改用户词库的部分,这里可能有问题

另外我看你的候选词很多啊?我测试一下这个

Original comment by wen...@gmail.com on 18 Mar 2010 at 1:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
comment 31呢?。。我看见邮件之后过来回复……人呢。。

我把词库文件也改成utf8的了,那个压缩包内的词库还是gb的��
�自己转换一下再试验吧

Original comment by wen...@gmail.com on 18 Mar 2010 at 3:11

GoogleCodeExporter commented 8 years ago
所有输入法均可用了,好,这下我决定把64位系统下的换成fci
tx-utf8了。

Original comment by Alpha...@gmail.com on 18 Mar 2010 at 11:36

GoogleCodeExporter commented 8 years ago
啊哈,速度快哦,我也换过来试试

Original comment by yuking....@gmail.com on 19 Mar 2010 at 12:21

GoogleCodeExporter commented 8 years ago
64位下DBus可用了,五笔也可用了,虽然不知道后面会不会崩��
�,但是,至少不是一上来就死掉了。

Original comment by Alpha...@gmail.com on 19 Mar 2010 at 12:54

GoogleCodeExporter commented 8 years ago
我改了编码
...
cd $srcdir/${_svnmod}_build
iconv -f GBK -t UTF-8 $srcdir/pyPhrase.org -o data/pyPhrase.org
...
还是有点问题,输入栏打的拼音显示不全。
麻烦你们了 :)

Original comment by MaJia...@gmail.com on 19 Mar 2010 at 1:10

Attachments:

GoogleCodeExporter commented 8 years ago
对于原版的fcitx实在抱歉,没法调试那个问题……utf8倒是有��
�曲线救国的意思,因为不用反复
转换编码

我还顺便测试了一下zh_CN.GBK的locale,貌似也work的样子(我不�
��道啦,就是在bashrc里面加
LANG=zh_CN.GBK) :)哈哈

Majia321:
大概是光标的问题吧,这个我没有改到……(其实是忘了)
因为原来计算光标位置是通过gbk的字符长度都是2计算的utf8的
计算上有些区别

Original comment by wen...@gmail.com on 19 Mar 2010 at 3:55

GoogleCodeExporter commented 8 years ago
wengxt,有空的话,帮我看看kimpanel编译的问题吧,有点眉目了
,需要你帮助,资料在附件上。

Original comment by Alpha...@gmail.com on 19 Mar 2010 at 4:01

Attachments:

GoogleCodeExporter commented 8 years ago
第一个:由于kimpanel现在在kdeplasma-addons里面,所以我的cmakelis
ts.txt是为了屏蔽其他
的plasmoids不用进行make的,trunk里面的东西还在开发中,其他��
�关的plasmoid有错误也和很
正常

第二个:我看了看,第二个你没有装scim……所以kimpanel默认��
�会make的……建议装了make,
以后想make的时候装上……

第三个:makedepends怎么写其实不影响你的安装,多写一个少写
一个没什么所谓,除非那个是必
要的。

引用我以前对makedepends的理解:
Makedepends is something like this:
Just like if you compile a music player, it has mp3 support which is provided 
by 
codec named package A. If you compile it with package A, mp3 support will be 
enabled 
if you have package A installed. 
But if you don't compile it with package A , you will NEVER have mp3 support 
even if 
you install package A after that.

Something different is optdepends. If it is an option dependency, but not a 
make 
dependency, that means install it will enable some feature but no need to 
compile 
with it.

It is safe to remove makedepends after you compile it.

就是说为了让一个package能够make,或者包含某些feature(需要��
�译时决定),你需要
makedepends,你也许可以自己修改……但是不保证没有问题。

Original comment by wen...@gmail.com on 19 Mar 2010 at 5:08

GoogleCodeExporter commented 8 years ago
搞定了,多谢!
搞了这么久,原来那个问题就是因为少了个scim啊。

Original comment by Alpha...@gmail.com on 19 Mar 2010 at 6:22

GoogleCodeExporter commented 8 years ago
考不考虑将Dbus部分和Kimpanel部分合并起来组成一个新的中文��
�入法?
KDE平台也只有这个好似已经没有人维护的Kimpanel是源生的了。
。。

Original comment by jimhuyi...@gmail.com on 29 Jul 2010 at 11:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed After merge with fcitx-utf8 r449

Original comment by wen...@gmail.com on 23 Oct 2010 at 6:55