http://bugs.winehq.org/show_bug.cgi?id=23759
Summary: fixme:reg:GetNativeSystemInfo Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: eggert.ehmke@ftv-spandau.de
Created an attachment (id=29776) --> (http://bugs.winehq.org/attachment.cgi?id=29776) wine error message and stack
I try to run the installer of flarmcfgtool: http://www.segelflug-software.de/flarmcfg/ Before I have installed the Windows versionn of Mono: http://www.go-mono.com/mono-downloads/download.html The install runs fine. When I start the application, I get a fixme (see attachment)
http://bugs.winehq.org/show_bug.cgi?id=23759
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
--- Comment #1 from Vincent Povirk madewokherd@gmail.com 2010-07-22 15:34:28 --- Try running the program from its directory, not your home directory. See http://wiki.winehq.org/FAQ#head-8d8c06cf7fb33269c085a07531b61e5c730566e0
What kind of file is FlarmCfgTool.exe according to the "file" command?
Does MS .NET work any better?
http://bugs.winehq.org/show_bug.cgi?id=23759
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.segelflug-softwa | |re.de/files/flarmcfgtool/Se | |tup.exe Summary|fixme:reg:GetNativeSystemIn |FlarmCfgTool crashes on |fo |launch
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-07-22 17:20:06 --- I get:
$ file FlarmCfgTool.exe FlarmCfgTool.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit
FlarmCfgTool.exe neither sports a CLR header nor imports mscoree for CLR embedding, so presumably it extracts the relevant assemblies on startup. The application starts successfully after installing dotnet20 from winetricks, but I run into an unimplemented gdiplus stub.
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #3 from Vincent Povirk madewokherd@gmail.com 2010-07-22 17:30:41 --- Weird. Still, mono is complaining about that exe specifically.
Can you get a +mscoree log?
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com 2010-07-22 17:44:40 --- Hmm, actually, starting with a clean prefix and an install of mono26 from winetricks, I can't reproduce the reporter's failure. It was my mistake that I didn't verify the original problem. There are some gdiplus complaints under Mono also, which I suppose should go into a new report.
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-22 22:44:26 --- Please specify the Wine version you are using (in the Version field above).
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #6 from Eggert eggert.ehmke@ftv-spandau.de 2010-07-23 02:54:28 --- (In reply to comment #5)
Please specify the Wine version you are using (in the Version field above).
I will check tonight. It is a Linux Mint version 9 box, based on actual Ubuntu packages.
http://bugs.winehq.org/show_bug.cgi?id=23759
Eggert eggert.ehmke@ftv-spandau.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.42
--- Comment #7 from Eggert eggert.ehmke@ftv-spandau.de 2010-07-23 13:18:29 --- added wine version
http://bugs.winehq.org/show_bug.cgi?id=23759
Eggert eggert.ehmke@ftv-spandau.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |gdiplus Summary|FlarmCfgTool crashes on |FlarmCfgTool crashes on |launch |launch | |(GdipTranslateLineTransform | |stub)
--- Comment #8 from Anastasius Focht focht@gmx.net 2010-08-01 09:54:13 --- Hello,
I only see gdiplus insufficiency if you use a recent Wine version and start with a clean WINEPREFIX. You can either use MS .NET Framework 2.0 (winetricks) or Mono 2.6
The app is Xenocode wrapped so technically it wouldn't need any of both (already includes necessary .NET 2.0 assemblies) but due packaging it relies on a .NET CLR bootstrapper being present. Wine's mscoree implementation is Mono specific (_CorExeMain) that won't trigger Xenocode magic/hooks to reroute assembly loads to it's sandboxed versions.
Anyway, lets this make a gdiplus bug as no one exists yet to cover that unimpl. stub specifically.
Wine trace log (don't use +relay, it will interfere with Xenocode native API hooks):
--- snip --- ... 0037:fixme:gdiplus:GdipTranslateLineTransform stub: 0x1a9f90 741.000000 619.000000 0 ... 0037:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b835ad2 ip=7b835ad2 tid=0037 0037:trace:seh:raise_exception info[0]=80004001 0037:trace:seh:raise_exception eax=7b824eb1 ebx=7b881ed8 ecx=00000000 edx=e0434f4d esi=e0434f4d edi=e0434f4d 0037:trace:seh:raise_exception ebp=0032da64 esp=0032da00 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000246 --- snip ---
Managed callstack:
--- snip --- System.NotImplementedException: Not implemented. at System.Drawing.Drawing2D.LinearGradientBrush.TranslateTransform(Single dx, Single dy, MatrixOrder order) at System.Drawing.Drawing2D.LinearGradientBrush.TranslateTransform(Single dx, Single dy) at System.Windows.Forms.ToolStripProfessionalRenderer.RenderBackgroundGradient(Graphics g, Control control, Color beginColor, Color endColor, Orientation orientation) at System.Windows.Forms.ToolStripProfessionalRenderer.RenderMenuStripBackground(ToolStripRenderEventArgs e) at System.Windows.Forms.ToolStripProfessionalRenderer.OnRenderToolStripBackground(ToolStripRenderEventArgs e) at System.Windows.Forms.ToolStripRenderer.DrawToolStripBackground(ToolStripRenderEventArgs e) at System.Windows.Forms.ToolStrip.OnPaintBackground(PaintEventArgs e) at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs) at System.Windows.Forms.Control.WmPaint(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.MenuStrip.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) --- snip ---
The stub:
--- snip dlls/gdiplus/brush.c --- GpStatus WINGDIPAPI GdipTranslateLineTransform(GpLineGradient* brush, REAL dx, REAL dy, GpMatrixOrder order) { FIXME("stub: %p %f %f %d\n", brush, dx, dy, order);
return NotImplemented; }
--- snip dlls/gdiplus/brush.c ---
Preferring native over builtin/'winetricks gdiplus' obviously works around.
Regards
http://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tirrex@gmail.com
--- Comment #9 from Anastasius Focht focht@gmx.net 2010-08-02 18:00:10 --- *** Bug 23883 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #10 from Vincent Povirk madewokherd@gmail.com 2010-08-08 16:29:49 --- Can someone provide instructions to reproduce this?
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #11 from Alex tirrex@gmail.com 2010-08-08 19:01:32 --- (In reply to comment #10)
Can someone provide instructions to reproduce this?
Create any .Net aplication uses MenuStrip class.
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #12 from Alex tirrex@gmail.com 2010-08-08 19:04:12 --- Created an attachment (id=30059) --> (http://bugs.winehq.org/attachment.cgi?id=30059) Sample C# code for reproduce the bug
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #13 from Alex tirrex@gmail.com 2010-08-08 19:04:43 --- Created an attachment (id=30060) --> (http://bugs.winehq.org/attachment.cgi?id=30060) Sample C# code for reproduce the bug
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #14 from Alex tirrex@gmail.com 2010-08-08 19:05:06 --- Created an attachment (id=30061) --> (http://bugs.winehq.org/attachment.cgi?id=30061) Sample C# code for reproduce the bug
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #15 from Vincent Povirk madewokherd@gmail.com 2010-08-16 16:42:21 --- Could you please provide instructions for compiling the testcase using mono? (Or attach a binary version.)
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #16 from Alex tirrex@gmail.com 2010-08-16 17:19:29 --- Created an attachment (id=30190) --> (http://bugs.winehq.org/attachment.cgi?id=30190) Binary application for reproduce the bug
As you requested i'he attache binary version of application
http://bugs.winehq.org/show_bug.cgi?id=23759
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #17 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-08-23 12:39:12 --- confirming
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #18 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-10-29 10:39:55 CDT --- Also present in AutoWikiBrowser (with native dotnet20)
http://bugs.winehq.org/show_bug.cgi?id=23759
Anders Jonsson anders.jonsson@norsjonet.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anders.jonsson@norsjonet.se
http://bugs.winehq.org/show_bug.cgi?id=23759
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |seinghhaccoski@rocketmail.c | |om
--- Comment #19 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2011-08-06 06:26:43 CDT --- *** Bug 27947 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23759
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |RandomAccountName@mail.com
http://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz@gmail.co | |m
--- Comment #20 from Anastasius Focht focht@gmx.net 2011-12-14 10:20:13 CST --- *** Bug 25332 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|FlarmCfgTool crashes on |Many .NET gui apps report |launch |unhandled exception on |(GdipTranslateLineTransform |launch due to gdiplus |stub) |GdipTranslateLineTransform | |stub (no menu bar and | |status bar with built-in | |gdiplus)
--- Comment #21 from Anastasius Focht focht@gmx.net 2011-12-14 10:25:30 CST --- Hello,
refining summary, reflecting this is an issue affecting many apps (though workaround exists).
Obviously still present as of:
$ wine --version wine-1.3.34-295-g4918d91
Source: http://source.winehq.org/git/wine.git/blob/66f212e66715fb628c4366a7634e97a92...
Regards
http://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |18486
http://bugs.winehq.org/show_bug.cgi?id=23759
Jan Pleva jenik.pleva@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jenik.pleva@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #22 from Anastasius Focht focht@gmx.net 2012-02-09 14:28:12 CST --- Hello,
adding "January 2012 Unreal Development Kit Beta" (UDK from http://udk.com/). Many tools have their menu bar/strip distorted due to this bug.
'winetricks gdiplus' is an easy workaround.
UDK 2012 installs and works surprisingly well with .NET 4.0 Framework WINEPREFIX (client profile). There was only on app that really depends on WPF (bug 18640).
$ sha1sum UDKInstall-2012-01-BETA.exe 03bfa61aa013345022ba0b599eb94860cf82c8e4 UDKInstall-2012-01-BETA.exe
$ wine --version wine-1.4-rc2-61-g93ed8a0
Regards
http://bugs.winehq.org/show_bug.cgi?id=23759
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #23 from Dan Kegel dank@kegel.com 2012-02-09 22:37:18 CST --- Created attachment 38782 --> http://bugs.winehq.org/attachment.cgi?id=38782 Hack to get past the crash
Just changing that stub to return Ok lets the tiny test app run. Haven't tried this with real apps yet.
http://bugs.winehq.org/show_bug.cgi?id=23759
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #24 from Dan Kegel dank@kegel.com 2012-02-10 09:09:48 CST --- I don't see this problem running UDK.exe. I did rm -rf ~/.wine sh winetricks -q dotnet40 wine UDKInstall-2012-01-BETA.exe # installs, crashes on start, leaves winedbg window hanging. Kill it, then: cd ~/.wine/drive_c/UDK/UDK-2012-01/Binaries/Win32 winetricks vd=800x600 # need any virtual desktop to see menus wine UDK and went into instant action. Played fine except for mouse was way too touchy. Which app has the gdiplus problem?
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #25 from Anastasius Focht focht@gmx.net 2012-02-10 13:07:05 CST --- Hello,
--- quote --- I don't see this problem running UDK.exe. ... cd ~/.wine/drive_c/UDK/UDK-2012-01/Binaries/Win32 winetricks vd=800x600 # need any virtual desktop to see menus wine UDK and went into instant action. Played fine except for mouse was way too touchy. Which app has the gdiplus problem? --- quote ---
I talked about "tools" and not the example game launcher "UDK.exe".
--- snip --- $ pwd /home/focht/.wine/drive_c/UDK/UDK-2012-01/Binaries
$ find . -type f -iname '*.exe' -print0 | xargs -0 file | grep -P assembly | cut -d: -f1 | xargs grep -Pil "menustrip" ./SwarmAgent.exe ./UnrealConsole.exe ./UnrealLoc.exe ./IPhone/iPhonePackager.exe ./MemLeakCheckDiffer.exe --- snip ---
Pick.
Regards
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #26 from Dan Kegel dank@kegel.com 2012-02-11 17:37:21 CST --- Thanks. Returning Ok does make UDK's SwarmAgent.exe and MiPony happier, so sent http://www.winehq.org/pipermail/wine-patches/2012-February/111520.html
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #27 from Dan Kegel dank@kegel.com 2012-02-14 23:03:10 CST --- Alexandre marked http://source.winehq.org/patches/data/83592 as 'pending', I guess he's waiting to hear from somebody knowledgeable whether the patch is safe...?
http://bugs.winehq.org/show_bug.cgi?id=23759
--- Comment #28 from Austin English austinenglish@gmail.com 2012-02-16 13:26:31 CST --- http://source.winehq.org/git/wine.git/commitdiff/8f073bf4c7f59a7c0164d46dc91...
http://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8f073bf4c7f59a7c0164d46dc91 | |386409d6bdc7b Status|NEW |RESOLVED URL|http://www.segelflug-softwa |http://sourceforge.net/proj |re.de/files/flarmcfgtool/Se |ects/autowikibrowser/files/ |tup.exe |latest/download Resolution| |FIXED
--- Comment #29 from Anastasius Focht focht@gmx.net 2012-04-08 08:07:38 CDT --- Hello,
I think it's safe to close this bug.
With GdipTranslateLineTransform stub just returning "Ok" the menu strip and status bar are properly shown. If you compare between Wine and native gdiplus there is no difference in menu rendering (same gradient).
Adjusted download link to AutoWikiBrowser as the original software is no longer present.
$ du -sh AutoWikiBrowser5310.zip 812K AutoWikiBrowser5310.zip
$ sha1sum AutoWikiBrowser5310.zip b8576473a5bccafe75c00e9cdd5b9ed0ccf4db42 AutoWikiBrowser5310.zip
$ wine --version wine-1.5.1-197-g73e7346
Regards
http://bugs.winehq.org/show_bug.cgi?id=23759
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org 2012-04-13 13:27:43 CDT --- Closing bugs fixed in 1.5.2.
https://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tyson@tyson.me
--- Comment #31 from Anastasius Focht focht@gmx.net --- *** Bug 22997 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=23759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://sourceforge.net/proj |https://web.archive.org/web |ects/autowikibrowser/files/ |/20211119130537/https://mas |latest/download |ter.dl.sourceforge.net/proj | |ect/autowikibrowser/autowik | |ibrowser/AutoWikiBrowser531 | |0/AutoWikiBrowser5310.zip?v | |iasf=1