Crash on 0.8.0 (unloaded projects)

Issue #20 resolved
Rafael Cossovan created an issue

Hey, me again...

I update to your new version yesterday, now every time I try to open the "Events solution" window it crash's.

Seems the problem occur only when you have unloaded projects on your solution. Otherwise, works fine.

Environment: Visual Studio 2013 Update 3 Windows 8.1 Update 1 x64

I'm attaching my crash log for you analyze.

PS: I forgot to mention, but I already see before a strange behavior when you unload projects, some path on environment variables changes.

Comments (7)

  1. Denis Kuzmin repo owner

    Thanks for report

    I found place where is crashed from your log:

    SP       IP       Function
        00000000 00000001 UNKNOWN!EnvDTE.Project.get_FullName()+0x2
        0071E524 06598FDF UNKNOWN!net.r_eg.vsSBE.Environment+<get_DTEProjects>d__0.MoveNext()+0x9f
        0071E550 06598E2B UNKNOWN!net.r_eg.vsSBE.Environment.get_DTEProjectsList()+0x7b
        0071E57C 06598074 UNKNOWN!net.r_eg.vsSBE.UI.EventsFrm._executionOrder(Boolean)+0x4c
        0071E60C 065973A4 UNKNOWN!net.r_eg.vsSBE.UI.EventsFrm.EventsFrm_Load(System.Object, System.EventArgs)+0x2e4
        0071E640 67910AE9 System_Windows_Forms_ni!System.Windows.Forms.Form.OnLoad(System.EventArgs)+0x1a5
    

    we work with upper layer DTEProjectsList <- DTEProjects in all UI components, and I missed catching for this layer (that's why I like the throws operator in Java!) so, you lucky again :) I'll fix soon

    About problem: problem can be with EnvDTE.Project But I can't reproduce this. Please more detail what you do, step by step.

    please note: currently I can't test this on VS2013 - see #10

    stay in touch for quickly resolve this problem

  2. Rafael Cossovan reporter

    Steps to reproduce the problem:

    1. Create a project "Win32 Console".
    2. Inside that solution, create a new project "Win32 Console".
    3. Unload some project.
    4. Now, try Builds -> Event Solution

    IMG_27092014_103754.png

    About testing, I have no idea how you can proceed. (maybe a virtual machine?) If you like, you can send me some test builds.

  3. Log in to comment