Opened 8 years ago

Closed 8 years ago

#51674 closed defect (fixed)

fontconfig @2.12.0: Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.

Reported by: 0xdd-co Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: haspatch Cc: jyrkiwahlstedt, m1@…, piotr.boguszewski@…, kboo80@…, tc01@…
Port: fontconfig

Description

Having trouble running wine 1.8.3 on OS X 10.11.5. Just did a fresh install of MacPorts and installed latest version of wine. When trying to launch winecfg, I get the following error…

% winecfg
wine: created the configuration directory '/Users/miker/.wine'
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\rundll32.exe" failed, status 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101
Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000101

Not sure what's going on here. I had MacPorts + wine installed on another machine, after latest update I get the same error there as well.

Attachments (2)

EA.log (2.2 MB) - added by kboo80@… 8 years ago.
patch-fcweight-2.12.diff (382 bytes) - added by tc01@… 8 years ago.

Change History (12)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

fcweight.c is a fontconfig source file. fontconfig was updated to version 2.12.0 a few days ago in r149384; maybe that version has a bug. Can you try going back to 2.11.1? Or it may be a bug in wine revealed by this new fontconfig version; try wine-devel 1.9.12.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… openmaintainer@… removed
Keywords: wine removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: fontconfig added
Status: newassigned
Summary: Unable to launch winewine @1.8.2: Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.

I see the same problem with wine-devel 1.9.12.

The problem goes away when I downgrade fontconfig to 2.11.1.

I'll file a bug report with fontconfig.

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

comment:4 Changed 8 years ago by piotr.boguszewski@…

Hello, confirming, I am hitting exactly the same bug. With fontconfig 2.11.1 there is no such problem.

comment:5 Changed 8 years ago by m1@…

Cc: m1@… added

Cc Me!

comment:6 Changed 8 years ago by kboo80@…

hello, I have the same problem on my mac, I add the log with FC_DEBUG=384 on https://bugs.freedesktop.org/show_bug.cgi?id=96609 , ontconfig@2.12.0_0+universal and wine-devel @1.9.13_0

Changed 8 years ago by kboo80@…

Attachment: EA.log added

comment:7 Changed 8 years ago by mf2k (Frank Schima)

Until this gets fixed, should we add a fontconfig 2.11.1 sub-port to fontconfig to allow wine to work?

Changed 8 years ago by tc01@…

Attachment: patch-fcweight-2.12.diff added

comment:8 Changed 8 years ago by tc01@…

I had the same issue and have read all the posts concerning this issue.

I've attached is a patch file that will will restore one line of code from fontconfig 2.11.1 so that it will work with wine.

comment:9 Changed 8 years ago by kboo80@…

I think the problem will be solved, we just need to wait an update of fontconfig on mac port according to the solved bug https://bugs.freedesktop.org/show_bug.cgi?id=96609

comment:10 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: piotr.boguszewski@… kboo80@… tc01@… added
Keywords: haspatch added
Port: wine removed
Resolution: fixed
Status: assignedclosed
Summary: wine @1.8.2: Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.fontconfig @2.12.0: Assertion failed: (dx > 0 && dy >= 0 && x1 <= x && x <= x2), function lerp, file fcweight.c, line 48.

Thanks. Committed in r149841.

Note: See TracTickets for help on using tickets.