Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 15:45:17 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Max Brazhnikov <makc@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: process hanging on 7.2-PRERELEASE
Message-ID:  <20090502124516.GE17826@deviant.kiev.zoral.com.ua>
In-Reply-To: <200905021443.52526.makc@freebsd.org>
References:  <200905021443.52526.makc@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--BZaMRJmqxGScZ8Mx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, May 02, 2009 at 02:43:52PM +0400, Max Brazhnikov wrote:
> Currently all kde4 ports marked as jobs_unsafe, because of automoc4 hangs.
> The problem can be easely reproduced building e.g. accessibility/kdeacces=
sibility4
> with multiple jobs: replace MAKE_JOBS_UNSAFE with MAKE_JOBS_SAFE in port =
Makefile
> and run 'make MAKE_JOBS_NUMBER=3D16'. Build will be freezed on
>=20
> /usr/local/bin/cmake -E cmake_progress_report /tank/obj/usr/ports/accessi=
bility/kdeaccessibility4/work/kdeaccessibility-4.2.2/build/CMakeFiles  77 7=
8=20
> 79 8081 82 83 84 85 86 87 88 89 90 91 92 93 94 95
> [ 95%] Built target kmouth
>=20
> # ps | grep automoc4
> 77829  p4  S+     0:00.27 /usr/local/bin/automoc4 /tank/obj/usr/ports/acc=
essibility/kdeaccessibility4/
> 77840  p4  I+     0:00.00 /usr/local/bin/automoc4 /tank/obj/usr/ports/acc=
essibility/kdeaccessibility4/
>=20
> #gdb66 automoc4 77829
> 0x2846fb3b in select () at select.S:2
> 2       RSYSCALL(select)
> (gdb) bt
> #0  0x2846fb3b in select () at select.S:2
> #1  0x2838d788 in __select (numfds=3D6, readfds=3D0xbf9feee8, writefds=3D=
0x0, exceptfds=3D0x0, timeout=3D0x0)
>     at /usr/freebsd/7/src/lib/libthr/thread/thr_syscalls.c:444
> #2  0x281b4f3d in QProcessManager::run (this=3D0x287142f0) at io/qprocess=
_unix.cpp:301
> #3  0x280f30e2 in QThreadPrivate::start (arg=3D0x287142f0) at thread/qthr=
ead_unix.cpp:185
> #4  0x2838b68a in thread_start (curthread=3D0x28701150) at /usr/freebsd/7=
/src/lib/libthr/thread/thr_create.c:288
> #5  0x00000000 in ?? ()
> Current language:  auto; currently asm
> (gdb)
>=20
>=20
> # gdb66 automoc4 77840
> 0x28395593 in _umtx_op_err () at /usr/freebsd/7/src/lib/libthr/arch/i386/=
i386/_umtx_op_err.S:36
> 36      SYSCALL_ERR(_umtx_op)
> (gdb) bt
> #0  0x28395593 in _umtx_op_err () at /usr/freebsd/7/src/lib/libthr/arch/i=
386/i386/_umtx_op_err.S:36
> #1  0x283953c4 in __thr_umutex_lock (mtx=3D0x8054f3c, id=3D100416) at /us=
r/freebsd/7/src/lib/libthr/thread/thr_umtx.c:58
> #2  0x28390502 in mutex_lock_sleep (curthread=3D0x28701040, m=3D0x8054f3c=
, abstime=3D0x0) at /usr/freebsd/7/src/lib/libthr/thread/thr_mutex.c:401
> #3  0x283fb0ea in _malloc_postfork () at /usr/freebsd/7/src/lib/libc/stdl=
ib/malloc.c:1029
> #4  0x28393038 in _fork () at /usr/freebsd/7/src/lib/libthr/thread/thr_fo=
rk.c:178
> #5  0x281b7381 in QProcessPrivate::startProcess (this=3D0x287720f0) at io=
/qprocess_unix.cpp:570
> #6  0x2817a181 in QProcess::start (this=3D0xbfbfe1b8, program=3D@0xbfbfe5=
dc, arguments=3D@0xbfbfe1b4, mode=3D@0xbfbfe1c0) at io/qprocess.cpp:1508
> #7  0x08051720 in AutoMoc::echoColor (this=3D0xbfbfe5c8, msg=3D@0xbfbfe25=
8) at /tank/obj/usr/ports/devel/automoc4/work/automoc4-0.9.88/kde4automoc.c=
pp:73
> #8  0x0804c0a7 in AutoMoc::generateMoc (this=3D0xbfbfe5c8, sourceFile=3D@=
0x28714418, mocFileName=3D@0x2871441c)
>     at /tank/obj/usr/ports/devel/automoc4/work/automoc4-0.9.88/kde4automo=
c.cpp:569
> #9  0x0804f4ae in AutoMoc::run (this=3D0xbfbfe5c8) at /tank/obj/usr/ports=
/devel/automoc4/work/automoc4-0.9.88/kde4automoc.cpp:470
> #10 0x080504e6 in main (argc=3DCannot access memory at address 0x0
> ) at /tank/obj/usr/ports/devel/automoc4/work/automoc4-0.9.88/kde4automoc.=
cpp:114
> Current language:  auto; currently asm
> (gdb)

Great.

I think this is a missed merge of the r185514 to 7. Can you, please,
retest with that revision merged ?

--BZaMRJmqxGScZ8Mx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkn8QFwACgkQC3+MBN1Mb4gf3gCfWmjza732B0S3EOvDi0sfe1WX
wNMAoKChjhZJKXQZay5MLG3hKEQGhyeI
=AyXc
-----END PGP SIGNATURE-----

--BZaMRJmqxGScZ8Mx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090502124516.GE17826>