Closed
Bug 11883
Opened 26 years ago
Closed 25 years ago
[PP]app closes when select submit on form
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
M11
People
(Reporter: rubydoo123, Assigned: gagan)
References
()
Details
(Whiteboard: Fixed on Windows but still occurs on Mac/Linux builds (9/30))
build: 1999081308
platform: win98
other platforms: unknown at this time
URL: http://www.mozilla.org/quality/browser/bft/bft_browser_form.html
minimized test:
<FORM METHOD=GET ACTION="mailto:beppe@netscape.com">
<INPUT TYPE=TEXT NAME="comment_text" SIZE=30 MAXLENGTH=25>
<br><br>
<INPUT TYPE=SUBMIT VALUE="Submit Order"> | <INPUT TYPE=RESET
VALUE="Reset Form">
</FORM>
what happened: when I selected submit, the app closes
expected results: I expected the form to be emailed to me.
how to reproduce:
1. copy code into a test html file
2. enter some bogus text in text field
3. select submit
-- system quits
NOTE: I also tried POST and the same action resulted.
Updated•26 years ago
|
Assignee: karnaze → kmcclusk
Comment 1•26 years ago
|
||
Reassigning to Kevin.
Updated•26 years ago
|
Assignee: kmcclusk → gagan
Component: HTML Form Controls → Necko
Comment 2•26 years ago
|
||
It's dying in a call to nsIOService::NewURI
Looks like a necko issue.
Here's the stack:
_NMSG_WRITE(int 255) line 221
_FF_MSGBANNER() line 169 + 10 bytes
_amsg_exit(int 25) line 324
_purecall() line 35 + 7 bytes
nsIOService::NewURI(nsIOService * const 0x00bdd5a0, const char * 0x09c641c0,
nsIURI * 0x00000000, nsIURI * * 0x0012fdcc) line 208 + 35 bytes
NS_NewURI(nsIURI * * 0x0012fdcc, const char * 0x09c641c0, nsIURI * 0x00000000)
line 36 + 24 bytes
NS_NewURI(nsIURI * * 0x0012fdcc, const nsString & {...}, nsIURI * 0x00000000)
line 49 + 17 bytes
nsWebShell::LoadURL(nsWebShell * const 0x00bddbf0, const unsigned short *
0x09c64a00, const char * 0x00fe8b48, nsIInputStream * 0x09c655e4, int 1,
unsigned int 0, const unsigned int 0) line 2155 + 18 bytes
nsWebShell::LoadURL(nsWebShell * const 0x00bddbf0, const unsigned short *
0x09c64a00, nsIInputStream * 0x09c655e4, int 1, unsigned int 0, const unsigned
int 0) line 1915
nsWebShell::HandleLinkClickEvent(nsIContent * 0x09d12c80, nsLinkVerb
eLinkVerb_Replace, const unsigned short * 0x09c64a00, const unsigned short *
0x00b45ad0, nsIInputStream * 0x09c655e4) line 3028
OnLinkClickEvent::HandleEvent() line 2855
HandlePLEvent(OnLinkClickEvent * 0x09c67780) line 2868
PL_HandleEvent(PLEvent * 0x09c67780) line 509 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x00b95d60) line 470 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x00850858, unsigned int 49419, unsigned int 0,
long 12148064) line 932 + 9 bytes
USER32! 77e71250()
00b95d60()
Reporter | ||
Comment 3•26 years ago
|
||
thanks Kevin -- I'm sure the stack will help a lot.
Comment 5•25 years ago
|
||
Can someone verify if the submit still crashes for them? I'm returning an error
code that NewURI isn't implemented for mailto urls yet. If the crash is still
there then it means the webshell is ignoring the failure code and continue past
it.
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 6•25 years ago
|
||
I don't believe this crashes anymore. This bug was filed back in early Agust and
all the mailto stuff has been revamped. It doesn't work (as in it one run the
mail to url) since we don't have url dispatching going yet, but we have other
bugs to track that. This bug is for the crash that was reported in August.
I'm going to mark
Reporter | ||
Updated•25 years ago
|
QA Contact: phillip → petersen
Updated•25 years ago
|
Status: RESOLVED → REOPENED
OS: Windows 98 → Mac System 8.6
Hardware: PC → Macintosh
Summary: app closes when select submit on form → [PP]app closes when select submit on form
Updated•25 years ago
|
Resolution: FIXED → ---
Comment 7•25 years ago
|
||
With the Sept 28th Win build, clicking the submit button nolonger crash the
application. It now correctly opens a messanger window. However, the Mac and
Linux Sept 29th builds both crash after clicking on the Submit button. I will
reopen this report and check in the next build to see if the fix has been
implemented.
Updated•25 years ago
|
Whiteboard: Fixed on Windows but still occurs on Mac/Linux builds (9/30)
Comment 8•25 years ago
|
||
Can we get a talkback ID or stack trace to find out where the problem is? Crash
on form submission isn't likely to be mscott's bug.
> It now correctly opens a messanger window
I don't think that's the correct behavior. A mailto in a form submit isn't
supposed to open a window -- it's supposed to mail the form contents silently.
Comment 9•25 years ago
|
||
Crash still occurs on the Oct 1 Mac build.
Here is the call stack:
.__ptr_glue
nsString::~nsString()
[nsString2.cpp, line 121]
nsDeleteObserved::~nsDeleteObserved()
[nsDeleteObserver.cpp, line 45]
nsWindow::~nsWindow()
[nsWindow.cpp, line 175]
nsChildWindow::~nsChildWindow()
[nsChildWindow.cpp, line 36]
nsBaseWidget::Release()
[nsBaseWidget.cpp, line 34]
layout.shlb + 0xad4bc (0x047b829c)
layout.shlb + 0xad5a8 (0x047b8388)
nsCOMPtr_base::~nsCOMPtr_base()
[nsCOMPtr.cpp, line 26]
layout.shlb + 0x14440 (0x0471f220)
layout.shlb + 0x13b80 (0x0471e960)
layout.shlb + 0x14598 (0x0471f378)
layout.shlb + 0xa7718 (0x047b24f8)
layout.shlb + 0xa785c (0x047b263c)
DOM_DLL + 0x8da18 (0x05629e58)
DOM_DLL + 0xa5948 (0x05641d88)
js_FinalizeObject()
[jsobj.c, line 1354]
js_GC()
[jsgc.c, line 892]
js_ForceGC()
[jsgc.c, line 671]
JS_GC()
[jsapi.c, line 1096]
DOM_DLL + 0x6668 (0x055a2aa8)
DOM_DLL + 0x13df4 (0x055b0234)
layout.shlb + 0x291070 (0x0499be50)
layout.shlb + 0x290d6c (0x0499bb4c)
nsWebShell::Embed()
[nsWebShell.cpp, line 869]
Comment 10•25 years ago
|
||
This definetly isn't a mailnews problem. WE need to figure out who owns form
submission and re-assign it to them.
Assignee: mscott → karnaze
Status: REOPENED → NEW
Component: Necko → Form Submission
QA Contact: petersen → cpratt
Target Milestone: M10 → M11
Comment 11•25 years ago
|
||
cpratt, can you please check with latest builds all platforms and give us info
so we know what to Release Note for M10. Moving to M11.
Updated•25 years ago
|
Assignee: karnaze → gagan
Comment 12•25 years ago
|
||
Gagan, this may be yours.
Comment 13•25 years ago
|
||
*** Bug 15692 has been marked as a duplicate of this bug. ***
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
Comment 14•25 years ago
|
||
this looks like a duplicate of 12198
*** This bug has been marked as a duplicate of 12198 ***
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•