cht電腦資訊gcin
adm Find login register

gcin在ubuntu9.10下與inkscape相沖

guest
1subject: gcin在ubuntu9.10下與inkscape相沖Promote 0 Bookmark 02009-11-13quote  

如題

gcin在ubuntu9.10下與inkscape相沖

 

Ubuntu9.10的Inscape無法使用
只要點選文字工具
程式就掛掉

 錯誤訊息如下

Gdk:ERROR:/build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkinput-xfree.c:
336:_gdk_input_grab_pointer: assertion failed: (input_window != NULL)

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we
can fix it.
已經終止

 

但如果改用其他的輸入法(如ibus)則無此問題

caleb
joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
2subject: gcin在ubuntu9.10下與inkscape相沖Promote 0 Bookmark 02009-11-14quote  

guest
gcin在ubuntu9.10下與inkscape相沖

可以先試試 XIM 看看。

~$ GTK_IM_MODULE=xim inkscape & 

guest
3subject: Promote 0 Bookmark 02009-11-15quote  
剛試了還是無效
guest
4subject: Promote 0 Bookmark 02009-11-15quote  
 剛試了那個指令 還是無效
eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
5subject: Promote 0 Bookmark 02009-11-15quote  

inkscape 有嚴重的 memory 問題,所以有時候輸入法可能會揹黑鍋。底下是 valgrind 的結果


 =9028== Invalid read of size 4
==9028==    at 0x5152868: GC_mark_from (in /usr/lib/libgc.so.1.0.3)
==9028==    by 0x5153610: GC_mark_some (in /usr/lib/libgc.so.1.0.3)
==9028==    by 0x514AB84: GC_stopped_mark (in /usr/lib/libgc.so.1.0.3)
==9028==    by 0x5163963: ??? (in /usr/lib/libgc.so.1.0.3)
==9028==  Address 0xbea92134 is not stack'd, malloc'd or (recently) free'd
==9028==
==9028==
==9028== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==9028==  Access not within mapped region at address 0xBEA92134
==9028==    at 0x5152868: GC_mark_from (in /usr/lib/libgc.so.1.0.3)
==9028==    by 0x5153610: GC_mark_some (in /usr/lib/libgc.so.1.0.3)
==9028==    by 0x514AB84: GC_stopped_mark (in /usr/lib/libgc.so.1.0.3)
==9028==    by 0x5163963: ??? (in /usr/lib/libgc.so.1.0.3)
==9028==  If you believe this happened as a result of a stack
==9028==  overflow in your program's main thread (unlikely but
==9028==  possible), you can try to increase the size of the
==9028==  main thread stack using the --main-stacksize= flag.
==9028==  The main thread stack size used in this run was 8388608.
==9028== Invalid free() / delete / delete[]
==9028==    at 0x4024536: free (vg_replace_malloc.c:325)
==9028==    by 0x55B6203: ??? (in /lib/i686/libc-2.10.1.so)
==9028==    by 0x55B5CC9: ??? (in /lib/i686/libc-2.10.1.so)
==9028==    by 0x401F3D2: _vgnU_freeres (vg_preloaded.c:62)
==9028==    by 0x8B3FFFF: ???
==9028==  Address 0x5a69eb0 is not stack'd, malloc'd or (recently) free'd

edited: 2
Apan Liao

joined: 2008-10-30
posted: 112
promoted: 23
bookmarked: 4
Tai-Chung City, Taiwan
6subject: Promote 0 Bookmark 02009-11-15quote  

我在 ubuntu 9.10 也有一樣問題, 但我以 SCIM 暫時解決:
GTK_IM_MODULE=scim inkscape &

當然, 你要先有安裝 SCIM 囉.

本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
7subject: Promote 0 Bookmark 02009-11-15quote  

是什麼版本的 inkscape?其他的 distro 好像沒有這類回報。我目前用 zenwalk + inkscape 0.46 是正常的。


eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
8subject: Promote 0 Bookmark 02009-11-15quote  
0.47
本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
9subject: Promote 0 Bookmark 02009-11-15quote  

eliu
0.47

mandriva 下也會這樣嗎?

