Created attachment 9554788
Bug 2024326 - Mutex,ConditionVariable: Ensure alignment of platformData 
r=jandem,glandium


Declaring the variable as (void*)[] does not guarantee proper alignment to
hold a pthread_mutex_t/pthread_cond_t.
Since we're already including pthread.h, make the variable actually hold the
wanted type. Here we keep using an array of size 1 to satisfy existing
expectations that the name platformData_ is an array.

Forwarded: https://phabricator.services.mozilla.com/D288470
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=2024326
Bug-Ubuntu: https://launchpad.net/bugs/2144310

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144310

Title:
  glibc 2.43-2ubuntu1 appears to cause mozjs to crash on armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/2144310/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to