Closed
Bug 42165
Opened 25 years ago
Closed 22 years ago
Bugzilla's Apache server responded with "URI too long" error
Categories
(Bugzilla :: Creating/Changing Bugs, defect, P3)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: jrgmorrison, Assigned: myk)
Details
Overview Description:
Bugzilla sent a URL of length 10930 bytes to Apache, which caused
Apache to choke.
Steps to Reproduce:
-- Well don't bother reproducing it, but what I did was ...
1) I was changing the Product for a bug while adding comments, etc.,
which then sent me to the page for selecting component/milestone/version.
2) This is done by using GET's to maintain the state across the pages
(i.e., encoding state in the URL).
3) I was also adding a couple of stack traces inline with my other
comments and changes.
Actual Results:
Apache returned an error for 'URI too long' (not an exact quote)
Expected Results:
Successfully complete the update (although I don't really expect
this given the situation)
Reproducibility: well, in this case, always, but it's a special case.
Additional Information:
You can resolve this as wontfix if you like. I realize that avoiding
this limit would mean some significant changes to Bugzilla. If anything,
probably better to just detect this situation before it happens, and
give a more graceful message to the end user.
Here's the URL that was generated (I think it will get through here,
since this is a POST).
http://bugzilla.mozilla.org/process_bug.cgi?version=other&target_milestone=---&
component=XP+Toolkit%2FWidgets%3A+Trees&dependson=&product=Browser&priority=P3&
cc=lchiang%40netscape.com%2Cclaudius%40netscape.com&knob=reassign&rep_platform=
All&status_whiteboard=&id=42109&short_desc=type+11+crash+at+shift-clicking+a+ti
tle+in+the+messages+list&assigned_to=hyatt%40netscape.com&delta_ts=200006102055
56&longdesclength=3622&comment=Thank+you.+Most+excellent+descriptions.+Certainl
y+a+selection+bug+in+%0D%0Atree+code.+This+code+is+all+going+under+the+knife+as
+we+%27speak%27%2C+but+%0D%0AI%27ll+move+this+over+to+hyatt+and+I%27ll+see+if+t
his+is+still+a+problem%0D%0Awith+the+tree-is-a-grid-not-an-HTMLTable+code.+Than
ks+again.+cc%3A+claudius%0D%0Afor+the+bookmark%27s+test.%0D%0A%0D%0AThis+is+the
+stack+from+the+mail+thread+crash%3A%0D%0A%0D%0A+Calling+chain+using+A6%2FR1+li
nks%0D%0A++Back+chain++ISA++Caller%0D%0A++00000000++++PPC++1F504B04++%0D%0A++0E
710AC0++++PPC++1F4EF718++main%2B00130%0D%0A++0E710A60++++PPC++1F4EEC14++main1%2
8int%2C+char**%2C+nsISupports*%29%2B00944%0D%0A++0E7107A0++++PPC++1F0EED34++nsA
ppShellService%3A%3ARun%28%29%2B00018%0D%0A++0E710760++++PPC++1EC39D44++nsAppSh
ell%3A%3ARun%28%29%2B00038%0D%0A++0E710710++++PPC++1EC3A440++nsMacMessagePump%3
A%3ADoMessagePump%28%29%2B0003C%0D%0A++0E7106C0++++PPC++1EC3A944++nsMacMessageP
ump%3A%3ADispatchEvent%28int%2C+%0D%0AEventRecord*%29%2B00070%0D%0A++0E710670++
++PPC++1EC3B2AC++nsMacMessagePump%3A%3ADoMouseUp%28EventRecord%26%29%2B0004C%0D
%0A++0E710620++++PPC++1EC3B840++%0D%0AnsMacMessagePump%3A%3ADispatchOSEventToRa
ptor%28EventRecord%26%2C+GrafPort*%29%2B00044%0D%0A++0E7105D0++++PPC++1EC371E4+
+nsMacMessageSink%3A%3ADispatchOSEvent%28EventRecord%26%2C+%0D%0AGrafPort*%29%2
B00038%0D%0A++0E710590++++PPC++1EC32488++nsMacWindow%3A%3AHandleOSEvent%28Event
Record%26%29%2B00020%0D%0A++0E710550++++PPC++1EC331D4++%0D%0AnsMacEventHandler%
3A%3AHandleOSEvent%28EventRecord%26%29%2B000D0%0D%0A++0E710500++++PPC++1EC34990
++%0D%0AnsMacEventHandler%3A%3AHandleMouseUpEvent%28EventRecord%26%29%2B00048%0
D%0A++0E710470++++PPC++1EC18368++nsWindow%3A%3ADispatchMouseEvent%28nsMouseEven
t%26%29%2B00054%0D%0A++0E710410++++PPC++1EC18224++nsWindow%3A%3ADispatchWindowE
vent%28nsGUIEvent%26%29%2B00018%0D%0A++0E7103D0++++PPC++1EC18150++nsWindow%3A%3
ADispatchEvent%28nsGUIEvent*%2C+%0D%0AnsEventStatus%26%29%2B00094%0D%0A++0E7103
80++++PPC++1CD2A4DC++HandleEvent%28nsGUIEvent*%29%2B00058%0D%0A++0E710330++++PP
C++1CD33834++nsViewManager2%3A%3ADispatchEvent%28nsGUIEvent*%2C+%0D%0AnsEventSt
atus*%29%2B005EC%0D%0A++0E710200++++PPC++1CD2BE8C++nsView%3A%3AHandleEvent%28ns
GUIEvent*%2C+unsigned+int%2C+%0D%0AnsEventStatus*%2C+int%26%29%2B0015C%0D%0A++0
E710180++++PPC++1CD2BF18++nsView%3A%3AHandleEvent%28nsGUIEvent*%2C+unsigned+int
%2C+%0D%0AnsEventStatus*%2C+int%26%29%2B001E8%0D%0A++0E710100++++PPC++1DFF52B8+
+PresShell%3A%3AHandleEvent%28nsIView*%2C+nsGUIEvent*%2C+%0D%0AnsEventStatus*%2
C+int%26%29%2B002E4%0D%0A++0E710090++++PPC++1DFF55F4++PresShell%3A%3AHandleEven
tInternal%28nsEvent*%2C+nsIView*%2C+%0D%0AnsEventStatus*%29%2B001C8%0D%0A++0E71
0030++++PPC++1E0AD294++%0D%0AnsEventStateManager%3A%3APostHandleEvent%28nsIPres
Context*%2C+nsEvent*%2C+nsIFrame*%2C+%0D%0AnsEventStatus*%2C+nsIView*%29%2B0039
8%0D%0A++0E70FEC0++++PPC++1E0AF18C++%0D%0AnsEventStateManager%3A%3ACheckForAndD
ispatchClick%28nsIPresContext*%2C+nsMouseEvent*%2C+%0D%0AnsEventStatus*%29%2B00
158%0D%0A++0E70FDE0++++PPC++1DFF539C++PresShell%3A%3AHandleEventWithTarget%28ns
Event*%2C+%0D%0AnsIFrame*%2C+nsIContent*%2C+nsEventStatus*%29%2B00038%0D%0A++0E
70FD90++++PPC++1DFF54E8++PresShell%3A%3AHandleEventInternal%28nsEvent*%2C+nsIVi
ew*%2C+%0D%0AnsEventStatus*%29%2B000BC%0D%0A++0E70FD30++++PPC++1F054E50++nsXULE
lement%3A%3AHandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent**
%2C+unsigned+int%2C+nsEventStatus*%29%2B005A4%0D%0A++0E70FAE0++++PPC++1F054E50+
+nsXULElement%3A%3AHandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOM
Event**%2C+unsigned+int%2C+nsEventStatus*%29%2B005A4%0D%0A++0E70F890++++PPC++1F
054E50++nsXULElement%3A%3AHandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C
+nsIDOMEvent**%2C+unsigned+int%2C+nsEventStatus*%29%2B005A4%0D%0A++0E70F640++++
PPC++1F054D74++nsXULElement%3A%3AHandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEv
ent*%2C+nsIDOMEvent**%2C+unsigned+int%2C+nsEventStatus*%29%2B004C8%0D%0A++0E70F
3F0++++PPC++1E0A7968++%0D%0AnsEventListenerManager%3A%3AHandleEvent%28nsIPresCo
ntext*%2C+nsEvent*%2C+nsIDOMEvent**%2C+%0D%0AnsIDOMEventTarget*%2C+unsigned+int
%2C+nsEventStatus*%29%2B002C8%0D%0A++0E70F210++++PPC++1E35BA04++nsXBLEventHandl
er%3A%3AMouseClick%28nsIDOMEvent*%29%2B000BC%0D%0A++0E70F110++++PPC++1E35D944++
nsXBLEventHandler%3A%3AExecuteHandler%28const+nsString%26%2C+%0D%0AnsIDOMEvent*
%29%2B003C8%0D%0A++0E70EDD0++++PPC++1F1BC9A0++nsJSEventListener%3A%3AHandleEven
t%28nsIDOMEvent*%29%2B00268%0D%0A++0E70ECB0++++PPC++1F15FB9C++nsJSContext%3A%3A
CallEventHandler%28void*%2C+void*%2C+%0D%0Aunsigned+int%2C+void*%2C+int*%2C+int
%29%2B001E0%0D%0A++0E70EBF0++++PPC++1EE2C520++JS_CallFunctionValue%2B00028%0D%0
A++0E70EBB0++++PPC++1EE4578C++js_InternalInvoke%2B000C0%0D%0A++0E70EAF0++++PPC+
+1EE45558++js_Invoke%2B004C4%0D%0A++0E70EA10++++PPC++1EE4C58C++js_Interpret%2B0
6528%0D%0A++0E70E7D0++++PPC++1EE45500++js_Invoke%2B0046C%0D%0A++0E70E6F0++++PPC
++1F039AE8++XULTreeElementSelectItemRange%28JSContext*%2C+%0D%0AJSObject*%2C+un
signed+int%2C+long*%2C+long*%29%2B002D8%0D%0A++0E70E510++++PPC++1F03B92C++%0D%0
AnsXULTreeElement%3A%3ASelectItemRange%28nsIDOMXULElement*%2C+nsIDOMXULElement*
%29%2B00228%0D%0A++0E70E170++++PPC++1EC7CE24++nsCOMPtr_base%3A%3Aassign_from_he
lper%28const+%0D%0AnsCOMPtr_helper%26%2C+const+nsID%26%29%2B00028%0D%0A++0E70E1
20++++PPC++1EC7CC50++nsQueryInterface%3A%3Aoperator%28%29%28const+nsID%26%2C+vo
id**%29+%0D%0Aconst%2B00028%0D%0A%0D%0AThis+is+the+code+from+the+bookmark+crash
%3A%0D%0A%0D%0A+Calling+chain+using+A6%2FR1+links%0D%0A++Back+chain++ISA++Calle
r%0D%0A++00000000++++PPC++1F504B04++%0D%0A++0E710AC0++++PPC++1F4EF718++main%2B0
0130%0D%0A++0E710A60++++PPC++1F4EEC14++main1%28int%2C+char**%2C+nsISupports*%29
%2B00944%0D%0A++0E7107A0++++PPC++1F0AED34++nsAppShellService%3A%3ARun%28%29%2B0
0018%0D%0A++0E710760++++PPC++1ED8BD44++nsAppShell%3A%3ARun%28%29%2B00038%0D%0A+
+0E710710++++PPC++1ED8C440++nsMacMessagePump%3A%3ADoMessagePump%28%29%2B0003C%0
D%0A++0E7106C0++++PPC++1ED8C944++nsMacMessagePump%3A%3ADispatchEvent%28int%2C+%
0D%0AEventRecord*%29%2B00070%0D%0A++0E710670++++PPC++1ED8D2AC++nsMacMessagePump
%3A%3ADoMouseUp%28EventRecord%26%29%2B0004C%0D%0A++0E710620++++PPC++1ED8D840++%
0D%0AnsMacMessagePump%3A%3ADispatchOSEventToRaptor%28EventRecord%26%2C+GrafPort
*%29%2B00044%0D%0A++0E7105D0++++PPC++1ED891E4++nsMacMessageSink%3A%3ADispatchOS
Event%28EventRecord%26%2C+%0D%0AGrafPort*%29%2B00038%0D%0A++0E710590++++PPC++1E
D84488++nsMacWindow%3A%3AHandleOSEvent%28EventRecord%26%29%2B00020%0D%0A++0E710
550++++PPC++1ED851D4++%0D%0AnsMacEventHandler%3A%3AHandleOSEvent%28EventRecord%
26%29%2B000D0%0D%0A++0E710500++++PPC++1ED86990++%0D%0AnsMacEventHandler%3A%3AHa
ndleMouseUpEvent%28EventRecord%26%29%2B00048%0D%0A++0E710470++++PPC++1ED6A368++
nsWindow%3A%3ADispatchMouseEvent%28nsMouseEvent%26%29%2B00054%0D%0A++0E710410++
++PPC++1ED6A224++nsWindow%3A%3ADispatchWindowEvent%28nsGUIEvent%26%29%2B00018%0
D%0A++0E7103D0++++PPC++1ED6A150++nsWindow%3A%3ADispatchEvent%28nsGUIEvent*%2C+%
0D%0AnsEventStatus%26%29%2B00094%0D%0A++0E710380++++PPC++1CD2A4DC++HandleEvent%
28nsGUIEvent*%29%2B00058%0D%0A++0E710330++++PPC++1CD33834++nsViewManager2%3A%3A
DispatchEvent%28nsGUIEvent*%2C+%0D%0AnsEventStatus*%29%2B005EC%0D%0A++0E710200+
+++PPC++1CD2BE8C++nsView%3A%3AHandleEvent%28nsGUIEvent*%2C+unsigned+int%2C+%0D%
0AnsEventStatus*%2C+int%26%29%2B0015C%0D%0A++0E710180++++PPC++1CD2BF18++nsView%
3A%3AHandleEvent%28nsGUIEvent*%2C+unsigned+int%2C+%0D%0AnsEventStatus*%2C+int%2
6%29%2B001E8%0D%0A++0E710100++++PPC++1DFF52B8++PresShell%3A%3AHandleEvent%28nsI
View*%2C+nsGUIEvent*%2C+%0D%0AnsEventStatus*%2C+int%26%29%2B002E4%0D%0A++0E7100
90++++PPC++1DFF55F4++PresShell%3A%3AHandleEventInternal%28nsEvent*%2C+nsIView*%
2C+%0D%0AnsEventStatus*%29%2B001C8%0D%0A++0E710030++++PPC++1E0AD294++%0D%0AnsEv
entStateManager%3A%3APostHandleEvent%28nsIPresContext*%2C+nsEvent*%2C+nsIFrame*
%2C+%0D%0AnsEventStatus*%2C+nsIView*%29%2B00398%0D%0A++0E70FEC0++++PPC++1E0AF18
C++%0D%0AnsEventStateManager%3A%3ACheckForAndDispatchClick%28nsIPresContext*%2C
+nsMouseEvent*%2C+%0D%0AnsEventStatus*%29%2B00158%0D%0A++0E70FDE0++++PPC++1DFF5
39C++PresShell%3A%3AHandleEventWithTarget%28nsEvent*%2C+%0D%0AnsIFrame*%2C+nsIC
ontent*%2C+nsEventStatus*%29%2B00038%0D%0A++0E70FD90++++PPC++1DFF54E8++PresShel
l%3A%3AHandleEventInternal%28nsEvent*%2C+nsIView*%2C+%0D%0AnsEventStatus*%29%2B
000BC%0D%0A++0E70FD30++++PPC++1F014E50++nsXULElement%3A%3AHandleDOMEvent%28nsIP
resContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent**%2C+unsigned+int%2C+nsEventStatus
*%29%2B005A4%0D%0A++0E70FAE0++++PPC++1F014E50++nsXULElement%3A%3AHandleDOMEvent
%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent**%2C+unsigned+int%2C+nsEven
tStatus*%29%2B005A4%0D%0A++0E70F890++++PPC++1F014E50++nsXULElement%3A%3AHandleD
OMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent**%2C+unsigned+int%2C
+nsEventStatus*%29%2B005A4%0D%0A++0E70F640++++PPC++1F014E50++nsXULElement%3A%3A
HandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent**%2C+unsigned
+int%2C+nsEventStatus*%29%2B005A4%0D%0A++0E70F3F0++++PPC++1F014E50++nsXULElemen
t%3A%3AHandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent**%2C+u
nsigned+int%2C+nsEventStatus*%29%2B005A4%0D%0A++0E70F1A0++++PPC++1F014D74++nsXU
LElement%3A%3AHandleDOMEvent%28nsIPresContext*%2C+%0D%0AnsEvent*%2C+nsIDOMEvent
**%2C+unsigned+int%2C+nsEventStatus*%29%2B004C8%0D%0A++0E70EF50++++PPC++1E0A796
8++%0D%0AnsEventListenerManager%3A%3AHandleEvent%28nsIPresContext*%2C+nsEvent*%
2C+nsIDOMEvent**%2C+%0D%0AnsIDOMEventTarget*%2C+unsigned+int%2C+nsEventStatus*%
29%2B002C8%0D%0A++0E70ED70++++PPC++1E35BA04++nsXBLEventHandler%3A%3AMouseClick%
28nsIDOMEvent*%29%2B000BC%0D%0A++0E70EC70++++PPC++1E35D944++nsXBLEventHandler%3
A%3AExecuteHandler%28const+nsString%26%2C+%0D%0AnsIDOMEvent*%29%2B003C8%0D%0A++
0E70E930++++PPC++1F17C9A0++nsJSEventListener%3A%3AHandleEvent%28nsIDOMEvent*%29
%2B00268%0D%0A++0E70E810++++PPC++1F11FB9C++nsJSContext%3A%3ACallEventHandler%28
void*%2C+void*%2C+%0D%0Aunsigned+int%2C+void*%2C+int*%2C+int%29%2B001E0%0D%0A++
0E70E750++++PPC++1EE2C520++JS_CallFunctionValue%2B00028%0D%0A++0E70E710++++PPC+
+1EE4578C++js_InternalInvoke%2B000C0%0D%0A++0E70E650++++PPC++1EE45558++js_Invok
e%2B004C4%0D%0A++0E70E570++++PPC++1EE4C58C++js_Interpret%2B06528%0D%0A++0E70E33
0++++PPC++1EE45500++js_Invoke%2B0046C%0D%0A++0E70E250++++PPC++1EFF9AE8++XULTree
ElementSelectItemRange%28JSContext*%2C+%0D%0AJSObject*%2C+unsigned+int%2C+long*
%2C+long*%29%2B002D8%0D%0A&bit-1024=0&blocked=&form_name=process_bug&resolution
=FIXED&dup_id=&bug_severity=critical&keywords=crash&bug_file_loc=&op_sys=All&qa
_contact=jrgm%40netscape.com
Comment 1•25 years ago
|
||
I cannot reproduce this bug. Maybe the uri got clipped on the way to
bugzilla.
how long was your stack trace? you probably blew up some internal limit in
apache. really long comments like this should be made attachments.
Look at Apache's LimitRequestLine directive. By default, it limits a URL to
8190 bytes.
| Reporter | ||
Comment 4•25 years ago
|
||
As I said "You can resolve this as wontfix if you like" but "probably better to
just detect this situation before it happens, and give a more graceful message
to the end user."
Obviously I blew past an Apache interal limit on the length of a GET.
The stack trace was of average length, the type that is pasted into bug reports
everywhere in Bugzilla. What is different is that concurrently changing the
component while submitting the comment: the form field values which would
ordinarily be submitted as a POST were converted to a GET. So the system set
itself up for this failure -- it is building a URL that cannot succeed as a GET.
Comment 5•24 years ago
|
||
Yes we should have a comment limit parameter, or detect it from the web server
if possible (but this might make Bugzilla Apache specific).
Target Milestone: --- → Bugzilla 2.16
Comment 6•24 years ago
|
||
See also bug #72184.
Comment 7•24 years ago
|
||
-> Bugzilla product, Changing-Bugs component, reassigning.
Assignee: tara → myk
Component: Bugzilla → Creating/Changing Bugs
Product: Webtools → Bugzilla
Version: other → unspecified
Comment 8•24 years ago
|
||
We are currently trying to wrap up Bugzilla 2.16. We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut. Thus this is being retargetted at 2.18. If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Comment 9•22 years ago
|
||
This is a POST, so this should be fixed.
This probably happened during the templatisation stuff.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•