This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 151955 - java.lang.StackOverflowError in boost 1.36
Summary: java.lang.StackOverflowError in boost 1.36
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
: 152485 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-31 11:06 UTC by soldatov
Modified: 2009-02-19 20:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full stack (100.11 KB, text/plain)
2008-11-13 11:35 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2008-10-31 11:06:24 UTC
Inaccuracy tests
Red Hat 5.2
Boost 1.36

Such exception appears:
      java.lang.StackOverflowError
	at org.netbeans.modules.cnd.repository.disk.DiskRepositoryManager.get(DiskRepositoryManager.java:176)
	at org.netbeans.modules.cnd.repository.impl.DelegateRepository.get(DelegateRepository.java:83)
	at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:108)
	at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:83)
	at org.netbeans.modules.cnd.modelimpl.uid.KeyBasedUID.getObject(KeyBasedUID.java:68)
	at org.netbeans.modules.cnd.modelimpl.uid.KeyBasedUID.getObject(KeyBasedUID.java:59)
	at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoCsmObject(UIDCsmConverter.java:102)
	at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.convertToObject(LazyCsmCollection.java:72)
	at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.access$400(LazyCsmCollection.java:63)
	at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.getNextNonNull(LazyCsmCollection.java:265)
	at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.<init>(LazyCsmCollection.java:251)
	at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.<init>(LazyCsmCollection.java:239)
	at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.iterator(LazyCsmCollection.java:104)
	at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToDeclarationsFiltered(UIDCsmConverter.java:136)
	at org.netbeans.modules.cnd.modelimpl.csm.NamespaceDefinitionImpl.getDeclarations(NamespaceDefinitionImpl.java:123)
	at org.netbeans.modules.cnd.modelimpl.impl.services.SelectImpl.getDeclarations(SelectImpl.java:206)
	at org.netbeans.modules.cnd.api.model.services.CsmSelect$Default.getDeclarations(CsmSelect.java:175)
	at org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.findContext(Resolver3.java:243)
	at org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.findContext(Resolver3.java:243)
	at org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.findContext(Resolver3.java:114)
	at org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.getContainingNamespace(Resolver3.java:99)
	at org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.resolve(Resolver3.java:567)
	at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.renderClassifier(TypeImpl.java:427)
	at org.netbeans.modules.cnd.modelimpl.csm.TypeImpl.getClassifier(TypeImpl.java:393)
	at org.netbeans.modules.cnd.modelimpl.csm.NestedType.getClassifier(NestedType.java:88)
	at org.netbeans.modules.cnd.modelimpl.csm.NestedType.getClassifier(NestedType.java:88)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Type.getClassifier(Instantiation.java:876)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Inheritance.getClassifier(Instantiation.java:374)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Inheritance.getClassifier(Instantiation.java:367)
	at org.netbeans.modules.cnd.api.model.services.CsmInheritanceUtilities.getCsmClass(CsmInheritanceUtilities.java:391)
	at org.netbeans.modules.cnd.modelimpl.impl.services.MemberResolverImpl.getSuperClasses(MemberResolverImpl.java:106)
	at org.netbeans.modules.cnd.modelimpl.impl.services.MemberResolverImpl.getDeclarations(MemberResolverImpl.java:77)
	at org.netbeans.modules.cnd.modelimpl.impl.services.MemberResolverImpl.getNestedClassifiers(MemberResolverImpl.java:116)
	at org.netbeans.modules.cnd.modelimpl.csm.NestedType.getNestedClassifier(NestedType.java:180)
	at org.netbeans.modules.cnd.modelimpl.csm.NestedType.getClassifier(NestedType.java:94)
Comment 1 soldatov 2008-10-31 11:14:51 UTC
link to full exception:
file:///net/129.159.126.195/export/inaccuracy_results/081031_010050/results/testrun_081031-010121/testbag_1/htmlresults/suites/TEST-errors.TestErrorHighlighting.html
Comment 2 Vladimir Kvashin 2008-11-12 19:21:10 UTC
Valery, 
the file you mentioned (the onw with full stack) does not exist.
Does the problem repeat? If yes, could you attach the stack to the issue?
Comment 3 soldatov 2008-11-13 07:33:01 UTC
Correct link:
file:///net/vvv-qa/export/inaccuracy_results/rubin/081031_010050/results/testrun_081031-010121/testbag_1/htmlresults/suites/TEST-errors.TestErrorHighlighting.html
Comment 4 soldatov 2008-11-13 07:38:37 UTC
Yes, It is stable exception.
Comment 5 Vladimir Kvashin 2008-11-13 11:35:48 UTC
Created attachment 73722 [details]
Full stack
Comment 6 nnnnnk 2008-11-27 10:59:03 UTC
StackOverflowError appears on parsing boost/python/detail/caller.hpp.
Comment 7 nnnnnk 2008-11-27 13:42:29 UTC
Simple use case:
class C {
};

template< typename T >
struct msvc_eti_base : T
{
    typedef T type;
};

struct size : msvc_eti_base<C>::type
{
};
Comment 8 nnnnnk 2008-11-28 14:04:49 UTC
*** Issue 152485 has been marked as a duplicate of this issue. ***
Comment 9 Quality Engineering 2008-11-30 17:12:55 UTC
Integrated into 'main-golden', will be available in build *200811301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/80eef5c8657c
User: Nick N. Krasilnikov <nnnnnk@netbeans.org>
Log: fixed IZ#151955: java.lang.StackOverflowError in boost 1.36