Closed Bug 1004658 Opened 11 years ago Closed 11 years ago

Permanent orange: TEST-UNEXPECTED-FAIL | Disconnect Error: Application unexpectedly closed (just after attachment/test-attachment.js or composition/test-attachment.js | crash [@nsACString_internal::SetCapacity]

Categories

(Core :: Networking, defect)

defect
Not set
blocker

Tracking

()

RESOLVED FIXED
mozilla32
Tracking Status
firefox30 --- unaffected
firefox31 --- unaffected
firefox32 --- fixed
firefox-esr24 --- unaffected

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Keywords: intermittent-failure, regression, Whiteboard: [being fixed in bug 972593])

Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b227a707080f&tochange=35f9431188ca Failure: TEST-START | /builds/slave/test/build/mozmill/attachment/test-attachment.js | test_attachment_name_click Timeout: bridge.execFunction("6c1e161c-d15a-11e3-9dc9-067fa42261e0", bridge.registry["{02677d12-f9f2-4d67-8b38-975aa9d98f21}"]["runTestDirectory"], ["/builds/slave/test/build/mozmill/attachment"]) TEST-UNEXPECTED-FAIL | Disconnect Error: Application unexpectedly closed TEST-START | /builds/slave/test/build/mozmill/composition/test-attachment.js | test_open_attachment Step Pass: {"function": "Controller.keypress()"} ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "<error>'<error>' when calling method: [nsIContentHandler::handleContent]" nsresult: "0x805d0001 (<unknown>)" location: "JS frame :: resource://mozmill/modules/utils.js :: sleep :: line 402" data: no] ************************************************************ mozcrash INFO | Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/thunderbird/tinderbox-builds/comm-central-linux/1398962736/thunderbird-32.0a1.en-US.linux-i686.crashreporter-symbols.zip Timeout: bridge.execFunction("127c9858-d15b-11e3-b917-067fa42261e0", bridge.registry["{1e9afd45-44db-4724-8ff1-5c74164c7558}"]["runTestDirectory"], ["/builds/slave/test/build/mozmill/composition"]) TEST-UNEXPECTED-FAIL | Disconnect Error: Application unexpectedly closed
Reduced regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b227a707080f&tochange=51bc58066ac9 Crash stack: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 XUL 0x000000010151db79 nsACString_internal::SetCapacity(unsigned int, mozilla::fallible_t const&) + 185 (nsTSubstring.cpp:608) 1 XUL 0x00000001015136d7 CopyUTF16toUTF8(nsAString_internal const&, nsACString_internal&) + 23 (nsTSubstring.cpp:596) 2 XUL 0x000000010169f38d nsStreamConverterService::FindConverter(char const*, nsTArray<nsCString>**) + 1037 (nsTHashtable.h:134) 3 XUL 0x00000001016a07f4 nsStreamConverterService::AsyncConvertData(char const*, char const*, nsIStreamListener*, nsISupports*, nsIStreamListener**) + 708 (nsStreamConverterService.cpp:499) 4 XUL 0x0000000101d1a563 nsDocumentOpenInfo::ConvertData(nsIRequest*, nsIURIContentListener*, nsACString_internal const&, nsACString_internal const&) + 1075 (nsURILoader.cpp:643) 5 XUL 0x0000000101d19401 nsDocumentOpenInfo::DispatchContent(nsIRequest*, nsISupports*) + 2913 (nsURILoader.cpp:487) 6 XUL 0x0000000101d186ad nsDocumentOpenInfo::OnStartRequest(nsIRequest*, nsISupports*) + 333 (nsURILoader.cpp:262) 7 XUL 0x0000000103cbcbf2 nsStreamConverter::FirePendingStartRequest() + 50 (nsStreamConverter.cpp:1151) 8 XUL 0x0000000103ca471e mime_output_fn(char const*, int, void*) + 62 (mimemoz2.cpp:931) 9 XUL 0x0000000103c9dbc7 MimeOptions_write(MimeDisplayOptions*, nsCString&, char const*, int, bool) + 151 (mimei.cpp:1756) 10 XUL 0x0000000103c9b531 MimeObject_write(MimeObject*, char const*, int, bool) + 273 (mimei.cpp:1791) 11 XUL 0x0000000103c9ead4 MimeLeaf_parse_buffer(char const*, int, MimeObject*) + 148 (mimeleaf.cpp:158) 12 XUL 0x0000000103cac96c MimeMultipart_parse_child_line(MimeObject*, char const*, int, bool) + 380 (mimemult.cpp:658) 13 XUL 0x0000000103cab834 MimeMultipart_parse_line(char const*, int, MimeObject*) + 1524 (mimemult.cpp:298) 14 XUL 0x0000000103c89510 mime_LineBuffer + 160 (mimebuf.cpp:238) 15 XUL 0x0000000103cad38b MimeObject_parse_buffer(char const*, int, MimeObject*) + 123 (mimeobj.cpp:247) 16 XUL 0x0000000103ca8b23 MimeMessage_parse_line(char const*, int, MimeObject*) + 419 (mimemsg.cpp:204) 17 XUL 0x0000000103c89510 mime_LineBuffer + 160 (mimebuf.cpp:238) 18 XUL 0x0000000103cad38b MimeObject_parse_buffer(char const*, int, MimeObject*) + 123 (mimeobj.cpp:247) 19 XUL 0x0000000103ca32dc mime_display_stream_write + 444 (mimemoz2.cpp:987) 20 XUL 0x0000000103cbc2e5 nsStreamConverter::OnDataAvailable(nsIRequest*, nsISupports*, nsIInputStream*, unsigned long long, unsigned int) + 549 (nsStreamConverter.cpp:940) 21 XUL 0x0000000103c3fe20 nsMailboxProtocol::ReadMessageResponse(nsIInputStream*, unsigned long long, unsigned int) + 80 (nsMailboxProtocol.cpp:599) 22 XUL 0x0000000103c4036e nsMailboxProtocol::ProcessProtocolState(nsIURI*, nsIInputStream*, unsigned long long, unsigned int) + 430 (nsMailboxProtocol.cpp:684) 23 XUL 0x0000000103a6d55f nsMsgProtocol::OnDataAvailable(nsIRequest*, nsISupports*, nsIInputStream*, unsigned long long, unsigned int) + 111 (nsMsgProtocol.cpp:353) 24 XUL 0x0000000101638291 nsInputStreamPump::OnStateTransfer() + 529 (nsInputStreamPump.cpp:592) 25 XUL 0x0000000101637d58 nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) + 232 (nsInputStreamPump.cpp:431) 26 XUL 0x000000010157e199 nsInputStreamReadyEvent::Run() + 41 (nsCOMPtr.h:512) 27 XUL 0x0000000101596cad nsThread::ProcessNextEvent(bool, bool*) + 1309 (nsThread.cpp:715)
I'm bisecting this overnight.
Depends on: 972593
The patch that landed on m-c looks very wrong: > + nsCString *curVertex = nullptr; > + CopyUTF16toUTF8(curVertexStr, *curVertex); There is no way that ends well...
Oops, yeah. I guess the |nullptr| should be |new nsCString()|?
Blocks: 972593
Component: Message Compose Window → Networking
No longer depends on: 972593
Keywords: regression
Product: Thunderbird → Core
Summary: Permanent orange: TEST-UNEXPECTED-FAIL | Disconnect Error: Application unexpectedly closed (just after attachment/test-attachment.js or composition/test-attachment.js → Permanent orange: TEST-UNEXPECTED-FAIL | Disconnect Error: Application unexpectedly closed (just after attachment/test-attachment.js or composition/test-attachment.js | crash [@nsACString_internal::SetCapacity]
No longer blocks: 972593
Depends on: 972593
Whiteboard: [being fixed in bug 972593]
Sorry for the trouble here, and thanks for the patch.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee: nobody → standard8
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.