avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

git 版本,無法切換到ibus-sunpinyin #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.git clone git://github.com/sunpinyin/sunpinyin.git sunpinyin
2.cd sunpinyin;./autogen.sh --enable-ibus --disable-documents --prefix=/usr
--libexecdir=/usr/lib/ibus-sunpinyin;make;sudo make install
3.cd wrapper/ibus;./configure --prefix=/usr;make;sudo make install
4.Restart iBus

What is the expected output? What do you see instead?
無法切換到sunpinyin,切換到sunpinyin時ibus關閉。

What version of the product are you using? On what operating system?
Ubuntu 10.04

Original issue reported on code.google.com by byvo...@gmail.com on 26 May 2010 at 1:39

GoogleCodeExporter commented 9 years ago

Original comment by find...@gmail.com on 30 May 2010 at 4:07

GoogleCodeExporter commented 9 years ago
byvoid1,

最新的 git 
版本因为修改了数据格式,所以和现在的数据模型不兼容。��
�以你可以用 2.0
branch 的版本,或者我稍后会上传重新生成的的 lm 到 downloads 
页面,届时你换用它应该就
不会崩溃了。

Original comment by tchai...@gmail.com on 31 May 2010 at 2:47

GoogleCodeExporter commented 9 years ago
您可以再试一试git的master么?我刚刚fix了一个导致ibus-sunpinyin
 crash的bug ...

Original comment by find...@gmail.com on 2 Jun 2010 at 4:15

GoogleCodeExporter commented 9 years ago
still crash with git master:(commit:  fixed a crash issue for ibus porting.)

[Thread debugging using libthread_db enabled]
[New Thread 0xb56d1b70 (LWP 18450)]
[Thread 0xb56d1b70 (LWP 18450) exited]

Program received signal SIGSEGV, Segmentation fault.
0x0806f25e in CIMIContext::getBestSegPath (this=0x81105e8)
    at ../../../src/ime-core/imi_context.h:245
245                 IPySegmentor::TSegmentVec& segments = 
m_pPySegmentor->getSegments ();
(gdb) bt
#0  0x0806f25e in CIMIContext::getBestSegPath (this=0x81105e8)
    at ../../../src/ime-core/imi_context.h:245
#1  0x0806eb60 in CIMIClassicView::getPreeditString (this=0x810ea08, ps=...)
    at ../../../src/ime-core/imi_view_classic.cpp:352
#2  0x0806ddd4 in CIMIClassicView::updateWindows (this=0x810ea08, mask=12)
    at ../../../src/ime-core/imi_view_classic.cpp:86
#3  0x0804e2f9 in SunPinyinEngine::focus_in (this=0x8111b00)
    at sunpinyin_engine.cpp:154
#4  0x0805829c in ibus_sunpinyin_engine_focus_in (engine=0x80e1120)
....
(gdb) list
240         {
241             // CIMIContext would fail to backTrace the bestPathes when 
there are
no latticeStates
242             // on frame e.g., 'yiden' in Quanpin mode, in this case, return 
the
original segs
243             if (m_bestSegPath.empty() && m_pPySegmentor) 
244             {
245                 IPySegmentor::TSegmentVec& segments = 
m_pPySegmentor->getSegments ();
246                 IPySegmentor::TSegmentVec::const_iterator it  = 
segments.begin ();
247                 IPySegmentor::TSegmentVec::const_iterator ite = 
segments.end ();
248                 m_bestSegPath.push_back (0);
249                 for (; it != ite; ++it)

Original comment by darren....@gmail.com on 2 Jun 2010 at 5:44

GoogleCodeExporter commented 9 years ago
@darren.hoo,非常抱歉,应该还少了一个初始化,已经在github的
master解决,烦请您再试一下,多谢了 ...

Original comment by find...@gmail.com on 2 Jun 2010 at 11:16

GoogleCodeExporter commented 9 years ago
@findsun, 这回可以了, 
这个问题困扰了快有一个月了,之前只能用5月初的某个commit�
��本
现在终于又能用最新的了,多谢!

Original comment by darren....@gmail.com on 3 Jun 2010 at 2:15

GoogleCodeExporter commented 9 years ago
@darren.hoo,太好了,那我就把这个defect close掉了 :)

Original comment by find...@gmail.com on 3 Jun 2010 at 3:08