开发者

Tcl/Tk - segfault when run on a LSF machine

I am developing a gui application using Tcl/Tk. I am able to run the gui application in my local machine but it fails when run in my LSF machine.

[local] % rs -gui 

Works fine. B开发者_运维技巧ut the following fails:

[local] % bsub -q xyz -Is /bin/csh

[lsf01] % rs -gui 
Segmentation fault

I did bt by loading the executable in gdb and got the following trace. Any ideas on how to fix this issue?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1431984992 (LWP 8403)]
0x08932674 in _XimCheckIfLocalProcessing ()
(gdb) bt
#0  0x08932674 in _XimCheckIfLocalProcessing ()
#1  0x089326e8 in _XimCheckIfLocalProcessing ()
#2  0x089326d8 in _XimCheckIfLocalProcessing ()
#3  0x089326e8 in _XimCheckIfLocalProcessing ()
#4  0x08932715 in _XimLocalIMFree ()
#5  0x089294a2 in _XimOpenIM ()
#6  0x089043de in XOpenIM ()
#7  0x088a2155 in TkpSync ()
#8  0x088a1c21 in TkpOpenDisplay ()
#9  0x0883578d in Rechan_Init ()
#10 0x00000000 in ?? ()

EDIT 1: added info after running ldd on the executables on local and lsf machines.

[local] % ldd rs
    linux-gate.so.1 =>  (0xffffe000)
    libdl.so.2 => /lib/libdl.so.2 (0x005a2000)
    libtermcap.so.2 => /lib/libtermcap.so.2 (0x00681000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x005fe000)
    libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf7fb9000)
    libutil.so.1 => /lib/libutil.so.1 (0x006a7000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7f8a000)
    librt.so.1 => /lib/tls/librt.so.1 (0xf7f76000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00695000)
    libelf.so.1 => /usr/lib/libelf.so.1 (0xf7f65000)
    libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0097a000)
    libm.so.6 => /lib/tls/libm.so.6 (0x0057d000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x005a8000)
    libc.so.6 => /lib/tls/libc.so.6 (0x0044f000)
    /lib/ld-linux.so.2 (0x00430000)

[lsf] % ldd rs
    linux-gate.so.1 =>  (0xffffe000)
    libdl.so.2 => /lib/libdl.so.2 (0x00505000)
    libtermcap.so.2 => /lib/libtermcap.so.2 (0x55579000)
    libnsl.so.1 => /lib/libnsl.so.1 (0x00562000)
    libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00530000)
    libutil.so.1 => /lib/libutil.so.1 (0x008fc000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x0062e000)
    librt.so.1 => /lib/tls/librt.so.1 (0x5557e000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00544000)
    libelf.so.1 => /usr/lib/libelf.so.1 (0x55592000)
    libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x006c5000)
    libm.so.6 => /lib/tls/libm.so.6 (0x0050b000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00556000)
    libc.so.6 => /lib/tls/libc.so.6 (0x003d7000)
    /lib/ld-linux.so.2 (0x003bd000)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