Segmentation Fault when 'import bpy'

I am making a game with bge. When I use the mouse to click on the screen, the following python code (for testing only) will be run.


print('a')
import bpy
print('b')

I run the game by

blenderplayer test.blend

of blender 2.69
But when the above python code is run, segmentation fault happened. I used gdb to run the game and gdb shows:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffda75edef in ED_operatormacros_armature () from /usr/lib64/python3.3/site-packages/bpy.so

I have tried both 2.70a and 2.69 and the same error happened.

However, if I run

python -c "print('a') ; import bpy ; print('b')"

, no errors occur and the two characters are printed correctly.