Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 196531 - A lot of assertions "SUID: TYPEDEF..." on boost project
A lot of assertions "SUID: TYPEDEF..." on boost project
Product: cnd
Classification: Unclassified
Component: Code Model
PC Solaris
: P1 (vote)
: 7.0
Assigned To: nnnnnk
Depends on:
  Show dependency treegraph
Reported: 2011-03-10 08:49 UTC by Alexander Simon
Modified: 2011-03-18 12:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2011-03-10 08:49:51 UTC
For example assertion for file:

java.lang.AssertionError: SUID: TYPEDEF result_type[3035-3093][acosh.hpp 91:13-91:71], TYPEDEF result_type[3035-3093][acosh.hpp 91:13-91:71]
	at org.netbeans.modules.cnd.modelimpl.uid.UIDObjectFactory.writeUID(
	at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.write(
	at org.netbeans.modules.cnd.modelimpl.repository.PersistentUtils.writeType(
	at org.netbeans.modules.cnd.modelimpl.csm.TypeBasedSpecializationParameterImpl.write(
	at org.netbeans.modules.cnd.modelimpl.repository.PersistentUtils.writeSpecializationParameters(
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation.write(
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Class.write(
	at org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.write(
	at org.netbeans.modules.cnd.repository.sfs.BufferedRWAccess.write(
	at org.netbeans.modules.cnd.repository.sfs.IndexedStorageFile.write(
	at org.netbeans.modules.cnd.repository.sfs.DoubleFileStorage.write(
	at org.netbeans.modules.cnd.repository.disk.UnitImpl.putPhysically(
	at org.netbeans.modules.cnd.repository.disk.DiskRepositoryManager.write(
	at org.netbeans.modules.cnd.repository.queue.RepositoryThreadManager$
	at org.openide.util.RequestProcessor$
	at org.openide.util.RequestProcessor$
Comment 1 Alexander Simon 2011-03-10 08:51:53 UTC
Code fragment that produces assertion:
        template<typename T, typename Policy>
        inline typename tools::promote_args<T>::type acosh(T x, const Policy&)
            typedef typename tools::promote_args<T>::type result_type;
            typedef typename policies::evaluation<result_type, Policy>::type value_type;
            typedef typename policies::normalise<
               policies::assert_undefined<> >::type forwarding_policy;
           return policies::checked_narrowing_cast<result_type, forwarding_policy>(
              detail::acosh_imp(static_cast<value_type>(x), forwarding_policy()),
Assertion for line:
typedef typename tools::promote_args<T>::type result_type;
Comment 2 Vladimir Voskresensky 2011-03-10 11:19:43 UTC
Please, evaluate how it affect release version (i.e. is there reparse on project restart, is find usages works first time and doesn't work on next, ...)
Comment 3 Alexander Simon 2011-03-10 19:38:49 UTC
Release version reparses project on every IDE starting if user have problematic file opened in editor.
Comment 4 Leonid Lenyashin 2011-03-14 14:09:47 UTC
Alexander P., please evaluate against Show Stopper status
Comment 5 nnnnnk 2011-03-16 16:55:27 UTC
fixed in cnd-main
Comment 6 Alexander Pepin 2011-03-16 17:13:27 UTC
Yes, it's a showstopper. Please review and verify (QA) the fix.
Comment 7 Vladimir Voskresensky 2011-03-16 19:44:17 UTC
fix is reviewed. It's correct and safe
Comment 8 soldatov 2011-03-17 11:16:28 UTC
Verified in NetBeans IDE Dev (Build cnd-main-5549-on-110316)
Comment 9 Vladimir Voskresensky 2011-03-17 20:28:49 UTC
Comment 10 soldatov 2011-03-18 12:38:57 UTC
Verified in NetBeans IDE 7.0 RC1 (Build 201103180000)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo