public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* UTF32 crash in poco-1.6.0 - Request for help
@ 2015-02-18 12:09 David Stacey
  2015-02-25 22:18 ` David Stacey
  0 siblings, 1 reply; 5+ messages in thread
From: David Stacey @ 2015-02-18 12:09 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 5048 bytes --]

I'm trying to package poco-1.6.0, but I've run into a problem where one 
of the tests in the Foundation test suite causes a seg fault. I've been 
trying to debug this on and off for three or four months (as I first saw 
this in one of the beta releases), but I can't seem to make much 
progress. This e-mail is to document my findings so far, and to request 
another maintainer take pity and help me find the cause of the crash.

The test causing the crash is the UnicodeConverterTest 
(Foundation/testsuite/src/UnicodeConverterTest.cpp). This is templated, 
and is instantiated with both UTF16 and UTF32 strings. The UTF16 case 
works correctly; it is the UTF32 instantiation that is crashing. Here's 
a rough trace:

Foundation/testsuite/src/UnicodeConverterTest.h line 49: This is in the 
templated runTests() procedure, instantiated with a UTF32String type. 
This calls Poco::UnicodeConverter::convert(), which attempts to convert 
a std::string into a UTF32 string. There is a mistake on the lines 
immediately following this (where the code confuses the size of a 
std::basic_string and the size of the type it is instantiated with), but 
this is a distraction - we never get this far. The call to convert() 
takes us to...

Foundation/src/UnicodeConverter.cpp line 39: This is one of server 
overloaded convert() functions that convert between different string 
types. In this instance, we're converting a UTF8 string into UTF32. The 
line I've drawn your attention to calls operator+=() on a 
std::basic_string instantiated with a 32-bit unsigned int. From hereon 
in, we're in the STL.

/usr/lib/gcc/i686-pc-cygwin/4.9.2/include/c++/bits/basic_string.h line 
969: This is operator+= on a std::basic_string taking a single 
character. The function simply calls push_back() with the character 
supplied (in our case 0x41, i.e. 'A', not that this matters).

/usr/lib/gcc/i686-pc-cygwin/4.9.2/include/c++/bits/basic_string.h line 
1073: This is the implementation of push_back(). There is insufficient 
capacity in the string, so the code calls reserve() to allocate enough 
memory for one additional character. In our case, this is one character, 
as the string was empty prior to this call. This is where I lose the 
thread - this call to reserve() is causing the seg fault.

Presumably, this call to reserve() is using the allocator to claim some 
heap memory. Poco's UTF32String doesn't specify a custom allocator 
(Foundation/include/Poco/UTFString.h line 287), so we're using the 
default std::allocator instantiated with the 32-bit unsigned int. 
However, std::allocator can't be the cause of the problem, otherwise 
every STL container would be crashing.

I attach the output of running strace over the 'UnicodeConverterTest' 
part of the test suite. I've compared this to another strace of a 
different (working) test, and essentially everything is the same down to 
line 374. I presume that these lines are common for any test and just 
concern the initialisation of the test runner. Line 375 shows the first 
significant change (set_signal_mask), and line 376 kills the process 
with a SIGABRT. The remainder of the strace output seems to be handling 
the SIGABRT.

Conspicuous by its absence is any call to alloc() or its friends. If the 
crash is occurring in basic_string::reserve() then I would expect to see 
some kind of memory manipulation going on at this point in the strace 
output. So the code must be aborting between entering 
basic_string::reserve() and std::allocator manipulating memory. However, 
we're in the internals of gcc's string implementation here, and it would 
need someone with a good understanding of this implementation to take 
the investigation further.

The traits look sensible (Foundation/include/Poco/UTFString.h line 148) 
and have a similarity with those proposed here: 
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2035.pdf (page 5).

gdb doesn't give very much. A backtrace only shows Windows system DLLs 
(ntdll.dll, kernel32.dll) and reports that the stack may be corrupt. So 
I moved both the std::string and the wide string used in the test onto 
the heap, but that didn't make any difference.

Obviously, it would be trivial to make an example programme that just 
defines a UTF32 string in an identical way, and then calls operator+=() 
on it. I've done this, and it works fine. So there's more going on than 
that. I've also tried compiling poco-1.6.0 for native Windows, and the 
test runs fine.

I toyed with the idea that a different version of UTF32String 
(Foundation/include/Poco/UTFString.h starting at line 271) was being 
used in the main Poco Foundation DLL and the test harness, but I showed 
that this is not the case. In both the creation of the Foundation DLL 
and the test harness, the compiler is choosing the same definition of 
UTF32String.

Thank you for reading such a long write-up. I attach the cygport file 
and all the patches necessary to build poco-1.6.0. Any help you can 
provide would be very much appreciated.

Many thanks in advance,

Dave.


[-- Attachment #2: poco.cygport --]
[-- Type: text/plain, Size: 12048 bytes --]

# poco.cygport
NAME="poco"
VERSION=1.6.0
RELEASE=1
SUMMARY="A set of C++ class libraries for network-centric applications."
DESCRIPTION="The POCO C++ Libraries (POCO stands for POrtable COmponents) are open source C++ class libraries that simplify and accelerate the development of network-centric, portable applications in C++. The POCO C++ Libraries are built strictly on standard ANSI/ISO C++, including the standard library."
CATEGORY="Devel"

MAJOR_VERSION="${VERSION/p[0-9]*/}"

HOMEPAGE="http://pocoproject.org/"
SRC_URI="http://pocoproject.org/releases/poco-${MAJOR_VERSION}/poco-${VERSION}-all.tar.bz2
http://pocoproject.org/releases/poco-${MAJOR_VERSION}/poco-${VERSION}-all-doc.tar.gz"
SRC_DIR="poco-${VERSION}-all"


#############################################################################
# Determine the POCO library version. This is contained in the 'libversion'
# file in the sources - but we might not have downloaded those yet. So get
# the library version number direct from github.
LIBRARY_VERSION=$(wget --quiet --no-check-certificate --output-document=- https://raw.github.com/pocoproject/poco/poco-${VERSION}-release/libversion)
#############################################################################


#############################################################################
# This cygport file produces four packages: the main 'libpoco' package
# contains the binaries necessary to run applications built with the POCO
# library; 'libpoco-devel' contains the header files and libs necessary to
# build applications that use the POCO library; 'libpoco-doc' contains the
# documentation for the POCO API in HTML format; 'poco' contains the
# PageCompiler component.
PKG_NAMES="poco libpoco${LIBRARY_VERSION} libpoco-devel libpoco-doc"
#############################################################################


#############################################################################
# Details for the 'poco' package.
poco_CONTENTS="--exclude=html usr/bin/*.exe usr/share"
poco_SUMMARY="The PageCompiler POCO component."
poco_DESCRIPTION="${DESCRIPTION} This package contains the PageCompiler component of POCO."
poco_CATEGORY="Devel"
#############################################################################


#############################################################################
# Details for the main 'libpoco' package.
declare libpoco${LIBRARY_VERSION}_SUMMARY="A set of C++ class libraries for network-centric applications."
declare libpoco${LIBRARY_VERSION}_DESCRIPTION="${DESCRIPTION}"
declare libpoco${LIBRARY_VERSION}_CATEGORY="Devel"
declare libpoco${LIBRARY_VERSION}_CONTENTS="usr/bin/*.dll"
#############################################################################


#############################################################################
# Details for the 'libpoco-devel' package. Note that POCO provides versions
# of expat, zlib, sqlite3 and pcre, but we delete these and use the
# equivalent Cygwin libraries. Hence the 'libpoco-devel' package has a
# couple of extra '-devel' dependencies.
libpoco_devel_SUMMARY="Headers for developing programs that will use POCO."
libpoco_devel_DESCRIPTION="${DESCRIPTION} This package contains the header files needed for developing POCO applications."
libpoco_devel_CATEGORY="Devel"
libpoco_devel_REQUIRES="libexpat-devel zlib-devel"
libpoco_devel_CONTENTS="usr/include usr/lib"
#############################################################################


#############################################################################
# Details for the 'libpoco-doc' package. This contains the documentation from
# the 'doc' source package. This is unaltered, and will contain documentation
# for any POCO libraries that aren't built due to missing dependencies.
libpoco_doc_SUMMARY="The POCO API reference documentation."
libpoco_doc_DESCRIPTION="${DESCRIPTION} This is the complete POCO class library reference documentation in HTML format."
libpoco_doc_CATEGORY="Devel"
libpoco_doc_CONTENTS="usr/share/doc/poco/html"
#############################################################################


#############################################################################
# Remove the versions of expat, zlib, sqlite3 and pcre that come bundled with
# POCO. We compile and link against the corresponding Cygwin packages
# instead.
DISTCLEANFILES="
	Foundation/include/Poco/zconf.h
	Foundation/include/Poco/zlib.h
	Foundation/src/adler32.c
	Foundation/src/compress.c
	Foundation/src/crc32.c
	Foundation/src/crc32.h
	Foundation/src/deflate.c
	Foundation/src/deflate.h
	Foundation/src/gzguts.h
	Foundation/src/infback.c
	Foundation/src/inffast.c
	Foundation/src/inffast.h
	Foundation/src/inffixed.h
	Foundation/src/inflate.c
	Foundation/src/inflate.h
	Foundation/src/inftrees.c
	Foundation/src/inftrees.h
	Foundation/src/MSG00001.bin
	Foundation/src/pcre_*.c
	Foundation/src/trees.c
	Foundation/src/trees.h
	Foundation/src/zconf.h
	Foundation/src/zlib.h
	Foundation/src/zutil.c
	Foundation/src/zutil.h
	Data/SQLite/src/sqlite3.c
	Data/SQLite/src/sqlite3.h
	XML/include/Poco/XML/expat.h
	XML/include/Poco/XML/expat_external.h
	XML/src/ascii.h
	XML/src/asciitab.h
	XML/src/expat_config.h
	XML/src/iasciitab.h
	XML/src/internal.h
	XML/src/latin1tab.h
	XML/src/nametab.h
	XML/src/utf8tab.h
	XML/src/xmlparse.cpp
	XML/src/xmlrole.c
	XML/src/xmlrole.h
	XML/src/xmltok.c
	XML/src/xmltok.h
	XML/src/xmltok_impl.c
	XML/src/xmltok_impl.h
	XML/src/xmltok_ns.c
"
#############################################################################


#############################################################################
# Patches. These are as follows:
#
#   - 1.4.6p1-unbundled.patch - This forces POCO to use the expat, pcre,
#     sqlite3 and zlib libraries that come with Cygwin, rather than the
#     versions that are bundled with the POCO source code.
#
#   - 1.4.7-test-dequeue.patch - Ensures that 'testDequeue' uses a consistent
#     time source for all its computations.
#
#   - 1.5.3-data-odbc.patch - This builds the Data/ODBC component of POCO
#     with the iODBC library.
#
#   - 1.6.0-pcre-unbundled.patch - POCO comes bundled with its own version
#     of pcre.h, which is slightly different from the one in libpcre-devel,
#     even though they are the same version. Hence, when POCO is built in
#     unbundled form, these differences result in compilation errors
#     concerning conflicting types. This patch corrects those problems.
#
#   - 1.6.0-unicode-converter-test.patch - Corrects a confusion between the
#     size of a std::basic_string and the size of the character it is
#     instantiated with.
#
# The 'unbundled' patch comes from the Fedora port of poco-1.4.2; the other
# patches are specific to Cygwin.
PATCH_URI="
	1.4.6p1-unbundled.patch
	1.4.7-test-dequeue.patch
	1.5.3-data-odbc.patch
	1.6.0-pcre-unbundled.patch
	1.6.0-unicode-converter-test.patch
"
#############################################################################


src_compile() {
	# In the declaration of LIBRARY_VERSION above, we guessed a value
	# based on a file fetched from github. We need to check that the
	# value we guessed is correct, and abort if it isn't.
	local libversion=$(cat "${S}/libversion")
	if [ "${LIBRARY_VERSION}" != "${libversion}" ]; then
		error "Library version determined from github is '${LIBRARY_VERSION}', but version number in the local sources is '${libversion}'."
	fi

	# 64-bit Cygwin doesn't have a full suite of packages yet. So test
	# for the header files that we need and exclude any POCO components
	# whose dependencies aren't present.
	local poco_omit=""
	if [ ! -f /usr/include/mysql/mysql.h ]; then
		poco_omit="${poco_omit},Data/MySQL"
	fi
	if [ ! -f /usr/include/iodbcunix.h ]; then
		poco_omit="${poco_omit},Data/ODBC"
	fi
	poco_omit=${poco_omit/%,/--omit=}

	lndirs
	cd ${B}
	./configure --prefix=/usr ${poco_omit} --unbundled --no-samples
	cygmake CC="${CC}" CXX="${CXX}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" STRIP=/usr/bin/true
}

src_install() {
	# Invoke 'make install'. Note that the runtime libraries are not
	# installed by default, so we copy those in using the 'dobin'
	# command.
	cd ${B}
	dobin lib/CYGWIN/$(uname -m)/*.${LIBRARY_VERSION}.dll
	cyginstall

	# Rename library files.
	pushd ${D}/usr/lib
	for file in libPoco*.dll.a
	do
		mv "${file}" "${file/${LIBRARY_VERSION}./}"
	done
	popd

	# Delete the 'debug' versions of the libraries and executables. Note
	# that the release build is actually compiled with debugging
	# information enabled, and the libraries are 'strip'ped during
	# packaging. The debug versions can be found in the 'debuginfo'
	# package.
	find "${D}/usr/bin" -type f -name "*d.${LIBRARY_VERSION}.dll" -delete
	find "${D}/usr/bin" -type f -name "*d.exe"                    -delete
	find "${D}/usr/lib" -type f -name "*d.dll.a"                  -delete

	# Install POCO documentation.
	local doc_dir=${D}/usr/share/doc/poco
	mkdir -p "${doc_dir}"
	cp -pr "${S}/../poco-${VERSION}-all-doc" "${doc_dir}"
	mv "${doc_dir}/poco-${VERSION}-all-doc" "${doc_dir}/html"
}

src_test() {
	# The code for some of Poco's events uses semaphores, which requires
	# cygserver. Ensure that the 'cygserver' service exists.
	if [ "0" == "$(cygrunsrv --list | grep -i cygserver | wc -l)" ]; then
		cygserver-config --yes
	fi

	# Get the name of the 'cygserver' service. By default, this will be
	# 'cygserver', but there is some debate about postfixing this with
	# '-32' or '-64' for the different architectures. The line below
	# should work it out.
	local cygserver=$(cygrunsrv --list | grep -i cygserver | head --lines=1)

	# If the 'cygserver' service isn't running then start it now.
	local cygsvrstate=$(cygrunsrv -Q "${cygserver}" | grep -i 'current state' | sed 's/\s//g' | cut -d ':' -f 2)
	if [ "${cygsvrstate}" != "Running" ]; then
		cygrunsrv -S "${cygserver}"
	fi

	# Most of these test harnesses run cleanly. However, please note the
	# following:
	#
	#   - Foundation: Test 'testFileAttributes3' accesses '/dev/console',
	#     which fails if the test is run from mintty. The test passes if
	#     you start Cygwin from the 'cygwin.bat' batch file.
	#
	#   - Data/MySQL: Requires a MySQL server to be running locally:
	#
	#       mysql_install_db
	#       pushd /usr
	#       /usr/bin/mysqld_safe &
	#       popd
	#
	#     You will need to create a user 'test' with password 'test':
	#
	#       mysql --host=localhost --user=root --password= -e \
	#         "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
	#
	#     Then all the MySQL tests will pass.
	#
	#   - Net: 'testHostByName' fails, but this also fails when POCO is
	#     built for Win32 using MSVC++ 2008. So this is probably a
	#     malformed test rather than a Cygwin problem.
	#
	#   - NetSSL_OpenSSL: There are two tests called 'testProxy', and
	#     both fail. However, these tests also fail when POCO is built
	#     for Fedora 18, so this is probably a malformed test rather than
	#     a Cygwin problem.
	#
	#   - Data/ODBC: This testsuite requires a number of ODBC drivers,
	#     some of which are available for Cygwin. Sadly, I have been
	#     unable to get iodbc working under Cygwin, either through the
	#     'myodbc-installer' or by creating an 'odbc.ini' file and using
	#     'iodbctest'. Hence I have been unable to run this testsuite.
	#
	# All other tests pass.
	local arch=$(uname -m)
	export PATH="${B}/lib/CYGWIN/${arch}:${PATH}"
	export POCO_BASE="${B}"
	# export CYGWIN="${CYGWIN} error_start=gdb -nw %1 %2"

	local components=$(cat "${S}/components" | xargs)
	for component in ${components}; do
		if [ -d "${B}/${component}/testsuite/bin/CYGWIN/${arch}" ]; then
			pushd "${B}/${component}/testsuite/bin/CYGWIN/${arch}"
			if [ -f testrunner.exe ]; then
				inform "Running ${component} tests..."
				./testrunner -all || /usr/bin/true
			fi
			popd
		fi
	done

	# If we started the 'cygserver' service above then stop it now.
	if [ "${cygsvrstate}" != "Running" ]; then
		cygrunsrv -E "${cygserver}"
	fi
}

[-- Attachment #3: 1.4.6p1-unbundled.patch --]
[-- Type: text/plain, Size: 364 bytes --]

--- origsrc/poco-1.4.6p1-all/Foundation/include/Poco/Config.h	2013-03-06 19:45:52.000000000 +0000
+++ src/poco-1.4.6p1-all/Foundation/include/Poco/Config.h	2013-11-16 22:23:07.792338300 +0000
@@ -70,6 +70,7 @@
 #define POCO_THREAD_STACK_SIZE 0
 #endif
 
+#define POCO_UNBUNDLED 1
 
 // Define to override system-provided
 // minimum thread priority value on POSIX

[-- Attachment #4: 1.4.7-test-dequeue.patch --]
[-- Type: text/plain, Size: 927 bytes --]

--- origsrc/poco-1.4.7-all/Foundation/testsuite/src/TimedNotificationQueueTest.cpp	2014-10-22 17:37:21.000000000 +0100
+++ src/poco-1.4.7-all/Foundation/testsuite/src/TimedNotificationQueueTest.cpp	2014-11-17 22:37:16.428850900 +0000
@@ -36,11 +36,13 @@
 #include "Poco/TimedNotificationQueue.h"
 #include "Poco/Notification.h"
 #include "Poco/Timestamp.h"
+#include "Poco/Clock.h"
 
 
 using Poco::TimedNotificationQueue;
 using Poco::Notification;
 using Poco::Timestamp;
+using Poco::Clock;
 
 
 namespace 
@@ -91,13 +93,13 @@ void TimedNotificationQueueTest::testDeq
 	assert (queue.size() == 0);
 	pNf->release();
 	
-	Poco::Timestamp ts1;
+	Poco::Clock ts1;
 	ts1 += 100000;
-	Poco::Timestamp ts2;
+	Poco::Clock ts2;
 	ts2 += 200000;
-	Poco::Timestamp ts3;
+	Poco::Clock ts3;
 	ts3 += 300000;
-	Poco::Timestamp ts4;
+	Poco::Clock ts4;
 	ts4 += 400000;
 	
 	queue.enqueueNotification(new QTestNotification("first"), ts1);

[-- Attachment #5: 1.5.3-data-odbc.patch --]
[-- Type: text/plain, Size: 804 bytes --]

--- origsrc/poco-1.5.3-all/Data/ODBC/ODBC.make	2014-06-30 21:57:43.000000000 +0100
+++ src/poco-1.5.3-all/Data/ODBC/ODBC.make	2014-07-02 22:49:53.075507600 +0100
@@ -22,6 +22,8 @@ endif
 
 ifeq ($(LINKMODE),STATIC)
 LIBLINKEXT = .a
+else ifeq ($(POCO_CONFIG),CYGWIN)
+LIBLINKEXT = .dll.a
 else
 LIBLINKEXT = $(SHAREDLIBLINKEXT)
 endif
@@ -51,7 +53,10 @@ COMMONFLAGS += -DPOCO_UNIXODBC
 ## iODBC
 ##
 else ifeq (0, $(shell test -e $(POCO_ODBC_LIB)/libiodbc$(LIBLINKEXT); echo $$?))
-SYSLIBS += -liodbc -liodbcinst
+SYSLIBS += -liodbc
+ifeq (0, $(shell test -e $(POCO_ODBC_LIB)/libodbcinst$(LIBLINKEXT); echo $$?))
+SYSLIBS += -lodbcinst
+endif
 COMMONFLAGS += -DPOCO_IODBC -I/usr/include/iodbc
 
 # TODO: OSX >= 10.8 deprecated non-Unicode ODBC API functions, silence warnings until iODBC Unicode support

[-- Attachment #6: 1.6.0-pcre-unbundled.patch --]
[-- Type: text/plain, Size: 431 bytes --]

--- origsrc/poco-1.6.0-all/Foundation/src/RegularExpression.cpp	2014-12-22 08:04:43.000000000 +0000
+++ src/poco-1.6.0-all/Foundation/src/RegularExpression.cpp	2014-12-22 20:40:17.618921800 +0000
@@ -17,12 +17,8 @@
 #include "Poco/RegularExpression.h"
 #include "Poco/Exception.h"
 #include <sstream>
-#if defined(POCO_UNBUNDLED)
-#include <pcre.h>
-#else
 #include "pcre_config.h"
 #include "pcre.h"
-#endif
 
 
 namespace Poco {

[-- Attachment #7: 1.6.0-unicode-converter-test.patch --]
[-- Type: text/plain, Size: 786 bytes --]

--- origsrc/poco-1.6.0-all/Foundation/testsuite/src/UnicodeConverterTest.h	2014-12-22 08:04:44.000000000 +0000
+++ src/poco-1.6.0-all/Foundation/testsuite/src/UnicodeConverterTest.h	2015-02-17 08:53:24.213037800 +0000
@@ -47,9 +47,9 @@ private:
 		// Convert from UTF-8 to wide
 		T wtext, wtext2, wtext3;
 		Poco::UnicodeConverter::convert(text, wtext);
-		if (sizeof(T) == 2)
+		if (sizeof(typename T::value_type) == 2)
 			assert(Poco::UnicodeConverter::UTFStrlen(wtext.data()) == 8);
-		else if (sizeof(T) == 4)
+		else if (sizeof(typename T::value_type) == 4)
 			assert(Poco::UnicodeConverter::UTFStrlen(wtext.data()) == 5);
 		Poco::UnicodeConverter::convert((const char*) supp, strlen((const char*) supp), wtext2);
 		Poco::UnicodeConverter::convert((const char*)supp, wtext3);

[-- Attachment #8: strace.txt --]
[-- Type: text/plain, Size: 48248 bytes --]

    2       2 [main] testrunner (3936) **********************************************
  189     191 [main] testrunner (3936) Program name: D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64\testrunner.exe (windows pid 3936)
   42     233 [main] testrunner (3936) OS version:   Windows NT-6.1
   36     269 [main] testrunner (3936) **********************************************
  146     415 [main] testrunner (3936) sigprocmask: 0 = sigprocmask (0, 0x0, 0x1802D1BE8)
26950   27365 [main] testrunner 3936 open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0x64, *m 6
  172   27537 [main] testrunner 3936 user_heap_info::init: heap base 0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
  144   27681 [main] testrunner 3936 open_shared: name S-1-5-21-930790263-527260530-518869422-1000.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0x5C, *m 6
   49   27730 [main] testrunner 3936 user_info::create: opening user shared for 'S-1-5-21-930790263-527260530-518869422-1000' at 0x180020000
   42   27772 [main] testrunner 3936 user_info::create: user shared version AB1FCCE8
   79   27851 [main] testrunner 3936 fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-3936-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
27840   55691 [main] testrunner 3936 fhandler_pipe::create: pipe read handle 0x78
   49   55740 [main] testrunner 3936 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-3936-sigwait
   66   55806 [main] testrunner 3936 fhandler_pipe::create: pipe write handle 0x7C
   48   55854 [main] testrunner 3936 dll_crt0_0: finished dll_crt0_0 initialization
22903   78757 [sig] testrunner 3936 wait_sig: entering ReadFile loop, my_readsig 0x78, my_sendsig 0x7C
  133   78890 [main] testrunner 3936 time: 1424252168 = time(0x0)
   83   78973 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64, no-keep-rel, no-add-slash)
   44   79017 [main] testrunner 3936 normalize_win32_path: D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64 = normalize_win32_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64)
   28   79045 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/d/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/Foundation/testsuite/bin/CYGWIN/x86_64 = conv_to_posix_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64)
   47   79092 [main] testrunner 3936 sigprocmask: 0 = sigprocmask (0, 0x0, 0x600018128)
18416   97508 [main] testrunner 3936 _cygwin_istext_for_stdio: fd 0: not open
   41   97549 [main] testrunner 3936 _cygwin_istext_for_stdio: fd 1: not open
   20   97569 [main] testrunner 3936 _cygwin_istext_for_stdio: fd 2: not open
  100   97669 [main] testrunner (3936) open_shared: name cygpid.3936, n 3936, shared 0x180010000 (wanted 0x180010000), h 0xA0, *m 2
   34   97703 [main] ? (3936) time: 1424252168 = time(0x0)
   24   97727 [main] testrunner 3936 pinfo::thisproc: myself dwProcessId 3936
  102   97829 [main] testrunner 3936 environ_init: GetEnvironmentStrings returned 0x3F7B10
   42   97871 [main] testrunner 3936 environ_init: 0x6000284F0: !::=::\
   35   97906 [main] testrunner 3936 environ_init: 0x600028510: ALLUSERSPROFILE=C:\ProgramData
   36   97942 [main] testrunner 3936 environ_init: 0x600028540: APPDATA=C:\Users\David Stacey\AppData\Roaming
   40   97982 [main] testrunner 3936 environ_init: 0x600028580: CC=gcc
   43   98025 [main] testrunner 3936 environ_init: 0x6000285A0: CFLAGS=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   40   98065 [main] testrunner 3936 environ_init: 0x600028700: COMMONPROGRAMFILES=C:\Program Files\Common Files
   37   98102 [main] testrunner 3936 environ_init: 0x600028740: COMPUTERNAME=FLUFFY
   36   98138 [main] testrunner 3936 environ_init: 0x600028760: COMSPEC=C:\Windows\system32\cmd.exe
   36   98174 [main] testrunner 3936 environ_init: 0x600028790: CXX=g++
   42   98216 [main] testrunner 3936 environ_init: 0x6000287B0: CXXFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   39   98255 [main] testrunner 3936 environ_init: 0x6000288F0: CYGPORT_ARCH=x86_64
   37   98292 [main] testrunner 3936 environ_init: 0x600028910: CYGPORT_BUILD_ROOT=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/inst
   36   98328 [main] testrunner 3936 environ_init: 0x600028990: CYGPORT_OPT_FLAGS=-ggdb -O2 -pipe -Wimplicit-function-declaration
   48   98376 [main] testrunner 3936 environ_init: 0x6000289E0: CYGPORT_OS=Cygwin
   56   98432 [main] testrunner 3936 environ_init: 0x600028A00: CYGPORT_PACKAGE_NAME=poco
   37   98469 [main] testrunner 3936 environ_init: 0x600028A30: CYGPORT_PACKAGE_RELEASE=1
   37   98506 [main] testrunner 3936 environ_init: 0x600028A60: CYGPORT_PACKAGE_VERSION=1.6.0
   37   98543 [main] testrunner 3936 environ_init: 0x600028A90: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
   36   98579 [main] testrunner 3936 environ_init: 0x600028AE0: CommonProgramW6432=C:\Program Files\Common Files
   43   98622 [main] testrunner 3936 parse_options: glob (called func)
   38   98660 [main] testrunner 3936 parse_options: returning
   19   98679 [main] testrunner 3936 environ_init: 0x600028B20: CYGWIN=noglob
   36   98715 [main] testrunner 3936 environ_init: 0x600028B60: EXECIGNORE=*.dll
   35   98750 [main] testrunner 3936 environ_init: 0x600028B80: F77=gfortran
   34   98784 [main] testrunner 3936 environ_init: 0x600028BA0: FC=gfortran
   41   98825 [main] testrunner 3936 environ_init: 0x600028BC0: FCFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   43   98868 [main] testrunner 3936 environ_init: 0x600028D00: FFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   38   98906 [main] testrunner 3936 environ_init: 0x600028E40: FP_NO_HOST_CHECK=NO
   35   98941 [main] testrunner 3936 environ_init: 0x600028E60: GCJ=gcj
   40   98981 [main] testrunner 3936 environ_init: 0x600028E80: GCJFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   38   99019 [main] testrunner 3936 environ_init: 0x600028FC0: GOC=gccgo
   43   99062 [main] testrunner 3936 environ_init: 0x600028FE0: GOFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   39   99101 [main] testrunner 3936 getwinenv: can't set native for HOME= since no environ yet
   26   99127 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\home\David Stacey, no-keep-rel, no-add-slash)
   24   99151 [main] testrunner 3936 normalize_win32_path: C:\cygwin64\home\David Stacey = normalize_win32_path (C:\cygwin64\home\David Stacey)
   24   99175 [main] testrunner 3936 mount_info::conv_to_posix_path: /home/David Stacey = conv_to_posix_path (C:\cygwin64\home\David Stacey)
   54   99229 [main] testrunner 3936 win_env::add_cache: posix /home/David Stacey
   28   99257 [main] testrunner 3936 win_env::add_cache: native HOME=C:\cygwin64\home\David Stacey
   20   99277 [main] testrunner 3936 posify_maybe: env var converted to HOME=/home/David Stacey
   52   99329 [main] testrunner 3936 environ_init: 0x6000291A0: HOME=/home/David Stacey
   35   99364 [main] testrunner 3936 environ_init: 0x600029120: HOMEDRIVE=C:
   35   99399 [main] testrunner 3936 environ_init: 0x6000291C0: HOMEPATH=\Users\David Stacey
   51   99450 [main] testrunner 3936 environ_init: 0x6000291F0: HOSTNAME=Fluffy
   36   99486 [main] testrunner 3936 environ_init: 0x600029210: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
   35   99521 [main] testrunner 3936 environ_init: 0x600029250: LANG=en_US.UTF-8
   35   99556 [main] testrunner 3936 environ_init: 0x600029270: LC_COLLATE=C
   35   99591 [main] testrunner 3936 environ_init: 0x600029290: LOCALAPPDATA=C:\Users\David Stacey\AppData\Local
   36   99627 [main] testrunner 3936 environ_init: 0x6000292D0: LOGONSERVER=\\FLUFFY
   35   99662 [main] testrunner 3936 environ_init: 0x6000292F0: NUMBER_OF_PROCESSORS=2
   35   99697 [main] testrunner 3936 environ_init: 0x600029310: OBJC=gcc
   41   99738 [main] testrunner 3936 environ_init: 0x600029330: OBJCFLAGS=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   38   99776 [main] testrunner 3936 environ_init: 0x600029490: OBJCXX=g++
   41   99817 [main] testrunner 3936 environ_init: 0x6000294B0: OBJCXXFLAGS=-ggdb -O2 -pipe -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build=/usr/src/debug/poco-1.6.0-1 -fdebug-prefix-map=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all=/usr/src/debug/poco-1.6.0-1
   39   99856 [main] testrunner 3936 environ_init: 0x6000295F0: OLDPWD=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/src/poco-1.6.0-all
   40   99896 [main] testrunner 3936 environ_init: 0x600029670: ORIGINAL_PATH=/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/TortoiseSVN/bin
   36   99932 [main] testrunner 3936 environ_init: 0x600029740: OS=Windows_NT
   44   99976 [main] testrunner 3936 getwinenv: can't set native for PATH= since no environ yet
   49  100025 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\lib\CYGWIN\x86_64, keep-rel, no-add-slash)
   24  100049 [main] testrunner 3936 normalize_win32_path: D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\lib\CYGWIN\x86_64 = normalize_win32_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\lib\CYGWIN\x86_64)
   25  100074 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/d/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/lib/CYGWIN/x86_64 = conv_to_posix_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\lib\CYGWIN\x86_64)
   23  100097 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\usr\local\bin, keep-rel, no-add-slash)
   21  100118 [main] testrunner 3936 normalize_win32_path: C:\cygwin64\usr\local\bin = normalize_win32_path (C:\cygwin64\usr\local\bin)
   26  100144 [main] testrunner 3936 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin64\usr\local\bin)
   22  100166 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\bin, keep-rel, no-add-slash)
   20  100186 [main] testrunner 3936 normalize_win32_path: C:\cygwin64\bin = normalize_win32_path (C:\cygwin64\bin)
   20  100206 [main] testrunner 3936 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin64\bin)
   21  100227 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\system32, keep-rel, no-add-slash)
   20  100247 [main] testrunner 3936 normalize_win32_path: C:\Windows\system32 = normalize_win32_path (C:\Windows\system32)
   21  100268 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/c/Windows/system32 = conv_to_posix_path (C:\Windows\system32)
   20  100288 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows, keep-rel, no-add-slash)
   19  100307 [main] testrunner 3936 normalize_win32_path: C:\Windows = normalize_win32_path (C:\Windows)
   19  100326 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/c/Windows = conv_to_posix_path (C:\Windows)
   20  100346 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\Wbem, keep-rel, no-add-slash)
   19  100365 [main] testrunner 3936 normalize_win32_path: C:\Windows\System32\Wbem = normalize_win32_path (C:\Windows\System32\Wbem)
   20  100385 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/Wbem = conv_to_posix_path (C:\Windows\System32\Wbem)
   21  100406 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0, keep-rel, no-add-slash)
   36  100442 [main] testrunner 3936 normalize_win32_path: C:\Windows\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   19  100461 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\Windows\System32\WindowsPowerShell\v1.0)
   21  100482 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TortoiseSVN\bin, keep-rel, no-add-slash)
   21  100503 [main] testrunner 3936 normalize_win32_path: C:\Program Files\TortoiseSVN\bin = normalize_win32_path (C:\Program Files\TortoiseSVN\bin)
   21  100524 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TortoiseSVN/bin = conv_to_posix_path (C:\Program Files\TortoiseSVN\bin)
   22  100546 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\lib\lapack, keep-rel, no-add-slash)
   20  100566 [main] testrunner 3936 normalize_win32_path: C:\cygwin64\lib\lapack = normalize_win32_path (C:\cygwin64\lib\lapack)
   21  100587 [main] testrunner 3936 mount_info::conv_to_posix_path: /usr/lib/lapack = conv_to_posix_path (C:\cygwin64\lib\lapack)
   54  100641 [main] testrunner 3936 win_env::add_cache: posix /cygdrive/d/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/lib/CYGWIN/x86_64:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/TortoiseSVN/bin:/usr/lib/lapack
   22  100663 [main] testrunner 3936 win_env::add_cache: native PATH=D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\lib\CYGWIN\x86_64;C:\cygwin64\usr\local\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\TortoiseSVN\bin;C:\cygwin64\lib\lapack
   24  100687 [main] testrunner 3936 posify_maybe: env var converted to PATH=/cygdrive/d/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/lib/CYGWIN/x86_64:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/TortoiseSVN/bin:/usr/lib/lapack
   55  100742 [main] testrunner 3936 environ_init: 0x600039B40: PATH=/cygdrive/d/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/lib/CYGWIN/x86_64:/usr/local/bin:/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/TortoiseSVN/bin:/usr/lib/lapack
   43  100785 [main] testrunner 3936 environ_init: 0x600029760: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
   38  100823 [main] testrunner 3936 environ_init: 0x6000297B0: POCO_BASE=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build
   37  100860 [main] testrunner 3936 environ_init: 0x600029820: PRINTER=HP Color LaserJet 2500N
   36  100896 [main] testrunner 3936 environ_init: 0x600029850: PROCESSOR_ARCHITECTURE=AMD64
   38  100934 [main] testrunner 3936 environ_init: 0x600039C90: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
   37  100971 [main] testrunner 3936 environ_init: 0x600029880: PROCESSOR_LEVEL=6
   36  101007 [main] testrunner 3936 environ_init: 0x600039CF0: PROCESSOR_REVISION=170a
   42  101049 [main] testrunner 3936 environ_init: 0x600039D20: PROFILEREAD=true
   37  101086 [main] testrunner 3936 environ_init: 0x600039D40: PROGRAMFILES=C:\Program Files
   37  101123 [main] testrunner 3936 environ_init: 0x600039D70: PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
   37  101160 [main] testrunner 3936 environ_init: 0x600039DC0: PUBLIC=C:\Users\Public
   38  101198 [main] testrunner 3936 environ_init: 0x600039DE0: PWD=/cygdrive/D/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/Foundation/testsuite/bin/CYGWIN/x86_64
   38  101236 [main] testrunner 3936 environ_init: 0x600039E70: ProgramData=C:\ProgramData
   36  101272 [main] testrunner 3936 environ_init: 0x600039EA0: ProgramFiles(x86)=C:\Program Files (x86)
   37  101309 [main] testrunner 3936 environ_init: 0x600039EE0: ProgramW6432=C:\Program Files
   36  101345 [main] testrunner 3936 environ_init: 0x600039F10: SESSIONNAME=Console
   36  101381 [main] testrunner 3936 environ_init: 0x600039F30: SHELL=/bin/bash
   37  101418 [main] testrunner 3936 environ_init: 0x600039F50: SHLVL=2
   36  101454 [main] testrunner 3936 environ_init: 0x600039F70: SYSTEMDRIVE=C:
   36  101490 [main] testrunner 3936 environ_init: 0x600039F90: SYSTEMROOT=C:\Windows
   36  101526 [main] testrunner 3936 getwinenv: can't set native for TEMP= since no environ yet
   22  101548 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\tmp, no-keep-rel, no-add-slash)
   23  101571 [main] testrunner 3936 normalize_win32_path: C:\cygwin64\tmp = normalize_win32_path (C:\cygwin64\tmp)
   22  101593 [main] testrunner 3936 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin64\tmp)
   56  101649 [main] testrunner 3936 win_env::add_cache: posix /tmp
   20  101669 [main] testrunner 3936 win_env::add_cache: native TEMP=C:\cygwin64\tmp
   20  101689 [main] testrunner 3936 posify_maybe: env var converted to TEMP=/tmp
   51  101740 [main] testrunner 3936 environ_init: 0x60003A010: TEMP=/tmp
   43  101783 [main] testrunner 3936 environ_init: 0x600039FB0: TERM=xterm
   36  101819 [main] testrunner 3936 getwinenv: can't set native for TMP= since no environ yet
   20  101839 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin64\tmp, no-keep-rel, no-add-slash)
   21  101860 [main] testrunner 3936 normalize_win32_path: C:\cygwin64\tmp = normalize_win32_path (C:\cygwin64\tmp)
   20  101880 [main] testrunner 3936 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\cygwin64\tmp)
   50  101930 [main] testrunner 3936 win_env::add_cache: posix /tmp
   20  101950 [main] testrunner 3936 win_env::add_cache: native TMP=C:\cygwin64\tmp
   19  101969 [main] testrunner 3936 posify_maybe: env var converted to TMP=/tmp
   50  102019 [main] testrunner 3936 environ_init: 0x60003A090: TMP=/tmp
   36  102055 [main] testrunner 3936 environ_init: 0x60003A030: TZ=Europe/London
   35  102090 [main] testrunner 3936 environ_init: 0x60003A0B0: USER=David Stacey
   35  102125 [main] testrunner 3936 environ_init: 0x60003A0D0: USERDOMAIN=Fluffy
   35  102160 [main] testrunner 3936 environ_init: 0x60003A0F0: USERNAME=David Stacey
   36  102196 [main] testrunner 3936 environ_init: 0x60003A110: USERPROFILE=C:\Users\David Stacey
   36  102232 [main] testrunner 3936 environ_init: 0x60003A140: VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
   37  102269 [main] testrunner 3936 environ_init: 0x60003A1A0: WCDHOME=/home/David Stacey/.wcd
   36  102305 [main] testrunner 3936 environ_init: 0x60003A1D0: WINDIR=C:\Windows
   35  102340 [main] testrunner 3936 environ_init: 0x60003A1F0: _=/usr/bin/strace
   36  102376 [main] testrunner 3936 environ_init: 0x60003A210: windows_tracing_flags=3
   38  102414 [main] testrunner 3936 environ_init: 0x60003A240: windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
   46  102460 [main] testrunner 3936 pinfo_init: Set nice to 0
   25  102485 [main] testrunner 3936 pinfo_init: pid 3936, pgid 3936, process_state 0x41
   20  102505 [main] testrunner 3936 App version:  1007.34, api: 0.285
   26  102531 [main] testrunner 3936 DLL version:  1007.34, api: 0.285
   19  102550 [main] testrunner 3936 DLL build:    2015-02-04 12:14
   27  102577 [main] testrunner 3936 dtable::extend: size 32, fds 0x1802F87B8
  230  102807 [main] testrunner 3936 __get_lcid_from_locale: LCID=0x0409
 2320  105127 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  558  105685 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  447  106132 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  367  106499 [main] testrunner 3936 cygheap_user::ontherange: what 2, pw 0x1802F8A18
   64  106563 [main] testrunner 3936 cygheap_user::ontherange: HOME is already in the environment /home/David Stacey
   94  106657 [main] testrunner 3936 build_argv: argv[0] = 'D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64\testrunner'
   39  106696 [main] testrunner 3936 build_argv: argv[1] = 'UnicodeConverterTest'
   35  106731 [main] testrunner 3936 build_argv: argc 2
   62  106793 [main] testrunner 3936 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64\testrunner, keep-rel, no-add-slash)
   40  106833 [main] testrunner 3936 normalize_win32_path: D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64\testrunner = normalize_win32_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64\testrunner)
   44  106877 [main] testrunner 3936 mount_info::conv_to_posix_path: /cygdrive/d/Dave/Linux/Cygwin64/cygwin_auto_maintainer/poco/poco-1.6.0-1.x86_64/build/Foundation/testsuite/bin/CYGWIN/x86_64/testrunner = conv_to_posix_path (D:\Dave\Linux\Cygwin64\cygwin_auto_maintainer\poco\poco-1.6.0-1.x86_64\build\Foundation\testsuite\bin\CYGWIN\x86_64\testrunner)
  154  107031 [main] testrunner 3936 build_fh_pc: created an archetype (0x1802F9978) for /dev/pty0(136/0)
   45  107076 [main] testrunner 3936 build_fh_pc: fh 0x1802F9708, dev 00880000
   46  107122 [main] testrunner 3936 fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-pty0-from-master, size 131072, mode PIPE_TYPE_MESSAGE
  123  107245 [main] testrunner 3936 fhandler_pipe::create: pipe busy
   41  107286 [main] testrunner 3936 tty::exists: exists 1
   77  107363 [main] testrunner 3936 alloc_sd: uid 197608, gid 197121, attribute 020620
   29  107392 [main] testrunner 3936 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-930790263-527260530-518869422-1000 (+)
   24  107416 [main] testrunner 3936 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-930790263-527260530-518869422-513 (+)
   25  107441 [main] testrunner 3936 alloc_sd: ACL-Size: 124
   53  107494 [main] testrunner 3936 alloc_sd: Created SD-Size: 200
   22  107516 [main] testrunner 3936 fhandler_pty_slave::open: (440): pty output_mutex (0xAC): waiting -1 ms
   38  107554 [main] testrunner 3936 fhandler_pty_slave::open: (440): pty output_mutex: acquired
   44  107598 [main] testrunner 3936 tty::create_inuse: cygtty.slave_alive.0 0xB8
   20  107618 [main] testrunner 3936 fhandler_pty_slave::open: (443): pty output_mutex(0xAC) released
   84  107702 [main] testrunner 3936 open_shared: name cygpid.1120, n 1120, shared 0x2D0000 (wanted 0x0), h 0xBC, *m 6
  107  107809 [main] testrunner 3936 fhandler_pty_slave::open: dup handles directly since I'm the owner
   78  107887 [main] testrunner 3936 fhandler_pty_slave::open: duplicated from_master 0x1EC->0xBC from pty_owner
   41  107928 [main] testrunner 3936 fhandler_pty_slave::open: duplicated to_master 0x1FC->0xC4 from pty_owner
   70  107998 [main] testrunner 3936 fhandler_console::need_invisible: invisible_console 0
   49  108047 [main] testrunner 3936 fhandler_base::open_with_arch: line 474:  /dev/pty0<0x1802F9978> usecount + 1 = 1
13628  121675 [main] testrunner 3936 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   50  121725 [main] testrunner 3936 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   40  121765 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   43  121808 [main] testrunner 3936 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880000 flags & O_NOCTTY 0x0
   41  121849 [main] testrunner 3936 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x1802F9978
   38  121887 [main] testrunner 3936 _pinfo::set_ctty: ctty was NULL
   36  121923 [main] testrunner 3936 _pinfo::set_ctty: line 482:  /dev/pty0<0x1802F9978> usecount + 1 = 2
   39  121962 [main] testrunner 3936 _pinfo::set_ctty: /dev/pty0 ctty, usecount 2
   45  122007 [main] testrunner 3936 _pinfo::set_ctty: attaching ctty /dev/pty0 sid 3936, pid 3936, pgid 3936, tty->pgid 1628, tty->sid 1884
   40  122047 [main] testrunner 3936 _pinfo::set_ctty: cygheap->ctty now 0x1802F9978, archetype 0x1802F9978
   39  122086 [main] testrunner 3936 fhandler_pty_slave::open_setup: /dev/pty0 opened, usecount 2
   45  122131 [main] testrunner 3936 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   38  122169 [main] testrunner 3936 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   37  122206 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   40  122246 [main] testrunner 3936 _pinfo::set_ctty: old ctty /dev/pty0, ctty device number 0x880000, tc.ntty device number 0x880000 flags & O_NOCTTY 0x0
   39  122285 [main] testrunner 3936 _pinfo::set_ctty: attaching ctty /dev/pty0 sid 1884, pid 3936, pgid 1628, tty->pgid 1628, tty->sid 1884
   39  122324 [main] testrunner 3936 _pinfo::set_ctty: cygheap->ctty now 0x1802F9978, archetype 0x1802F9978
   39  122363 [main] testrunner 3936 fhandler_pty_slave::open_setup: /dev/pty0 opened, usecount 2
  114  122477 [main] testrunner 3936 build_fh_pc: fh 0x1802F9CA8, dev 000000C5
   51  122528 [main] testrunner 3936 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   39  122567 [main] testrunner 3936 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   37  122604 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   38  122642 [main] testrunner 3936 fhandler_base::init: created new fhandler_base for handle 0x22C, bin 1
   84  122726 [main] testrunner 3936 build_fh_pc: fh 0x1802FA008, dev 000000C5
   42  122768 [main] testrunner 3936 fhandler_base::set_flags: flags 0x10001, supplied_bin 0x0
   37  122805 [main] testrunner 3936 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   38  122843 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   37  122880 [main] testrunner 3936 fhandler_base::init: created new fhandler_base for handle 0x268, bin 1
303833  426713 [main] testrunner 3936 open: open(/usr/share/zoneinfo/Europe/London, 0x10000)
  116  426829 [main] testrunner 3936 normalize_posix_path: src /usr/share/zoneinfo/Europe/London
   42  426871 [main] testrunner 3936 normalize_posix_path: /usr/share/zoneinfo/Europe/London = normalize_posix_path (/usr/share/zoneinfo/Europe/London)
   40  426911 [main] testrunner 3936 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/Europe/London)
  124  427035 [main] testrunner 3936 set_flags: flags: binary (0x2)
   43  427078 [main] testrunner 3936 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/Europe/London, dst C:\cygwin64\usr\share\zoneinfo\Europe\London, flags 0x3000A, rc 0
  143  427221 [main] testrunner 3936 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\usr\share\zoneinfo\Europe\London)
   76  427297 [main] testrunner 3936 symlink_info::check: not a symlink
   68  427365 [main] testrunner 3936 symlink_info::check: 0 = symlink.check(C:\cygwin64\usr\share\zoneinfo\Europe\London, 0x226E70) (0x3000A)
   43  427408 [main] testrunner 3936 path_conv::check: this->path(C:\cygwin64\usr\share\zoneinfo\Europe\London), has_acls(1)
   58  427466 [main] testrunner 3936 build_fh_pc: fh 0x1802FA428, dev 000000C3
   42  427508 [main] testrunner 3936 fhandler_base::open: (\??\C:\cygwin64\usr\share\zoneinfo\Europe\London, 0x118000)
   82  427590 [main] testrunner 3936 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
   39  427629 [main] testrunner 3936 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   36  427665 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   35  427700 [main] testrunner 3936 fhandler_base::open: 0x0 = NtCreateFile (0xDC, 0x80100000, \??\C:\cygwin64\usr\share\zoneinfo\Europe\London, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
   41  427741 [main] testrunner 3936 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin64\usr\share\zoneinfo\Europe\London, 0x118000)
   48  427789 [main] testrunner 3936 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin64\usr\share\zoneinfo\Europe\London, 0x18000)
   47  427836 [main] testrunner 3936 open: 3 = open(/usr/share/zoneinfo/Europe/London, 0x18000)
   47  427883 [main] testrunner 3936 read: read(3, 0x60003EE90, 41448) blocking
   72  427955 [main] testrunner 3936 fhandler_base::read: returning 3687, binary mode
   39  427994 [main] testrunner 3936 read: 3687 = read(3, 0x60003EE90, 3687)
   35  428029 [main] testrunner 3936 close: close(3)
   48  428077 [main] testrunner 3936 fhandler_base::close: closing '/usr/share/zoneinfo/Europe/London' handle 0xDC
   88  428165 [main] testrunner 3936 close: 0 = close(3)
  116  428281 [main] testrunner 3936 open: open(/usr/share/zoneinfo/posixrules, 0x10000)
   40  428321 [main] testrunner 3936 normalize_posix_path: src /usr/share/zoneinfo/posixrules
   37  428358 [main] testrunner 3936 normalize_posix_path: /usr/share/zoneinfo/posixrules = normalize_posix_path (/usr/share/zoneinfo/posixrules)
   37  428395 [main] testrunner 3936 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/posixrules)
  101  428496 [main] testrunner 3936 set_flags: flags: binary (0x2)
   38  428534 [main] testrunner 3936 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/posixrules, dst C:\cygwin64\usr\share\zoneinfo\posixrules, flags 0x3000A, rc 0
  409  428943 [main] testrunner 3936 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\usr\share\zoneinfo\posixrules)
  129  429072 [main] testrunner 3936 symlink_info::check: not a symlink
   71  429143 [main] testrunner 3936 symlink_info::check: 0 = symlink.check(C:\cygwin64\usr\share\zoneinfo\posixrules, 0x222520) (0x3000A)
   43  429186 [main] testrunner 3936 path_conv::check: this->path(C:\cygwin64\usr\share\zoneinfo\posixrules), has_acls(1)
   47  429233 [main] testrunner 3936 build_fh_pc: fh 0x1802FA428, dev 000000C3
   41  429274 [main] testrunner 3936 fhandler_base::open: (\??\C:\cygwin64\usr\share\zoneinfo\posixrules, 0x118000)
  101  429375 [main] testrunner 3936 fhandler_base::set_flags: flags 0x118000, supplied_bin 0x10000
   41  429416 [main] testrunner 3936 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   39  429455 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   36  429491 [main] testrunner 3936 fhandler_base::open: 0x0 = NtCreateFile (0xDC, 0x80100000, \??\C:\cygwin64\usr\share\zoneinfo\posixrules, io, NULL, 0x0, 0x7, 0x1, 0x4020, NULL, 0)
   44  429535 [main] testrunner 3936 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin64\usr\share\zoneinfo\posixrules, 0x118000)
   51  429586 [main] testrunner 3936 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin64\usr\share\zoneinfo\posixrules, 0x18000)
   39  429625 [main] testrunner 3936 open: 3 = open(/usr/share/zoneinfo/posixrules, 0x18000)
   38  429663 [main] testrunner 3936 read: read(3, 0x600049080, 41448) blocking
23621  453284 [main] testrunner 3936 fhandler_base::read: returning 3545, binary mode
  188  453472 [main] testrunner 3936 read: 3545 = read(3, 0x600049080, 3545)
   26  453498 [main] testrunner 3936 close: close(3)
   25  453523 [main] testrunner 3936 fhandler_base::close: closing '/usr/share/zoneinfo/posixrules' handle 0xDC
   72  453595 [main] testrunner 3936 close: 0 = close(3)
  469  454064 [main] testrunner 3936 set_signal_mask: setmask 0, newmask 1000, mask_bits 0
   21  454085 [main] testrunner 3936 pthread_sigmask: 0 = pthread_sigmask(1, 0x22C9E8, 0x0)
--- Process 3936, exception c0000005 at 000000018013CD2E
159653  613738 [main] testrunner 3936 __set_errno: void dll_crt0_1(void*):999 setting errno 0
14258  627996 [main] testrunner 3936 open: open(/tmp/TestMutex.mutex, 0x201)
  134  628130 [main] testrunner 3936 normalize_posix_path: src /tmp/TestMutex.mutex
   42  628172 [main] testrunner 3936 normalize_posix_path: /tmp/TestMutex.mutex = normalize_posix_path (/tmp/TestMutex.mutex)
   40  628212 [main] testrunner 3936 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/TestMutex.mutex)
   43  628255 [main] testrunner 3936 set_flags: flags: binary (0x2)
   38  628293 [main] testrunner 3936 mount_info::conv_to_win32_path: src_path /tmp/TestMutex.mutex, dst C:\cygwin64\tmp\TestMutex.mutex, flags 0x3000A, rc 0
17047  645340 [main] testrunner 3936 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\tmp\TestMutex.mutex)
  184  645524 [main] testrunner 3936 symlink_info::check: not a symlink
   86  645610 [main] testrunner 3936 symlink_info::check: 0 = symlink.check(C:\cygwin64\tmp\TestMutex.mutex, 0x22B570) (0x3000A)
  135  645745 [main] testrunner 3936 path_conv::check: this->path(C:\cygwin64\tmp\TestMutex.mutex), has_acls(1)
   98  645843 [main] testrunner 3936 build_fh_pc: fh 0x1802FA428, dev 000000C3
   45  645888 [main] testrunner 3936 fhandler_base::open: (\??\C:\cygwin64\tmp\TestMutex.mutex, 0x108201)
  773  646661 [main] testrunner 3936 fhandler_base::set_flags: flags 0x108201, supplied_bin 0x10000
 1896  648557 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
  127  648684 [main] testrunner 3936 fhandler_base::open: 0x0 = NtCreateFile (0x13C, 0x40120080, \??\C:\cygwin64\tmp\TestMutex.mutex, io, NULL, 0x80, 0x7, 0x3, 0x4020, NULL, 0)
   68  648752 [main] testrunner 3936 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin64\tmp\TestMutex.mutex, 0x108201)
   94  648846 [main] testrunner 3936 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin64\tmp\TestMutex.mutex, 0x8201)
   72  648918 [main] testrunner 3936 open: 3 = open(/tmp/TestMutex.mutex, 0x8201)
   68  648986 [main] testrunner 3936 close: close(3)
   67  649053 [main] testrunner 3936 fhandler_base::close: closing '/tmp/TestMutex.mutex' handle 0x13C
  243  649296 [main] testrunner 3936 close: 0 = close(3)
  120  649416 [main] testrunner 3936 stat64: entering
   93  649509 [main] testrunner 3936 normalize_posix_path: src /tmp/TestMutex.mutex
   59  649568 [main] testrunner 3936 normalize_posix_path: /tmp/TestMutex.mutex = normalize_posix_path (/tmp/TestMutex.mutex)
   64  649632 [main] testrunner 3936 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/TestMutex.mutex)
   69  649701 [main] testrunner 3936 set_flags: flags: binary (0x2)
   66  649767 [main] testrunner 3936 mount_info::conv_to_win32_path: src_path /tmp/TestMutex.mutex, dst C:\cygwin64\tmp\TestMutex.mutex, flags 0x3000A, rc 0
  150  649917 [main] testrunner 3936 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\tmp\TestMutex.mutex)
  111  650028 [main] testrunner 3936 symlink_info::check: not a symlink
   75  650103 [main] testrunner 3936 symlink_info::check: 0 = symlink.check(C:\cygwin64\tmp\TestMutex.mutex, 0x22B560) (0x43000A)
   63  650166 [main] testrunner 3936 path_conv::check: this->path(C:\cygwin64\tmp\TestMutex.mutex), has_acls(1)
   77  650243 [main] testrunner 3936 build_fh_pc: fh 0x1802FA428, dev 000000C3
   70  650313 [main] testrunner 3936 stat_worker: (\??\C:\cygwin64\tmp\TestMutex.mutex, 0x22C780, 0x1802FA428), file_attributes 32
  157  650470 [main] testrunner 3936 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-930790263-527260530-518869422-1000
   44  650514 [main] testrunner 3936 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-930790263-527260530-518869422-513
   47  650561 [main] testrunner 3936 get_info_from_sd: ACL 0x1A4, uid 197608, gid 197121
  420  650981 [main] testrunner 3936 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin64\tmp\TestMutex.mutex, 0x22C780) st_size=0, st_mode=0100644, st_ino=72057594037953116st_atim=54E3967A.9B271DC st_ctim=54E3967A.9C1B41C st_mtim=54E3967A.9B271DC st_birthtim=54E3967A.9B271DC
  187  651168 [main] testrunner 3936 stat_worker: 0 = (\??\C:\cygwin64\tmp\TestMutex.mutex,0x22C780)
  162  651330 [main] testrunner 3936 semget: semget (key = 16889907077040987136, nsems = 1, semflg = 0x7B6)
   98  651428 [main] testrunner 3936 getpid: 3936 = getpid()
  113  651541 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
 6106  657647 [main] testrunner 3936 semctl: semctl (semid = 65536, semnum = 0, cmd = 12293, arg = 0x1)
  104  657751 [main] testrunner 3936 getpid: 3936 = getpid()
   42  657793 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  909  658702 [main] testrunner 3936 open: open(/tmp/TestEvent.event, 0x201)
  116  658818 [main] testrunner 3936 normalize_posix_path: src /tmp/TestEvent.event
   43  658861 [main] testrunner 3936 normalize_posix_path: /tmp/TestEvent.event = normalize_posix_path (/tmp/TestEvent.event)
   40  658901 [main] testrunner 3936 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/TestEvent.event)
   40  658941 [main] testrunner 3936 set_flags: flags: binary (0x2)
   36  658977 [main] testrunner 3936 mount_info::conv_to_win32_path: src_path /tmp/TestEvent.event, dst C:\cygwin64\tmp\TestEvent.event, flags 0x3000A, rc 0
 9931  668908 [main] testrunner 3936 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\tmp\TestEvent.event)
  168  669076 [main] testrunner 3936 symlink_info::check: not a symlink
   72  669148 [main] testrunner 3936 symlink_info::check: 0 = symlink.check(C:\cygwin64\tmp\TestEvent.event, 0x22B570) (0x3000A)
   44  669192 [main] testrunner 3936 path_conv::check: this->path(C:\cygwin64\tmp\TestEvent.event), has_acls(1)
   48  669240 [main] testrunner 3936 build_fh_pc: fh 0x1802FA428, dev 000000C3
   43  669283 [main] testrunner 3936 fhandler_base::open: (\??\C:\cygwin64\tmp\TestEvent.event, 0x108201)
  719  670002 [main] testrunner 3936 fhandler_base::set_flags: flags 0x108201, supplied_bin 0x10000
  149  670151 [main] testrunner 3936 fhandler_base::set_flags: filemode set to binary
   40  670191 [main] testrunner 3936 fhandler_base::open: 0x0 = NtCreateFile (0x140, 0x40120080, \??\C:\cygwin64\tmp\TestEvent.event, io, NULL, 0x80, 0x7, 0x3, 0x4020, NULL, 0)
   40  670231 [main] testrunner 3936 fhandler_base::open: 1 = fhandler_base::open(\??\C:\cygwin64\tmp\TestEvent.event, 0x108201)
   49  670280 [main] testrunner 3936 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\C:\cygwin64\tmp\TestEvent.event, 0x8201)
   41  670321 [main] testrunner 3936 open: 3 = open(/tmp/TestEvent.event, 0x8201)
   38  670359 [main] testrunner 3936 close: close(3)
   39  670398 [main] testrunner 3936 fhandler_base::close: closing '/tmp/TestEvent.event' handle 0x140
  197  670595 [main] testrunner 3936 close: 0 = close(3)
   70  670665 [main] testrunner 3936 stat64: entering
   45  670710 [main] testrunner 3936 normalize_posix_path: src /tmp/TestEvent.event
   37  670747 [main] testrunner 3936 normalize_posix_path: /tmp/TestEvent.event = normalize_posix_path (/tmp/TestEvent.event)
   38  670785 [main] testrunner 3936 mount_info::conv_to_win32_path: conv_to_win32_path (/tmp/TestEvent.event)
   40  670825 [main] testrunner 3936 set_flags: flags: binary (0x2)
   37  670862 [main] testrunner 3936 mount_info::conv_to_win32_path: src_path /tmp/TestEvent.event, dst C:\cygwin64\tmp\TestEvent.event, flags 0x3000A, rc 0
  116  670978 [main] testrunner 3936 symlink_info::check: 0x0 = NtCreateFile (\??\C:\cygwin64\tmp\TestEvent.event)
   74  671052 [main] testrunner 3936 symlink_info::check: not a symlink
   37  671089 [main] testrunner 3936 symlink_info::check: 0 = symlink.check(C:\cygwin64\tmp\TestEvent.event, 0x22B560) (0x43000A)
   40  671129 [main] testrunner 3936 path_conv::check: this->path(C:\cygwin64\tmp\TestEvent.event), has_acls(1)
   46  671175 [main] testrunner 3936 build_fh_pc: fh 0x1802FA428, dev 000000C3
   39  671214 [main] testrunner 3936 stat_worker: (\??\C:\cygwin64\tmp\TestEvent.event, 0x22C780, 0x1802FA428), file_attributes 32
   80  671294 [main] testrunner 3936 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-930790263-527260530-518869422-1000
   40  671334 [main] testrunner 3936 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-930790263-527260530-518869422-513
   40  671374 [main] testrunner 3936 get_info_from_sd: ACL 0x1A4, uid 197608, gid 197121
   84  671458 [main] testrunner 3936 fhandler_base::fstat_helper: 0 = fstat (\??\C:\cygwin64\tmp\TestEvent.event, 0x22C780) st_size=0, st_mode=0100644, st_ino=68961369294217818st_atim=54E3967A.A1D432C st_ctim=54E3967A.A1D432C st_mtim=54E3967A.A1D432C st_birthtim=54E3967A.A1D432C
   68  671526 [main] testrunner 3936 stat_worker: 0 = (\??\C:\cygwin64\tmp\TestEvent.event,0x22C780)
   78  671604 [main] testrunner 3936 semget: semget (key = 16889907029817317888, nsems = 1, semflg = 0x7B6)
   43  671647 [main] testrunner 3936 getpid: 3936 = getpid()
   55  671702 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
 1362  673064 [main] testrunner 3936 semctl: semctl (semid = 65537, semnum = 0, cmd = 12293, arg = 0x0)
  209  673273 [main] testrunner 3936 getpid: 3936 = getpid()
  197  673470 [main] testrunner 3936 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
128667  802137 [main] testrunner 3936 time: 1424252168 = time(0x0)
   46  802183 [main] testrunner 3936 fstat64: 0 = fstat(1, 0x22C400)
16498  818681 [main] testrunner 3936 set_signal_mask: setmask 1000, newmask FFFFFFFFFFFEFEDF, mask_bits 0
   41  818722 [main] testrunner 3936 kill0: kill (3936, 6)
   25  818747 [main] testrunner 3936 sig_send: sendsig 0x7C, pid 3936, signal 6, its_me 1
   28  818775 [main] testrunner 3936 sig_send: wakeup 0x5C0
   40  818815 [sig] testrunner 3936 sigpacket::process: signal 6 processing
   22  818837 [sig] testrunner 3936 init_cygheap::find_tls: sig 6
   16  818853 [sig] testrunner 3936 sigpacket::process: using tls 0x22CE00
   65  818918 [sig] testrunner 3936 sigpacket::process: signal 6, signal handler 0x18006FDB0
   19  818937 [sig] testrunner 3936 sigpacket::setup_handler: controlled interrupt. stackptr 0x22E270, stack 0x22E268, stackptr[-1] 0x58C5387E5
   20  818957 [sig] testrunner 3936 proc_subproc: args: 5, 1
   17  818974 [sig] testrunner 3936 proc_subproc: clear waiting threads
   14  818988 [sig] testrunner 3936 proc_subproc: finished clearing
   14  819002 [sig] testrunner 3936 proc_subproc: returning 1
   15  819017 [sig] testrunner 3936 _cygtls::interrupt_setup: armed signal_arrived 0x13C, signal 6
   15  819032 [sig] testrunner 3936 sigpacket::setup_handler: signal 6 delivered
   21  819053 [sig] testrunner 3936 sigpacket::process: returning 1
   15  819068 [sig] testrunner 3936 wait_sig: signalling pack.wakeup 0x5C0
   21  819089 [main] testrunner 3936 sig_send: Waiting for pack.wakeup 0x5C0
   25  819114 [main] testrunner 3936 set_process_mask_delta: oldmask FFFFFFFFFFFEFEDF, newmask FFFFFFFFFFFEFEDF, deltamask 0
   23  819137 [main] testrunner 3936 signal_exit: exiting due to signal 6
   22  819159 [main] testrunner 3936 try_to_debug: debugger_command ''
 819679 [main] testrunner 3936 cygwin_exception::open_stackdumpfile: Dumping stack trace to testrunner.exe.stackdump
  520  819679 [main] testrunner 3936 cygwin_exception::open_stackdumpfile: Dumping stack trace to testrunner.exe.stackdump
3861299 4680978 [main] testrunner 3936 signal_exit: about to call do_exit (86)
   81 4681059 [main] testrunner 3936 do_exit: do_exit (134), exit_state 2
   20 4681079 [main] testrunner 3936 void: 0x0 = signal (20, 0x1)
   17 4681096 [main] testrunner 3936 void: 0x0 = signal (1, 0x1)
   16 4681112 [main] testrunner 3936 void: 0x0 = signal (2, 0x1)
   16 4681128 [main] testrunner 3936 void: 0x0 = signal (3, 0x1)
   31 4681159 [main] testrunner 3936 fhandler_base::close_with_arch: line 1140:  /dev/pty0<0x1802F9978> usecount + -1 = 1
   19 4681178 [main] testrunner 3936 fhandler_base::close_with_arch: not closing archetype
   22 4681200 [main] testrunner 3936 fhandler_base::close: closing '' handle 0x22C
   31 4681231 [main] testrunner 3936 fhandler_base::close: closing '' handle 0x268
   19 4681250 [main] testrunner 3936 init_cygheap::close_ctty: closing cygheap->ctty 0x1802F9978
   18 4681268 [main] testrunner 3936 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
   18 4681286 [main] testrunner 3936 fhandler_pty_slave::cleanup: /dev/pty0 closed, usecount 0
   31 4681317 [main] testrunner 3936 fhandler_pty_slave::close: closing last open /dev/pty0 handle
  133 4681450 [main] testrunner 3936 fhandler_console::free_console: freed console, res 1
   27 4681477 [main] testrunner 3936 fhandler_pty_common::close: pty0 <0xBC,0xC4> closing
   25 4681502 [main] testrunner 3936 dtable::delete_archetype: deleting element 0 for /dev/pty0(136/0)
   27 4681529 [main] testrunner 3936 getpid: 3936 = getpid()
   19 4681548 [main] testrunner 3936 proc_terminate: nprocs 0
   17 4681565 [main] testrunner 3936 proc_terminate: leaving
   47 4681612 [main] testrunner 3936 pinfo::exit: Calling ExitProcess n 0x86, exitcode 0x8600

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: UTF32 crash in poco-1.6.0 - Request for help
  2015-02-18 12:09 UTF32 crash in poco-1.6.0 - Request for help David Stacey
@ 2015-02-25 22:18 ` David Stacey
  2015-02-25 23:07   ` Achim Gratz
  2015-02-26  9:10   ` Corinna Vinschen
  0 siblings, 2 replies; 5+ messages in thread
From: David Stacey @ 2015-02-25 22:18 UTC (permalink / raw)
  To: cygwin-apps

On 18/02/15 12:09, David Stacey wrote:
> The test causing the crash is the UnicodeConverterTest 
> (Foundation/testsuite/src/UnicodeConverterTest.cpp). This is 
> templated, and is instantiated with both UTF16 and UTF32 strings. The 
> UTF16 case works correctly; it is the UTF32 instantiation that is 
> crashing.

I'm still trying to get to the bottom of this. The UTF16 test (the one 
that works) uses std::wstring, but the UTF32 test (the one that crashes) 
uses a custom string made with a 32-bit integer and corresponding traits 
class. If the UTF16 test is switched from using std::wstring to a 
similar custom string type then this also crashes.

It would be easy to blame the custom string types, except that I can 
isolate the code in a stand-alone example that works fine. Plus, I've 
compiled Poco on Fedora 21 with the two custom string types, and again 
everything works fine.

I tried compiling with all optimisation turned off, and now the code 
still crashes, just more slowly :-) I was hoping that I might get 
something more sensible out of gdb with -O0, but alas no. The next step 
is to produce a static build (again with all optimisation disabled) and 
then cut bits out of it until I come up with a minimal programme that 
exhibits the bug.

Dave.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: UTF32 crash in poco-1.6.0 - Request for help
  2015-02-25 22:18 ` David Stacey
@ 2015-02-25 23:07   ` Achim Gratz
  2015-02-25 23:18     ` David Stacey
  2015-02-26  9:10   ` Corinna Vinschen
  1 sibling, 1 reply; 5+ messages in thread
