[Bug 53531] New: FTDI Vinculum II IDE gets "Out of memory" error on startup

WineHQ Bugzilla wine-bugs at winehq.org
Mon Aug 8 10:34:55 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53531

            Bug ID: 53531
           Summary: FTDI Vinculum II IDE gets "Out of memory" error on
                    startup
           Product: Wine
           Version: 7.14
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: msxml3
          Assignee: wine-bugs at winehq.org
          Reporter: damjan.jov at gmail.com
      Distribution: ---

While investigating bug 38350, users noticed how after upgrading Wine (some
time ago), the error message on startup changed from "OLE error 8002006" to
"Out of memory".

Using WINEDEBUG='+relay,+msxml' and looking at the last msxml call prior to the
"Out of memory" string appearing, I found it comes from domelem_get_item() line
1837:

---snip---
1834    curr = xmlNewNsProp(NULL, xmlns, ns->prefix, ns->href);
1835    if (!curr) {
1836        xmlFreeNs(xmlns);
1837        return E_OUTOFMEMORY;
1838    }
---snip---

and xmlNewNsProp() fails because ns->prefix is NULL.

However that code wasn't always there. Looking through the Git history and
testing past Wine versions, I isolated it to this commit, before which it got
further during startup:

---snip---
commit 4460cb3377a045de8cde82d846e8e0d3592d5252 (HEAD)
Author: Daniel Lehman <dlehman25 at gmail.com>
Date:   Mon Oct 15 21:14:34 2018 -0700

    msxml3: Treat namespaces as floating attributes.

    Signed-off-by: Daniel Lehman <dlehman25 at gmail.com>
    Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---snip---

-- 
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