Closed Bug 1187161 Opened 9 years ago Closed 9 years ago

CGContextDrawImage, CGBitmapContextCreate errors

Categories

(Firefox for iOS :: Home screen, defect)

All
Unspecified
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: rnewman, Assigned: sleroux)

Details

Attachments

(1 file, 1 obsolete file)

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.
Assignee: nobody → sleroux
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
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)
I don't know the actual consequences of this bug but we should probably patch it for now.
Attachment #8641061 - Flags: review?(rnewman) → review+
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+
Merged.
Status: ASSIGNED → RESOLVED
Closed: 9 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.

Attachment

General

Created:
Updated:
Size: