[Bug 19615] New: Can't compile Inkscape with mingw on wine: fd leak?

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 7 00:50:40 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19615

           Summary: Can't compile Inkscape with mingw on wine: fd leak?
           Product: Wine
           Version: 1.1.26
          Platform: PC
               URL: http://kegel.com/wine/inkscape-download-and-build.sh.t
                    xt
        OS/Version: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: wineserver
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


http://kegel.com/wine/inkscape-download-and-build.sh.txt
is a simple script that downloads all of the prerequisites
for building inkscape on windows, grabs the source from svn,
and builds it.  Read the comments at the top to see how
to run it in cygwin (and in cygwin on wine).

This script runs to completion on Windows, but on Wine, it failed for me
with

Make error line 291: executeProgram: could not create pipe

when compiling src/xml/subtree.cpp (the 770th file out of 844).

Oddly, rerunning the script in the same wineconsole window
failed quickly with various symptoms, including 
"ld.exe: crt2.o: No such file: Too many open files"

Even more oddly, problem persisted even in a new wineconsole window;
bash just wasn't happy.

wineserver -k elicited the following messages:

...
0x8833cc0:1: Fd unix_fd=474 user=0x877ec68 options=00000010
0x882e3b8:1: Fd unix_fd=-1 user=0x877ec68 options=00000010
0x877ec68:4: Named pipe server pipe=0x8824608 state=3
0x8824608:1: Named pipe name=L"Win32.Pipes.00000012.00000739"
0x8833c48:1: Fd unix_fd=473 user=0x8816378 options=00000010
0x882b138:1: Fd unix_fd=-1 user=0x8816378 options=00000010
0x8816378:4: Named pipe server pipe=0x8833f80 state=3
0x8833f80:1: Named pipe name=L"Win32.Pipes.00000012.00000736"
0x8813520:1: Fd unix_fd=472 user=0x87dcfb8 options=00000010
0x8833f08:1: Fd unix_fd=-1 user=0x87dcfb8 options=00000010
0x87dcfb8:4: Named pipe server pipe=0x87d9038 state=3
0x87d9038:1: Named pipe name=L"Win32.Pipes.00000012.00000733"
0x882eeb8:1: Fd unix_fd=471 user=0x87dae30 options=00000010
0x8833fd0:1: Fd unix_fd=-1 user=0x87dae30 options=00000010
0x87dae30:4: Named pipe server pipe=0x87e2418 state=3
0x87e2418:1: Named pipe name=L"Win32.Pipes.00000012.00000730"
0x882f3b0:1: Fd unix_fd=470 user=0x880c2a8 options=00000010
0x880ba30:1: Fd unix_fd=-1 user=0x880c2a8 options=00000010
...

After that, starting a new wineconsole let me run cygwin.bat
again, and running ink.sh again picked up the build more or less
where it left off.

So it appears wine(server) has an fd leak related to pipes?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list