none
Application Error - Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385

    Question

  • Hi,

    we have one Visual C++ application and this application also using few external dlls. while exiting from application, getting following error. This is happened in Windows 7.

    Please help us to resolve this issue.

     

    Log Name:      Application

    Source:        Application Error

    Date:          28/07/2010 11:44:16 AM

    Event ID:      1000

    Task Category: (100)

    Level:         Error

    Keywords:      Classic

    User:          N/A

    Computer:      CRIWKS12.crillylaw.local

    Description:

    Faulting application name: WinTest.exe, version: 2.7.1.0, time stamp: 0x4b78d5b8

    Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdaae

    Exception code: 0x0eedfade

    Fault offset: 0x00009617

    Faulting process id: 0x10b8

    Faulting application start time: 0x01cb2df647dfd847

    Faulting application path: C:\Program Files\xxx\xxx\xxx\ WinTest.exe

    Faulting module path: C:\Windows\system32\KERNELBASE.dll

    Report Id: a17377fd-99e9-11df-8941-90fba60d7539

    Event Xml:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

      <System>

        <Provider Name="Application Error" />

        <EventID Qualifiers="0">1000</EventID>

        <Level>2</Level>

        <Task>100</Task>

        <Keywords>0x80000000000000</Keywords>

        <TimeCreated SystemTime="2010-07-28T01:44:16.000000000Z" />

        <EventRecordID>3773</EventRecordID>

        <Channel>Application</Channel>

        <Computer>CRIWKS12.crillylaw.local</Computer>

        <Security />

      </System>

      <EventData>

        <Data> WinTest.exe</Data>

        <Data>2.7.1.0</Data>

        <Data>4b78d5b8</Data>

        <Data>KERNELBASE.dll</Data>

        <Data>6.1.7600.16385</Data>

        <Data>4a5bdaae</Data>

        <Data>0eedfade</Data>

        <Data>00009617</Data>

        <Data>10b8</Data>

        <Data>01cb2df647dfd847</Data>

        <Data>C:\Program Files\xxx\xxx\xxx\ WinTest.exe</Data>

        <Data>C:\Windows\system32\KERNELBASE.dll</Data>

        <Data>a17377fd-99e9-11df-8941-90fba60d7539</Data>

      </EventData>

    </Event>

     

     

    PS. I apologise for not being able to provide the application's name.

     

    Wednesday, July 28, 2010 5:17 AM

