Menu

#1 sombok failures on Mac OSX Lion

open-accepted
nobody
None
5
2011-10-18
2011-08-30
No

On Mac OSX Lion, building and testing sombok-2.0.5, currently latest release, is failed by some reason.

1. No ESTRPIPE in the OS.
-> I've googled a bit, and the code seems like ETIME. so I defined a #define for that, then building succeed.

2. A perror "linebreak_break_partial: Interrupted system call" within tests/11format.t of testing "make check".
-> The command below is failed by the signal in the function linebreak_break_partial.
./sombok --charmax 998 --colmin 0 --colmax 76 --format-func SIMPLE --no-hangul-as-al --legacy-cm --newline '\n' --sizing-func UAX11 --urgent-func NONE --format-func 'cat | dd 2>/dev/null' -o tmp.out test-data/fr.in

Here is my gcc
$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

Thanks.

Discussion

  • IKEDA Soji

    IKEDA Soji - 2011-10-18
    • status: open --> open-accepted
     
  • IKEDA Soji

    IKEDA Soji - 2011-10-18

    Hi Yusuke,
    Thnaks for your bug report, and sorry for my delayed response.

    1. ESTRPIPE is not nessesary. I'll remove it in upcoming next release.

    2. Would you like to tell me the result without ``2>/dev/null''?

    Thank you.

    テストスタブだということでいいかげんに作ってるんですが、ちゃんとシグナルを
    処理しなきゃだめなんでしょうかね。

     
  • Yusuke Muraoka

    Yusuke Muraoka - 2011-10-19

    log without /dev/null

     
  • Yusuke Muraoka

    Yusuke Muraoka - 2011-10-19

    Please see the log attached.

    Unfortunately, the perror was gone away on my Lion(built: 11B26), instead display just "sh: fork: Resource temporarily unavailable" then wait anything forever...

    I know OSX's event handling is totally buggy, so this might be an os depending issue.

    Macはイベントハンドリング、selectとかも、しょっちゅう応答なくなってしまうので、どの問題だかこちらでは切り分けられませんでした。

     
  • IKEDA Soji

    IKEDA Soji - 2011-10-25

    Thank you for detailed reports. However, I don't have any Mac OS X environments to dig up this bug at present. Alternative to ``make check'' with sombok itself is ``make test'' with perl binding Unicode-LineBreak. The latter executes more thorough tests, not suffered by this problem.

    Thank you.

     

Log in to post a comment.

MongoDB Logo MongoDB