Closed
Bug 186973
Opened 23 years ago
Closed 23 years ago
Crash when executing bookmarklet
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 119693
People
(Reporter: kleist, Assigned: dougt)
Details
(Keywords: crash)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021227
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20021227
The bookmarklet, slightly formatted for your convenience:
---------------------------------------------------------
javascript:(function() {
var e,s; IB=1;
function isDigit(c) { return ("0" <= c && c <= "9") }
L = location.href; LL = L.length;
for (e=LL-1; e>=0; --e) if (isDigit(L.charAt(e))) {
for(s=e-1; s>=0; --s)
if (!isDigit(L.charAt(s))) break;
break;
}
++s;
if (e<0) return;
oldNum = L.substring(s,e+1);
newNum = "" + (parseInt(oldNum,10) + IB);
while (newNum.length < oldNum.length)
newNum = "0" + newNum;
location.href = L.substring(0,s) + newNum + L.slice(e+1);
})();
--------------------------------------------------------------
Reproducible: Sometimes
Steps to Reproduce:
Open any URL with a digit in it.
Expected Results:
Digit in URL should increment by one.
Did never crash in Moz 1.0 / 1.1 / 1.2
Talkback Incident ID: TB15554267K
(sorry for the more-or-less randomly selected component!)
| Reporter | ||
Comment 1•23 years ago
|
||
another talkback id: TB15554439Y
Comment 3•23 years ago
|
||
Is this bug kind of duplicate of bug 119693 ?
Comment 4•23 years ago
|
||
wfm using a debug linux build 20021228 (CVS), no warning in console and the
bookmarklet worked fine (increased a bugzilla URL to the next bug report by 1
digit).
Comment 5•23 years ago
|
||
Here are the two Talkback stack incidents given above:
Stack Signature PR_EnterMonitor cab082f2
Email Address svante@nemesis.se
Product ID MozillaTrunk
Build ID 2002122708
Trigger Time 2002-12-28 02:27:06
Platform Win32
Operating System Windows NT 5.0 build 2195
Module nspr4.dll
URL visited
User Comments executing bookmarklet (will file bug report, since this crash
has occurred several times)
Trigger Reason Access violation
Source File Name prmon.c
Trigger Line No. 93
Stack Trace
PR_EnterMonitor [prmon.c, line 93]
PL_ProcessPendingEvents [c:/builds/seamonkey/mozilla/xpcom/threads/plevent.c,
line 572]
USER32.dll + 0x2a2b8 (0x77e3a2b8)
0x5e204689
Incident ID 15554439
Stack Signature PR_EnterMonitor cab082f2
Email Address svante@nemesis.se
Product ID MozillaTrunk
Build ID 2002122708
Trigger Time 2002-12-28 02:43:01
Platform Win32
Operating System Windows NT 5.0 build 2195
Module nspr4.dll
URL visited
User Comments see bug 186973
Trigger Reason Access violation
Source File Name prmon.c
Trigger Line No. 93
Stack Trace
PR_EnterMonitor [prmon.c, line 93]
PL_ProcessPendingEvents [c:/builds/seamonkey/mozilla/xpcom/threads/plevent.c,
line 572]
USER32.dll + 0x2a2b8 (0x77e3a2b8)
0x5e204689
Comment 6•23 years ago
|
||
Reassigning to XPCOM component, which is more familiar
with this stack trace.
This could be a duplicate of XPCPOM bug 119693,
"Trunk M1BR M130A crashes [@ PR_EnterMonitor]"
In fact, bug 186805 has already been duped against it
"Running 'linked images' bookmarklet crashes the browser"
Assignee: rogerl → dougt
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → XPCOM
Ever confirmed: true
QA Contact: pschwartau → scc
PR_EnterMonitor [prmon.c, line 93]
PL_ProcessPendingEvents [c:/builds/seamonkey/mozilla/xpcom/threads/plevent.c,
line 572]
USER32.dll + 0x2a2b8 (0x77e3a2b8)
0x5e204689
Keywords: stackwanted
Whiteboard: TB15554267K
| Assignee | ||
Comment 8•23 years ago
|
||
this is a dup of 119693.
*** This bug has been marked as a duplicate of 119693 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•