http://bugs.winehq.org/show_bug.cgi?id=9957
Summary: incorrect usage of GlobalAlloc in CommandLineToArgvW
Product: Wine
Version: unspecified
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: wine-shell32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: eteran(a)alum.rit.edu
There is a minor bug in CommandLineToArgvW in shell32_main.c on line 100
(http://source.winehq.org/source/dlls/shell32/shell32_main.c#L100).
Basically the arguments are reversed. According to the definition of
GlobalAlloc, the arguments are
GlobalAlloc(UINT flags, SIZE_T size).
however, on line 100, it is used as follows.
hargv=GlobalAlloc(size, 0)
which is passing a flags of 16 (size is initialized to 16 before this usage)
and a size of 0!
Later, the error is masked by the correct usage of GlobalReAlloc which does
properly allocate the memory desired.
Should be a very easy bug to correct.
Evan Teran
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10523
Summary: mdiviewer crashes on install
Product: Wine
Version: 0.9.49.
Platform: PC-x86-64
URL: http://www.hot.ee/mdiviewer/
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wine(a)lesshaste.plus.com
Created an attachment (id=9266)
--> (http://bugs.winehq.org/attachment.cgi?id=9266)
debug output of crash for mdiviewer
MDIviewer from http://www.hot.ee/mdiviewer/ crashes on install. Running wine
0.9.49 on amd64 gentoo system. I copied MSVCP60.DLL into
~/.wine/drive_c/windows/system to get it this far.
The crucial part of the debug output seems to be
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:00000054 ESP:0034f048 EBP:0034f068 EFLAGS:00010202( - 00 - -RI1)
EAX:001343bc EBX:001343a8 ECX:00407b00 EDX:00120f78
ESI:00120f78 EDI:6600e488
Stack dump:
0x0034f048: 660be829 00120f78 00000000 00120bb8
0x0034f058: 00000000 00000016 00120bb8 00a4e58c
0x0034f068: 00000006 660be850 00000000 00407f98
0x0034f078: 00407734 660d9f54 00a4011c 0034f304
0x0034f088: 00407f98 0011fc60 660c2c46 00407f98
0x0034f098: 00b5011c 66110978 00000023 00000202
Backtrace:
=>1 0x00000054 (0x0034f068)
err:dbghelp_msc:pe_load_debug_directory Got a page fault while loading symbols
2 0x660be850
?CPOfSink@RUN_INSTMGR@@QAEJPAUIUnknown@@IPAPAUIConnectionPoint@@H@Z+0x132() in
msvbvm60 (0x00000006)
3 0x00000000 (0x00000000)
0x00000054: addb %al,0x0(%eax)
Whole output attached.
Please let me know if I can give any more information. I wasn't sure what
component to choose so that is likely to be wrong.
Raphael
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9894
Summary: CRLF and ^Z handling bad in fread, causes xilinx
modelsim mxe III startup to fail
Product: Wine
Version: 0.9.46.
Platform: Other
OS/Version: other
Status: NEW
Keywords: download, patch
Severity: enhancement
Priority: P2
Component: wine-msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
In
http://www.winehq.org/pipermail/wine-users/2007-September/027833.html and
http://www.winehq.org/pipermail/wine-users/2007-October/027855.html
a user reports that Xilinx Modelsim MXE III dies on
startup with an apparant flexlm problem, but it really
turns out to be a bug in our msvcrt's fread's crlf and control-Z handling,
and the app starts ok with native msvcrt.
There was an earlier patch that tried to solve some of this stuff,
http://www.winehq.org/pipermail/wine-devel/2006-August/050055.html
but it didn't have a conformance test, and was not correct.
Here's a patch that solves the modelsim problem, comes
with a conformance test, and is mostly correct. (It
doesn't handle CR LF's that span buffers, but that's
hard, and this app doesn't happen to require that.)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9572
Summary: Regression: Half-Life 2 Demo crashes at startup with
newer(>0.9.43) wine version
Product: Wine
Version: CVS/GIT
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-directx-d3d
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jroehl(a)freenet.de
Created an attachment (id=7945)
--> (http://bugs.winehq.org/attachment.cgi?id=7945)
Log of crash
After updating to current git, hl2demo crashes at startup. I am using the Steam
Demo.
"git bisect" says:
a99907d1d22f28b4ae6a532bea963379c78ba21f is first bad commit
commit a99907d1d22f28b4ae6a532bea963379c78ba21f
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Tue Aug 14 15:26:02 2007 +0200
wined3d: Deal with multithreading in event queries.
:040000 040000 3277064376b2d4962f0dcb7c626ec5cdd1619072
64ee420c9957b1396f740eefc06ca78acf1da633 M dlls
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10816
Summary: In Photoshop 7, funny text displayed in "Save for Web"
section under number of colours
Product: Wine
Version: 0.9.51.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Keywords: download
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
In
http://appdb.winehq.org/objectManager.php?sClass=version&iId=1336 ,
Peter Cartright said:
4. Funny text displayed in "Save for Web" section under number of colours.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9485
Summary: Adobe Photoshop Elements 5 aborts on startup (due to
lack of IOCP?)
Product: Wine
Version: 0.9.44.
Platform: Other
URL: http://www.adobe.com/cfusion/tdrc/index.cfm?loc=en&produ
ct=photoshop%5Felements
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
Photoshop Elements 5 aborts with a dialog "Invalid function" before
it gets too far.
The problem seems to be associated with IO completion ports;
when it can't create one, it goes through a lengthy stack unwind,
then trips over its shoelaces a bit while trying to put up
an error dialog. If IOCP not implemented is the problem,
this is a dup of bug 6155. Here are highlights of the trace
(this excerpt spans about 3100 lines in +relay):
000e:Call
gdi32.ExtTextOutW(00000678,0000000b,0000000b,00002000,00000000,022d8cd8
L"Initializing Threads....\9110\001d\0010",00000017,022d9308) ret=651edd8d
000e:Call KERNEL32.CreateIoCompletionPort(ffffffff,00000000,00000000,00000001)
ret=5ef08a53
fixme:ntdll:NtCreateIoCompletion (0x22deb48, 1f0003, (nil), 1)
000e:Ret KERNEL32.CreateIoCompletionPort() retval=00000000 ret=5ef08a53
000e:Call
KERNEL32.FormatMessageW(00001300,00000000,00000001,00000400,022debb4,00000000,00000000)
ret=5ef07996
000e:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,022debdc)
ret=7c359aed
000e:Call KERNEL32.MultiByteToWideChar(00000000,00000001,022dc468 "main: System
Error",00000012,022da3bc,00001000) ret=670ce5f1
err:x11drv:X11DRV_CreateBitmap Trying to make bitmap with planes=1, bpp=32
000e:Call KERNEL32.MultiByteToWideChar(00000000,00000001,022dc0e4
"QPixmap::fromWinHBITMAP(), failed to get bitmap
bits",00000034,022da038,00001000) ret=670ce5f1
000e:Call usp10.ScriptItemize(027f1d7a L"Invalid
function\n",00000011,000000ff,00000000,00000000,022dda60,022dda28) ret=652cc69c
(The first time you start Photoshop Elements 5, it
puts up a little window asking which of three views
you want it to present on startup.
I selected 'organizer', but I couldn't see how to
dismiss the dialog, so I quit. That seems to have
done it, as now when I start the app, it seems
to try to put up the organizer view, but aborts as
described above.
There are various other suspicious things in the log,
most of which are probably unrelated to this failure.
First off, every time it tries to output text (e.g. when
it tries to say "Initializing threads..."),
Wine says it doesn't support that combination
of options:
fixme:font:ExtTextOutW flags ETO_NUMERICSLOCAL | ETO_NUMERICSLATIN | ETO_PDY
unimplemented
and PSE throws an exception (and handles it).
I suspect all that text isn't getting shown at all,
which is serious if true, but probably isn't the cause
of this crash.
Next is the nifty error message
log4cplus:ERROR No appenders could be found for logger (OLSManager).
log4cplus:ERROR Please initialize the log4cplus system properly.
which is probably harmless, but makes me wonder what nice info
we could be getting if we knew how to make log4cplus happy.
Then is another nifty error
fixme:advapi:RegisterEventSourceW ((null),L"AdobePlatform"): stub
which is also probably harmless and also makes me wonder if we're
missing out on some good info.)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10799
Summary: Myst Masterpiece Edition crashes at startup
Product: Wine
Version: 0.9.49.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-gdi-(printing)
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mateuscg(a)gmail.com
Created an attachment (id=9662)
--> (http://bugs.winehq.org/attachment.cgi?id=9662)
Patch applied using "patch -p1 -R < patchfile"
Beginning with wine version 0.9.49, Myst Masterpiece Edition crashes at
startup. I identified the regression at this commit:
http://www.winehq.org/pipermail/wine-cvs/2007-November/037630.html
After I undo some of the changes at ChangeDisplaySettingsExA @
dlls/user32/sysparams.c to not call GdiConvertToDevmodeW, as 0.9.48 and before,
Myst worked again. Attached are the wine debugger output and the patch I
applied using "patch -p1 -R < patchfile".
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9446
Summary: err:ntdll:RtlpWaitForCriticalSection while trying to
join HL server
Product: Wine
Version: 0.9.44.
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ryanbach(a)adelphia.net
Here is the full error (I get this forever and ever, so I just have to force
quit Wine):
err:ntdll:RtlpWaitForCriticalSection section 0x77a032c "?" wait timed out in
thread 0040, blocked by 001b, retrying (60 sec)
(multiple times, ad infinitum)
How to get this:
Run Steam, go to any half life game (such as Counter Strike for example) and
load a server -- it then gets to "caching resources" at the very end and says
there until you force it to quit or the server kicks you for "timing out".
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10452
Summary: CreateFile with OPEN_ALWAYS should return
ERROR_ALREADY_EXISTS on existent file
Product: Wine
Version: 0.9.49.
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: Paolo.Gallerani(a)elsag.it
Created an attachment (id=9157)
--> (http://bugs.winehq.org/attachment.cgi?id=9157)
Memory Mapped File Test Source
When I use Create file to create/open file used for File Memory Mapping with a
call like:
hFile = ::CreateFile(lpImageFileName, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE, lpFileMappingAttributes,
OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
on a second run of application (file now exists) GetLastError should return
ERROR_ALREADY_EXISTS like it does on Windows XP SP2.
See attached Test Application
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9406
Summary: scanning results in a crash
Product: Wine
Version: 0.9.43.
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: thestig(a)google.com
I tried using an Epson perfection 1660 scanner in Wine. This scanner works with
sane.
Whenever I try to scan an image, it brings up a TWAIN GUI. However, the moment
I hit scan, it results in a crash. This occurs in both Irfanview and Picasa.
With Irfanview, goto File -> Acquire/batch scanning, and hit ok in the dialog
box. (You can get past bug 9404 by removing gphoto2.ds.so)
With Picasa, do an import and select the scanner from the list of sources.
(select device)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.