segment fault on Centos
Kovid,
I was hoping you might be able to provide some insight into why i am getting a segment fault when running Calibre on CentOS 5. Here is the message i get with LD_debug=libs calibre.
Thanks
Alicia Dana
[root@dev calibre]# LD_DEBUG=libs ./calibre
1747: find library=libtermcap.so.2 [0]; searching
1747: search cache=/etc/ld.so.cache
1747: trying file=/lib/libtermcap.so.2
1747:
1747: find library=libdl.so.2 [0]; searching
1747: search cache=/etc/ld.so.cache
1747: trying file=/lib/libdl.so.2
1747:
1747: find library=libc.so.6 [0]; searching
1747: search cache=/etc/ld.so.cache
1747: trying file=/lib/libc.so.6
1747:
1747:
1747: calling init: /lib/libc.so.6
1747:
1747:
1747: calling init: /lib/libdl.so.2
1747:
1747:
1747: calling init: /lib/libtermcap.so.2
1747:
1747:
1747: initialize program: /bin/sh
1747:
1747:
1747: transferring control: /bin/sh
1747:
1748: find library=libc.so.6 [0]; searching
1748: search cache=/etc/ld.so.cache
1748: trying file=/lib/libc.so.6
1748:
1748:
1748: calling init: /lib/libc.so.6
1748:
1748:
1748: initialize program: readlink
1748:
1748:
1748: transferring control: readlink
1748:
1748:
1748: calling fini: readlink [0]
1748:
1748:
1748: calling fini: /lib/libc.so.6 [0]
1748:
1749: find library=libc.so.6 [0]; searching
1749: search cache=/etc/ld.so.cache
1749: trying file=/lib/libc.so.6
1749:
1749:
1749: calling init: /lib/libc.so.6
1749:
1749:
1749: initialize program: dirname
1749:
1749:
1749: transferring control: dirname
1749:
1749:
1749: calling fini: dirname [0]
1749:
1749:
1749: calling fini: /lib/libc.so.6 [0]
1749:
1750: find library=libpython2.6.so.1.0 [0]; searching
1750: search path=/opt/calibre/tls/i686/sse2:/opt/calibre/tls/i686:/opt/calibre/tls/sse2:/opt/calibre/tls:/opt/calibre/i686/sse2:/opt/calibre/i686:/opt/calibre/sse2:/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/tls/i686/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/tls/i686/libpython2.6.so.1.0
1750: trying file=/opt/calibre/tls/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/tls/libpython2.6.so.1.0
1750: trying file=/opt/calibre/i686/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/i686/libpython2.6.so.1.0
1750: trying file=/opt/calibre/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/libpython2.6.so.1.0
1750:
1750: find library=libpthread.so.0 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libpthread.so.0
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libpthread.so.0
1750: trying file=tls/i686/libpthread.so.0
1750: trying file=tls/sse2/libpthread.so.0
1750: trying file=tls/libpthread.so.0
1750: trying file=i686/sse2/libpthread.so.0
1750: trying file=i686/libpthread.so.0
1750: trying file=sse2/libpthread.so.0
1750: trying file=libpthread.so.0
1750: search path=/opt/calibre:/opt/calibre/../lib/tls/i686/sse2:/opt/calibre/../lib/tls/i686:/opt/calibre/../lib/tls/sse2:/opt/calibre/../lib/tls:/opt/calibre/../lib/i686/sse2:/opt/calibre/../lib/i686:/opt/calibre/../lib/sse2:/opt/calibre/../lib (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/i686/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/i686/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/libpthread.so.0
1750: trying file=/opt/calibre/../lib/i686/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/i686/libpthread.so.0
1750: trying file=/opt/calibre/../lib/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/libpthread.so.0
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libpthread.so.0
1750:
1750: find library=libdl.so.2 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libdl.so.2
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libdl.so.2
1750: trying file=tls/i686/libdl.so.2
1750: trying file=tls/sse2/libdl.so.2
1750: trying file=tls/libdl.so.2
1750: trying file=i686/sse2/libdl.so.2
1750: trying file=i686/libdl.so.2
1750: trying file=sse2/libdl.so.2
1750: trying file=libdl.so.2
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libdl.so.2
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libdl.so.2
1750:
1750: find library=libutil.so.1 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libutil.so.1
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libutil.so.1
1750: trying file=tls/i686/libutil.so.1
1750: trying file=tls/sse2/libutil.so.1
1750: trying file=tls/libutil.so.1
1750: trying file=i686/sse2/libutil.so.1
1750: trying file=i686/libutil.so.1
1750: trying file=sse2/libutil.so.1
1750: trying file=libutil.so.1
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libutil.so.1
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libutil.so.1
1750:
1750: find library=libm.so.6 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libm.so.6
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libm.so.6
1750: trying file=tls/i686/libm.so.6
1750: trying file=tls/sse2/libm.so.6
1750: trying file=tls/libm.so.6
1750: trying file=i686/sse2/libm.so.6
1750: trying file=i686/libm.so.6
1750: trying file=sse2/libm.so.6
1750: trying file=libm.so.6
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libm.so.6
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libm.so.6
1750:
1750: find library=libc.so.6 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libc.so.6
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libc.so.6
1750: trying file=tls/i686/libc.so.6
1750: trying file=tls/sse2/libc.so.6
1750: trying file=tls/libc.so.6
1750: trying file=i686/sse2/libc.so.6
1750: trying file=i686/libc.so.6
1750: trying file=sse2/libc.so.6
1750: trying file=libc.so.6
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libc.so.6
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libc.so.6
1750:
1750:
1750: calling init: /lib/libpthread.so.0
1750:
1750:
1750: calling init: /lib/libc.so.6
1750:
1750:
1750: calling init: /lib/libm.so.6
1750:
1750:
1750: calling init: /lib/libutil.so.1
1750:
1750:
1750: calling init: /lib/libdl.so.2
1750:
1750:
1750: calling init: /opt/calibre/libpython2.6.so.1.0
1750:
1750:
1750: initialize program: /opt/calibre/loader
1750:
1750:
1750: transferring control: /opt/calibre/loader
1750:
1750:
1750: calling init: /opt/calibre/_functools.so
1750:
1750:
1750: calling init: /opt/calibre/_locale.so
1750:
1750:
1750: calling init: /opt/calibre/operator.so
1750:
1750: find library=libpython2.6.so.1.0 [0]; searching
1750: search path=/opt/calibre/tls/i686/sse2:/opt/calibre/tls/i686:/opt/calibre/tls/sse2:/opt/calibre/tls:/opt/calibre/i686/sse2:/opt/calibre/i686:/opt/calibre/sse2:/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/tls/i686/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/tls/i686/libpython2.6.so.1.0
1750: trying file=/opt/calibre/tls/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/tls/libpython2.6.so.1.0
1750: trying file=/opt/calibre/i686/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/i686/libpython2.6.so.1.0
1750: trying file=/opt/calibre/sse2/libpython2.6.so.1.0
1750: trying file=/opt/calibre/libpython2.6.so.1.0
1750:
1750: find library=libpthread.so.0 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libpthread.so.0
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libpthread.so.0
1750: trying file=tls/i686/libpthread.so.0
1750: trying file=tls/sse2/libpthread.so.0
1750: trying file=tls/libpthread.so.0
1750: trying file=i686/sse2/libpthread.so.0
1750: trying file=i686/libpthread.so.0
1750: trying file=sse2/libpthread.so.0
1750: trying file=libpthread.so.0
1750: search path=/opt/calibre:/opt/calibre/../lib/tls/i686/sse2:/opt/calibre/../lib/tls/i686:/opt/calibre/../lib/tls/sse2:/opt/calibre/../lib/tls:/opt/calibre/../lib/i686/sse2:/opt/calibre/../lib/i686:/opt/calibre/../lib/sse2:/opt/calibre/../lib (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/i686/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/i686/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/tls/libpthread.so.0
1750: trying file=/opt/calibre/../lib/i686/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/i686/libpthread.so.0
1750: trying file=/opt/calibre/../lib/sse2/libpthread.so.0
1750: trying file=/opt/calibre/../lib/libpthread.so.0
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libpthread.so.0
1750:
1750: find library=libdl.so.2 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libdl.so.2
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libdl.so.2
1750: trying file=tls/i686/libdl.so.2
1750: trying file=tls/sse2/libdl.so.2
1750: trying file=tls/libdl.so.2
1750: trying file=i686/sse2/libdl.so.2
1750: trying file=i686/libdl.so.2
1750: trying file=sse2/libdl.so.2
1750: trying file=libdl.so.2
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libdl.so.2
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libdl.so.2
1750:
1750: find library=libutil.so.1 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libutil.so.1
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libutil.so.1
1750: trying file=tls/i686/libutil.so.1
1750: trying file=tls/sse2/libutil.so.1
1750: trying file=tls/libutil.so.1
1750: trying file=i686/sse2/libutil.so.1
1750: trying file=i686/libutil.so.1
1750: trying file=sse2/libutil.so.1
1750: trying file=libutil.so.1
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libutil.so.1
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libutil.so.1
1750:
1750: find library=libm.so.6 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libm.so.6
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libm.so.6
1750: trying file=tls/i686/libm.so.6
1750: trying file=tls/sse2/libm.so.6
1750: trying file=tls/libm.so.6
1750: trying file=i686/sse2/libm.so.6
1750: trying file=i686/libm.so.6
1750: trying file=sse2/libm.so.6
1750: trying file=libm.so.6
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libm.so.6
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libm.so.6
1750:
1750: find library=libc.so.6 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libc.so.6
1750: search path=tls/i686/sse2:tls/i686:tls/sse2:tls:i686/sse2:i686:sse2: (LD_LIBRARY_PATH)
1750: trying file=tls/i686/sse2/libc.so.6
1750: trying file=tls/i686/libc.so.6
1750: trying file=tls/sse2/libc.so.6
1750: trying file=tls/libc.so.6
1750: trying file=i686/sse2/libc.so.6
1750: trying file=i686/libc.so.6
1750: trying file=sse2/libc.so.6
1750: trying file=libc.so.6
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libc.so.6
1750: search cache=/etc/ld.so.cache
1750: trying file=/lib/libc.so.6
1750:
1750:
1750: calling init: /lib/libpthread.so.0
1750:
1750:
1750: calling init: /lib/libc.so.6
1750:
1750:
1750: calling init: /lib/libm.so.6
1750:
1750:
1750: calling init: /lib/libutil.so.1
1750:
1750:
1750: calling init: /lib/libdl.so.2
1750:
1750:
1750: calling init: /opt/calibre/libpython2.6.so.1.0
1750:
1750:
1750: initialize program: /opt/calibre/loader
1750:
1750:
1750: transferring control: /opt/calibre/loader
1750:
1750:
1750: calling init: /opt/calibre/_functools.so
1750:
1750:
1750: calling init: /opt/calibre/_locale.so
1750:
1750:
1750: calling init: /opt/calibre/operator.so
1750:
1750:
1750: calling init: /opt/calibre/time.so
1750:
1750:
1750: calling init: /opt/calibre/strop.so
1750:
1750:
1750: calling init: /opt/calibre/cStringIO.so
1750:
1750:
1750: calling init: /opt/calibre/_collections.so
1750:
1750:
1750: calling init: /opt/calibre/_socket.so
1750:
1750: find library=libssl.so.0.9.8 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libssl.so.0.9.8
1750:
1750: find library=libcrypto.so.0.9.8 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libcrypto.so.0.9.8
1750:
1750: find library=libz.so.1 [0]; searching
1750: search path=/opt/calibre (RUNPATH from file /opt/calibre/loader)
1750: trying file=/opt/calibre/libz.so.1
1750:
./calibre: line 11: 1750 Segmentation fault $loader "$@"
1747:
1747: calling fini: /bin/sh [0]
1747:
1747:
1747: calling fini: /lib/libtermcap.so.2 [0]
1747:
1747:
1747: calling fini: /lib/libdl.so.2 [0]
1747:
1747:
1747: calling fini: /lib/libc.so.6 [0]
1747:
|