[Bug 49225] FreeBSD "regression" causes assertion failure in (at least) applications using Gecko plugin

WineHQ Bugzilla wine-bugs at winehq.org
Sat May 23 00:46:24 CDT 2020


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

--- Comment #1 from Damjan Jovanovic <damjan.jov at gmail.com> ---
The error is from this code snippet in dlls/ntdll/virtual.c function
create_view():

---snip---
    /* Check for overlapping views. This can happen if the previous view
     * was a system view that got unmapped behind our back. In that case
     * we recover by simply deleting it. */

    while ((view = find_view_range( base, size )))
    {
        TRACE( "overlapping view %p-%p for %p-%p\n",
               view->base, (char *)view->base + view->size, base, (char *)base
+ size );
        assert( view->protect & VPROT_SYSTEM );
        delete_view( view );
    }
---snip---

which, when changed to FIXME, logs:

0024:fixme:virtual:create_view overlapping view 0x69e40000-0x6db71000 for
0x6b840000-0x6ba58000

What's at 0x69e40000-0x6db71000? Check /proc/<pid>/map:

---snip---
0x69e40000 0x69e41000 1 0 0xfffff80271eae800 r-x 1 0 0x3000 COW NC vnode
/usr/home/dj/.wine/drive_c/windows/system32/gecko/2.47.1/wine_gecko/xul.dll CH
1003
0x69e41000 0x6d061000 12832 0 0xfffff803e21bd800 r-x 1 0 0x2000 COW NC default
- CH 1003
0x6d061000 0x6d0b8000 87 0 0xfffff802cf9fb600 rwx 1 0 0x2000 COW NC default -
CH 1003
0x6d0b8000 0x6d944000 2188 0 0xfffff803cfecd000 r-x 1 0 0x2000 COW NC default -
CH 1003
0x6d944000 0x6d945000 1 0 0xfffff8037d3a8d00 rwx 1 0 0x3000 COW NC default - CH
1003
0x6d945000 0x6d976000 1 0 0xfffff800750c0800 rwx 1 0 0x3000 COW NC default - CH
1003
0x6d976000 0x6d979000 3 0 0xfffff803e2e4d100 r-x 1 0 0x3000 COW NC vnode
/usr/home/dj/.wine/drive_c/windows/system32/gecko/2.47.1/wine_gecko/xul.dll CH
1003
0x6d979000 0x6d988000 15 0 0xfffff80336ed4e00 rwx 1 0 0x3000 COW NC default -
CH 1003
0x6d988000 0x6d989000 1 0 0xfffff803a4d7d400 rwx 1 0 0x3000 COW NC vnode
/usr/home/dj/.wine/drive_c/windows/system32/gecko/2.47.1/wine_gecko/xul.dll CH
1003
0x6d989000 0x6db71000 488 0 0xfffff80315811800 r-x 1 0 0x3000 COW NC default -
CH 1003
---snip---

Multiple mappings from xul.dll.

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