http://bugs.winehq.org/show_bug.cgi?id=6714 Summary: Running wine from a Makefile causes wine to segfault Product: Wine Version: 0.9.22. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-dos AssignedTo: wine-bugs(a)winehq.org ReportedBy: email200202(a)yahoo.com I have a DOS cross compiler which I need to invoke from makefile. The build environment runs under Linux and I using wine to run this DOS compiler from the makefile. When I run wine (0.9.22 or 0.9.25) from inside the makefile, wine causes segmentation fault immediately. The same command runs fine outside the makefile. Summary of what I found: - wine-0.9.8-r1 is working fine in makefiles. - wine-0.9.22 and wine-0.9.25 do not work in makefiles but work outside. I did not try the versions in between 0.9.8-r1 and 0.9.22. - If you use wine-0.9.22 and replace wine command with wine-pthread in the makefile, it will start the compiler but fail when the compiler forks other executables. For the time being I will use wine-0.9.8-r1 but I would like to use the latest version. To replicate the problem, create a makefile say "tmp.mak" ------------------------- all: wine ------------------------- and run make command: for wine-0.9.8-r1 $ make -f tmp.mak wine Wine 0.9.8 Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output version information and exit for wine-0.9.22 or wine-0.9.25 segmentation fault -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.