1. #1

    Question Shell crash error in application

    Hello,


    We are looking for suggestions to possibly fix an issue our users are reporting.

    They randomly get error :- "Application Name".Client.Shell has stopped responding.

    Event viewer shows the following :-

    Faulting application name: application.exe, version: X.X.X.X, time stamp: 0x5515edb6
    Faulting module name: ntdll.dll, version: 6.3.9600.18194, time stamp: 0x569515fc
    Exception code: 0xc0000374
    Fault offset: 0x000e6054
    Faulting process id: 0x159dc
    Faulting application start time: 0x01d1a4a4b6ebc311
    Faulting application path: D:\Program Files (x86)\Folder name\Application Name\application.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 854f9a97-1099-11e6-80dc-44a842249993



    We see this coming up on Windows 2012 servers more often than Windows 2008.

    We have tried to disable UAC/DEP/install desktop experience but it still occurs. We have also tried re-installing the app from fresh.

    Happens in different modules but all the different modules call the same DLL when the crash happens

    We also have a case open with Microsoft and they initially responded with their analysis :- They informed us that a component named Data Dynamics ActiveBar 2.0 Control which is used by the application is causing this problem. In this specific scenario, it is used in the DLL where we see the crash happen. ActiveBar component is trying to free up some memory in improper way and is causing this crash. It seems the conclusion was :- that Active bar 2 control is trying to free a memory and that encounters heap corruption. VB6 runtime internally manages memory and frees it automatically when unused. So, its the internal VB6 operation which is causing issue

    We have tried to comment out the method "we think" is causing the crash, in as many places as we could but it still crashes.The logs show the crash happening at a different place now.

    Looking for suggestions to help fix this. We can provide more details if needed.
    Searched in the forums and saw this. Is this something worth trying and could this be related? Random crash in NTDLL.dll with PlaneProjection animation

    While searching I came across this forum and a thread :-
    Stackhash APPCRASH issue, Windows 7 SP1

    It seems @niemiro was able to help fix this. I followed the instructions and downloaded a dump. It seems the last module before the crash is Actbar2.ocx , module version 2.0.1.1109, Module path :- C:\\Windows\SysWow64\Actbar2.ocx. This seems consistent with what microsoft stated but not sure if this is the cause of the crash. (Note error is random and comes up when following the same process repeatedly about 15-20 times - this is also inconsistent).

    Can someone please help with providing some directions/assistance with this?

    Thank you!


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2
    writhziden's Avatar
    Join Date
    May 2012
    Location
    Colorado
    Posts
    2,328
    • specs System Specs
      • Manufacturer:
        Sony
      • Model Number:
        VPCF232FX/B
      • Motherboard:
        Sony Corporation VAIO
      • CPU:
      • Memory:
        8.00 GB Crucial CT2KIT51264BF1339 DDR3 1333
      • Graphics:
      • Sound Card:
        Realtek High Definition Audio/nVidia High Definition Audio
      • Hard Drives:
        TOSHIBA MK5061GSY 500 GB (465 GB actual)
      • Case:
        Laptop black matte case with backlit keyboard
      • Cooling:
        Air cooling via fan and heat exchanger heatsink
      • Display:
        Laptop display
      • Operating System:
        Windows 7 Home Premium 64 Bit

    Re: Shell crash error in application

    You say the error is inconsistent and happens after some 15-20 times? My first inclination would be some form of race condition that causes garbage collection to fail because the memory is still in use somewhere else. That would be consistent with the inconsistencies you are seeing with the errors. In that case, check for module/memory access and make sure it is thread safe.

    A memory leak through Active bar 2 is another possibility. Reference: Active Bar 2 (Actbar2.ocx) leaks memory - Our ComponentOne - Our ComponentOne

    The other possibility is a set of variables that are created but never assigned to, resulting in random behavior when the memory is freed because sometimes the values are well defined and other times they are not. That scenario may be more difficult to track down, especially if it is occurring within the Active bar 2 extension.

    You could also try different display drivers per the first link you provided. Are you suspecting some conflict with the UI and display adapter drivers?


    I am curious about the generic naming you used for the application.exe file path. Is the software that is ceasing to respond proprietary?
    Last edited by writhziden; 05-26-2017 at 08:23 PM. Reason: Specify that I meant vivek mishra's first link, not my first link

  3. #3

    Re: Shell crash error in application

    Quote Originally Posted by writhziden View Post
    You say the error is inconsistent and happens after some 15-20 times? My first inclination would be some form of race condition that causes garbage collection to fail because the memory is still in use somewhere else. That would be consistent with the inconsistencies you are seeing with the errors. In that case, check for module/memory access and make sure it is thread safe.
    A memory leak through Active bar 2 is another possibility. Reference: Active Bar 2 (Actbar2.ocx) leaks memory - Our ComponentOne - Our ComponentOne

    The other possibility is a set of variables that are created but never assigned to, resulting in random behavior when the memory is freed because sometimes the values are well defined and other times they are not. That scenario may be more difficult to track down, especially if it is occurring within the Active bar 2 extension.

    You could also try different display drivers per the first link you provided. Are you suspecting some conflict with the UI and display adapter drivers?



    Yes it is proprietary. (I tried to quote but may have got it wrong. I am not used to forums a lot)

    the strange thing is its not re-creatable on every server. In some instances we got the application installed locally (win 7) and the users stop getting the errors.
    We commented out Tbr.RecalcLayout since that seemed to be where it was crashing but it started crashing at other places. some users are more affected than others even though they connect to the same server(some dont get it at all). We have rebuilt user profiles, re-installed the app, toggled with permissions etc. but no use.

    Its more of an issue on Windows 2012 R2 (only one instance discovered recently of the server being 2008 R2 but that is also not confirmed since we found that desktop experience is not enabled and that does cause some issues + on that server we are getting the crash every time). In a lot of instances we have been notified that the issues started after upgrading to 2012 R2 - which gives more credibility to our observation.

    I will look at the link to see if that helps.

    Thanks for your reply and assistance. If you can think of something else or any further assistance would be immensely appreciated !!
    Last edited by jcgriff2; 05-28-2017 at 08:00 PM. Reason: fixed QUOTE

  4. #4
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    15,839
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    Re: Shell crash error in application

    Have you tried looking for a rogue 3rd party shell using Nirsoft ShellExView?

    ShellExView - Shell Extension Manager For Windows

    ShellMenuView may also be helpful if the context menu (RIGHT-click) is involved - ShellMenuView - Disable/enable context menu items of Explorer

    999/1000 of shell crashes are caused by 3rd party shells - not Microsoft shells.

    Regards. . .

    jcgriff2
    writhziden says thanks for this.

    BSOD Posting Instructions - Windows 10, 8.1, 8, 7 & Vista ` ` `Carrona Driver Reference Table (DRT)
    https://www.sysnative.com/
    Sysnative Hex-Decimal-UNIX Date Conversion

    Has Sysnative Forums helped you?
    Please consider donating to help support the forum.
    Thank You!

    Microsoft MVP 2009-2015

Similar Threads

  1. Replies: 2
    Last Post: 07-23-2015, 10:06 AM
  2. Fix for MSE MsMpEng.exe Application Error 0x5a4d684d on Windows XP
    By Corrine in forum General Help & Information
    Replies: 1
    Last Post: 04-18-2014, 01:57 PM
  3. Application Error - Cannot repair member file
    By oneutd in forum Windows Update
    Replies: 7
    Last Post: 03-26-2014, 02:48 PM
  4. [SOLVED] application error on music,video,bing,etc
    By alduin in forum Windows 8 | Windows RT
    Replies: 40
    Last Post: 02-01-2014, 12:57 AM
  5. Classic Shell 3.6.3
    By JMH in forum News You Can Use
    Replies: 0
    Last Post: 12-15-2012, 09:03 PM

Log in

Log in