[Bug 42913] ACAT Dashboard, part of Intel Assistive Context-Aware Toolkit (ACAT) v1.00.0 (.NET 4.5 app) crashes with 'invalid parameter' in 'System.Drawing.Icon.Initialize' (missing support for PNG icons in user32)
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jan 15 18:00:26 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=42913
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|ABANDONED |FIXED
Component|-unknown |user32
URL|https://github.com/01org/ac |https://github.com/intel/ac
|at/releases/download/v1.00. |at/releases/download/v1.00.
|0/ACATSetup.exe |0/ACATSetup.exe
Summary|Intel Assistive |ACAT Dashboard, part of
|Context-Aware Toolkit |Intel Assistive
|(ACAT) v1.00.0 (.NET 4.5 |Context-Aware Toolkit
|app) fails to run |(ACAT) v1.00.0 (.NET 4.5
|(unspecified) |app) crashes with 'invalid
| |parameter' in
| |'System.Drawing.Icon.Initia
| |lize' (missing support for
| |PNG icons in user32)
Fixed by SHA1| |728255cf2ceca073e0818a310b6
| |2864d1b3725a8
--- Comment #7 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
reusing one of the issues from my comment #5 since the fix commit sha1 is not
covered by any other bug report.
--- quote ---
* ACATDashboard.exe - fails with managed exception 'invalid parameter' in
System.Drawing.Icon.Initialize (looks like PNG encoded icon/cursor is passed to
user32.CreateIconFromResourceEx which Wine can't handle)
--- quote ---
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Intel/ACAT
$ wine ./ACATDashboard.exe
...
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.ComponentModel.Win32Exception: Invalid parameter
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
at System.Drawing.Icon..ctor(SerializationInfo info, StreamingContext
context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method,
Object target, SerializationInfo info, StreamingContext& context)
at
System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object
obj, SerializationInfo info, StreamingContext context)
at
System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder
holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler
handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain,
IMethodCallMessage methodCallMessage)
at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream, HeaderHandler handler, Boolean fCheck, Boolean
isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos,
ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode&
typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode&
typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean
ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean
ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo
culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at ACAT.Applications.ACATDashboard.DashboardForm.InitializeComponent()
at ACAT.Applications.ACATDashboard.DashboardForm..ctor()
at ACAT.Applications.ACATDashboard.Program.Main()
--- snip ---
This was fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/728255cf2ceca073e0818a310b62864d1b3725a8
("user32: Add support for PNG icons.").
Part of Wine 3.6 release.
Thanks Dmitry
$ sha1sum ACATSetup.exe
de818a4723d72d7654895631ef121e574d8b3713e ACATSetup.exe
$ du -sh ACATSetup.exe
283M ACATSetup.exe
Regards
--
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.
More information about the wine-bugs
mailing list