From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10973 Path: news.gmane.org!.POSTED!not-for-mail From: Samuel Holland Newsgroups: gmane.linux.lib.musl.general Subject: Re: getrlimit failed (chromium on musl) Date: Sat, 28 Jan 2017 13:45:25 -0600 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1485632758 10664 195.159.176.226 (28 Jan 2017 19:45:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 19:45:58 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 To: musl@lists.openwall.com Original-X-From: musl-return-10988-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jan 28 20:45:54 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cXYwL-0000wW-J0 for gllmg-musl@m.gmane.org; Sat, 28 Jan 2017 20:45:37 +0100 Original-Received: (qmail 18154 invoked by uid 550); 28 Jan 2017 19:45:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18133 invoked from network); 28 Jan 2017 19:45:39 -0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sholland.org; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=odz93w7ygJWF9wr RW1PFFIghPnc=; b=CWgnN9LJavxQG5gr3Rxs3HdlMjEO/KGFz7jn+1DLsnNqyGV fSialAoOtiYKltOYX2cBRNIJEVUXy2YuxigWfA/5zQ0Tp+5GkiYRqRf8fvP0lOYd c/gCYmy0gaqkBFZTRh+kzzg5homQLkD/MoyfijXK5Bt2cj1BC+1XywXp15Hk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=odz93w7ygJWF9wrRW1PFFIghPnc=; b=V+QZJuShWhGWAMLaJtkF NGSP4BW+38RAWG4IVmKb/faFJhecGE7zH87XCVg5q0PS8onW4SRJ0PBdljBZNyAl QtCEPmmbGevDoazBhxrCJ9Ba+/OttAo6wj3HG/ptxgCz0LSI2pZ0SetjLhY2itu1 yleJSuV6C0oy6gj67ZJaucY= X-ME-Sender: X-Sasl-enc: +PJV9B57Exk+s9WmQczja/cfvW0fNGpL5CSu3Y1p2lS7 1485632725 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10973 Archived-At: Hello, On 01/28/17 00:00, He X wrote: > After patched, chromium segfault three times in two days, e.g. when > i try to upload a file in a baiduyun, crash when i click the upload > button, and suddenly crashed twice, when --disable-sandbox, no > crashing: [65422.256448] chromium[12257]: segfault at 3c1 ip > 00007f69e30e075c sp 00007ffe5442efc0 error 4 in > libc.so[7f69e30b9000+a1000] I have had zero crashes with chromium and this patch (over more than a month of use). > strace output(should be this one): > 13:52:37.479810 prlimit64(0, RLIMIT_NOFILE, {rlim_cur=4*1024, > rlim_max=4*1024}, NULL) = 0 > 13:52:37.479835 futex(0x7f98cbc02b6c, FUTEX_WAKE_PRIVATE, 1) = 1 > 13:52:37.479862 futex(0x7f98cbc02b4c, FUTEX_WAIT_PRIVATE, 4294967295, > NULL) = 0 > 13:52:37.479961 rt_sigreturn({mask=[]}) = 61 > 13:52:37.479982 wait4(29341, NULL, 0, NULL) = ? ERESTARTSYS (To be > restarted if SA_RESTART is set) > 13:52:37.851264 wait4(29341, NULL, 0, NULL) = ? ERESTARTSYS (To be > restarted if SA_RESTART is set) > 13:52:42.127096 wait4(29341, NULL, 0, NULL) = ? ERESTARTSYS (To be > restarted if SA_RESTART is set) > 13:53:23.970709 wait4(29341, ) = ? > 13:53:30.693847 +++ killed by SIGSEGV +++ Given the 53 seconds between the prlimit64 call and the crash, I doubt they are related. Regards, Samuel