POedit freezes after pressing save buttton
RayCherng Yu
raycherng at gmail.com
Tue Feb 9 14:30:21 UTC 2016
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:
無法執行程式:msgfmt -o /dev/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 at 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) = 129 (0x81)
> select(20,{ 19 },0x0,0x0,{ 0.000000 }) = 1 (0x1)
> read(19,0x81cd1a081,3967) = 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 than
> 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.
>
--
"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..."
— Warren Buffett.
More information about the freebsd-translators
mailing list