From: Achim Gratz @ 2015-02-25 23:07 UTC (permalink / raw)
  To: cygwin-apps

David Stacey writes:
> I'm still trying to get to the bottom of this. The UTF16 test (the one
> that works) uses std::wstring, but the UTF32 test (the one that
> crashes) uses a custom string made with a 32-bit integer and
> corresponding traits class. If the UTF16 test is switched from using
> std::wstring to a similar custom string type then this also crashes.
>
> It would be easy to blame the custom string types, except that I can
> isolate the code in a stand-alone example that works fine. Plus, I've
> compiled Poco on Fedora 21 with the two custom string types, and again
> everything works fine.
>
> I tried compiling with all optimisation turned off, and now the code
> still crashes, just more slowly :-) I was hoping that I might get
> something more sensible out of gdb with -O0, but alas no. The next
> step is to produce a static build (again with all optimisation
> disabled) and then cut bits out of it until I come up with a minimal
> programme that exhibits the bug.

Is that code trying to switch encoding in any way?  There's a bug in
Perl (only 64bit) that throws a SEGV when doing that…


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: UTF32 crash in poco-1.6.0 - Request for help
  2015-02-25 23:07   ` Achim Gratz
@ 2015-02-25 23:18     ` David Stacey
  0 siblings, 0 replies; 5+ messages in thread
