Exection in LLTextEditor::findHTML
-
Jacek Antonelli
- 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
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
And you can put me sort of responsible for fixing
-
balp
The work around make it not crash. But need more info to make the out_of_range not trigger...
-
balp
Patch to stop the crash. No solution to why it dies thou...
-
balp
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
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
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
Problem solved, paches here and on tr81 branch in github.
-
McCabe Maxsted
- 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.
