Closed Bug 384511 Opened 15 years ago Closed 15 years ago

[10.3] +[NSGraphicsContext graphicsContextWithGraphicsPort:flipped:]: selector not recognized, and malloc errors, and pages won't load


(Core :: Widget: Cocoa, defect)

Not set





(Reporter: alqahira, Assigned: jaas)




(Keywords: regression)

So, the fix for bug 382883 was supposed to only kick in on Intel builds (or that's what mento and I understood).  Instead, that code is active on 10.3, and once you hit a button, you get 

2007-06-14 20:13:48.469 Camino[1151] *** +[NSGraphicsContext graphicsContextWithGraphicsPort:flipped:]: selector not recognized

2007-06-14 20:13:48.471 Camino[1151] *** +[NSGraphicsContext graphicsContextWithGraphicsPort:flipped:]: selector not recognized

*** malloc[1151]: Deallocation of a pointer not malloced: 0xbfffe1b0; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

and no buttons or radios draw, and then pages refuse to load after that (just like what happened when this method of button drawing was originally landed).

This is a major blocker because Camino's perf tinderbox, pawn, is still on 10.3 (due to issues beyond our control), so we haven't had Tp (or Ts) in two days, during which a major landing (new textframe) occurred.  (Not to mention it makes the browser useless on 10.3, which is still a supported OS on the trunk at this point.)
FYI, in Minefield, trying to load that page:

2007-06-14 21:09:19.392 firefox-bin[1187] *** +[NSGraphicsContext graphicsContextWithGraphicsPort:flipped:]: selector not recognized

2007-06-14 21:09:19.392 firefox-bin[1187] *** NSRunLoop ignoring exception 'NSInvalidArgumentException' (reason '*** +[NSGraphicsContext graphicsContextWithGraphicsPort:flipped:]: selector not recognized') that raised during posting of delayed perform with target 310f090 and selector 'runAppShell'

and the page doesn't even ever finish loading.
FWIW, the new textframe was backed out if it's any consolation.
The malloc errors come in Minefield, too, just not until I manage to quit....
Oh, wait, it never quit, just closed the open window :p  I had to force-quit to get Minefield to finally quit.
I checked in a fix for this, let me know if it doesn't work. I spelled "MAC" "MAX", oops.
pawn's green and we have Tp/Ts, and cb-xserve01's tinderbuild post-checkin runs OK here.
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.