[Webkit-unassigned] [Bug 13239] REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 30 23:28:17 PDT 2007


------- Comment #4 from bdash at webkit.org  2007-03-30 23:28 PDT -------
You're right.  I'm not sure what made me think respondsToSelector: and friends
would work for this.  I couldn't find where in PyObjC's code things went wrong
either, but the stack trace when "count" is invoked is underneath
PyObject_IsTrue which determines which Python objects are considered true in a
boolean context.  For number-like objects this is those with non-zero value,
for sequence-like objects it is those with non-zero length.  The fact this
results in "count" being invoked suggests that Python or PyObjC believes the
WebScriptObject is sequence-like in some way.  I'm not sure how or why exactly
this is happening, nor who arranges for PyObject_IsTrue to call through to

It seems like rolling out the obviously incorrect fix r20343 and reopening bug
13129 so it can be addressed correctly would be the right thing to do here.  Do
you agree Darin?

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list