Answers

  • Hi Remesh,

    Sorry for the delay.

    Based on my understanding, I guess this issue is caused by incompatible between 32bit application and 64bit Operating System. So I would suggest you try to set the platform of your application from x86 to Any CPU in Configuration Manager in Visual Studio.

    Please let me know the result.Thanks.

    Regards,

    Nancy Shao [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by Nancy Shao Friday, August 13, 2010 9:36 AM
    Tuesday, August 03, 2010 7:59 AM

All replies

  •  

    Hi

     

    Did you try to run the application as Administrator?

    Right click->"run as administrator".

     

    Or maybe you have to provide some source codes, we can analysis it deeply.

     

    Regards!

    Jesse


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Thursday, July 29, 2010 6:23 AM
    Moderator
  • Hi Remesh,

    Sorry for the delay.

    Based on my understanding, I guess this issue is caused by incompatible between 32bit application and 64bit Operating System. So I would suggest you try to set the platform of your application from x86 to Any CPU in Configuration Manager in Visual Studio.

    Please let me know the result.Thanks.

    Regards,

    Nancy Shao [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked as answer by Nancy Shao Friday, August 13, 2010 9:36 AM
    Tuesday, August 03, 2010 7:59 AM
  • Hi Remesh,

    I am writing to follow up this issue. Please let me know what I can help. Thanks.

     

    Regards,

    Nancy Shao [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Wednesday, August 11, 2010 6:19 AM
  • Hi Nancy,

    I am facing the similar issue in Windows 2008 R2. I have tried building the code in x86 mode, but the problem still persists. I have one Main UI Thread running, on exiting the thread the entire app crashes with the following error in the log file :

    Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfe0

    Exception code: 0xc000041d

    Fault offset: 0x000000000000aa7d

    Faulting process id: 0xcc4

    Faulting application start time: 0x01cb4ee70a38309e

    Faulting module path: C:\Windows\system32\KERNELBASE.dll

    Report Id: 58201b1e-bada-11df-9f3e-005056a60ecc

    Is there any workaround for this issue?

     

    Regards,

    Rahul

     

     

     

    Friday, September 17, 2010 12:21 PM
  •  

    Hi,

     

    Would you please show some codes that can cause the issue and share with us. Only the error message we cannot work out  from scratch.

     

    Thanks for your understanding!

    Regards!

    Jesse


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Monday, September 20, 2010 6:53 AM
    Moderator
  • Hi Jesse ,

    I am pasting the entire module where the code fails:

     

     

    /// <summary>
    /// Pool the job execution status
    /// </summary>
    private void PoolJobExecutionStatus()
    {
    int waitIndex = 0;
    while (true)
    {
    try
    {
    lock (this.lockingObject)
    {
    this.ReOpenRegistryConnection();
    currentJob = SR.Job.Load(this.currentJobId, this.poolingConnection);
    JobStatusEventArgs jobStatusArg = (currentJob.Status == SR.JobStatus.Aborted) ?
    new JobStatusEventArgs(currentJob.Name, currentJob.Status, currentJob.ErrorMessage) :
    new JobStatusEventArgs(currentJob.Name, currentJob.Status);
    this.dispatcher.BeginInvoke(new EventHandler<JobStatusEventArgs>(RaiseUpdateStatus), DispatcherPriority.Normal, new object[] { this, jobStatusArg });
    if (currentJob.Status == JobStatus.Aborted || currentJob.Status == JobStatus.Completed)
    {
    this.PoolJobThread.Abort();
    break;
    }
    }
    }
    catch (ThreadAbortException)
    {
    }
    catch (ConnectionFailure ex)
    {
    TridentErrorHandler.HandleUIException(ex);
    // If reconnection fails more than the max reconnection value then exit.
    if (this.connectionAttempts >= this.maxConnectionAttempts)
    {
    break;
    }
    this.connectionAttempts++;
    }
    catch (BackendStorageException ex)
    {
    TridentErrorHandler.HandleUIException(ex);
    // If reconnection fails 5 times then exit.
    if (this.connectionAttempts >= this.maxConnectionAttempts)
    {
    break;
    }
    this.connectionAttempts++;
    }
    catch (Exception ex)
    {
    TridentErrorHandler.HandleUIException(ex);
    break;
    }
    try
    {
    Thread.Sleep(500);
    // If job is in waiting state, every 3 min show the user retry message.
    // (waitIndex == 360) Specifes 3 min. 
    if (currentJob.Status == JobStatus.Waiting && waitIndex == 360)
    {
    waitIndex = 0;
    JobStatusEventArgs jobStatusArg = new JobStatusEventArgs(this.currentJob.Name, this.currentJob.Status, TridentResourceManager.GetString("JobTerminatedByUserMessage"));
    this.dispatcher.BeginInvoke(new EventHandler<JobStatusEventArgs>(RaiseUpdateStatus), DispatcherPriority.Normal, new object[] { this, jobStatusArg });
    }
    }
    catch (Exception ex)
    {
    TridentErrorHandler.HandleUIException(ex);
    }
    waitIndex++;
    }
    }
    
    public void StartDataProductService(Guid jobId, Connection poolConnection)
        {
          this.currentJobId = jobId;
          this.poolingConnection = poolConnection;
          this.ClearTempData();
    
          this.HaltService();
    
          this.PoolJobThread = new Thread(this.PoolJobExecutionStatus);
          this.PoolJobThread.Start();
        }
    

    Hope this helps

     

    Regards,

    Rahul

     

     

    Tuesday, September 21, 2010 11:33 AM
  • Hi Jesse / Nancy,

    Any progress on the issue? I am facing a deadlock on the same. Will appreciate your help.

     

    Regards,

    Rahul

    Wednesday, September 29, 2010 11:49 AM
  • Dear All,

    I am Getting same problem in my server.

    The  application server details:

    1. windows Server 2008.

    the application  is in VS2008. in this application we are having timer.  This timer will fire for every 10 seconds.

    this thread will read the data from  database and process the data.

    Problem:

    it's working for some period of time(6-7) hours.  After this we are  getting the following problem.

    Faulting application name: TestISO.exe, version: 1.0.0.0, time stamp: 0x4ee33b90
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e21213c
    Exception code: 0xe053534f
    Fault offset: 0x000000000000cacd
    Faulting process id: 0x%9
    Faulting application start time: 0x%10
    Faulting application path: %11
    Faulting module path: %12
    Report Id: %13

    So Please help us .

     

    Regards

    Sudheer.

     

     

     

     

     

     

     

    Wednesday, December 21, 2011 5:20 AM
  • This is a generic error, I have same problem too with kernelbase.dll. Windows media player 12, IE9, Explorer.exe and other 3rd party programs, stop working and at event viewer I see always the same problem:

     

    Faulting module path: C:\Windows\system32\KERNELBASE.dll

    What's going on here?

    Many programs are with problems because this DLL.

     

    Friday, January 13, 2012 12:21 AM
  • I fixed this on my x64 win 7 machine setting service: "Performance Logs & Alerts" to automatic and starting.

    Thought this may help.

    Jarred

    Wednesday, April 11, 2012 11:05 AM
  • Brilliant thanks Jarred, this solved the problem for me.

    Trevor.


    • Edited by tp5harp Monday, September 29, 2014 3:10 PM
    Monday, September 29, 2014 3:10 PM