Created attachment 17854 [details] [review] the simple change that worked for me I am using a debug version of DBUS from trunk on Windows compiled with msvc from Visual Studio 2005 Express Edition. I kept the following assertion: --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: ... File: read.c Line: 86 Expression: (_osfile(fh) & FOPEN) For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. (Press Retry to debug the application) --------------------------- Abort Retry Ignore --------------------------- This page (http://msdn.microsoft.com/en-us/library/ms235412(VS.80).aspx) says the _read() should be used instead of read() and it worked for me.
See also bug #16788
Fixed in head with dbus4win merges.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.