From: David Stacey @ 2015-02-25 23:18 UTC (permalink / raw)
  To: cygwin-apps

On 25/02/15 23:07, Achim Gratz wrote:
> David Stacey writes:
>> I'm still trying to get to the bottom of this. The UTF16 test (the one
>> that works) uses std::wstring, but the UTF32 test (the one that
>> crashes) uses a custom string made with a 32-bit integer and
>> corresponding traits class. If the UTF16 test is switched from using
>> std::wstring to a similar custom string type then this also crashes.
>>
>> It would be easy to blame the custom string types, except that I can
>> isolate the code in a stand-alone example that works fine. Plus, I've
>> compiled Poco on Fedora 21 with the two custom string types, and again
>> everything works fine.
>>
>> I tried compiling with all optimisation turned off, and now the code
>> still crashes, just more slowly:-)  I was hoping that I might get
>> something more sensible out of gdb with -O0, but alas no. The next
>> step is to produce a static build (again with all optimisation
>> disabled) and then cut bits out of it until I come up with a minimal
>> programme that exhibits the bug.
> Is that code trying to switch encoding in any way?  There's a bug in
> Perl (only 64bit) that throws a SEGV when doing that…

Thanks for your reply. I'll keep that in mind, but the crash I'm seeing 
occurs on both architectures.

