1a3471
diff -up firefox-68.1.0/xpcom/threads/nsThread.cpp.old firefox-68.1.0/xpcom/threads/nsThread.cpp
1a3471
--- firefox-68.1.0/xpcom/threads/nsThread.cpp.old	2019-09-20 12:17:35.481661390 +0200
1a3471
+++ firefox-68.1.0/xpcom/threads/nsThread.cpp	2019-09-20 12:19:14.269180516 +0200
1a3471
@@ -556,7 +556,8 @@ void nsThread::InitCommon() {
1a3471
     // kernel report them as separate regions, even when they are adjacent to
1a3471
     // heap memory. This allows us to accurately track the actual memory
1a3471
     // consumption of our allocated stacks.
1a3471
-    madvise(mStackBase, stackSize, MADV_NOHUGEPAGE);
1a3471
+    // not supported on RHEL6
1a3471
+    // madvise(mStackBase, stackSize, MADV_NOHUGEPAGE);
1a3471
 
1a3471
     pthread_attr_destroy(&attr);
1a3471
 #elif defined(XP_WIN)