mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: musl pthread/tls issue.
Date: Fri, 24 Oct 2014 13:32:51 +0200	[thread overview]
Message-ID: <20141024113251.GH16659@port70.net> (raw)
In-Reply-To: <544A0152.4040201@i-soft.com.cn>

* ????????? <jianzhong.huang@i-soft.com.cn> [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


  reply	other threads:[~2014-10-24 11:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22  6:33 黄建忠
2014-10-22  7:08 ` Luca Barbato
2014-10-22  7:17   ` 黄建忠
2014-10-22  7:27 ` Jens Gustedt
2014-10-22  7:45 ` Szabolcs Nagy
2014-10-24  7:35   ` 黄建忠
2014-10-24 11:32     ` Szabolcs Nagy [this message]
2014-10-22  7:58 ` Timo Teras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141024113251.GH16659@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).