Issue 108428 - vcl: [STL] error: accessing erased iterator in X11SalGraphics::drawPolyPolygon
Summary: vcl: [STL] error: accessing erased iterator in X11SalGraphics::drawPolyPolygon
Status: CLOSED DUPLICATE of issue 107271
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: DEV300m69
Hardware: Unknown Unix, all
: P2 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: thb
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 16:08 UTC by thb
Modified: 2010-01-18 17:56 UTC (History)
4 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
a fix (4.45 KB, patch)
2010-01-18 16:09 UTC, thb
no flags Details | Diff
well duh. I should actually save in $EDITOR before attaching... (2.57 KB, patch)
2010-01-18 16:15 UTC, thb
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description thb 2010-01-18 16:08:16 UTC
See $subject - a stlport-debug enabled build of m69 crashes right away. Code is
using an iterator that has just been erased from the multiset. Lame patch to
follow, will commit this into thbfixes10 to get a runnable office in the first
place. ;)
Comment 1 thb 2010-01-18 16:09:03 UTC
Created attachment 67271 [details]
a fix
Comment 2 thb 2010-01-18 16:10:18 UTC
@hdu, all: is HH no longer doing dbgutil-enable builds?
Comment 3 thb 2010-01-18 16:15:13 UTC
Created attachment 67272 [details]
well duh. I should actually save in $EDITOR before attaching...
Comment 4 philipp.lohmann 2010-01-18 16:19:37 UTC
duplicate to issue 107271

*** This issue has been marked as a duplicate of 107271 ***
Comment 5 thb 2010-01-18 17:12:57 UTC
ugh. Nov. 27 - but thx for finding the dupe, I somehow always search for
non-fixed bugs. sorry for that.

But again, this crashes right away in a dbgutil-enabled build (thusly employing
stlport-debug), making all dev builds since at least m65 basically useless - so
nobody is using that mode anymore?

Other than that, the patch from cmc seems to miss hunk #3 from my patch, where
the code is equally fatal.
Comment 6 philipp.lohmann 2010-01-18 17:30:55 UTC
"That mode" crashes only if a) you use an XRender based system b) a shape gets
drawn that triggers the bug and c) you use the dbg util build.

So there's lots of opportunities for this bug not to be seen here.

@hdu: please have a look at the additional "third chunk" that would come in as
addition to cmc's patch. Seems OK to me, so could you add that after vcl108 has
been integrated ?
Comment 7 thb 2010-01-18 17:55:50 UTC
nope. disregard what I just said. last hunk is superfluous, loop is exiting in
that path. closing.

*** This issue has been marked as a duplicate of 107271 ***
Comment 8 thb 2010-01-18 17:56:24 UTC
.