Assertion while startup a debug build on Windows 10 - "SkScalerContext.h:76: fatal error: "assert(0 <= c && c <= SK_Scalar1)"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Assertion while startup a debug build on Windows 10 - "SkScalerContext.h:76: fatal error: "assert(0 <= c && c <= SK_Scalar1)"

Alfred Peters
I get an assertion when starting a debug build on Windows 10.

| s:\Projects\mozi\comm-central\mozilla\gfx\skia\skia\src\core\SkScalerContext.h:76: fatal error: "assert(0 <= c && c <= SK_Scalar1)"
| Abort from sk_abort
| Hit MOZ_CRASH() at s:/Projects/mozi/comm-central/mozilla/memory/mozalloc/mozalloc_abort.cpp:33
| [GPU 8164] WARNING: Shutting down GPU process early due to a crash!: file s:/Projects/mozi/comm-central/mozilla/gfx/ipc/GPUParent.cpp, line 399

It's this in setContrast():

<https://dxr.mozilla.org/comm-central/source/mozilla/gfx/skia/skia/src/core/SkScalerContext.h#76>

The value of the parameter is 2.0, which is obviously greater then
SK_Scalar1=1.0.

If someone can confirm the error, I'll file a bug.
Or is it just a configuration problem?

It occurs both in 'Firefox' and 'Thunderbird'.

The release version starts perfectly. But I think, there the error is
probably only ignored.

Alfred
--
Thunderbird (56.0a1) - Daily BuildID=20170723111239
Rev: Comm-Central:11d720ef6082 / Mozilla-Central:c22502562670          17558.1
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Assertion while startup a debug build on Windows 10 - "SkScalerContext.h:76: fatal error: "assert(0 <= c && c <= SK_Scalar1)"

Alfred Peters
Es schrieb einmal Alfred Peters:

> If someone can confirm the error, I'll file a bug.

It has been done:

<https://bugzilla.mozilla.org/show_bug.cgi?id=1348584#c20>

Alfred
--
Thunderbird (56.0a1) - Daily BuildID=20170723111239
Rev: Comm-Central:11d720ef6082 / Mozilla-Central:c22502562670          17558.3
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds