Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 05:03:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 220767] lang/beignet: hangs if consumer is not linked against libpthread after jemalloc 5.0.0 update
Message-ID:  <bug-220767-7141-quclXlBFNK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220767-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220767-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220767

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
Do we have tests for base r276630? For one, jemalloc 5.0.0 changed

  bool
  malloc_mutex_first_thread(void)
  {

  #ifdef JEMALLOC_MUTEX_INIT_CB
          postpone_init =3D false;
          while (postponed_mutexes !=3D NULL) {
                  if (_pthread_mutex_init_calloc_cb(&postponed_mutexes->loc=
k,
                      bootstrap_calloc) !=3D 0)
                          return (true);
                  postponed_mutexes =3D postponed_mutexes->postponed_next;
          }
  #endif
          return (false);
  }

into

  bool
  malloc_mutex_first_thread(void) {

  #ifndef JEMALLOC_MUTEX_INIT_CB
          return (malloc_mutex_first_thread());
  #else
          return (false);
  #endif
  }

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220767-7141-quclXlBFNK>