http://bugs.winehq.org/show_bug.cgi?id=25062
Summary: popen: the stderr from the child process is (wrongly)
redirected to the parent's stdin
Product: Wine
Version: 1.2
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: borut.razem(a)gmail.com
When a child process is popened in read mode, the child's stdout and stderr are
both redirected do parent's stdin, which is wrong: only the child's stdout
shoud be redirected, child's stderr should be the same as (inherited from) the
parent's stderr.
In the following example the "This is stdout" text should be displayd in
upper-case: "THIS IS STDOUT", and the "This is stderr" should be displayed in
lower-case.
Both child.c and parent.c should be compiled, executables should be located in
the same directory and parent.exe should be executed.
I compiled the example in three different ways:
1) msvc 6.0 using static libraries on Windows
2) msvc 6.0 using msvcrt.dll compilation on Windows
3) mingw using msvcrt.dll cross-compilation on Linux
All three executables works correctly on Windows platforms (tested on Windows
XP), while ony the no. 1) woks correctly on Linux + Wine: it uses the
statically linked popen implementation from msvc library. No. 2) and no. 3)
display incorrect uppercase "THIS IS STDERR": they both use the Wine
msvcrt.dll.
I think that this proves that the bug is in the Wine msvcrt.dll popen
implementation.
Example:
child.c:
----8<----
#include <stdio.h>
int
main (void)
{
fprintf (stdout, "This is stdout\n");
fprintf (stderr, "This is stderr\n");
return 0;
}
---->8----
parent.c:
----8<----
#include <stdio.h>
#include <ctype.h>
int
main (void)
{
FILE *fp;
if (NULL != (fp = _popen(".\\child", "rt")))
{
int c;
while (EOF != (c = getc (fp)))
putc (toupper (c), stdout);
_pclose (fp);
return 0;
}
else
{
perror ("parent");
return 1;
}
}
---->8----
I took a look to the popen implementation in wine-1.3.6/dlls/msvcrt/process.c,
function MSVCRT__wpopen(): all special handling of fdStdErr in case of readPipe
seems suspicious to me...
Borut
--
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.
http://bugs.winehq.org/show_bug.cgi?id=23243
Summary: Fleet Operations 3.1.x (Star Trek Armada II) has
performance problems
Product: Wine
Version: 1.2-rc4
Platform: x86-64
URL: http://www.fleetops.net/home.html
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: bojan(a)antonovic.ch
After you press the "Launch" button, the red progress bar finishes and then it
needs 5 minutes, instead of 30 seconds on Windows, to continue.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=21699
Summary: VLC videos are black in Vista+ mode
Product: Wine
Version: 1.1.37
Platform: x86
URL: http://ftp.free.org/mirrors/videolan/vlc/1.0.5/win32/v
lc-1.0.5-win32.exe
OS/Version: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kennybobs(a)o2.co.uk
Created an attachment (id=26233)
--> (http://bugs.winehq.org/attachment.cgi?id=26233)
wine-1.1.38-168-g983cff2 console output
When playing videos in VLC they are black / there is no image when running in
Vista or Win 7 mode. Works fine in Win XP mode.
Tried "winetricks directx9" but the result is the same.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=25142
Summary: Max Payne: intro video gives black screen (only sound
works)
Product: Wine
Version: 1.3.7
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gyebro69(a)gmail.com
Created an attachment (id=31890)
--> (http://bugs.winehq.org/attachment.cgi?id=31890)
terminal output
Since Wine-1.3.7, Max Payne plays the intro video but it shows only a black
screen during the video playback. I can hear the sound of the intro but cannot
see anything. This can be reproduced only when gstreamer support is compiled-in
and you have the gstreamer plugins installed (without the plugins Wine simply
skips the intro).
Not sure about the component: its either quartz or gstreamer.
According to mediainfo the intro video has the following video properties:
Video: MPEG-1, 640x480, 4:3, YUV colorspace, 8 bits
The demo doesn't contain the video.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=19787
Summary: Many Years Ago game launcher crashes on startup
Product: Wine
Version: 1.1.27
Platform: PC
URL: http://www.bigfishgames.com/download-games/5844/many-y
ears-ago/index.html
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: arethusa26(a)gmail.com
Created an attachment (id=23176)
--> (http://bugs.winehq.org/attachment.cgi?id=23176)
Many Years Ago game launcher backtrace
With wine-1.1.27-311-gd5ecc2d, after applying the patch in bug 15755 to work
around an installer issue, when launching the Big Fish Games client, it quickly
crashes with a page fault. Interestingly, the launcher starts after installing
native IE6 with winetricks. Backtrace is attached.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=24564
Summary: Black Mirror 2: movies in cutscenes freeze
Product: Wine
Version: 1.3.3
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: alex(a)stanev.org
Cutscenes play for about 2 seconds, then freeze. Audio works OK.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=25141
Summary: Morrowind: non-fatal page fault on startup (only when
no gstreamer plugins are installed)
Product: Wine
Version: 1.3.7
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: winegstreamer
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gyebro69(a)gmail.com
CC: m.b.lankhorst(a)gmail.com
Created an attachment (id=31889)
--> (http://bugs.winehq.org/attachment.cgi?id=31889)
terminal output, showing the page fault
There is a page fault when starting The Elder Scrolls III: Morrowind. It can
only be reproduced when you compile Wine with gstreamer support but no
gstreamer plugins installed on your system (the 'ugly' plugins set).
However the page fault is non fatal: the game seems to be hang for 2-3 seconds
after the initial loading stage but it continues afterwards and you can get to
the main menu without really crashing Wine.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=25019
Summary: Osmos Demo: needs a few msvcr80/msvp80 functions
Product: Wine
Version: 1.3.6
Platform: x86
URL: http://www.bigdownload.com/games/osmos/pc/osmos-demo/
OS/Version: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
./drive_c/Program Files/OsmosDemo/OsmosDemo.exe imports following stub symbols:
msvcp80:??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z
msvcp80:?swap@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXAAV12@@Z
./drive_c/Program Files/OsmosDemo/OsmosDemo.exe imports following stub symbols:
msvcr80:_ctime64_s
msvcr80:_wfindfirst64i32
msvcr80:_wfindnext64i32
ctime64_s is bug 24416.
Workaround is winetricks vcrun2005.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=24729
Summary: unimplemented msvcrt.dll.wprintf_s
Product: Wine
Version: 1.3.4
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: saturn_systems(a)yahoo.com
Internet Explorer 9.0 (32-bit) beta fails with Unhandled exception:
unimplemented function msvcrt.dll.wprintf_s called in 32-bit code (0x7bc4b480).
--
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.
http://bugs.winehq.org/show_bug.cgi?id=19669
Summary: Sonic Mega Collection Plus quits just after the
launcher
Product: Wine
Version: 1.1.26
Platform: PC
URL: http://smcplus.sega-europe.com/uk/index.html
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kazade(a)gmail.com
Sonic Mega Collection Plus uses a launcher to start the game, the launcher
works perfectly but when you click "Play Game" a window opens then the game
exits with the following output:
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x41c777
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x73e3f8,0x75977a):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x12d108,0x75977a):
stub
err:eventlog:ReportEventW L"6"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x73e3f8,0x75b09a):
stub
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x12d108,0x75b09a):
stub
err:eventlog:ReportEventW L"7"
I've attached a relay log
--
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.