Bug #877

World editor crashes on launch ...

Added by grego about 5 years ago. Updated almost 5 years ago.

Status:New Start date:05/11/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Windows Vista x64 SP1, C++ Studio 2008 SP1 express.

World editor compiles, finally figured out the world_editor_classes.xml needs to be in the same directory. Launch the application, dialogs start to come up with information and the program crashes. Debug call stack as follows:

world_editor_r.exe!CMainFrame::errorMessage(const char * format=0x00000000, ...) Line 492 C++

world_editor_shard_monitor_plugin_r.dll!CPlugin::init(IPluginAccess * pluginAccess=0x012092c8) Line 670 + 0x19 bytes C++
world_editor_r.exe!CWorldEditorApp::loadPlugins() Line 351 C++
world_editor_r.exe!CWorldEditorApp::InitInstance() Line 279 C++
mfc90.dll!6c0171e1()
world_editor_r.exe!__tmainCRTStartup() Line 574 + 0x1d bytes C
kernel32.dll!76c9e4a5()
ntdll.dll!773ecfed()
ntdll.dll!773ed1ff()

I'm going to recompile in debug mode to grab more information.

world_editor_d.dmp (17.2 kB) grego, 05/11/2010 05:15 am

History

#1 Updated by grego about 5 years ago

With debug on, program is breaking:

void CMainFrame::errorMessage (const char *format, ... ) {
// Make a buffer string
va_list args;
va_start( args, format );
char buffer1024;
sint ret = vsnprintf( buffer, 1024, format, args );
va_end( args );

theApp.errorMessage (buffer);
}

breakpoint in debugger is the "sint ret = vsnprintf( buffer, 1024, format, args );" line.

dump file attached.

#2 Updated by kervala about 5 years ago

I fixed crash but you will still have an error :)

#3 Updated by kervala almost 5 years ago

Please, is World Editor still crashing ?

Also available in: Atom PDF