因為新版本的 fontconfig 的 API 有點變化導至發生這個問題
git repo 裡面已經修正這個問題了
目前打算將游標消失的問題也一併解決後再來釋出 1.2 版
※ 引述《lantw44 (#######################)》之銘言:
: 之前在 Debian 6.0.5 + LXDE + SCIM-Chewing 發生過一開啟就 segmentation fault
: 的問題
: 後來又發現在 FreeBSD 9.0-RELEASE + GNOME2/Xfce + SCIM-Chewing 有時候只要按下
: Ctrl-U 或是連線到 ptt2.cc,就會發生 Abort trap (core dumped)
: 目前看起來 pcmanx-gtk2 1.0 並沒有這些問題,所以是 1.1 版本身不穩定嗎?
: (回報給開發者?還是是我自己設定的問題?)
: 目前我是下載 source code 自行編譯 + 安裝 pcmanx-gtk2
: 以下是在 FreeBSD 執行發生的狀況:
: > pcmanx
: Assertion failed: (result != NULL), function IA__FcFontSort, file fcmatch.c,
: line 850.
: Abort trap: 6 (core dumped)
: > gdb pcmanx pcmanx.core
: GNU gdb 6.1.1 [FreeBSD]
: Copyright 2004 Free Software Foundation, Inc.
: GDB is free software, covered by the GNU General Public License, and you are
: welcome to change it and/or distribute copies of it under certain conditions.
: Type "show copying" to see the conditions.
: There is absolutely no warranty for GDB. Type "show warranty" for details.
: This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols
: found)...
: Core was generated by `pcmanx'.
: Program terminated with signal 6, Aborted.
: (載入過程省略......)
: (gdb) bt
: #0 0x000000080358423c in thr_kill () from /lib/libc.so.7
: #1 0x000000080362683b in abort () from /lib/libc.so.7
: #2 0x000000080360a335 in __assert () from /lib/libc.so.7
: #3 0x00000008016a0c4c in IA__FcFontSort ()
: from /usr/local/lib/libfontconfig.so.1
: #4 0x0000000000446485 in CTermView::OnBeforeDestroy ()
: #5 0x0000000000446618 in CTermView::OnBeforeDestroy ()
: #6 0x00000000004427c5 in CTermView::OnBeforeDestroy ()
: #7 0x000000000043cc4a in std::operator+<char, std::char_traits<char>,
: std::allocator<char> > ()
: #8 0x000000000043e75d in std::operator+<char, std::char_traits<char>,
: std::allocator<char> > ()
: #9 0x000000000041c0f9 in std::operator+<char, std::char_traits<char>,
: std::allocator<char> > ()
: #10 0x000000000041c178 in std::operator+<char, std::char_traits<char>,
: std::allocator<char> > ()
: #11 0x00000008029357f3 in g_main_context_dispatch ()
: from /usr/local/lib/libglib-2.0.so.0
: #12 0x0000000802939812 in g_main_context_prepare ()
: from /usr/local/lib/libglib-2.0.so.0
: #13 0x0000000802939c05 in g_main_loop_run ()
: from /usr/local/lib/libglib-2.0.so.0
: #14 0x0000000800aa7213 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.0
: #15 0x00000000004290fe in std::operator+<char, std::char_traits<char>,
: std::allocator<char> > ()
: #16 0x000000000040e70e in ?? ()
: #17 0x0000000800766000 in ?? ()
: #18 0x0000000000000000 in ?? ()
: #19 0x0000000000000000 in ?? ()
: #20 0x0000000000000001 in ?? ()
: #21 0x00007fffffffdb40 in ?? ()
: #22 0x0000000000000000 in ?? ()
: #23 0x00007fffffffdb47 in ?? ()
: #24 0x00007fffffffdb5a in ?? ()
: #25 0x00007fffffffdb6e in ?? ()
: #26 0x00007fffffffdb79 in ?? ()
: #27 0x00007fffffffdb93 in ?? ()
: #28 0x00007fffffffdba9 in ?? ()
: #29 0x00007fffffffdbbd in ?? ()
: #30 0x00007fffffffdc0e in ?? ()
: #31 0x00007fffffffdc20 in ?? ()
: #32 0x00007fffffffdc4e in ?? ()
: #33 0x00007fffffffdc5b in ?? ()
: #34 0x00007fffffffdc6f in ?? ()
: #35 0x00007fffffffdc87 in ?? ()
: #36 0x00007fffffffdcb6 in ?? ()
: #37 0x00007fffffffdce5 in ?? ()
: #38 0x00007fffffffdcf6 in ?? ()
: #39 0x00007fffffffdd01 in ?? ()
: #40 0x00007fffffffdd2d in ?? ()
: #41 0x00007fffffffdd8c in ?? ()
: #42 0x00007fffffffdda1 in ?? ()
: #43 0x00007fffffffddad in ?? ()
: #44 0x00007fffffffddbf in ?? ()
: #45 0x00007fffffffddca in ?? ()
: #46 0x00007fffffffdde1 in ?? ()
: #47 0x00007fffffffddf8 in ?? ()
: #48 0x00007fffffffde09 in ?? ()
: #49 0x00007fffffffde14 in ?? ()
: #50 0x00007fffffffde24 in ?? ()
: #51 0x00007fffffffde2c in ?? ()
: #52 0x00007fffffffde3f in ?? ()
: #53 0x00007fffffffde4f in ?? ()
: #54 0x00007fffffffde79 in ?? ()
: #55 0x00007fffffffded7 in ?? ()
: #56 0x00007fffffffdee4 in ?? ()
: #57 0x00007fffffffdef1 in ?? ()
: #58 0x00007fffffffdf06 in ?? ()
: #59 0x00007fffffffdf19 in ?? ()
: #60 0x00007fffffffdf52 in ?? ()
: #61 0x0000000000000000 in ?? ()
: #62 0x0000000000000003 in ?? ()
: #63 0x0000000000400040 in ?? ()
: #64 0x0000000000000004 in ?? ()
: #65 0x0000000000000038 in ?? ()
: #66 0x0000000000000005 in ?? ()
: #67 0x0000000000000008 in ?? ()
: #68 0x0000000000000006 in ?? ()
: #69 0x0000000000001000 in ?? ()
: #70 0x0000000000000008 in ?? ()
: #71 0x0000000000000000 in ?? ()
: #72 0x0000000000000009 in ?? ()
: #73 0x000000000040e680 in ?? ()
: #74 0x0000000000000007 in ?? ()
: #75 0x000000080074b000 in ?? ()
: #76 0x000000000000000f in ?? ()
: #77 <signal handler called>
: #78 0x0000000000000000 in ?? ()
: Previous frame inner to this frame (corrupt stack?)