I successfully compiled Crystal project in VS2003 (WinXP Pro). However, when I run the sample app "walktest", it crashed, giving the following message:
"The application has crashed. Dump has been written to C:\DOCUME~1\Owner\LOCALS~1\Temp\\cscrash2088.zip"
I tried to look for that crash report, but found no where on my computer (even Google Desktop doesn't find it).
On another console window, it showed the progress running upto:
"crystalspace.system:
Loading map /lev/flarge"
Now without crash report, I have no idea what went wrong, considering the compilation was successful without error.
Appreciate any help!!!
-canteurervan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And that it, after that it crashed, giving error as reported above. Also, a popup window informs that "WalkTest demo has encountered a problem and needs to close...".
Appreciate your help!!!
-canteurervan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I assume the sample project is well-written, so there must be some conflict between genmesh.dll's resources and others' on my system that cause such problem (I ran the project once before perfectly on my desktop, but not on my current laptop).
There's so much references to look at from genmesh.cpp file, so I wonder if you could help me trace the problem. Would it be likely that resource conflict occurs while loading map 'lev/flarge' (though I haven't exactly found this map yet).
appreciate any suggestion!
-canteurervan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have both SDK version and CVS version, but I kept them seperate. I intend to rebuild the project from CVS version to use crystal space for another project of mine, but in the mean time I want to make sure I got all the settings and configurations correctly by trying the SDK version.
Since I kept them seperate, from working directories to particular libraries (except shared libraries of C & C++ in Win32). But I alwasy close solution of one before opening the other for compilation and execution.
thanks for the headup! really appreciate any suggestion!
p.s: By the way, most of the sample apps crashed, except some independent 2d and 3d projects that generate .dll files (which it should be, considering the compilation was perfect and openGL doesn't seem to have any problem).
-canteurervan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible that your PATH is pointing at the wrong project and somehow picking up the wrong CS DLL's?
CS used to pick up DLL's from PATH, but we changed it at some point to use explicit paths when loading plugins. I don't recall if 0.98 used PATH or not.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I considered your suggestion and checked the PATH environ along with other settings, then re-compiled the SDK version again. The compilation was perfect, yet when run them, they crash still.
I already run CopyDLLs of Win32 suppport to copy all DLL files directly into CS folder.
I recalled I had to set up PATH environ on my desktop (and I also did on my current laptop as well). Regardless, I tried with and without PATH, I have the same result... successful compilation but crash when running.
It looks like I have to trace error within genmesh.cpp... but obviously this will take much more effort and time.
Regardless, if you could come up with any suggestions or hints of possible solutions, I really appreciate it!!!
Thanks so much!
-canteurervan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The 0.98 release is so old that it's fairly difficult to remember even what it's state was. Consequently, it can be difficult to make meaningful debugging suggestions. You mentioned that genmesh in 0.98 was working correctly on one of your other computers?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't compiled the CVS version yet. That's why there's no way I could've had wrong PATH of one project to another.
I figure I should get the settings of the SDK version correctly so that I will have no or fewer problems with the CVS version, since I want to integrate the CVS version into my project.
And it's correct that I compiled and run successfully the 0.98 version (SDK) on my other computer.
What I don't get is if it compiled perfectly, why wouldn't it run?
My only guess is the genmesh must cause some conflict with other running programs or windows services, but there's no way to know which. I'm sure you know well what genmesh does and use which system resources, could you narrow down to some possibilities?
Wait, you mean that the genmesh of CVS version has been dramatically changed since 0.98 version?
-canteurervan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There have been dramatic changes and improvements throughout the project since the 0.98 release. Many, many bugs have been fixed, and design has improved.
It's hard to imagine genmesh interacting with other programs or services. It's just not designed to work that way. Perhaps it might be generating some geometry information which is questionable and triggers a problem on one of your machine's OpenGL installations but not the other? That's just a wild guess, though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I successfully compiled Crystal project in VS2003 (WinXP Pro). However, when I run the sample app "walktest", it crashed, giving the following message:
"The application has crashed. Dump has been written to C:\DOCUME~1\Owner\LOCALS~1\Temp\\cscrash2088.zip"
I tried to look for that crash report, but found no where on my computer (even Google Desktop doesn't find it).
On another console window, it showed the progress running upto:
"crystalspace.system:
Loading map /lev/flarge"
Now without crash report, I have no idea what went wrong, considering the compilation was successful without error.
Appreciate any help!!!
-canteurervan
Ok, I found the crash report, and the callstack points to "genmesh.dllcsGenmeshMeshObjectFactory::SetupVertexBuffer() Line 1501 + 0x15"
The error is: "Unhandled exception at 0x0af780d7 (genmesh.dll) in walktest.exe: 0xC0000005: Access violation rreading location 0x00000000."
WIthin the genmesh.cpp file: the error points to line 1501. And tthe variables x, y, z of "mesh_tri_normals" has no values.
Thanks.
-canteurervan
Can you run with the -console option and see if any error messages are reported which might indicate a problem?
I ran "walktest.exe -console" from Command Prompt, and it also crashed, giving similar error report:
"The application has crashed. Dump has been written to C:\DOCUME~1\Owner\LOCALS~1\Temp\\cscrash2088.zip"
Inside the Command Prompt, the progress is as follows:
<path>\>walktest.exe -console
crystalspace.system:
Crystal Space version 0.98 r4 [Win32-X86-VisualC] <Mon 13-Aug-2004>.
Created by Jorrit Tyberghein and others...
crystalspace.canvas.openglwin:
Using 32 bits per pixel <16777216 color mode>, 24 bits depth buffer.
GL driver: ialmgicd 6.14.10.3619
crystalspace.canvas.openglcommon:
OpenGL renderer: Intel Montara-GM <vendor: Intel> version 1.3.0 - Build 4.14.10.3619
Using windowed mode at resolution 640x480
crystalspace.canvas.openglwin:
VSync is disabled.
crystalspace.graphics3d.shadermgr:
Loaded compileplugin crystalspace.graphics3d.shadercompiler.xmlshader, compiler: XMLShader
crystalspace.system:
Load map 'lev/flarge'.
And that it, after that it crashed, giving error as reported above. Also, a popup window informs that "WalkTest demo has encountered a problem and needs to close...".
Appreciate your help!!!
-canteurervan
Did you by chance compile CS for both the old and new renderer but did not clean out the binaries between?
Also note that you should consider to use the CVS version, which should be sufficiently stable.
I assume the sample project is well-written, so there must be some conflict between genmesh.dll's resources and others' on my system that cause such problem (I ran the project once before perfectly on my desktop, but not on my current laptop).
There's so much references to look at from genmesh.cpp file, so I wonder if you could help me trace the problem. Would it be likely that resource conflict occurs while loading map 'lev/flarge' (though I haven't exactly found this map yet).
appreciate any suggestion!
-canteurervan
I only compile the new version "wksnewrenderer".
I have both SDK version and CVS version, but I kept them seperate. I intend to rebuild the project from CVS version to use crystal space for another project of mine, but in the mean time I want to make sure I got all the settings and configurations correctly by trying the SDK version.
Since I kept them seperate, from working directories to particular libraries (except shared libraries of C & C++ in Win32). But I alwasy close solution of one before opening the other for compilation and execution.
thanks for the headup! really appreciate any suggestion!
p.s: By the way, most of the sample apps crashed, except some independent 2d and 3d projects that generate .dll files (which it should be, considering the compilation was perfect and openGL doesn't seem to have any problem).
-canteurervan
Is it possible that your PATH is pointing at the wrong project and somehow picking up the wrong CS DLL's?
CS used to pick up DLL's from PATH, but we changed it at some point to use explicit paths when loading plugins. I don't recall if 0.98 used PATH or not.
Just to clarify: the successfully run apps were 2d and 3d testing apps.
-canteurervan
It can't be...
I considered your suggestion and checked the PATH environ along with other settings, then re-compiled the SDK version again. The compilation was perfect, yet when run them, they crash still.
I already run CopyDLLs of Win32 suppport to copy all DLL files directly into CS folder.
I recalled I had to set up PATH environ on my desktop (and I also did on my current laptop as well). Regardless, I tried with and without PATH, I have the same result... successful compilation but crash when running.
It looks like I have to trace error within genmesh.cpp... but obviously this will take much more effort and time.
Regardless, if you could come up with any suggestions or hints of possible solutions, I really appreciate it!!!
Thanks so much!
-canteurervan
Does the CVS version of CS crash?
The 0.98 release is so old that it's fairly difficult to remember even what it's state was. Consequently, it can be difficult to make meaningful debugging suggestions. You mentioned that genmesh in 0.98 was working correctly on one of your other computers?
I haven't compiled the CVS version yet. That's why there's no way I could've had wrong PATH of one project to another.
I figure I should get the settings of the SDK version correctly so that I will have no or fewer problems with the CVS version, since I want to integrate the CVS version into my project.
And it's correct that I compiled and run successfully the 0.98 version (SDK) on my other computer.
What I don't get is if it compiled perfectly, why wouldn't it run?
My only guess is the genmesh must cause some conflict with other running programs or windows services, but there's no way to know which. I'm sure you know well what genmesh does and use which system resources, could you narrow down to some possibilities?
Wait, you mean that the genmesh of CVS version has been dramatically changed since 0.98 version?
-canteurervan
There have been dramatic changes and improvements throughout the project since the 0.98 release. Many, many bugs have been fixed, and design has improved.
It's hard to imagine genmesh interacting with other programs or services. It's just not designed to work that way. Perhaps it might be generating some geometry information which is questionable and triggers a problem on one of your machine's OpenGL installations but not the other? That's just a wild guess, though.
Ok, I'm gonna go ahead and compile the CVS version, and see if any such problem comes up. I'll leave this 0.98 version aside for the meantime.
I'll post back if there's anything with the CVS.
Very much appreciate your help and suggestions so far!!!
-canteurervan
If you are going to be updating your application to work with the CVS version of CS, you definitely will want to check out the release notes:
http://www.crystalspace3d.org/docs/online/manual/cs_C.1.php#C.1