This is a multi-part message in MIME format. --===============0429801144== Content-Type: multipart/alternative; boundary="nextPart4819450.He8dY09pPn" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart4819450.He8dY09pPn Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Heya, I seem to have stumbled upon a rather low level bug in libxsd on OSX Lion. Basically the date_time parsing fails reliably because string to number conversion via zs_istream does. I've narrowed it down to a rather minimal test case which you can find here: http://www.kdab.com/~till/xsd-bug.tar.gz The same test case works fine on Linux, so I rather suspect this is a libc issue on Mac OSX, possibly a 64bit only one. I did try both clang and g++, no difference. Some version info: xsd-3.3.0-i686-macosx i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix Mac OS X Lion 10.7.5 (11G63) Please keep me in CC, I am not subscribed. Cheers, Till --nextPart4819450.He8dY09pPn Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

Heya,

 

I seem to have stumbled upon a rather low level bug in libxsd on OSX Lion.

 

Basically the date_time parsing fails reliably because string to number conversion via zs_istream does. I've narrowed it down to a rather minimal test case which you can find here: http://www.kdab.com/~till/xsd-bug.tar.gz

 

The same test case works fine on Linux, so I rather suspect this is a libc issue on Mac OSX, possibly a 64bit only one. I did try both clang and g++, no difference.

 

Some version info:

 

xsd-3.3.0-i686-macosx

 

i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

 

Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)

Target: x86_64-apple-darwin11.4.2

Thread model: posix

 

Mac OS X Lion 10.7.5 (11G63)

 

Please keep me in CC, I am not subscribed.

 

Cheers,

 

Till

 

--nextPart4819450.He8dY09pPn-- --===============0429801144== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kolab-devel mailing list Kolab-devel@kolab.org https://www.intevation.de/mailman/listinfo/kolab-devel --===============0429801144==--