http://bugzilla.novell.com/show_bug.cgi?id=517549 Summary: scim-skk-0.5.2-291.1: bad call to C++STL erase Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package scim-skk-0.5.2-291.1 For source code file scim-skk-0.5.2/src/scim_skk_dictionary.cpp around line 548 is the source code for (list<CandPair>::iterator it = cl.begin(); it != cl.end(); it++) { if (it->first == data.first) { cl.erase(it); } } My understanding is that any call to erase will invalidate any associated iterator. Suggest new code for (list<CandPair>::iterator it = cl.begin(); it != cl.end(); ){ if (it->first == data.first) { it = cl.erase(it); } else { ++it; } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.