I have a multithreaded PPC2003 application with a bug that causes a
"Datatype misalignment" exception.
In VS2005, the exception is displayed in the output window as:

Data Abort: Thread=92bfeb9c Proc=902ea4e0 'DSClient.exe'
AKY=01000001 PC=01f83390 RA=01f83ab4 BVA=32168fc9 FSR=00000003
First-chance exception at 0x01f83390 in DSClient.exe: 0x80000002:
Datatype misalignment.

I'm able to get my callstack during the break, but it doesn't appear to
point to anywhere:
> 0x01f83390
0x01f83ab4

How can I find where this exception is actually occuring?

Re: debugging a "datatype misalignment" by Sai

Sai
Tue Jun 20 14:34:08 CDT 2006

Can you post some code to provide a better picture? Did you initiliaze
all objects etc.?

-Sai


PaulH wrote:
> I have a multithreaded PPC2003 application with a bug that causes a
> "Datatype misalignment" exception.
> In VS2005, the exception is displayed in the output window as:
>
> Data Abort: Thread=92bfeb9c Proc=902ea4e0 'DSClient.exe'
> AKY=01000001 PC=01f83390 RA=01f83ab4 BVA=32168fc9 FSR=00000003
> First-chance exception at 0x01f83390 in DSClient.exe: 0x80000002:
> Datatype misalignment.
>
> I'm able to get my callstack during the break, but it doesn't appear to
> point to anywhere:
> > 0x01f83390
> 0x01f83ab4
>
> How can I find where this exception is actually occuring?


Re: debugging a "datatype misalignment" by nagesh>

nagesh>
Wed Jul 05 01:43:35 CDT 2006

i too used to encounter "data type misalignment error". Its mainly due to
extreme memory fragmentation within.
It disappeared for us after we fixed some memory leaks

-nagesh
"Sai" <asai_76@yahoo.com> wrote in message
news:1150832048.167590.197360@h76g2000cwa.googlegroups.com...
> Can you post some code to provide a better picture? Did you initiliaze
> all objects etc.?
>
> -Sai
>
>
> PaulH wrote:
>> I have a multithreaded PPC2003 application with a bug that causes a
>> "Datatype misalignment" exception.
>> In VS2005, the exception is displayed in the output window as:
>>
>> Data Abort: Thread=92bfeb9c Proc=902ea4e0 'DSClient.exe'
>> AKY=01000001 PC=01f83390 RA=01f83ab4 BVA=32168fc9 FSR=00000003
>> First-chance exception at 0x01f83390 in DSClient.exe: 0x80000002:
>> Datatype misalignment.
>>
>> I'm able to get my callstack during the break, but it doesn't appear to
>> point to anywhere:
>> > 0x01f83390
>> 0x01f83ab4
>>
>> How can I find where this exception is actually occuring?
>



Re: debugging a "datatype misalignment" by PaulH

PaulH
Wed Jul 05 15:08:25 CDT 2006

I got my problem solved.
see "debugging a data abort" under microsoft.public.pocketpc.developer

nagesh wrote:
> i too used to encounter "data type misalignment error". Its mainly due to
> extreme memory fragmentation within.
> It disappeared for us after we fixed some memory leaks
>
> -nagesh
> "Sai" <asai_76@yahoo.com> wrote in message
> news:1150832048.167590.197360@h76g2000cwa.googlegroups.com...
> > Can you post some code to provide a better picture? Did you initiliaze
> > all objects etc.?
> >
> > -Sai
> >
> >
> > PaulH wrote:
> >> I have a multithreaded PPC2003 application with a bug that causes a
> >> "Datatype misalignment" exception.
> >> In VS2005, the exception is displayed in the output window as:
> >>
> >> Data Abort: Thread=92bfeb9c Proc=902ea4e0 'DSClient.exe'
> >> AKY=01000001 PC=01f83390 RA=01f83ab4 BVA=32168fc9 FSR=00000003
> >> First-chance exception at 0x01f83390 in DSClient.exe: 0x80000002:
> >> Datatype misalignment.
> >>
> >> I'm able to get my callstack during the break, but it doesn't appear to
> >> point to anywhere:
> >> > 0x01f83390
> >> 0x01f83ab4
> >>
> >> How can I find where this exception is actually occuring?
> >