Re: Video hangs while its running under Windows CE



The kernel debugger will stop on the line of code that generated an
exception when you are running a DEBUG OS with that debugger. That seems
like a good starting point for figuring out what's wrong to me... If you
are getting exceptions all over the place, that suggests that you might have
a bad board support package for your target hardware. There could be
something set up wrong with the memory sizes or something like that. If
your platform runs perfectly, except when you do this video thing, then look
at the display driver; it's probably screwed up. If you made some changes
to it to adapt it to hardware it wasn't targeted to or if it's designed for
some video controller that's similar but not identical to the one you
actually have, there's the problem.

Paul T.

"spradeepkumar_2003" <spradeepkumar_2003.2sxtjz@xxxxxxxxxxxxxxxx> wrote in
message news:spradeepkumar_2003.2sxtjz@xxxxxxxxxxxxxxxxxxx

hi,
I'm sorry Mr. Paul, you mistaken me. Actually my problem is that every
thing is fine with my board, OS image & etc... But when i try to run a
video application its getting hanged everytime randomly. Also i'm now
working with Debug Build only. The problem is that i'm getting
Exception in device.exe, gwes.exe & filesys.exe.
If you see that there are so many drivers which are loaded by
device.exe, in this how i can find which driverhas gone
problematic/unloaded... please give me clear idea, as i'm new to this
Windows CE. This is my first project using Windows CE.

regards,
S. Pradeep Kumar
--------------------------------------------------------------------------------------------------------


'Paul G. Tobey [eMVP Wrote:
']Anything is possible. Are you going to *use* the fact that you're
running a
DEBUG build and try to get the kernel debugger to show you where the
problem
is, or expect us to take guesses without any information about the
board
other than that it's running MIPS II? YOU ARE GOING TO HAVE TO DO THE
WORK
TO FIX THIS. We can't do it. We can advise you on what to try and,
maybe,
some things that seem to fit the symptoms that you've mentioned, but
you
seem to be sitting around doing nothing at all to help yourself. We
don't
get paid by Microsoft here...

Paul T.

"spradeepkumar_2003"
<spradeepkumar_2003.2skctz@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:spradeepkumar_2003.2skctz@xxxxxxxxxxxxxxxxxxxxxxxxxxxx

yes now i'm working with the debug build only, also my video
application
with the WinCE 5.0 OS image was a working one with our previous
development platform Board. I need some more clear answer. wat i
think
is that whether the components in my development board may hav proble
?
wat u say ? is it possible of having this hardware problem.... plzzz
help me out with this problem.........

regards,
S. Pradeep Kumar


--------------------------------------------------------------------------------------------------------

Dean Ramsier Wrote:
The fault is occuring in device.exe. That is the process that
hosts
drivers, so you most likely do have a driver problem.

Did you do the debug build? What was the call stack when the
exception
occured?

--
Dean Ramsier - eMVP
BSQUARE Corporation


"spradeepkumar_2003"
<spradeepkumar_2003.2sixfz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in
message
news:spradeepkumar_2003.2sixfz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi Paul,

Also i'm getting these messages some times,

Exception 018 Thread=87eb38f8 Proc=67fadf7a 'device.exe'
AKY=00000009 PC=8112295c(NK.EXE+0x0002295c)
RA=81105c28(NK.EXE+0x00005c28) BVA=0
3f6d488
Exception 018 Thread=87eb38f8 AKY=00000009 PC=8112295c
BVA=03f6d488
SR=00000003 AT=81105946 V0=00000000 V1=00001000
A0=ffffffff A1=82cadcb8 A2=87eb38f8 A3=00001000
T0=811225b8 T1=00000001 T2=0842fd60 T3=00000000
T4=00000001 T5=67eb5df2 T6=87eb38f8 T7=00001000
S0=00000002 S1=82cadcb8 S2=00000000 S3=0842fd70
S4=00000000 S5=0842fd74 S6=ffffdac0 S7=00000001
T8=00000000 T9=0000bc01 LO=00000008 HI=00000000
GP=00000000 SP=ffffd7a8 S8=03f6d488 RA=81105c28
Halting system

I checked ur previous reply & i tried according to ur suggestion
but
everything was fine... i dont think there will be problem in
drivers,
is there any other reason y these messages r displayed while
video
hungs. Plz help me out of this problem.......





