pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
chromium-new: Fix obvious pthread mistakes to reduce kernel panic
Module Name: pkgsrc-wip
Committed By: Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By: ryoon
Date: Thu Jul 28 10:29:27 2016 +0900
Changeset: 0a7ccaf0879d91713838fffae4654185a6a612ae
Modified Files:
chromium-new/distinfo
chromium-new/patches/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
Log Message:
chromium-new: Fix obvious pthread mistakes to reduce kernel panic
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0a7ccaf0879d91713838fffae4654185a6a612ae
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
chromium-new/distinfo | 2 +-
...rty_WebKit_Source_platform_heap_StackFrameDepth.cpp | 18 ++++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
diffs:
diff --git a/chromium-new/distinfo b/chromium-new/distinfo
index aaf2440..06a3587 100644
--- a/chromium-new/distinfo
+++ b/chromium-new/distinfo
@@ -328,7 +328,7 @@ SHA1 (patch-third__party_WebKit_Source_platform_fonts_FontCache.h) = ef15cd605fa
SHA1 (patch-third__party_WebKit_Source_platform_fonts_FontPlatformData.cpp) = 2ed983f2da7e211b592d159187bae3957fcc2f49
SHA1 (patch-third__party_WebKit_Source_platform_fonts_skia_FontCacheSkia.cpp) = 339177c2b9148e05e7f4317b89c036346accf372
SHA1 (patch-third__party_WebKit_Source_platform_heap_GCInfo.cpp) = 7a31ec129c091b8f41b9da784a08f56aab8f0661
-SHA1 (patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp) = 016a0e412d4585cce56d1f28859a3f7e4a80f0fd
+SHA1 (patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp) = 23ae7f117d044cae18871638f5a6f86031f032fb
SHA1 (patch-third__party_WebKit_Source_platform_image-decoders_png_PNGImageDecoder.cpp) = d376a3feb69c8c96b470f15e0267d0f82a6d5d4e
SHA1 (patch-third__party_WebKit_Source_platform_text_Character.cpp) = b9a22bfce843ecaddaac1355282de66ed95cf628
SHA1 (patch-third__party_WebKit_Source_platform_text_CharacterPropertyDataGenerator.cpp) = ac56b7fdf9ea2f7b599fedfb95ad440d244bbe91
diff --git a/chromium-new/patches/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp b/chromium-new/patches/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
index 706c64c..bdb6eb3 100644
--- a/chromium-new/patches/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
+++ b/chromium-new/patches/patch-third__party_WebKit_Source_platform_heap_StackFrameDepth.cpp
@@ -22,6 +22,15 @@ $NetBSD$
// pthread_getattr_np() can fail if the thread is not invoked by
// pthread_create() (e.g., the main thread of webkit_unit_tests).
// If so, a conservative size estimate is returned.
+@@ -94,7 +98,7 @@ size_t StackFrameDepth::getUnderestimate
+ pthread_attr_destroy(&attr);
+ return size;
+ }
+-#if OS(FREEBSD)
++#if OS(FREEBSD) || OS(NETBSD)
+ pthread_attr_destroy(&attr);
+ #endif
+
@@ -135,7 +139,7 @@ size_t StackFrameDepth::getUnderestimate
void* StackFrameDepth::getStackStart()
@@ -31,3 +40,12 @@ $NetBSD$
pthread_attr_t attr;
int error;
#if OS(FREEBSD)
+@@ -152,7 +156,7 @@ void* StackFrameDepth::getStackStart()
+ pthread_attr_destroy(&attr);
+ return reinterpret_cast<uint8_t*>(base) + size;
+ }
+-#if OS(FREEBSD)
++#if OS(FREEBSD) || OS(NETBSD)
+ pthread_attr_destroy(&attr);
+ #endif
+ #if defined(__GLIBC__)
Home |
Main Index |
Thread Index |
Old Index