https://bugs.winehq.org/show_bug.cgi?id=40350
Bug ID: 40350
Summary: MinGW binary crashes, but msvc6's one works fine in
function when returning aggregate value
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: mittorn(a)sibmail.com
Distribution: ---
This is very strange bug.
Application (https://github.com/SDLash3D/xash3d) contains function that returns
aggregate value.
It may be built with MinGW or MSVC.
Function is called from msvc code. It works fine in windows with both msvc and
MinGW libraries (that is very strange as gcc has different way of returning
aggregates), but it does not work in wine (causes stack corruption).
Structure and function code
struct pmtrace_s
{
qboolean allsolid; // if true, plane is not valid
qboolean startsolid; // if true, the initial point was in a solid
area
qboolean inopen, inwater; // End point is in empty space or in water
float fraction; // time completed, 1.0 = didn't hit anything
vec3_t endpos; // final position
pmplane_t plane; // surface normal at impact
int ent; // entity at impact
vec3_t deltavelocity; // Change in player's velocity caused by
impact.
// Only run on server.
int hitgroup;
};
static pmtrace_t pfnPlayerTrace(float *start, float *end, int traceFlags, int
ignore_pe)
{
return PM_PlayerTraceExt( svgame.pmove, start, end, traceFlags,
svgame.pmove->numphysent, svgame.pmove->physents, ignore_pe, NULL );
}
Also, application has DLL loader for linux (based on mplayer code)
It has some workaround for this function.
When dll loader used, application export this repacement to API:
#ifdef DLL_LOADER
static pmtrace_t *pfnPlayerTrace_w32(pmtrace_t *trace, float *start, float
*end, int traceFlags, int ignore_pe)
{
*trace = PM_PlayerTraceExt( svgame.pmove, start, end, traceFlags,
svgame.pmove->numphysent, svgame.pmove->physents, ignore_pe, NULL );
return trace;
}
#endif
It works correctly when called from msvc code on linux.
File with function, causing problems:
https://github.com/SDLash3D/xash3d/blob/master/engine/server/sv_pmove.c
MSVC binaries:
https://transfer.sh/8wRoD/xash3d-win.7z
MinGW binary:
https://transfer.sh/par30/xash3d-mingw-16-03-21-12-57.7z
Linux binary:
https://transfer.sh/pmKos/xash3d-linux-16-03-21-12-57.7z
The main question: Why it works correctly in windows and how to workaround this
in wine?
--
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.
https://bugs.winehq.org/show_bug.cgi?id=40347
Bug ID: 40347
Summary: unmount uses unsafe system()
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: cpicard(a)openmailbox.org
Distribution: ---
Created attachment 54037
--> https://bugs.winehq.org/attachment.cgi?id=54037
eject source file
DIR_unmount_device from wine/dlls/ntdll/directory.c doesn't sanitize its input
leading to a possible command execution by unmounting a device mounted on a
malicious path.
To reproduce (from Michael Müller):
$ mkdir "a;xterm"
$ mount "a;xterm"
$ ./eject # launches xterm
where eject is built from the attached code.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=40047
Bug ID: 40047
Summary: Prison Architect fails to launch -- unimplemented
function shcore.dll.GetDpiForMonitor
Product: Wine
Version: 1.9.2
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: aapmak(a)gmail.com
Distribution: ---
Prison Architect (all versions) ran almost flawlessly in Wine, up to and
including Wine version 1.9.1. However, since the 1.9.2 update, it fails to
launch; throwing this exception:
"wine: Call from 0x7b83ba9c to unimplemented function
shcore.dll.GetDpiForMonitor, aborting
wine: Unimplemented function shcore.dll.GetDpiForMonitor called at address
0x7b83ba9c (thread 0009), starting debugger...
Unhandled exception: unimplemented function shcore.dll.GetDpiForMonitor called
in 32-bit code (0x7b83ba9c)."
And then obviously a lot of debugger information, stacktrace and all.
Research into shcore.dll showed it being used in Windows 8.1+. However, even
with winecfg set to Windows XP, Prison Architect used to run fine. Versions of
Prison Architect I have played extensively using Wine no longer work, at all. I
did make sure to try a specific version of which I know it have worked (GOG
2.1.0.3).
--
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.
https://bugs.winehq.org/show_bug.cgi?id=6971
mahmehr <mahmehr64(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mahmehr64(a)gmail.com
--
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.
https://bugs.winehq.org/show_bug.cgi?id=8532
Sebastian Lackner <sebastian(a)fds-team.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmitry(a)baikal.ru,
| |erich.e.hoover@wine-staging
| |.com, michael(a)fds-team.de,
| |sebastian(a)fds-team.de
Status|NEW |STAGED
Staged patchset| |https://github.com/wine-com
| |pholio/wine-staging/tree/ma
| |ster/patches/oleaut32-OLEPi
| |ctureImpl_SaveAsFile
--
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.
https://bugs.winehq.org/show_bug.cgi?id=40295
Bug ID: 40295
Summary: game Risen grass lightning black.
Product: Wine
Version: 1.8.1
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: gipfelsturm111(a)gmx.net
Distribution: ---
the game risen works very good but if I make on the vegetation details normal
high or very high the moving grass lightning black.
--
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=17226
Summary: SimTower crashes on dereferencing 0xffffffff on
attempting to save in SimTower
Product: Wine
Version: 1.1.14
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: kernel32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: Rincebrain(a)gmail.com
Created an attachment (id=19185)
--> (http://bugs.winehq.org/attachment.cgi?id=19185)
SimTower crashlog from 2009-Feb-1 git
Tested against wine-1.1.13-607-g8e39646.
The game runs fine, modulo sound [see other bug filed against simtower], but
when you attempt to save, the save dialog pops up, you can enter a filename,
and then upon hitting save, you receive a backtrace in the console.
Trace 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.
https://bugs.winehq.org/show_bug.cgi?id=3638
super_man(a)post.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |super_man(a)post.com
--- Comment #19 from super_man(a)post.com ---
(In reply to Austin English from comment #18)
> Still in 1.7.36.
The same 1.9.6
--
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=35291
Bug ID: 35291
Summary: setcap on wine-preloader makes Hearthstone fail to
start
Product: Wine
Version: 1.7.9
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: yeled.nova(a)gmail.com
Classification: Unclassified
Hi,
When a Linux capability is enabled for wine preloader, Hearthstone does not
start.
This bug at least affects
-------------------------
Archlinux x64/Linux 3.12.6-1-ARCH/Wine 1.7.9/libcap 2.22
Ubuntu 13.10 x64/Linux 3.11.0-14-generic/Wine (PPA) 1.7.9/libcap 2.22
Steps to reproduce
------------------
# setcap 'cap_net_bind_service=+ep' /usr/bin/wine-preloader
$ wine Hearthstone.exe -launch -uid hs_beta
Get a message box that captions "Fatal error in gc" and says "GetThreadContext
failed", click "OK"
Another message box that captions "Wine program crash", and says "Internal
errors - invalid parameters received", click "OK"
The process turns to a zombie, kill it.
Revert the capabilities, the program loads.
# setcap '-r' /usr/bin/wine-preloader
$ wine Hearthstone.exe -launch -uid hs_beta
This issue persists over system reboots.
It's not just setting CAP_NET_BIND_SERVICE causes the problem. From what I
observed, this error occurs as long as any capablity is enabled.
Note on getting debug trace
---------------------------
Right now due to bug #33947, battle.net.exe requires dbghelp to be disabled,
and Hearthstone.exe depends on it in order to play. However, directly running
Hearthstone.exe is good enough to reproduce this bug. So I suggest anyone who
wants to look into this problem to re-enable the debugger and run 'wine
Hearthstone.exe -launch -uid hs_beta' to get a debug trace.
--
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.