Closed
Bug 1754578
Opened 3 years ago
Closed 3 years ago
Make the pthread_create() interposer work with glibc 2.34
Categories
(Toolkit :: Crash Reporting, task, P1)
Toolkit
Crash Reporting
Tracking
()
RESOLVED
FIXED
99 Branch
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: gsvelto, Assigned: gsvelto)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Starting with glibc 2.34 the SIGSTKSZ
macro is not a value anymore but calls sysconf(_SC_SIGSTKSZ)
instead. This means that kSigStackSize
needs to be initialized via a static initializer. However it appears that something is invoking pthread_create()
before static initializers have run, so kSigStackSize
is zero when entering the interposer and we fail to allocate the alternate signal stack. We should fix this to ensure the interposer is working as expected on distros that have already rolled out glibc 2.34.
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Updated•3 years ago
|
Severity: -- → S2
Priority: -- → P1
Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/432ac2ec3202
Make the pthread_create() interposer work on glibc 2.34+ r=jld
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox99:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•