http://bugs.winehq.org/show_bug.cgi?id=6402
Summary: Virtual memory allocation fails with Adobe Acrobat 5's
Paper Capture plugin
Product: Wine
Version: 0.9.22.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mail(a)jensgulden.de
Running Adobe Acrobat 5's PaperCapture plugin, it issues an error saying:
"Insufficient memory to perform operation"
This is displayed in a small popup-dialog, and the plugin fails.
It seems that several calls to kernel32.VirtualAlloc(),
ntdll.NtAllocateVirtualMemory() and related functions are executed right before
the error message is issued. See the log-output, generated with WINEDEBUG=+all.
Is this maybe related to bug #4329?
The plugin actually runs as a seperate server-application capserve.exe. The
error can also be reproduced runnning "wine capserve.exe" without starting Acrobat.
System environment: wine 0.9.22, gcc 3.3.6, kernel 2.6.15 (Debian), dual-boot
WinXP (but not used with Wine).
The PaperCapture plugin is available for free at
http://www.adobe.com/support/downloads/detail.jsp?ftpID=1907, it needs the
commercial Adobe Acrobat 5 to run (at least to install, and then run
capserve.exe individually).
--
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.
http://bugs.winehq.org/show_bug.cgi?id=6399
mike(a)codeweavers.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From mike(a)codeweavers.com 2006-08-10 12:12 -------
0009:CALL MFC42.5788(00000060) ret=004e79a0
trace:seh:raise_exception code=c0000005 flags=0 addr=0x6c3c01b3
MFC42.5788 is CPen *CDC::SelectObject(CPen *);
A bad pointer is being passed as a CPen, so the program is crashing.
The source for this project is available on SourceForge.
Examining the relay trace, it looks like the crash is at:
gba/VisualBoyAdvance-1.7/src/win32/ZoomControl.cpp #144
CPen pen;
pen.CreatePen(PS_SOLID, 1, RGB(192,192,192));
CPen *old = (CPen *)memDC.SelectObject(pen);
for(i = 0; i < 8; i++) {
memDC.MoveTo(0, i * multY);
memDC.LineTo(w, i * multY);
memDC.MoveTo(i * multX, 0);
memDC.LineTo(i * multX, h);
}
if(selected != -1) { <---- looks like this condition is false
CPen pen2;
pen2.CreatePen(PS_SOLID, 2, RGB(255, 0, 0));
CPen *old2 = (CPen*)memDC.SelectObject(&pen2);
int startX = (selected & 7)*multX+1;
int startY = (selected / 8)*multY+1;
int endX = startX + multX-2;
int endY = startY + multY-2;
memDC.MoveTo(startX, startY);
memDC.LineTo(endX, startY);
memDC.LineTo(endX, endY);
memDC.LineTo(startX, endY);
memDC.LineTo(startX, startY-1);
memDC.SelectObject(old2);
pen2.DeleteObject();
}
memDC.SelectObject(old); <----- looks like it crashes here.
pen.DeleteObject();
The relay trace for this section of code shows nothing obviously wrong, however
it seems the problem must be in something called here, as the variable "old" is
initialized at the top of the section...
--
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.
http://bugs.winehq.org/show_bug.cgi?id=6068
------- Additional Comments From killertux(a)suomi24.fi 2006-08-10 11:03 -------
tried Xorg 7.2 with R200 driver + kernel 2.6.18 and Wine 0.9.22
hardware used was ATI Radeon 9250
no white screen no longer in menus just like other times when using settings where
Nvidia registry combiners were not available... and like other times second
prolem caused by this patch is that after clicking "new game" screen stays black.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=3335
------- Additional Comments From ehoover(a)mines.edu 2006-08-10 10:53 -------
This may be a result of the main installer program not appropriately giving
language options (the language drop-down is blank). Since the quicktime
installer is a separate executable with command-line options for configuring the
language it is likely that the main installer fails to call the quicktime
installer since the language option is not setup (experimenting by calling the
quicktime installer with /S /L results in the installer exiting immediately).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=4515
mike(a)codeweavers.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|setup.exe did not start |Crocodile Clips won't
| |install
------- Additional Comments From mike(a)codeweavers.com 2006-08-10 10:23 -------
Try change directory to the CDROM first.
cd /mnt/cdrom
wine setup
--
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.
http://bugs.winehq.org/show_bug.cgi?id=5231
------- Additional Comments From dank(a)kegel.com 2006-08-10 08:16 -------
I went looking for confirmation that real applications care about this bug,
and the first example I found is:
Install autohotkey from http://autohotkey.com
Create the text file foo.ahk containing the line
WinMenuSelectItem, Untitled - Notepad, , File, Open
wine notepad &
wine autohotkey.exe foo.ahk
This should invoke the File / Open dialog box in the notepad window, but doesn't
because although autohotkey finds the notepad window ok, it manipulates
local menus instead of notepad's menus.
I then tried to verify that Tommy's patches fixed this;
first I collected Tommy's patches here
http://kegel.com/wine/menu/
and tried applying them, but they're slightly out of date.
I rediffed the first three, but ran out of typing time. Perhaps
someone else can rediff the rest...
--
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.
http://bugs.winehq.org/show_bug.cgi?id=6049
------- Additional Comments From pelle(a)plusnet.pl 2006-08-10 06:29 -------
When setting export LC_ALL=pl , (not LC_ALL=en_US), since this patch, finale
displays boxes instead of noteheads everywhere. Setting to export LC_ALL=en_US
makes finale display proper noteheads, but texts in the score made with jazz
font are displayed like boxes.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=5978
------- Additional Comments From pelle(a)plusnet.pl 2006-08-10 06:18 -------
I refer to export LC_ALL=pl, or export LC_ALL=en_US
--
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.
http://bugs.winehq.org/show_bug.cgi?id=2398
------- Additional Comments From leffeman(a)gmail.com 2006-08-10 06:08 -------
I tried the patch with Valve Hammer Editor, and as described above, the child
window is drawn in the correct place, but the rest of the window is black.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.