SVN rev 6655 crashes on startup (built with vs net)

SVN rev 6655 crashes on startup (built with vs net)

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

SVN rev 6655 crashes on startup (built with vs net)

Post by submarine »

Here's the callstack (I used debug mode to build spring, crash occurred in final release (which I normally use) as well):

> msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x00fa2110, const wchar_t * file=0x00fa1e28, unsigned int line=111) Line 23 C++
spring.exe!std::_String_const_iterator<char,std::char_traits<char>,std::allocator<char> >::operator*() Line 111 + 0x14 bytes C++
spring.exe!std::_String_iterator<char,std::char_traits<char>,std::allocator<char> >::operator*() Line 368 C++
spring.exe!ConfigHandler::GetInstance() Line 47 + 0x2b bytes C++
spring.exe!SpringApp::ParseCmdLine() Line 650 + 0x5 bytes C++
spring.exe!SpringApp::Initialize() Line 207 C++
spring.exe!SpringApp::Run(int argc=1, char * * argv=0x03c254e8) Line 936 + 0x8 bytes C++
spring.exe!Run(int argc=1, char * * argv=0x03c254e8) Line 95 + 0x13 bytes C++

edit: I have tried rev 6647 now as well, same result
I installed latest release version (0.77b3) to make sure to have the latest content files
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by hoijui »

which vclibs did you use, where did you get them from?
if there are multiple versions of VS net, which one did you use?

sorry, i wont be able to help you i guess, but i would like to be bale ot compile the C AI branch with VS as well (for testing).
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by submarine »

I#m using msvc 2005
I downloaded the vclibs months ago from a link in the forum but I dont know where you can get them atm though. IIRC I once had to upgrade some parts of it with newer files but I#m not really sure
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by hoijui »

ok. i did the same.. had to upgrade some things aswell... but it never compiled till the end. maybeyou could pack your vclibs folder and put it on jobjol.nl and link it here? :D
sorry to be so selfish, but i think only few ppl use VS to compile spring, and there is no actualized version of vclibs available. if someone wants to help, he would need it too i guess. (i know at least form tobi, that he did not use VS since for a while)
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by submarine »

Ok I'll try to upload them as soon as I get back home (~tomorrow evening)
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by lurker »

my old vclibs for 2005 (no guarantees): http://evolutionrts.info/~lurker/vclibs2005.zip
vclibs for 2008: http://evolutionrts.info/~lurker/vclibs2008.zip
patch to make spring compile with 2008 (I have no idea as of yet if this is safe to commit to svn, I just got the changes out of the main compiling thread.): http://evolutionrts.info/~lurker/vs2008fixes.diff

These could stand to be updated with statically linked ogg vorbis libraries, but hey, they work.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by hoijui »

i have them statically linked, will add them and then upload this package to jobjol.nl, ok lurker?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by lurker »

Sounds good.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by hoijui »

most of the package was prepared by lurker.

vclibs2008 for spring 0.77 (to be tested)
http://spring.jobjol.nl/show_file.php?id=1527

if you have problems with ogg vorbis, kill delete folder ogg_vorbis and use ogg_vorbis_lurker instead.
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by submarine »

ok im back home; do you still need the libs or does it work?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: SVN rev 6655 crashes on startup (built with vs net)

Post by hoijui »

i did not yet try it, but lurker is useing these successfully. so thanks, i dont need them anymore.
Post Reply

Return to “Engine”