Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

C::B fails to start on Windows (Rev 4407)

<< < (2/5) > >>

stahta01:
Thanks for confirming the issue, I have been having issues too. But, I just re-installed windows on a new Hard-Drive and was blaming the issue on that.

Tim S

thomas:

--- Quote from: MortenMacFly on August 25, 2007, 09:55:02 pm ---Apologies!
I have completely re-compiled C::B from scratch (for various reasons). That means removed all object, libs and PCH files before. The new version (4410) crashes immediately on startup. The crash-log points to BackgoundThread, too. I have manually reverted 4407 (the revert of Thomas) and now it's working again.

So Thomas: In case you read this: We are two now having real issues after the revert of yours.

With regards, Morten.

--- End quote ---
It's funny how code which is not used at all should cause a crash, but alright... I'm not going to revert-revert again, that's it for me then.

Biplab:

--- Quote from: thomas on August 25, 2007, 10:57:29 pm ---
--- Quote from: MortenMacFly on August 25, 2007, 09:55:02 pm ---Apologies!
I have completely re-compiled C::B from scratch (for various reasons). That means removed all object, libs and PCH files before. The new version (4410) crashes immediately on startup. The crash-log points to BackgoundThread, too. I have manually reverted 4407 (the revert of Thomas) and now it's working again.

So Thomas: In case you read this: We are two now having real issues after the revert of yours.

With regards, Morten.

--- End quote ---
It's funny how code which is not used at all should cause a crash, but alright... I'm not going to revert-revert again, that's it for me then.

--- End quote ---

Strangely as I posted earlier it works for me on my Laptop. But my code is not exactly from SVN and it contains Unicode patch (v3+) (Thomas and Morten know this). I am totally confused why it's working in some PC and not in others ??   :? :roll:

BTW, has anyone of you tried the following patch?? A PCH header should not be included in a header file.


--- Code: ---Index: src/include/backgroundthread.h
===================================================================
--- src/include/backgroundthread.h (revision 4410)
+++ src/include/backgroundthread.h (working copy)
@@ -1,7 +1,7 @@
 #ifndef BACKGROUNDTHREAD_H
 #define BACKGROUNDTHREAD_H
 
-#include "sdk_precomp.h"
+//#include "sdk_precomp.h"
 #include "safedelete.h"
 
 #undef new
--- End code ---

MortenMacFly:

--- Quote from: thomas on August 25, 2007, 10:57:29 pm ---It's funny how code which is not used at all should cause a crash, but alright... I'm not going to revert-revert again, that's it for me then.

--- End quote ---
Well... why does the crash log point to this then?! Very strange...!? :shock:
Maybe you could tell us for what reason exactly you reverted whatever you reverted?

thomas:

--- Quote from: MortenMacFly on August 26, 2007, 10:02:21 am ---Maybe you could tell us for what reason exactly you reverted whatever you reverted?
--- End quote ---
The reason is simple: Rick reverted my code because he did not understand it. The extra code was meant to provide a way to cancel jobs in a mostly safe way (mostly, because if you delete from two different threads, a race condition can occur). As no code currently calls Delete(), I don't see how it could affect anything, to be honest (unless you mix pre-4110 plugins with a post-4110 application, or something like that).

But hey, if you think that it causes a problem, then just revert it again, I don't mind. Don't be afraid, I'll not re-revert it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version