| Summary: | Tigerstripe hangs on saving project with new dependency module | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] Tigerstripe | Reporter: | Maria Kolchinskaja <mshulgina> | ||||||
| Component: | UI | Assignee: | Project Inbox <tigerstripe.ui-inbox> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | nmehrega, valentin, yuri | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 0.5M0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Maria Kolchinskaja
For some reason, I can't reproduce this on my machine. Can someone else try please? Hi Navid, I reproduced this bug. Here are my steps: 1. Create TS project p1 2. Create TS project p2 3. Add p2 to references of p1 4. Export p1 as TS module 5. Copy created module jar file from p1 directory to p2 directory 6. Add copied jar to dependencies of p2. 7. Save it At first glance - this deadlock, which occurs in org.eclipse.tigerstripe.workbench.internal.core.model.ArtifactManager.refresh(boolean forceReload, IProgressMonitor monitor) at line 917: writeLock.lock(); Created attachment 183733 [details]
Patch_1
Fixed
Patch applied. I still get a deadlock when I follow the instruction in comment#2. I've verified that I have the latest code and all the changes in the attached patch is in my workspace. After following the instructions in comment#2, the workbench seems frozen for a while and then a stack overflow occurs! This defect can be pushed to I27 if there is no cycle to resolve it in this iteration. Created attachment 184160 [details]
Patch_2
I fixed this problem.
I applied second patch from Valentin. Verified. Thanks! |