Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2016 22:30:20 +0800
From:      RayCherng Yu <raycherng@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-translators@freebsd.org
Subject:   Re: POedit freezes after pressing save buttton
Message-ID:  <CAG2Wu4POrykNdAuA4vYatow%2BFPC-0SsVpj%2BUU=JtgZCUtQMFTQ@mail.gmail.com>
In-Reply-To: <CAG2Wu4PjW0ano%2Bd9w%2BhmE2nL-NNdzFzFn2CBVekzn4dg7ibt%2Bg@mail.gmail.com>
References:  <CAG2Wu4PV0V%2BT00GrQMjJ%2BxS996-mihwEgRWROzgK69ywLB-fjw@mail.gmail.com> <alpine.BSF.2.20.1602021124310.90784@wonkity.com> <CAG2Wu4Ob-mcMmRmZU1k8=q-2dcgaAD4ZHEDnTez5b7UNTZxD4g@mail.gmail.com> <alpine.BSF.2.20.1602041007160.8045@wonkity.com> <CAG2Wu4OqdeP%2BdUKDF0LYHOCGP21sjeK-9iz1V6n6AgqAF7VSow@mail.gmail.com> <alpine.BSF.2.20.1602061622230.4028@wonkity.com> <CAG2Wu4Pugm4ZprR_MJ4fRkd4xYjmfj4h1Qx-Dbm1L-Zz7xH-hA@mail.gmail.com> <alpine.BSF.2.20.1602071735070.74300@wonkity.com> <CAG2Wu4MJN8CcYjLefAA=bC71d3Aa-vE_j-sF=7UAESTR4AONcw@mail.gmail.com> <alpine.BSF.2.20.1602071930380.74300@wonkity.com> <CAG2Wu4OOX9QXzWFvk--NOwQaty%2Bkvv3QGFhyj9fKukr8SkPaTw@mail.gmail.com> <alpine.BSF.2.20.1602080744380.33376@wonkity.com> <CAG2Wu4Npmpec5TzjtrYrC%2Bk7JdO8bOXEankhZn3G5m7B-eXCsw@mail.gmail.com> <CAG2Wu4OfYsU3Nz%2BvnHwYV19nTxY9eyz===cpCFOXS=1fBC%2BjKA@mail.gmail.com> <alpine.BSF.2.20.1602080910150.33376@wonkity.com> <CAG2Wu4PjW0ano%2Bd9w%2BhmE2nL-NNdzFzFn2CBVekzn4dg7ibt%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <raycherng@gmail.com>:

> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG2Wu4POrykNdAuA4vYatow%2BFPC-0SsVpj%2BUU=JtgZCUtQMFTQ>