beauli / slimtune

Automatically exported from code.google.com/p/slimtune
MIT License
0 stars 0 forks source link

Slimtune crashes when running XNA applications which use the content pipeline #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
>What steps will reproduce the problem?

1. Download the XNA winforms content pipline sample 
(http://creators.xna.com/en-GB/sample/winforms_series2). Note this 
requires instalation of XNA game studio.

2. Run the sample under SlimTune 0.1.5, open cats.fbx. The application 
will then crash if running in the profiler.

>What is the expected output? What do you see instead?

Application should run and SlimTune should display profile results.

>What version of the product are you using? On what operating system?

SlimTune 0.1.5 and XNA Game Studio 3.0/3.1

>Please provide any additional information below.

I initially found this bug in my own app(which uses the content pipeline), 
but the sample is the easiest way to reproduce the problem.

(I have also had problems with this sample and my own app when running 
under PIX, the app was throwing an exception when processing a texture(XNA 
seemed to incorrectly initialize D3D in order to use D3DX to process the 
texture).

Original issue reported on code.google.com by dbl...@fastmail.fm on 18 Aug 2009 at 4:03

GoogleCodeExporter commented 8 years ago
Note this is on Vista and x86.

Original comment by dbl...@fastmail.fm on 18 Aug 2009 at 4:04

GoogleCodeExporter commented 8 years ago
I'll take a look. I was running it just fine on the Platformer sample, so maybe 
it's
specific to how the target is built.

Original comment by promit....@gmail.com on 19 Aug 2009 at 4:25

GoogleCodeExporter commented 8 years ago
Yeah, I think the content pipeline does something funky with regards  to 
stacks, 
d3d/.NET etc. I havnt seen any problems with the runtime portion of my software 
or 
using the editor+content pipline when the results from the last build are 
cached.

Not sure if this is a latent bug in XNA which is triggered by having another 
app 
attached or it exposes a problem with typical stack walkers due to doing lots 
of 
funky stuff with msbuild, stack walking and AppDomains.

Original comment by dbl...@fastmail.fm on 19 Aug 2009 at 9:56

GoogleCodeExporter commented 8 years ago
Oh, I see -- the problem is in apps that embed the pipeline and build assets, 
not 
just load from it. I'll try and take a look pretty soon, although the bizarre 
SlimDX 
scheduling has me a little off balance right now.

Original comment by promit....@gmail.com on 7 Sep 2009 at 4:48