From owner-freebsd-translators@freebsd.org Tue Feb 9 14:30:21 2016 Return-Path: Delivered-To: freebsd-translators@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3C1DAA28DC for ; Tue, 9 Feb 2016 14:30:21 +0000 (UTC) (envelope-from raycherng@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6859D6A0 for ; Tue, 9 Feb 2016 14:30:21 +0000 (UTC) (envelope-from raycherng@gmail.com) Received: by mail-io0-x231.google.com with SMTP id 9so18934508iom.1 for ; Tue, 09 Feb 2016 06:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S0jm1tQNtfczIu5nRaezedjOFe2WvF0v9Sc9QQuZ+ng=; b=tAAGYMV+Wv2TdSqfY2s9criYmy+4rlYL6rxAu//vwAn491cYGYNBlng9oV0vK2LZRz MH/QGIWHj0RUi/h4js9tANRzIkbTD4gzGh0DU2L2kEEQuOSij5ZgmRF//4hPJBsx9mFi j+rvBCxO48ngtOQ2qZYWHl5v9DKR42gdMgHbOCQn7GhYbu5bdEExugWWZ3zLRS6pUUs9 JczUF6n7F8qgjg5Lfowr+gVMgtoNTqXlBEBzQWNb7iV8AxHArtzTjd+z6ZSx5PdSIiAQ 2aLkJRwhucZu+0SYXBSRc+4Tnp8DeKMyLaxfFGuaSSdXBQgADZLCaMs2czRrLseQo9YA eyRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=S0jm1tQNtfczIu5nRaezedjOFe2WvF0v9Sc9QQuZ+ng=; b=aUfOMRlk9btGskbv2gAZ/G5MDfpqnVLDUBK1UlryEwGZEeI+HKsOYDm3m3834Y72jI DxsYaTT8PJM/1JjesfYKlcUjd5h/w0wG6LSYxoHJQguC72NGCkYNKvynBa4iHDioq9Iy rm75H0Z/7xZnQeznhZLkulpphnOGLGOyI9p/bHVesM5qGIXTuXbd635KJ2RIYZu/AV31 G8oboFX4gwd7fP5jGzHgyzb4Y8HGRQdTWUkEewqLdJpvmeM2Ab1qOxP3zpqKfdkLx2Tf rdRRTSi+7+oGT0JuSOcpIsGzcD9XXFB6b+DtVsTp5SWQHx/QA7TeS6HlvbFYBBn558uD eGxg== X-Gm-Message-State: AG10YOTkXejrhkhrrSRmFR+Dro3SuBPfc3gm4fyxFYGWyAU8CENlVFYTFMB+0sSOIMNv+BCmEyBS9nT0k9vafw== MIME-Version: 1.0 X-Received: by 10.107.47.39 with SMTP id j39mr18901226ioo.168.1455028220826; Tue, 09 Feb 2016 06:30:20 -0800 (PST) Received: by 10.107.156.8 with HTTP; Tue, 9 Feb 2016 06:30:20 -0800 (PST) In-Reply-To: References: Date: Tue, 9 Feb 2016 22:30:20 +0800 Message-ID: Subject: Re: POedit freezes after pressing save buttton From: RayCherng Yu To: Warren Block Cc: freebsd-translators@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 14:30:21 -0000 I found the command I tun last time when poedit freezed is "truss poedit > truss-poedit.txt". This time I install bash via pkg install and run "truss -o truss-poedit.txt poedit". I opened a po file and press save button without any modification of po file. I got this error message: =E7=84=A1=E6=B3=95=E5=9F=B7=E8=A1=8C=E7=A8=8B=E5=BC=8F=EF=BC=9Amsgfmt -o /d= ev/null -c "/usr/home/raycherng/doc/zh_TW.UTF-8/books/porters-handbook/zh_TW.temp.po" The Chinese message means "Cannot run:" And I paste the truss output here: http://chopapp.com/#71vcvlr6 Its size exceeds 512k so I can't post it to pastebin. 2016-02-09 9:09 GMT+08:00 RayCherng Yu : > It takes only one second to run msgfmt. > On Tue, 9 Feb 2016, RayCherng Yu wrote: > > This is part of the result that I can copy & paste. >> http://pastebin.com/JytWPvHL >> And the poedit freezes again! >> > > Now that is interesting: > > read(19,"execvp(msgfmt, -o, /dev/null, -c"...,4096) =3D 129 (0x81) > select(20,{ 19 },0x0,0x0,{ 0.000000 }) =3D 1 (0x1) > read(19,0x81cd1a081,3967) =3D 0 (0x0) > _umtx_op(0x8009c3038,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x18,0x7fffdfbfbe38) > ERR#60 'Operation timed out' > > When you run that msgfmt test on the real PO file from the command line, > how long does it take to finish? These are probably much larger files th= an > poedit expects, and might take longer to check than it thinks is > reasonable. That could also explain why it does not fail here, this is a > pretty fast machine. > --=20 "Life is like a snowball. The important thing is finding wet snow and a really long hill." "Price is what you pay. Value is what you get." "The first rule of Investing is don't lose money; the second rule is don't forget rule #1..." "Wall Street is the only place that people ride to work in a Rolls-Royce to get advice from those who take the subway..." =E2=80=94 Warren Buffett.