On Tue, Oct 20, 2009 at 02:17:39PM +0200, Andrea Bolognani wrote:
>
> Could you please try running vim in a VT after making LD_PRELOAD point to
> the lib?
I tried to set LD_PRELOAD=/usr/lib/scrotwm/libswmhack.so.0.0 on tty2
and then run vim. It works.
> Also, would you mind providing a core file of vim, and possibly also other
> crashing applications like xpdf? Those would be very precious in
> understanding what's going on.
Here is what bt in gdb gives for vim (it is very similar for xpdf.bin) :
#0 0xb7438d2c in _int_malloc (av=0xb7524160, bytes=40) at malloc.c:4130
#1 0xb743acd5 in *__GI___libc_malloc (bytes=40) at malloc.c:3551
#2 0xb7feffc4 in _dl_signal_error (errcode=2, objname=0xb7fdde04 "libXt.so",
occation=<value optimized out>, errstring=0xb7ffad48 "cannot open shared
object file")
at dl-error.c:90
#3 0xb7fe9cdc in _dl_map_object (loader=0x0, name=0xb7fdde04 "libXt.so",
preloaded=0,
type=2, trace_mode=0, mode=-1879047935, nsid=0) at dl-load.c:2234
#4 0xb7ff4047 in dl_open_worker (a=0xbf80090c) at dl-open.c:293
#5 0xb7fefeb6 in _dl_catch_error (objname=0xbf800934, errstring=0xbf800930,
mallocedp=0xbf80093b, operate=0xb7ff3f00 <dl_open_worker>, args=0xbf80090c)
at dl-error.c:178
#6 0xb7ff3a5e in _dl_open (file=0xb7fdde04 "libXt.so", mode=-2147483391,
caller_dlopen=0xb7fdd7de, nsid=-2, argc=1, argv=0xbffffb24, env=0x82604f8)
at dl-open.c:596
#7 0xb728894c in dlopen_doit (a=0xbf800aac) at dlopenold.c:55
#8 0xb7fefeb6 in _dl_catch_error (objname=0x82f373c, errstring=0x82f3740,
mallocedp=0x82f3738, operate=0xb72888c0 <dlopen_doit>, args=0xbf800aac)
at dl-error.c:178
#9 0xb728803c in _dlerror_run (operate=0xb72888c0 <dlopen_doit>,
args=<value optimized out>) at dlerror.c:164
#10 0xb72889cf in __dlopen_nocheck (file=0xb7fdde04 "libXt.so", mode=<value
optimized out>)
at dlopenold.c:77
#11 0xb7fdd7de in XtAppNextEvent () from /usr/lib/scrotwm/libswmhack.so.0.0
#12 0xb7fdd782 in XtAppNextEvent () from /usr/lib/scrotwm/libswmhack.so.0.0
#13 0xb7fdd782 in XtAppNextEvent () from /usr/lib/scrotwm/libswmhack.so.0.0
#14 0xb7fdd782 in XtAppNextEvent () from /usr/lib/scrotwm/libswmhack.so.0.0
[…]
Does core files generated by generate-core-file in gdb after the segfault
would be useful ?
> Do you have different versions of libx11-6 or libxt6 installed?
Here is what I have on both machines :
ii libx11-6 2:1.2.2-1
ii libxt6 1:1.0.6-1
Regards.
Christophe Mouilleron.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]