Dave.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: UTF32 crash in poco-1.6.0 - Request for help
  2015-02-25 22:18 ` David Stacey
  2015-02-25 23:07   ` Achim Gratz
@ 2015-02-26  9:10   ` Corinna Vinschen
  1 sibling, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2015-02-26  9:10 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 933 bytes --]

On Feb 25 22:18, David Stacey wrote:
> On 18/02/15 12:09, David Stacey wrote:
> >The test causing the crash is the UnicodeConverterTest
> >(Foundation/testsuite/src/UnicodeConverterTest.cpp). This is templated,
> >and is instantiated with both UTF16 and UTF32 strings. The UTF16 case
> >works correctly; it is the UTF32 instantiation that is crashing.
> 
> I'm still trying to get to the bottom of this. The UTF16 test (the one that
> works) uses std::wstring, but the UTF32 test (the one that crashes) uses a
> custom string made with a 32-bit integer and corresponding traits class. If
> the UTF16 test is switched from using std::wstring to a similar custom
> string type then this also crashes.

Some wrong assumption that wchar_t is 32 bit, perphaps?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-26  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 12:09 UTF32 crash in poco-1.6.0 - Request for help David Stacey
2015-02-25 22:18 ` David Stacey
2015-02-25 23:07   ` Achim Gratz
2015-02-25 23:18     ` David Stacey
2015-02-26  9:10   ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).