This discussion is archived
0 Replies Latest reply: Jul 13, 2009 10:30 PM by 807578 RSS

xterm, gvim segfauting due to xiiimp.so.2 (or related components)

807578 Newbie
Currently Being Moderated
Hi all,

I posted this message on comp.unix.solaris yesterday but doesn't look like I'm going to get a response, so I'm cross posting here.

I've been seeing this problem ever since I applied a few patches through Sun Update Manager about a month ago (System specs are in the crash dump below). Today I went over the list of patches that had been applied in that time period, in particular looking for a patch that installed files in /usr/openwin/lib/locale/common and /usr/openwin/lib/locale/common/ sparcv9, but couldn't locate the particular patch. As the message subject says, I've been seeing xterm and gvim segfault on startup. Matlab, which uses java for displaying figures, and IDE, etc is witnessing the same problem. Furtunately, it leaves behind an informative crash dump, which I have copied below. Btw, I've compiled on the same machine (Sun Blade 2500) with Sun Studio's cc. Doing ldd doesn't show the binaries getting inadvertently linked to any dynamic lib due to incorrect path, etc.

In an attempt to isolate the problem, I moved /usr/openwin/lib/locale to /usr/openwin/lib/locale.bak and indeed the segfaults vanished, but now the system only has the C locale which is not acceptable either. I suspect that the problem might be due to an input manager. Since I don't really need one, I can try and see if shutting down the IM solves the problem. Only I couldn't figure out how to stop the IM. I primarily use CDE since i'm logged on over XDMCP.

Thanks for your time,
Ritesh
------------------------------------------------------------------------
Segmentation violation detected at Mon Jul 13 02:07:13 2009
------------------------------------------------------------------------
Configuration:
MATLAB Version: 7.8.0.347 (R2009a)
MATLAB License: *********
Operating System: SunOS 5.10 Generic_141414-02 sun4u
Processor ID: sun4u
Virtual Machine: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java
HotSpot(TM) 64-Bit Server VM mixed mode
Default Encoding: UTF-8
Stack Trace:
[  0] ffffffff6ca30c14 /usr/openwin/lib/locale/common/sparcv9/
xiiimp.so.2+199700 (iiimxcf_xaux_proxy_aux_start+008684)
[  1] ffffffff6ca3adb8 /usr/openwin/lib/locale/common/sparcv9/
xiiimp.so.2+241080 (_SwitchOpenIM+004412)
[  2] ffffffff74641ff8 /usr/openwin/lib/sparcv9/libX11.so.4+270328
(XCreateIC+000152)
[  3] ffffffff50d1c73c /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/xawt/libmawt.so+116540
(Java_sun_awt_X11GraphicsDevice_exitFullScreenExclusive+003140)
[  4] ffffffff50d1d0f4 /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/xawt/libmawt.so+119028
(Java_sun_awt_X11_XInputMethod_createXICNative+000300)
[  5] ffffffff6b177668 /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/server/libjvm.so+1537640 (JVM_RawMonitorEnter+014216)
[  6] ffffffff6b449204 /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/server/libjvm.so+4493828 (AsyncGetCallTrace+362788)
[  7] ffffffff6b219d54 /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/server/libjvm.so+2202964 (JVM_IsPrimitiveClass+002868)
[  8] ffffffff6b22ce58 /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/server/libjvm.so+2281048 (JVM_Open+002208)
[  9] ffffffff6b6e490c /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/server/libjvm.so+7227660 (sysThreadAvailableStackWithSlack
+695076)
[ 10] ffffffff6b633e9c /opt/Matlab-R2009a/sys/java/jre/sol64/jre/lib/
sparcv9/server/libjvm.so+6504092 (JVM_RaiseSignal+1466884)
[ 11] ffffffff7d1d608c /lib/sparcv9/libc.so.1+876684
(_thr_slot_offset+001160)