'Paul G. Tobey [eMVP Wrote:
']Some driver, probably, that you have installed is generating
an
exception.
Your best bet for finding out exactly what's happening would be
to
run
a
DEBUB build of the OS in the kernel debugger (refer to the
help).
When
the
exception occurs, look at the call stack and the location where
the
error is
popping up. It could be that you've misconfigured an
otherwise-correct
driver with the wrong base address or something, or maybe you're
loading a
driver with a BuiltIn key in the registry for hardware that you
don't
have.

Paul T.

"spradeepkumar_2003"

<spradeepkumar_2003.2sh60n@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
wrote
in
message

news:spradeepkumar_2003.2sh60n@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi all,

Really I got a serious problem which is very difficult to
predict
where
the problem has occured. So znyone plz help me.....
The problem is: i'm using MIPS II based platform with Windows
CE
5.0
for my project. Every thing was fine, right from Booting of
image
till
loading of all drivers. When the systems starts running the
video
application, it hangs in between.
I'll give u the messages i got in Yamon prompt.

msg displayed in yamon prompt when the video got hanged:



-----------------------------------------------------------------------------
Exception 004 Thread=87e1b800 Proc=27fadf7a 'device.exe'
AKY=00000009 PC=0c44b5a1(device.exe+0x0043b5a1)
RA=02d7ce48(ehci.dll+0x0000ce48) BVA=0c44b5a1
Exception 00a Thread=87f07850 Proc=27fadf7a 'device.exe'
AKY=00000009 PC=8c820000(???+0x8c820000)
RA=02df4238(dc_au1200.dll+0x00004238) BVA=01e30028
Exception 00a Thread=87e1bc78 Proc=27fadf7a 'device.exe'
AKY=00000009 PC=afb70044(???+0xafb70044)
RA=02d7f0dc(ehci.dll+0x0000f0dc) BVA=01e27028
Exception 004 Thread=87eba800 Proc=27fadf7a 'device.exe'
AKY=00000009 PC=03c02825(netlog.dll+0x00042825)
RA=02d9d65c(ohcd.dll+0x0000d65c) BVA=03c02825
Exception 002 Thread=87eba800 Proc=27fadf7a 'device.exe'
Exception 004 Thread=87ec8d50 Proc=27fadf7a 'device.exe'
AKY=00000009 PC=02e02025(dc_au1200.dll+0x00012025)
RA=019b14ec(touchkit.dll+0x000014ec) BVA=02e02025
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=81131098(NK.EXE+0x00031098)
RA=8113100c(NK.EXE+0x0003100c) BVA=083afefc
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'
AKY=00000019 PC=811122e0(NK.EXE+0x000122e0)
RA=811122e8(NK.EXE+0x000122e8) BVA=083afeec
Exception 001 Thread=87ec8d50 Proc=87e74fd2 'gwes.exe'


plz help wat has gone wrong, either its problem in video
application
file or in OS or in hardware.










.



Relevant Pages

  • Re: Debugging VS2008 App and Driver under PB5
    ... Paul G. Tobey wrote: ... I am using VS2008 to debug the and PB5.0 to debug the driver. ... But I can't debug the app under VS2008 if my OS is generated to include Kernel Debugger. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Wordpad doesnt startup (wince 6.0)
    ... What Paul has been asking ... for is debug output, that does not require KITL or the kernel debugger. ... PB Debugger Cannot initialize the Kernel Debugger. ...
    (microsoft.public.windowsce.embedded)
  • Re: Web Service on WinCE
    ... If this is your own device, build a DEBUG version of the OS and run the ... application while Platform Builder and the kernel debugger are connected. ... It should try, at least, to stop on the exception point, even if there is no ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Loading error of my Audio driver Windows CE 5.0
    ... If you could have a debug build OS Image, it will be much easier to use ... kernel debugger when tracing these exceptions. ... At least the Sleep API call should not be invoked in your PowerUp handler. ... You will need to use MAP file with the exception offset first to identify ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Raised Exception
    ... Impossible for us to debug with the information given - have you done a ... build with the kernel debugger and checked to see where the exception ... The second app does DeviceIOControl calls to a kernel mode ... the exception below after running several hours. ...
    (microsoft.public.windowsce.platbuilder)

Loading