From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6390 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl pthread/tls issue. Date: Fri, 24 Oct 2014 13:32:51 +0200 Message-ID: <20141024113251.GH16659@port70.net> References: <54474F9D.3090306@i-soft.com.cn> <20141022074536.GF16659@port70.net> <544A0152.4040201@i-soft.com.cn> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1414150392 7461 80.91.229.3 (24 Oct 2014 11:33:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2014 11:33:12 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6403-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 24 13:33:05 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Xhd7A-0008DK-TS for gllmg-musl@plane.gmane.org; Fri, 24 Oct 2014 13:33:05 +0200 Original-Received: (qmail 26221 invoked by uid 550); 24 Oct 2014 11:33:03 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 26213 invoked from network); 24 Oct 2014 11:33:03 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <544A0152.4040201@i-soft.com.cn> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:6390 Archived-At: * ????????? [2014-10-24 15:35:46 +0800]: > The default pthread stacksize is 81920, that's 80k. > > I increase the stacksize to 8M and this bug disappear. it would be nice to know what causes the stack usage in gnome-shell (dynamic stack allocation can be a vulnerability) > And about the webkit, the different codebase of webkitgtk had different > behaviors: > 2.4.x run but report a exception of RangeError. > 2.6.x(they call it webkitgtk4) use the same codebase as ewebkit, directly > segfault. > > I guess it's related to the "fastmalloc" of JavaScriptCore. it seems to be a tcmalloc variant by default, which can go wrong in many ways so that should be disabled: try -DUSE_SYSTEM_MALLOC