0.47 還在 pre 呀!你們怎麼會有這種版本?


eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
10subject: Promote 0 Bookmark 02009-11-15quote  
LGJ
mandriva 下也會這樣嗎?

0.47 還在 pre 呀!你們怎麼會有這種版本?

有嗎?mandriva 2010 install 時就是 inkscape 0.47

本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
11subject: Promote 1 Bookmark 12009-11-16quote  

eliu
有嗎?mandriva 2010 install 時就是 inkscape 0.47

目前 stable 版本是 0.46。0.47 目前到 pre4。

 http://sourceforge.net/projects/inkscape/files/

一堆 distro 裝起來在哇哇叫的就是這個原因,猛用 devel 版本,本身又沒有足夠的能力 patch,一裝起來,users 就哇哇叫。其實最近一、二年看起來,這真的是非常棒的反宣傳。Orz


edited: 1
ziyawu

joined: 2009-08-15
posted: 101
promoted: 69
bookmarked: 9
Taiwan
12subject: Promote 0 Bookmark 02009-11-16quote  

 之前在 Archlinux 上從 0.46 一直到 0.47pre4 都沒問題,在某次系統更新後就出現這個問題,我把 inkscape 降回 0.46 版問題依然存在,在虛擬機新安裝的 Archlinux 更新後也是如此。
(gcin 好像沒有升級過,一直都是 1.4.5)


ziyawu on deviantART
 

本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
13subject: Promote 0 Bookmark 02009-11-16quote  
ziyawu
之前在 Archlinux 上從 0.46 一直到 0.47pre4 都沒問題,在某次系統更新後就出現這個問題,我把 inkscape 降回 0.46 版問題依然存在,在虛擬機新安裝的 Archlinux 更新後也是如此。

(gcin 好像沒有升級過,一直都是 1.4.5)

這個明顯和 inkscape 及 gcin,可能是無關的?

這個找起來就麻煩了,就像上次的小灰問題一樣。@@


ziyawu

joined: 2009-08-15
posted: 101
promoted: 69
bookmarked: 9
Taiwan
14subject: Promote 0 Bookmark 02009-11-17quote  
LGJ

 

這個明顯和 inkscape 及 gcin,可能是無關的?

這個找起來就麻煩了,就像上次的小灰問題一樣。@@

想說把 gtk 和 gtkmm 直接降回到 2.16.5 版,看看是不是 gtk 的問題,結果 gtk 的相依性真是環環相扣阿,我投降...


ziyawu on deviantART
 

本人已不在此站活動

joined: 2007-09-19
posted: 4946
promoted: 325
bookmarked: 206
歸隱山林
15subject: Promote 0 Bookmark 02009-11-17quote  

ziyawu
想說把 gtk 和 gtkmm 直接降回到 2.16.5 版,看看是不是 gtk 的問題,結果 gtk 的相依性真是環環相扣阿,我投降...

沒錯,這很麻煩,搞不好降下來後,inkscape 0.47 就又會編不起來。@_@


caleb
joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
16subject: gcin在ubuntu9.10下與inkscape相沖Promote 3 Bookmark 12009-11-29quote  
guest
Ubuntu9.10的Inscape無法使用 

只要點選文字工具
程式就掛掉

 錯誤訊息如下

Gdk:ERROR:/build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkinput-xfree.c:
336:_gdk_input_grab_pointer: assertion failed: (input_window != NULL)

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we
can fix it.

export GDK_NATIVE_WINDOWS=1

再跑 inkscape 就可以了。

這是新版 GTK+ / GDK 的 new behavior。 

ziyawu

joined: 2009-08-15
posted: 101
promoted: 69
bookmarked: 9
Taiwan
17subject: gcin在ubuntu9.10下與inkscape相沖Promote 0 Bookmark 02009-11-29quote  
caleb

 

export GDK_NATIVE_WINDOWS=1

再跑 inkscape 就可以了。

這是新版 GTK+ / GDK 的 new behavior。 

感謝~   ^^

這下不必安裝 ibus 了。


ziyawu on deviantART
 

cht電腦資訊gcin
adm Find login register
views:50730