Closed
Bug 124912
Opened 23 years ago
Closed 23 years ago
Assertion failure: status < 0, at /home/timeless/mozilla/mailnews/mime/src/mimemsig.cpp:302
Categories
(MailNews Core :: MIME, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 129042
mozilla1.1alpha
People
(Reporter: timeless, Assigned: bugzilla)
Details
(Keywords: assertion)
freebsd cvs build from this morning. the smime lib isn't loaded because of some bug about it not linking correctly.
#2 0x283b1fee in PR_Assert (s=0x2a8e2b40 "status < 0", file=0x2a8e29a0 "/home/timeless/mozilla/mailnews/mime/src/mimemsig.cpp", ln=302)
at /home/timeless/mozilla/nsprpub/pr/src/io/prlog.c:505
#3 0x2a89a54f in MimeMultipartSigned_parse_line (line=0x93b3800 '-' <repeats 14 times>, "ms060604090208080701090704\ne in MIME format.\n", length=41,
obj=0x8eb4780) at /home/timeless/mozilla/mailnews/mime/src/mimemsig.cpp:302
#4 0x2a8a5b90 in convert_and_send_buffer (buf=0x93b3800 '-' <repeats 14 times>, "ms060604090208080701090704\ne in MIME format.\n", length=41,
convert_newlines_p=1, per_line_fn=0x2a89a1c0 <MimeMultipartSigned_parse_line(char *, int, MimeObject *)>, closure=0x8eb4780)
at /home/timeless/mozilla/mailnews/mime/src/mimebuf.cpp:168
#5 0x2a8a5ddc in mime_LineBuffer (
net_buffer=0x920ec00 '-' <repeats 14 times>, "ms060604090208080701090704\ne in MIME format.\ns:4350\nature\"; micalg=sha1; boundary=\"", '-' <repeats 12 times>,
"ms060604090208080701090704\"\n", net_buffer_size=41, bufferP=0x8eb47a8, buffer_sizeP=0x8eb47b0, buffer_fpP=0x8eb47b8, convert_newlines_p=1,
per_line_fn=0x2a89a1c0 <MimeMultipartSigned_parse_line(char *, int, MimeObject *)>, closure=0x8eb4780)
at /home/timeless/mozilla/mailnews/mime/src/mimebuf.cpp:255
#6 0x2a89d459 in MimeObject_parse_buffer (
buffer=0x920ec00 '-' <repeats 14 times>, "ms060604090208080701090704\ne in MIME format.\ns:4350\nature\"; micalg=sha1; boundary=\"", '-' <repeats 12 times>, "ms0
60604090208080701090704\"\n", size=41, obj=0x8eb4780) at /home/timeless/mozilla/mailnews/mime/src/mimeobj.cpp:255
#7 0x2a8989db in MimeMessage_parse_line (
line=0x920ec00 '-' <repeats 14 times>, "ms060604090208080701090704\ne in MIME format.\ns:4350\nature\"; micalg=sha1; boundary=\"", '-' <repeats 12 times>, "ms060
604090208080701090704\"\n", length=41, obj=0x92af400) at /home/timeless/mozilla/mailnews/mime/src/mimemsg.cpp:226
#8 0x2a8a5b90 in convert_and_send_buffer (
buf=0x920ec00 '-' <repeats 14 times>, "ms060604090208080701090704\ne in MIME format.\ns:4350\nature\"; micalg=sha1; boundary=\"", '-' <repeats 12 times>, "ms0606
04090208080701090704\"\n", length=41, convert_newlines_p=1, per_line_fn=0x2a898710 <MimeMessage_parse_line(char *, int, MimeObject *)>, closure=0x92af400)
at /home/timeless/mozilla/mailnews/mime/src/mimebuf.cpp:168
#9 0x2a8a5ddc in mime_LineBuffer (
net_buffer=0x8a2bef0 '-' <repeats 14 times>, "ms060604090208080701090704\nContent-Type: text/plain; charset=us-ascii; format=flowed\nContent-Transfer-Encoding: 7
bit\n\nD,ë\b", net_buffer_size=132, bufferP=0x92af428, buffer_sizeP=0x92af430, buffer_fpP=0x92af438, convert_newlines_p=1,
per_line_fn=0x2a898710 <MimeMessage_parse_line(char *, int, MimeObject *)>, closure=0x92af400) at /home/timeless/mozilla/mailnews/mime/src/mimebuf.cpp:255
#10 0x2a89d459 in MimeObject_parse_buffer (
buffer=0x8a2bc00 "Path: secnews.netscape.com!gateway\nFrom: attinasi@netscape.com (Marc Attinasi)\nNewsgroups: netscape.public.mozilla.reviewers\nSubject: Re: Pl
ease r/sr Bug 115227\nDate: 11 Feb 2002 17:45:04 GMT\nOrganiza"..., size=884, obj=0x92af400) at /home/timeless/mozilla/mailnews/mime/src/mimeobj.cpp:255
#11 0x2a8a813b in mime_display_stream_write (stream=0x8f8b940,
buf=0x8a2bc00 "Path: secnews.netscape.com!gateway\nFrom: attinasi@netscape.com (Marc Attinasi)\nNewsgroups: netscape.public.mozilla.reviewers\nSubject: Re: Pleas
e r/sr Bug 115227\nDate: 11 Feb 2002 17:45:04 GMT\nOrganiza"..., size=884) at /home/timeless/mozilla/mailnews/mime/src/mimemoz2.cpp:860
#12 0x2a8b5ce5 in nsStreamConverter::OnDataAvailable (this=0x90a6d00, request=0x92c1810, ctxt=0x91c1500, aIStream=0x8555b00, sourceOffset=0, aLength=884)
at /home/timeless/mozilla/mailnews/mime/src/nsStreamConverter.cpp:902
#13 0x28c99331 in nsDocumentOpenInfo::OnDataAvailable (this=0x8e03be0, request=0x92c1810, aCtxt=0x91c1500, inStr=0x8555b00, sourceOffset=0, count=884)
at /home/timeless/mozilla/uriloader/base/nsURILoader.cpp:241
#14 0x28970e07 in nsStreamListenerTee::OnDataAvailable (this=0x91358e0, request=0x92c1810, context=0x91c1500, input=0x8eb4310, offset=0, count=884)
at /home/timeless/mozilla/netwerk/base/src/nsStreamListenerTee.cpp:56
#15 0x2ab64bea in nsNNTPProtocol::DisplayArticle (this=0x92c1800, inputStream=0x937d510, length=956)
at /home/timeless/mozilla/mailnews/news/src/nsNNTPProtocol.cpp:2553
#16 0x2ab651da in nsNNTPProtocol::ReadArticle (this=0x92c1800, inputStream=0x937d510, length=956)
at /home/timeless/mozilla/mailnews/news/src/nsNNTPProtocol.cpp:2628
#17 0x2ab703a0 in nsNNTPProtocol::ProcessProtocolState (this=0x92c1800, url=0x88df004, inputStream=0x937d510, sourceOffset=906, length=956)
at /home/timeless/mozilla/mailnews/news/src/nsNNTPProtocol.cpp:5184
#18 0x2a8245c9 in nsMsgProtocol::OnDataAvailable (this=0x92c180c, request=0x937c800, ctxt=0x88df000, inStr=0x937d510, sourceOffset=906, count=956)
at /home/timeless/mozilla/mailnews/base/util/nsMsgProtocol.cpp:264
#19 0x2896f85d in nsOnDataAvailableEvent::HandleEvent (this=0x8aaebc0) at /home/timeless/mozilla/netwerk/base/src/nsStreamListenerProxy.cpp:193
#20 0x2895a408 in nsARequestObserverEvent::HandlePLEvent (plev=0x8aaebc0) at /home/timeless/mozilla/netwerk/base/src/nsRequestObserverProxy.cpp:115
(gdb) l
297 sig->crypto_closure = (((MimeMultipartSignedClass *) obj->clazz)
298 ->crypto_init) (obj);
299 if (!sig->crypto_closure)
300 {
301 status = PR_GetError();
302 PR_ASSERT(status < 0);
303 if (status >= 0) status = -1;
304 return status;
305 }
306 }
(gdb) p status
$1 = 0
this is deep in signing land. given that smime didn't load I don't think I should have gotten here.
| Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1alpha
Comment 1•23 years ago
|
||
The reason why we crash is that currently S/Mime depends on three parts to work
correctly:
- mime parser extensions
- S/Mime component
- security component
Each of them resides in a separate component, and just assumes the other
components will be around, too. For example, the presence of the S/Mime types in
the mime component is determined at compile time.
I therefore think this is a duplicate.
*** This bug has been marked as a duplicate of 129042 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
vrfy dupe, thanks for deciding to work on this
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•