Remove glibc backtrace() native unwind on Linux

RESOLVED FIXED in mozilla26

Status

()

defect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: jseward, Assigned: jseward)

Tracking

Trunk
mozilla26
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

6 years ago
Let's get rid of the glibc backtrace() facility on Linux.  It is never
going to work reliably due to the usual malloc-malloc deadlocking problem.
I think it is less deadlocky with jemalloc because jemalloc is (as I 
understand it) does less locking than glibc malloc, but for sure it
routinely deadlocks for me when building FX with --disable-jemalloc.
Assignee

Comment 1

6 years ago
Posted patch PatchSplinter Review
Assignee

Updated

6 years ago
Attachment #762632 - Flags: review?(bgirard)
Comment on attachment 762632 [details] [diff] [review]
Patch

Review of attachment 762632 [details] [diff] [review]:
-----------------------------------------------------------------

::: tools/profiler/TableTicker.cpp
@@ -41,5 @@
>  
>  // JS
>  #include "jsdbgapi.h"
>  
>  // we eventually want to make this runtime switchable

Can you also remove this comment?
Attachment #762632 - Flags: review?(bgirard) → review+
https://hg.mozilla.org/mozilla-central/rev/80c3c00e0b3c
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.