The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't debug sphere from git
Author Message
fabiohvp
Apprentice
*

Posts: 23
Likes Given: 11
Likes Received: 5 in 4 posts
Joined: Jul 2018
Reputation: 0



Post: #1
Can't debug sphere from git
I have cloned sphere source git and builded with success using visual studio 2015 but when I try to debug I get the exception:
Unhandled exception at 0x7779DDC2 in SphereSvr.exe: Microsoft C++ exception: CGrayAssert at memory location 0x001FF75C.

The exception is thrown because in class CWindow the method IsWindow is returning false

BOOL IsWindow() const
{
if ( this == NULL )
return( false );
if ( m_hWnd == NULL ) <---- IT IS NULL
return( false );
return( ::IsWindow( m_hWnd ));
}

Downloaded visual studio 2017 like it is in the readme (selecting the requirements during the installation) but it made no diference.

I am trying to build targetting x86, Windows sdk version: 10.0.17134.0

If I ignore this exception and continue, the console open and load all scripts but then start to give these errors until it get to this line _DEBUG_ERROR("map/set iterator not dereferencable"); and the crash.

02:20:ERROR:sector #5169 [1088,2944,0,0]
02:20:ERROR:sector #6193 [2112,3520,0,0]
02:20:ERROR:sector #49 [3136,0,0,1]
02:20:ERROR:sector #1073 [4160,576,0,1]
02:20:ERROR:sector #2097 [5184,1152,0,1]
02:20:ERROR:sector #3121 [6208,1728,0,1]
02:20:ERROR:sector #4145 [64,2368,0,1]
02:20:ERROR:sector #5169 [1088,2944,0,1]
02:20:ERROR:sector #6193 [2112,3520,0,1]
02:20:ERROR:sector #49 [832,64,0,2]
02:20:ERROR:sector #49 [576,64,0,3]
02:20:ERROR:sector #1073 [2112,1664,0,3]
02:20:ERROR:sector #49 [320,128,0,4]
(This post was last modified: 08-07-2018 04:31 PM by fabiohvp.)
08-07-2018 03:13 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)