Home » C++ ProgrammingRSS

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

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.

 

 

7 Answers Found

 

Answer 1

 

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

 

Answer 2

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

 

Answer 3

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

 

Answer 4

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

 

 

 

 

Answer 5

 

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

 

Answer 6

Hi Jesse ,

I am pasting the entire module where the code fails:

 

 

///<summary>/// Pool the job execution status///</summary>privatevoid 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, newobject[] { 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, newobject[] { this, jobStatusArg });
}
}
catch (Exception ex)
{
TridentErrorHandler.HandleUIException(ex);
}
waitIndex++;
}
}
publicvoid 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

 

 

 

Answer 7

Hi Jesse / Nancy,

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

 

Regards,

Rahul

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter