Hi,
I have a realy strange phenomenon !!!
I made this demo for my IrrSteer project...
if I unzip the archive to the desktop the program only runs if I rename the folder to "bin" any other folder name causes a crash at start !!!
if I copy the folder to any other folder the folder name doesn't matter and the program runs fine !?!?!
can someone confirm this !?!?!
I'm running WinXP-pro (sp2)...
Program not running in desktop folder
Program not running in desktop folder
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I'm not on Windows right now. But the way I hunt such bugs down is usually - logging... lots and lots of logging. I have always a few logging-levels and when the level is set to "debug" then my applications log nearly everything that's done. And I make the logging-level usually a command-line parameter.
Also I had one similar bug once where it crashed only on certain folder-names. Turned out that I had some code checking for special filenames and forgot that in that place the path was part of the filename. So every time the game was in a folder which contained the name "alpha" it did not work anymore (which I did find out when we reached the alpha-release-phase ...).
Also I had one similar bug once where it crashed only on certain folder-names. Turned out that I had some code checking for special filenames and forgot that in that place the path was part of the filename. So every time the game was in a folder which contained the name "alpha" it did not work anymore (which I did find out when we reached the alpha-release-phase ...).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hmmm, I have realy no clue why it crashes on my system only in that desktop folder...
the filename/path issue was the first I thought about, but there is only one path/file used in the prog (the one for the mesh)...
maybe it's something related to my system settings or similar ???
thanks for testing !!!
cu, Acki
the filename/path issue was the first I thought about, but there is only one path/file used in the prog (the one for the mesh)...
maybe it's something related to my system settings or similar ???
thanks for testing !!!
cu, Acki
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
OMG
I traced it down and found that it was caused by an uninitialised pointer !!!
but I still wonder why it only crashed in that specific folder and not in any others ???
maybe some kind of memory management issue of Windows (maybe solved in sp3) ???
again, thanks for your attention !!!
I traced it down and found that it was caused by an uninitialised pointer !!!
but I still wonder why it only crashed in that specific folder and not in any others ???
maybe some kind of memory management issue of Windows (maybe solved in sp3) ???
again, thanks for your attention !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java