Exection in LLTextEditor::findHTML
Reported by balp | February 3rd, 2009 @ 06:05 AM | in 1.1.0 RC2
Two simular crashes, changed compile options in cmake/00-Common.cmake to make a really optimzed build.
0: ELF(do_elfio_glibc_backtrace()+0x130) [0x93babe0]
1: ELF(LLAppViewer::handleSyncViewerCrash()+0x10) [0x811c190]
2: ELF(exceptionTerminateHandler()+0x19) [0x93b9839]
3: /usr/lib/libstdc++.so.6 [0xb6157655]
4: /usr/lib/libstdc++.so.6 [0xb6157692]
5: /usr/lib/libstdc++.so.6 [0xb61577ca]
6: /usr/lib/libstdc++.so.6(_ZSt20__throw_out_of_rangePKc+0x7f) [0xb60ee89f]
7: ELF(LLTextEditor::findHTML(std::string const&, int*, int*) const+0x54a) [0x9788b3a]
8: ELF(LLTextEditor::appendStyledText(std::string const&, bool, bool, LLPointer<LLStyle> const*)+0x7c) [0x97910fc]
9: ELF(LLTextEditor::appendColoredText(std::string const&, bool, bool, LLColor4 const&, std::string const&)+0xa6) [0x9792226]
10: ELF(LLFloaterIMPanel::chatFromLogFile(LLLogChat::ELogLineType, std::string, void*)+0xa7) [0x881f9d7]
11: ELF(LLLogChat::loadHistory(std::string, void (*)(LLLogChat::ELogLineType, std::string, void*), void*)+0x1ce) [0x88eb03e]
12: ELF(LLFloaterIMPanel::init(std::string const&)+0x8e2) [0x8826732]
13: ELF(LLFloaterIMPanel::LLFloaterIMPanel(std::string const&, LLUUID const&, LLUUID const&, EInstantMessage)+0x22d) [0x882753d]
14: ELF(LLIMMgr::createFloater(LLUUID const&, LLUUID const&, std::string const&, EInstantMessage, int)+0xa2) [0x8831be2]
15: ELF(LLIMMgr::addMessage(LLUUID const&, LLUUID const&, std::string const&, std::string const&, std::string const&, EInstantMessage, unsigned int, LLUUID const&, LLVector3 const&, bool)+0x635) [0x8832c75]
16: ELF(LLViewerChatterBoxInvitation::post(LLPointer<LLHTTPNode::Response>, LLSD const&, LLSD const&) const+0x81c) [0x883c6bc]
17: ELF(LLMessageSystem::dispatch(std::string const&, LLSD const&, LLPointer<LLHTTPNode::Response>)+0x135) [0x9593c85]
18: ELF(LLMessageSystem::dispatch(std::string const&, LLSD const&)+0x41) [0x95941b1]
19: ELF((anonymous namespace)::LLEventPollResponder::result(LLSD const&)+0x72e) [0x82d66de]
20: ELF(LLCurl::Responder::completedRaw(unsigned int, std::string const&, LLChannelDescriptors const&, boost::shared_ptr<LLBufferArray> const&)+0x173) [0x95242f3]
21: ELF((anonymous namespace)::LLEventPollResponder::completedRaw(unsigned int, std::string const&, LLChannelDescriptors const&, boost::shared_ptr<LLBufferArray> const&)+0x46) [0x82d4106]
22: ELF((anonymous namespace)::LLHTTPClientURLAdaptor::complete(LLChannelDescriptors const&, boost::shared_ptr<LLBufferArray> const&)+0x3c) [0x9537c4c]
23: ELF(LLURLRequestComplete::process_impl(LLChannelDescriptors const&, boost::shared_ptr<LLBufferArray>&, bool&, LLSD&, LLPumpIO*)+0x1f) [0x956fcdf]
24: ELF(LLPumpIO::processChain(LLPumpIO::LLChainInfo&)+0x58) [0x955b578]
25: ELF(LLPumpIO::callback()+0xe5) [0x955c835]
26: ELF(LLAppViewer::mainLoop()+0x3b9) [0x8138949]
27: ELF(main+0x1b8) [0x93baa48]
28: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb5f20685]
29: bin/do-not-directly-run-imprudence-bin [0x80c8d71]
Comments and changes to this ticket
-
Jacek Antonelli February 4th, 2009 @ 10:01 PM
- State changed from new to open
- Milestone set to 1.1.0 RC2
Hi balp, could you have a look at this and see if you can find an IM string that always causes it? http://imprudenceviewer.org/foru...
(Also, I'd appreciate it if bug reports would go in that forum instead of here on Lighthouse, so more people can see and comment on it. It's okay to post here if you're providing a patch or going to work on this yourself, though.)
-
balp February 5th, 2009 @ 04:03 PM
Ok, dump in both in the future, I'm pretty sure it's the same as codie reported as well. Added a try/catch for out_of_range around the relevant parts in my code. But not see it triggered yet. No clue on what make the code bug out yet, The bug may as well be in how it's called. LLTextEditor, pretty much assume you know what you do with the pointers.
-
balp February 6th, 2009 @ 08:39 AM
The work around make it not crash. But need more info to make the out_of_range not trigger...
-
balp February 6th, 2009 @ 12:55 PM
- no changes were found...
-
balp February 6th, 2009 @ 11:54 PM
I trapped the slurl... 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/66/179/21" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/63/183/21" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Caesars%20Island2/14/60/23" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/63/183/22" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/62/181/22"
-
balp February 6th, 2009 @ 11:55 PM
And readable...
2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/66/179/21" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/63/183/21" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Caesars%20Island2/14/60/23" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/63/183/22" 2009-02-06T23:52:13Z WARNING: findHTML: got std::out_of_range exception "http://slurl.com/secondlife/Aloha%20Ocean%20Ridge/62/181/22"
-
Armin Weatherwax February 7th, 2009 @ 01:42 PM
uh, i just remembered something: when i made the middle mouse paste patch i was some time without success, because i focused on llui/lltexteditor ... but some relevant parts are done in newview/llviewertexteditor
-
balp February 8th, 2009 @ 04:09 PM
- no changes were found...
-
balp February 8th, 2009 @ 04:09 PM
- no changes were found...
-
balp February 8th, 2009 @ 04:09 PM
- no changes were found...
-
balp February 8th, 2009 @ 04:10 PM
- no changes were found...
-
McCabe Maxsted February 14th, 2009 @ 09:01 AM
- State changed from open to done
- Assigned user set to McCabe Maxsted
Applied! Thanks so much balp!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Open source metaverse (Second Life) viewer with an emphasis on usability and bold changes.