segfault on debian concerning xim

I installed panda3d with the deb for sarge.

I got the following.

/usr/share/panda3d/samples/GreetingCard $ pview
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:display:glxdisplay(warning): Couldn’t open input method.
段错误

The last line is Chinese for segfault. I tried LANG=C and LC_ALL=C but it makes no change.

Same for ppython below.

/usr/share/panda3d/samples/GreetingCard $ ppython GreetingCard.py
DirectStart: Starting the game.
enumerate is already present in builtin
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:display:glxdisplay(warning): Couldn’t open input method.
段错误

I installed the deb planetpenguin-racer, formerly tuxracer. And it runs smoothly.

The system is debian sid updated almost daily.

Also, I’ve installed python-opengl and it changed nothing.

Please help! Thanks in advance!

With the following, I saw the Greeting Card. Nice! :slight_smile:

I was using SCIM input method which supports XIM and GTK_IM_MODULE.

/usr/share/panda3d/samples/GreetingCard $ XMODIFIERS= pview
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
1530 frames in 6.30689 seconds.
242.592 fps average (4.12215ms)

/usr/share/panda3d/samples/GreetingCard $ XMODIFIERS= ppython GreetingCard.py
DirectStart: Starting the game.
enumerate is already present in builtin
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
:audio(error): Fmod initialization failure.
:audio(error): Fmod initialization failure.
:express(warning): Adjusting global clock’s real time by -5.89316 seconds.

What does your XMODIFIERS variable contain if you don’t reset it to empty?


echo $XMODIFIERS

David

XMODIFIERS=@im=SCIM

scim is

scim-im.org/