运行静态库程序失败(Glib2.48.1)

I have a big problem that confused me many weeks. For project needs, I have to rebuild the Parsefile with statically libraries. I rebuild all dependent libraries statically and modified some cmakelist.txt, and finally I rebuild it successful. But when I run it use command ./Parsefile file.xml . an error occurred and show:
(process:30290): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(process:30290): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
**
GLib:ERROR:/build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gquark.c:60:g_quark_init: assertion failed: (quark_seq_id == 0)
Aborted (core dumped)

I use gdb to debug it :
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

(process:30307): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed

(process:30307): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
**
GLib:ERROR:/build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gquark.c:60:g_quark_init: assertion failed: (quark_seq_id == 0)

Program received signal SIGABRT, Aborted.
0x00000000009f8158 in raise ()
(gdb) bt
#0 0x00000000009f8158 in raise ()
#1 0x00000000009f849a in abort ()
#2 0x00000000007186fd in g_assertion_message ()
#3 0x0000000000718796 in g_assertion_message_expr ()
#4 0x00000000007095cd in g_quark_init ()
#5 0x0000000000402534 in gobject_init_ctor ()
#6 0x00000000009ded17 in __libc_csu_init ()
#7 0x00000000009de31e in generic_start_main ()
#8 0x00000000009de56a in __libc_start_main ()
#9 0x0000000000402e59 in _start ()

Platform information:
Linux yangt-MS-7721 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Glib:2.48.1

Hope can get your help,
Thx!

http://www.linuxdiyf.com/linux/15353.html