From owner-freebsd-standards@FreeBSD.ORG Sun Apr 19 21:00:16 2015 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6711BA7A for ; Sun, 19 Apr 2015 21:00:16 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 404C6D2C for ; Sun, 19 Apr 2015 21:00:16 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3JL0GcM062111 for ; Sun, 19 Apr 2015 21:00:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201504192100.t3JL0GcM062111@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-standards@FreeBSD.org Subject: Problem reports for freebsd-standards@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 19 Apr 2015 21:00:16 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2015 21:00:16 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 188036 | mblen(3) in EUC locales causes crash and segmenta Open | 191586 | FreeBSD doesn't validate negative edgecases in bi 2 problems total for which you should take action. From owner-freebsd-standards@FreeBSD.ORG Thu Apr 23 01:20:53 2015 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BABD3A9 for ; Thu, 23 Apr 2015 01:20:53 +0000 (UTC) Received: from mta.e.underarmour.co.uk (mta.e.underarmour.co.uk [198.245.88.175]) by mx1.freebsd.org (Postfix) with ESMTP id 98A0D106D for ; Thu, 23 Apr 2015 01:20:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=200608; d=e.underarmour.com; h=From:To:Subject:Date:List-Unsubscribe:MIME-Version:Reply-To:Message-ID:Content-Type; i=underarmour@e.underarmour.com; bh=KV5spBWt3JpXfzxx/V1IrFNo9H4=; b=waNNpzrAO32qDc7NoQ/MmQd474blZ64NpaTw1AtDoZOXekpao4AqzxjwoIadwfWiwx1prh2xuSVp Z58nnMPjfnG/l0KjnIxTGFJW5NQqYqcIdR350rQvIGIDZD4wzJu1tRvaxiEMS7Rxz7f11tH480oJ L5v0Ovh431/Gc3b7aRk= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=200608; d=e.underarmour.com; b=qgz5I2+VxwyZ7R7lPRjLLXtw6HNGeC1OEG0UkOo6vLUEsLGKGXK9wNDrOHjaUrNpJxwoYk+NcXgb Vht7jU6F/rICoD5bsYCyZi5cS4DT0YiKxiZbO4Gjb+XnzlwbgpycrMH+0OOrSoA14jAbLC6mQm9I ii+mBu1R8JxzGiEpF5Q=; Received: by mta.e.underarmour.co.uk id h714fa163hsv for ; Wed, 22 Apr 2015 19:06:17 -0600 (envelope-from ) From: "Under Armour" To: Subject: Heroic Performance has Arrived Date: Wed, 22 Apr 2015 19:06:16 -0600 MIME-Version: 1.0 Reply-To: "Under Armour" x-job: 1377012_5872502 Message-ID: <8b81c9af-f063-4370-97af-da53d1514368@xtnvmta1509.xt.local> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 01:20:53 -0000 Under Armour - Heroic Performance has Arrived http://click.e.underarmour.com/?qs=6ebc42d4abd7411c67c1cf5b113a57deda935b7f037c8a749b51481a5bf27dcfcf8d253e67941292ec57d84afc727488 Train Like An Avenger — Shop Now | http://click.e.underarmour.com/?qs=6ebc42d4abd7411c02914dd169d8887642152aff1535c8acd06ff2db909b268d91baed9b7e1f8443 View Online http://click.e.underarmour.com/?qs=6ebc42d4abd7411c7472b7191fdd602668391b5aadf906171c94ea776206b68864dce13eeafabf7e6744ee464d197382 http://click.e.underarmour.com/?qs=6ebc42d4abd7411c3149671d341447803d2d27972cf7f6368a4189b4146f6c8a173c99bfc9c2233b07086fc2f229b2ad MENS http://click.e.underarmour.com/?qs=6ebc42d4abd7411cfb2cde7a80937996e184f3a5ff0b3deeb76507943b9288bbad29e6c284ddf4b3c946ed711e6184d5 WOMENS http://click.e.underarmour.com/?qs=6ebc42d4abd7411ca3a5593c22196845fe6fecf635837684247f1a9ae0a538932b75f7811e670927ced907a65fe70004 KIDS http://click.e.underarmour.com/?qs=6ebc42d4abd7411cc2c46a8a9be449f7d852fcf23804257742bcef2ef5d710a830038e03dbc226d2b2e845a536d9ed99 SHOES http://click.e.underarmour.com/?qs=6ebc42d4abd7411cf350d191c91615f879dea63d42fa3cf10dbe23460b6106444827d85fbe0123453be52dea3fe94aaf ACCESSORIES http://click.e.underarmour.com/?qs=6ebc42d4abd7411c48ce5d14626b623167add41061024086356f6fe365d79a202059cc2e23b3b820b117bb33a644d5fe http://click.e.underarmour.com/?qs=6ebc42d4abd7411c347135138112c7de0c1e1cddb3b1e691b0baba14be734f9a6539141baedb9a9417887dcf107df704 http://click.e.underarmour.com/?qs=6ebc42d4abd7411cf8bb1b8aa6a462b53e914f95559d76f3d15d549578e24816ac5540c472faa46b96d02d202cdff8c6 NEW ARRIVALS ► http://click.e.underarmour.com/?qs=6ebc42d4abd7411c7472b7191fdd602668391b5aadf906171c94ea776206b68864dce13eeafabf7e6744ee464d197382 our mission is clear: make all athletes better. http://click.e.underarmour.com/?qs=6ebc42d4abd7411c7472b7191fdd602668391b5aadf906171c94ea776206b68864dce13eeafabf7e6744ee464d197382 our mission is to make all athletes better. http://click.e.underarmour.com/?qs=6ebc42d4abd7411c944957c63e7dd3b7afe07fa12648477a8b2f8fa0c6ea2610d12500a50503239ee998d0fe5ecec1be STORE LOCATOR http://click.e.underarmour.com/?qs=6ebc42d4abd7411c14b4d3bd29f975aee78eeb128f43f366e53452c5ac6aac4f4c191038b9b3a58d31a296006ba4cace FAQS http://click.e.underarmour.com/?qs=6ebc42d4abd7411cea204008170592319e271e920dbdbec01b5c1c54c1a99fc073907e241d620f1c CUSTOMER SERVICE tel:18008276687 1800 888 866 tel:18008276687 1800 888 866 FOLLOW US http://click.e.underarmour.com/?qs=6ebc42d4abd7411c40366e566751ddb0189f325f27c2f336c8eea00fcdc98b0f36108405c3c209af | http://click.e.underarmour.com/?qs=6ebc42d4abd7411c549acf1797833cd249cd69ceccd56d6a8c14231441df15eddf43e710e6dd9351 | http://click.e.underarmour.com/?qs=6ebc42d4abd7411c588beecf6f2d108848fa84baf4f30666b312184f21d5c605a7cc9a9196a9a5e2 Please add mailto:underarmour@e.underarmour.com underarmour@e.underarmour.com to your address book. This email was sent to: mailto:freebsd-standards@freebsd.org freebsd-standards@freebsd.org Copyright(c) 2015 Under Armour(R) All Rights Reserved. This e-mail is an advertisement for Under Armour(R) products. UA Sports (S.E.A.) Pte Ltd (“UASSEA”) is the authorized distributor of Under Armour(R) products in your country. You have received this e-mail because you are listed in UASSEA's database and consented to receive this e-mail. UASSEA considers the protection of personal data to be an important corporate obligation. As such, UASSEA takes reasonable efforts to prevent both your personal data from being used for any purposes other than in connection with UASSEA's marketing and sales efforts and your personal data from being provided to third parties (except as otherwise permitted by our Privacy Policy). You may withdraw your consent to our processing of your personal data at any time. However, withdrawing your consent may result in your inability to continue using our services. UA Sports (S.E.A.) Pte Ltd, 10 Eunos Road 8 #11-03, Singapore 408600 *Shop now and receive Free Standard Shipping on all orders over THB 2,400 for purchases from h​t​t​p​:​/​/​w​w​w​.​underarmour​.​c​o​.​t​h​/​e​n​-​t​h (the “Website”) only. Minimum order amount must be met before shipping and handling charges or taxes are included. UASSEA reserves the right to cancel or modify this offer at any time. All orders are subject to UASSEA's Terms and Conditions stated in the Website. http://click.e.underarmour.com/?qs=6ebc42d4abd7411c01957324c221e85181240ec15ddf00d7f5c6d7e79ed9616a03154d3902c47d58 Unsubscribe | http://click.e.underarmour.com/?qs=6ebc42d4abd7411c58ea6afdfcd0e9939a161cf931ff61a007f07c9c1a02d4ed7f3aa32b584bd24c9b65b82811b2e734 Privacy Policy | http://click.e.underarmour.com/?qs=6ebc42d4abd7411c0d78f0a716a19923b1050e1184c4c3705322050cefa82faaaaa489f8aeccba429eb4095984c3911f Terms & Conditions From owner-freebsd-standards@FreeBSD.ORG Thu Apr 23 05:08:03 2015 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2097659A for ; Thu, 23 Apr 2015 05:08:03 +0000 (UTC) Received: from popular.555581.net (popular.555581.net [23.92.219.75]) by mx1.freebsd.org (Postfix) with ESMTP id 879721778 for ; Thu, 23 Apr 2015 05:08:02 +0000 (UTC) To: freebsd-standards@freebsd.org Subject: business leads Message-ID: Date: Thu, 23 Apr 2015 06:54:40 +0200 From: "John" Reply-To: healerc@tom.com MIME-Version: 1.0 X-Mailer-LID: 5 X-Mailer-RecptId: 6480542 X-Mailer-SID: 282 X-Mailer-Sent-By: 1 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 05:08:03 -0000 Hey, You are receiving this email because we wish you to use our email marketing service. We wish to be your email marketing partner, we can grow your business 2-5 times than now. If you would require more information please send us an email and we would be glad to discuss the project requirements with you soon. Looking forward to your positive response. Kind Regards John Email: pottleyo@aliyun.com ------------------------------------------------- This e-mail message and its attachments (if any) are intended solely for the use of the addressee(s) hereof. In addition, this message and the attachments (if any) may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission. Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender and immediately delete this message from your system. If you don't wish our future news letter, pls send address to ttickmay@aliyun.com for removal. From owner-freebsd-standards@FreeBSD.ORG Thu Apr 23 08:03:14 2015 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBCF12B0 for ; Thu, 23 Apr 2015 08:03:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A63DA196F for ; Thu, 23 Apr 2015 08:03:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3N83Ef0037137 for ; Thu, 23 Apr 2015 08:03:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-standards@FreeBSD.org Subject: [Bug 199637] top(1) lack of -m option for 'm' mode and top(1) man page lacks columns description for 'm' mode Date: Thu, 23 Apr 2015 08:03:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-standards@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 08:03:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199637 Bug ID: 199637 Summary: top(1) lack of -m option for 'm' mode and top(1) man page lacks columns description for 'm' mode Product: Base System Version: 10.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: freebsd-standards@FreeBSD.org Reporter: vermaden@interia.pl The top(1) man page does not describe VCSW, IVCSW, READ, WRITE, FAULT and PERCENT columns (press 'm' in launched top). The top(1) does not come with and command option to launch it in 'm' mode (for example -m option). Regards, vermaden -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-standards@FreeBSD.ORG Thu Apr 23 08:39:08 2015 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35C44F36 for ; Thu, 23 Apr 2015 08:39:08 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1FF371D14 for ; Thu, 23 Apr 2015 08:39:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3N8d7EO067973 for ; Thu, 23 Apr 2015 08:39:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-standards@FreeBSD.org Subject: [Bug 199637] top(1) lack of -m option for 'm' mode and top(1) man page lacks columns description for 'm' mode Date: Thu, 23 Apr 2015 08:39:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-standards@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 08:39:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199637 --- Comment #1 from vermaden@interia.pl --- Dirty workaround (no live display): # echo 'm' | top -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-standards@FreeBSD.ORG Thu Apr 23 09:02:10 2015 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A0D755D for ; Thu, 23 Apr 2015 09:02:10 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33B8A1FE5 for ; Thu, 23 Apr 2015 09:02:10 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3N92ApV006785 for ; Thu, 23 Apr 2015 09:02:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-standards@FreeBSD.org Subject: [Bug 199637] top(1) lack of -m option for 'm' mode and top(1) man page lacks columns description for 'm' mode Date: Thu, 23 Apr 2015 09:02:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-standards@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 09:02:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199637 --- Comment #2 from vermaden@interia.pl --- Ok, my fault, top -m io does the thing, that leaves the problem to man page. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-standards@FreeBSD.ORG Thu Apr 23 18:29:21 2015 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA7BE546 for ; Thu, 23 Apr 2015 18:29:21 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BD2E011C7 for ; Thu, 23 Apr 2015 18:29:21 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id t3NITFeW014457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 23 Apr 2015 11:29:15 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id t3NITEwa014456 for freebsd-standards@freebsd.org; Thu, 23 Apr 2015 11:29:14 -0700 (PDT) (envelope-from sgk) Date: Thu, 23 Apr 2015 11:29:14 -0700 From: Steve Kargl To: freebsd-standards@freebsd.org Subject: newlocale(3) appears to be broken? Message-ID: <20150423182733.GA14387@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 18:29:21 -0000 It appears that newlocale(3) is broken. First, the manpage indicates that one needs to use #include which leads to troutmask:sgk[204] cc -o z r.c r.c:1:10: fatal error: 'xlocale' file not found #include ^ 1 error generated. next the manpage says STANDARDS This function conforms to IEEE Std 1003.1-2008 (``POSIX.1''). However, http://pubs.opengroup.org/stage7tc1/functions/newlocale.html says newlocale is declared in locale.h. Now consider % cat r.c #include int main(void) { locale_t a; a = newlocale(0, "C", 0); if (a) return 0; else return 1; } troutmask:sgk[206] cc -o z -static r.c && ./z Segmentation fault (core dumped) troutmask:sgk[206] cc -o z -static r.c && ./z Segmentation fault (core dumped) troutmask:sgk[207] gdb782 z z.core [New process 100313] Core was generated by `z'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000415798 in newlocale () (gdb) bt #0 0x0000000000415798 in newlocale () #1 0x0000000000400434 in main () -- Steve From owner-freebsd-standards@FreeBSD.ORG Fri Apr 24 09:31:35 2015 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A693819 for ; Fri, 24 Apr 2015 09:31:35 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BF571F38 for ; Fri, 24 Apr 2015 09:31:33 +0000 (UTC) Received: from [192.168.0.7] (cpc16-cmbg15-2-0-cust60.5-4.cable.virginm.net [86.5.162.61]) (authenticated bits=0) by theravensnest.org (8.15.1/8.15.1) with ESMTPSA id t3O9VJeP084902 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Apr 2015 09:31:25 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host cpc16-cmbg15-2-0-cust60.5-4.cable.virginm.net [86.5.162.61] claimed to be [192.168.0.7] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: newlocale(3) appears to be broken? From: David Chisnall In-Reply-To: <20150423182733.GA14387@troutmask.apl.washington.edu> Date: Fri, 24 Apr 2015 10:31:14 +0100 Cc: freebsd-standards@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9239D309-A382-4691-B08E-739B545ED865@FreeBSD.org> References: <20150423182733.GA14387@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 09:31:35 -0000 On 23 Apr 2015, at 19:29, Steve Kargl = wrote: >=20 > It appears that newlocale(3) is broken. >=20 > First, the manpage indicates that one > needs to use >=20 > #include This is a typo in the man page, it should be xlocale.h >=20 > which leads to >=20 > troutmask:sgk[204] cc -o z r.c > r.c:1:10: fatal error: 'xlocale' file not found > #include > ^ > 1 error generated. >=20 > next the manpage says=20 >=20 > STANDARDS > This function conforms to IEEE Std 1003.1-2008 (``POSIX.1''). >=20 > However, http://pubs.opengroup.org/stage7tc1/functions/newlocale.html > says newlocale is declared in locale.h. =20 If you have the correct preprocessor definitions to indicate a POSIX2008 = target, then they are visible in locale.h. For earlier POSIX targets, = they are exposed unconditionally in xlocale.h. This is for Darwin (and, = I think, GNU) compatibility. I think that we should probably change the = man pages to only refer to locale.h. >=20 > Now consider >=20 > % cat r.c >=20 > #include >=20 > int > main(void) > { > locale_t a; > a =3D newlocale(0, "C", 0); > if (a) > return 0; > else > return 1; > } >=20 > troutmask:sgk[206] cc -o z -static r.c && ./z > Segmentation fault (core dumped) >=20 > troutmask:sgk[206] cc -o z -static r.c && ./z > Segmentation fault (core dumped) > troutmask:sgk[207] gdb782 z z.core > [New process 100313] > Core was generated by `z'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x0000000000415798 in newlocale () > (gdb) bt > #0 0x0000000000415798 in newlocale () > #1 0x0000000000400434 in main () I can reproduce this, though only with static linking. Omitting the = -static results in the program working correctly. It appears to be = caused by __xlocale_C_ctype being declared const, so the reference count = manipulation causes segmentation faults. I=E2=80=99m a bit surprised = that this doesn=E2=80=99t happen in the dynamically linked version. = I=E2=80=99m testing a fix now. David From owner-freebsd-standards@FreeBSD.ORG Fri Apr 24 10:57:19 2015 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8842519F; Fri, 24 Apr 2015 10:57:19 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 696C718E3; Fri, 24 Apr 2015 10:57:19 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id t3OAvISj018637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Apr 2015 03:57:18 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id t3OAvIHh018636; Fri, 24 Apr 2015 03:57:18 -0700 (PDT) (envelope-from sgk) Date: Fri, 24 Apr 2015 03:57:17 -0700 From: Steve Kargl To: David Chisnall Cc: freebsd-standards@freebsd.org Subject: Re: newlocale(3) appears to be broken? Message-ID: <20150424105717.GA18593@troutmask.apl.washington.edu> References: <20150423182733.GA14387@troutmask.apl.washington.edu> <9239D309-A382-4691-B08E-739B545ED865@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9239D309-A382-4691-B08E-739B545ED865@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 10:57:19 -0000 On Fri, Apr 24, 2015 at 10:31:14AM +0100, David Chisnall wrote: > On 23 Apr 2015, at 19:29, Steve Kargl wrote: > > > > It appears that newlocale(3) is broken. > > > > % cat r.c > > > > #include > > > > int > > main(void) > > { > > locale_t a; > > a = newlocale(0, "C", 0); > > if (a) > > return 0; > > else > > return 1; > > } > > > > troutmask:sgk[206] cc -o z -static r.c && ./z > > Segmentation fault (core dumped) > > > > troutmask:sgk[206] cc -o z -static r.c && ./z > > Segmentation fault (core dumped) > > troutmask:sgk[207] gdb782 z z.core > > [New process 100313] > > Core was generated by `z'. > > Program terminated with signal SIGSEGV, Segmentation fault. > > #0 0x0000000000415798 in newlocale () > > (gdb) bt > > #0 0x0000000000415798 in newlocale () > > #1 0x0000000000400434 in main () > > I can reproduce this, though only with static linking. Omitting the -static results in the program working correctly. It appears to be caused by __xlocale_C_ctype being declared const, so the reference count manipulation causes segmentation faults. I???m a bit surprised that this doesn???t happen in the dynamically linked version. I???m testing a fix now. > > David I saw your commit. Thanks for fixing this so quickly! -- Steve