New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with sqlite 3.8.0 #39

Closed
felixonmars opened this Issue Aug 27, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@felixonmars
Copy link

felixonmars commented Aug 27, 2013

I'm getting the following crash after upgrading sqlite to 3.8.0.

Reproduce:

Switch to fcitx-sunpinyin, input "aaaser"

Output:

FCITX 4.2.8.1 -- Get Signal No.: 6
Date: try "date -d @1377568425" if you are using GNU date ***
ProcessID: 23271
fcitx[0x401568]
/usr/lib/libc.so.6(+0x35450)[0x7f4b84d8f450]
/usr/lib/libc.so.6(gsignal+0x39)[0x7f4b84d8f3d9]
/usr/lib/libc.so.6(abort+0x148)[0x7f4b84d907d8]
/usr/lib/libc.so.6(+0x72ed4)[0x7f4b84dcced4]
/usr/lib/libc.so.6(+0x7869e)[0x7f4b84dd269e]
/usr/lib/libc.so.6(+0x79377)[0x7f4b84dd3377]
/usr/lib/libsqlite3.so.0(sqlite3_free+0x6e)[0x7f4b741d60fe]
/usr/lib/libsqlite3.so.0(+0x51f8e)[0x7f4b7420ff8e]
/usr/lib/libsqlite3.so.0(+0x640c2)[0x7f4b742220c2]
/usr/lib/libsqlite3.so.0(+0x685d7)[0x7f4b742265d7]
/usr/lib/libsqlite3.so.0(+0x68abe)[0x7f4b74226abe]
/usr/lib/libsqlite3.so.0(+0x68f15)[0x7f4b74226f15]
/usr/lib/libsqlite3.so.0(sqlite3_prepare+0x15)[0x7f4b74226fa5]
/usr/lib/libsunpinyin.so.3(_ZN9CUserDict8getWordsERSt6vectorI9TSyllableSaIS1_EERS0_IN11CPinyinTrie11TWordIdInfoESaIS6_EE+0x29c)[0x7f4b744c03bc]
/usr/lib/libsunpinyin.so.3(_ZN11CIMIContext22_forwardSingleSyllableEjj9TSyllableRKN12IPySegmentor8TSegmentEb+0x1ec)[0x7f4b744a286c]
/usr/lib/libsunpinyin.so.3(_ZN11CIMIContext17_forwardSyllablesEjjRKN12IPySegmentor8TSegmentE+0x4a)[0x7f4b744a3c7a]
/usr/lib/libsunpinyin.so.3(_ZN11CIMIContext13_buildLatticeERSt6vectorIN12IPySegmentor8TSegmentESaIS2_EEjb+0xa4)[0x7f4b744a5ac4]
/usr/lib/libsunpinyin.so.3(_ZN15CIMIClassicView7_insertEjRj+0x5b)[0x7f4b744b42eb]
/usr/lib/libsunpinyin.so.3(_ZN15CIMIClassicView10onKeyEventERK9CKeyEvent+0x5b6)[0x7f4b744b6e26]
/usr/lib/fcitx/fcitx-sunpinyin.so(+0xaa76)[0x7f4b746dfa76]
/usr/lib/libfcitx-core.so.0(FcitxInstanceProcessKey+0x63b)[0x7f4b85763aeb]
/usr/lib/fcitx/fcitx-ipc.so(+0x46ba)[0x7f4b739f36ba]
/usr/lib/libdbus-1.so.3(+0x1d546)[0x7f4b83cf9546]
/usr/lib/libdbus-1.so.3(dbus_connection_dispatch+0x381)[0x7f4b83cec0f1]
/usr/lib/fcitx/fcitx-dbus.so(+0x2178)[0x7f4b83f25178]
/usr/lib/libfcitx-core.so.0(+0x9d66)[0x7f4b85757d66]
/usr/lib/libfcitx-core.so.0(FcitxInstanceRun+0x1e0)[0x7f4b85758710]
fcitx[0x400f68]
/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7f4b84d7bbc5]
fcitx[0x400fdd]

Notes:

I already tried to backup and remove ~/.sunpinyin/userdict, and rebuild sunpinyin against sqlite 3.8.0, but neither makes a difference.

Downgrading sqlite to 3.7.17 fixes this.

@felixonmars

This comment has been minimized.

Copy link

felixonmars commented Aug 30, 2013

Fixed in sqlite 3.8.0.1.

(Maybe) related upstream discussion: http://www.mail-archive.com/sqlite-users@sqlite.org/msg78972.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment