CGContextDrawImage, CGBitmapContextCreate errors

RESOLVED FIXED

Status

()

Firefox for iOS
Home screen
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: rnewman, Assigned: sleroux)

Tracking

unspecified
All
Unspecified

Firefox Tracking Flags

(fxios+)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

3 years ago
Not sure how this happened; maybe the spinner when pulling to refresh? Maybe icons loading?


Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGBitmapContextCreate: unsupported color space.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGBitmapContextCreateImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGBitmapContextCreate: unsupported color space.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGBitmapContextCreateImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
2015-07-23 18:42:56.507 [Debug] [DeferredDBOperation.swift:91] main(): Modified rows: 1.
2015-07-23 18:42:56.706 [Debug] [DeferredDBOperation.swift:91] main(): Modified rows: 1.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Jul 23 18:42:56 dirge.local Client[50093] <Error>: CGBitmapContextCreateImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

Updated

3 years ago
tracking-fxios: --- → ?
(Reporter)

Updated

3 years ago
Assignee: nobody → sleroux
(Reporter)

Comment 1

3 years ago
Steph's going to look at this, see if there's anything we're doing that should terrify us. Mark tracking with your findings, Steph! :D
Status: NEW → ASSIGNED
(Assignee)

Comment 2

3 years ago
Created attachment 8641061 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/832

Looks like this error is coming from SDWebImage's image decoder. See https://github.com/rs/SDWebImage/issues/1203. 

I've added a temporary workaround that was suggested in that thread for now until a new version of the library is released.
Attachment #8641061 - Flags: review?(rnewman)
(Assignee)

Comment 3

3 years ago
I don't know the actual consequences of this bug but we should probably patch it for now.
(Assignee)

Updated

3 years ago
tracking-fxios: ? → +
(Reporter)

Updated

3 years ago
Attachment #8641061 - Flags: review?(rnewman) → review+
(Assignee)

Comment 5

3 years ago
Created attachment 8643027 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/832

They've updated master to include a fix for this. I've updated the Cartfile to pull in the latest changes.
Attachment #8643027 - Flags: review?(etoop)
Attachment #8643027 - Flags: review?(etoop) → review+
(Assignee)

Comment 6

3 years ago
Merged.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
I still see these in my console on master

Aug 12 10:39:41 Normandy Client[2707]: CGContextDrawImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

Aug 12 10:39:41 Normandy Client[2707]: CGBitmapContextCreateImage: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
You need to log in before you can comment on or make changes to this bug.