Community
Participate
Working Groups
User A adds 5000 - 10000 children, user B refreshes session. This will cause StackOverflowError on Windows (default -Xss256k). Strange, but on Mac I cannot reproduce this, different implementation (?). Thread dump for user B: ... CDODeltaNotificationImpl(NotificationImpl).add(Notification) line: 1020 CDODeltaNotificationImpl(NotificationImpl).add(Notification) line: 1020 CDODeltaNotificationImpl(NotificationImpl).add(Notification) line: 1020 CDONotificationBuilder.add(CDODeltaNotificationImpl) line: 350 CDONotificationBuilder.visit(CDOAddFeatureDelta) line: 118 CDOAddFeatureDeltaImpl.accept(CDOFeatureDeltaVisitor) line: 55 CDONotificationBuilder.visit(CDOListFeatureDelta) line: 192 CDOListFeatureDeltaImpl.accept(CDOFeatureDeltaVisitor) line: 407 CDORevisionDeltaImpl.accept(CDOFeatureDeltaVisitor) line: 279 CDONotificationBuilder.buildNotification(InternalEObject, InternalCDORevision, CDORevisionDelta, Set<CDOObject>) line: 102 CDOTransactionImpl(CDOViewImpl).sendDeltaNotifications(List<CDORevisionDelta>, Set<CDOObject>, Map<CDOID,InternalCDORevision>) line: 1633 CDOTransactionImpl(CDOViewImpl).invalidate(long, List<CDORevisionKey>, List<CDOIDAndVersion>, Map<CDOID,InternalCDORevision>) line: 1479 CDONet4jSessionImpl(CDOSessionImpl).processRefreshSessionResult(RefreshSessionResult, CDOBranch, List<InternalCDOView>, Map<CDOBranch,Map<CDOID,InternalCDORevision>>) line: 568 CDONet4jSessionImpl(CDOSessionImpl).refresh(boolean) line: 529
Created attachment 178270 [details] Test scenario
Comment on attachment 178270 [details] Test scenario Marking patch
Created attachment 178790 [details] Test v2 - ready to be committed Please don't use abbreviations like "s" for session ;-)
The test you've provided is passing for me. Perhaps the issue has been fixed with another bugzilla? Closing as WORKSFORME. Please reopen if you can properly reproduce the issue. Please commit the test case (v2) anyway!
Note that I've ported the test to HEAD as weell. There it's passing, too.
Changing version to 3.0. Let's only use major versions to indicate the development stream. If more precise baseline info is needed let's insert a time stamp in a comment.
We are getting time to time this exception, whenever we attempt to port huge models to server. In attached test make iteration counter to the 10000 and setup default stack -Xss256k size, which is default for Sun java 1.5, 32 bit. With windows I can reproduce this error always. For example with MacOS JVM it is not reproducible (tail-return optimization comes to play(?))
Created attachment 189881 [details] Patch v3 - fix for notification builder avoiding recursion
Test v2 patch has been marked "ready to be committed" but it has never been obsoleted and I can not find a "Committed" comment. Applying it now is not possible anymore. What is the status of this patch?
Created attachment 190023 [details] Patch v4 - ready to be committed
(In reply to comment #9) > Test v2 patch has been marked "ready to be committed" but it has never been > obsoleted and I can not find a "Committed" comment. Applying it now is not > possible anymore. What is the status of this patch? Yes, "committed" comment is omitted but if I remember correctly, you have committed test case... Any way, now is newer patch committed
Committed to head, revision 7309
Moving all open problem reports to 4.0
Closing.