Re: recent update breaks some ports

From: Stefan Farfeleder <stefan_at_fafoe.narf.at>
Date: Thu, 12 Apr 2012 09:12:50 +0200
On Wed, Apr 11, 2012 at 11:27:55PM +0200, Stefan Farfeleder wrote:
> On Wed, Apr 11, 2012 at 03:53:38PM +0300, Konstantin Belousov wrote:
> > On Wed, Apr 11, 2012 at 01:34:01PM +0200, Stefan Farfeleder wrote:
> > > On Tue, Apr 10, 2012 at 08:31:53AM +0200, Stefan Farfeleder wrote:
> > > > 
> > > > I'm experiencing that too (r234038), xine also no longer starts (hangs
> > > > at splash screen).
> > > 
> > > FWIW backing out r233749 fixes evince and xine for me.
> > Please recompile at least rtld/libc/libthr with debugging symbols and get
> > a backtrace from the hung process.
> 
> Attaching gdb to a hanging evince process yields this:

Sorry, I forgot that make install strips debug info. Here are the traces
with actual debug info:

0x0000000807f7c9ac in _umtx_op_err () at /usr/src/lib/libthr/arch/amd64/amd64/_umtx_op_err.S:37
37      RSYSCALL_ERR(_umtx_op)
(gdb) bt
#0  0x0000000807f7c9ac in _umtx_op_err () at /usr/src/lib/libthr/arch/amd64/amd64/_umtx_op_err.S:37
#1  0x0000000807f72431 in __thr_rwlock_wrlock (rwlock=Variable "rwlock" is not available.
) at /usr/src/lib/libthr/thread/thr_umtx.c:296
#2  0x0000000807f78473 in _thr_rtld_wlock_acquire (lock=0x808189b00) at thr_umtx.h:194
#3  0x00000008006676a9 in wlock_acquire (lock=0x800877760, lockstate=0x7fffff5fa570)
    at /usr/src/libexec/rtld-elf/rtld_lock.c:213
#4  0x0000000800664a6e in dlopen_object (name=0x80ac87632 "libsupc++.so.1", fd=-1, refobj=0x8007e2400, lo_flags=0, 
    mode=1) at /usr/src/libexec/rtld-elf/rtld.c:2517
#5  0x0000000800664e2c in load_filtee1 (obj=0x8007e2400, needed=0x8007e1b80, flags=0)
    at /usr/src/libexec/rtld-elf/rtld.c:1679
#6  0x0000000800664e86 in load_filtees (obj=0x8007e2400, flags=0, lockstate=Variable "lockstate" is not available.
)
    at /usr/src/libexec/rtld-elf/rtld.c:1692
#7  0x00000008006651bb in symlook_obj (req=0x7fffff5fa720, obj=0x8007e2400) at /usr/src/libexec/rtld-elf/rtld.c:3421
#8  0x0000000800665337 in symlook_list (req=0x7fffff5fa7a0, objlist=Variable "objlist" is not available.
) at /usr/src/libexec/rtld-elf/rtld.c:3335
#9  0x0000000800665521 in symlook_global (req=0x7fffff5faaf0, donelist=0x7fffff5faa90)
    at /usr/src/libexec/rtld-elf/rtld.c:3247
#10 0x00000008006658ef in symlook_default (req=0x7fffff5faaf0, refobj=0x8007e0c00)
    at /usr/src/libexec/rtld-elf/rtld.c:3286
#11 0x0000000800665bed in find_symdef (symnum=266, refobj=0x8007e0c00, defobj_out=0x7fffff5fab90, flags=0, 
    cache=0x80079a000, lockstate=0x7fffff5fac30) at /usr/src/libexec/rtld-elf/rtld.c:1416
#12 0x000000080066065b in reloc_non_plt (obj=0x8007e0c00, obj_rtld=Variable "obj_rtld" is not available.
) at /usr/src/libexec/rtld-elf/amd64/reloc.c:155
#13 0x00000008006634e7 in relocate_objects (first=Variable "first" is not available.
) at /usr/src/libexec/rtld-elf/rtld.c:2185
#14 0x0000000800664c96 in dlopen_object (name=0x80a497100 "/usr/local/lib/evince/3/backends/libpdfdocument.so", fd=Variable "fd" is not available.
)
    at /usr/src/libexec/rtld-elf/rtld.c:2543
#15 0x00000008006657b4 in rtld_dlopen (name=0x80a497100 "/usr/local/lib/evince/3/backends/libpdfdocument.so", fd=-1, 
    mode=258) at /usr/src/libexec/rtld-elf/rtld.c:2491
#16 0x0000000806ba376b in g_module_open () from /usr/local/lib/libgmodule-2.0.so.0
#17 0x0000000800cb5097 in ev_module_get_path () from /usr/local/lib/libevdocument.so.3
#18 0x0000000806dd866c in g_type_module_use () from /usr/local/lib/libgobject-2.0.so.0
#19 0x0000000800cac949 in ev_backends_manager_get_document () from /usr/local/lib/libevdocument.so.3
#20 0x0000000800cb13f5 in ev_document_factory_add_filters () from /usr/local/lib/libevdocument.so.3
#21 0x0000000800cb15d4 in ev_document_factory_get_document () from /usr/local/lib/libevdocument.so.3
#22 0x0000000800ee77b9 in ev_job_load_new () from /usr/local/lib/libevview.so.3
#23 0x0000000800ee90f5 in ev_job_scheduler_push_job () from /usr/local/lib/libevview.so.3
#24 0x0000000807259274 in g_thread_create_full () from /usr/local/lib/libglib-2.0.so.0
#25 0x0000000807f70cdd in thread_start (curthread=0x808f1e400) at /usr/src/lib/libthr/thread/thr_create.c:284
#26 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffff5fb000: Bad address.

and:

0x0000000802e3c9ac in _umtx_op_err () at /usr/src/lib/libthr/arch/amd64/amd64/_umtx_op_err.S:37
37      RSYSCALL_ERR(_umtx_op)
(gdb) bt
#0  0x0000000802e3c9ac in _umtx_op_err () at /usr/src/lib/libthr/arch/amd64/amd64/_umtx_op_err.S:37
#1  0x0000000802e3262f in _thr_umtx_timedwait_uint (mtx=Variable "mtx" is not available.
) at /usr/src/lib/libthr/thread/thr_umtx.c:212
#2  0x0000000802e3b09d in cond_wait_common (cond=Variable "cond" is not available.
) at /usr/src/lib/libthr/thread/thr_cond.c:243
#3  0x0000000800bfbf23 in metronom_sync_loop (this_gen=Variable "this_gen" is not available.
) at metronom.c:871
#4  0x0000000802e30cdd in thread_start (curthread=0x804c0b400) at /usr/src/lib/libthr/thread/thr_create.c:284
#5  0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffff7fc000: Bad address.

Stefan
Received on Thu Apr 12 2012 - 05:12:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC