Bzfs will not work.

Questions or HOWTOs about the above? Post 'em here...
Post Reply
Anthony
Private First Class
Private First Class
Posts: 222
Joined: Fri Jan 11, 2008 4:01 pm

Bzfs will not work.

Post by Anthony » Fri Apr 17, 2009 6:16 pm

Well I was planning on adding some cheat checks to bzfs but before I did I compiled a clean bzflag project to see if I frogot anything.
But whenever I run bzfs it just crashes with a error box

I got no errors or warnings when compiling.

here is the error output

Code: Select all

Problem signature:
  Problem Event Name:	BEX
  Application Name:	bzfs.exe
  Application Version:	0.0.0.0
  Application Timestamp:	49e8c619
  Fault Module Name:	MSVCR90.dll
  Fault Module Version:	9.0.30729.1
  Fault Module Timestamp:	488ef6c5
  Exception Offset:	0006c955
  Exception Code:	c0000417
  Exception Data:	00000000
  OS Version:	6.0.6001.2.1.0.768.3
  Locale ID:	1033
  Additional Information 1:	0188
  Additional Information 2:	367f1c9dbc5feff0195bf72c74efe25d
  Additional Information 3:	1451
  Additional Information 4:	8dbd1142a3a32c5ba5f494f8c8b1feeb
edit Compiled with Visual C++ 2008

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Re: Bzfs will not work.

Post by JeffM » Fri Apr 17, 2009 11:12 pm

so run it in the debugger and see WHERE it crashes ;)
ImageJeffM

User avatar
blast
General
General
Posts: 4792
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Bzfs will not work.

Post by blast » Fri Apr 17, 2009 11:13 pm

That is not very useful information. Build the server in debug mode, and then get it to crash when debugging from in Visual C++. Then there should be a call stack that will show where it crashed, and that will be more useful.

Also, what version of BZFlag are you working with?
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Anthony
Private First Class
Private First Class
Posts: 222
Joined: Fri Jan 11, 2008 4:01 pm

Re: Bzfs will not work.

Post by Anthony » Sat Apr 18, 2009 2:38 pm

Ok Heh forgot it had a debugger :P

I'm working with 2.0.12

not built with debug.

Code: Select all

'bzfs.exe': Loaded 'C:\Users\anthony\Desktop\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\bzfs.exe', Binary was not built with debug information.
'bzfs.exe': Loaded 'C:\WINDOWS\System32\ntdll.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\kernel32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\ws2_32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\msvcrt.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\advapi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\rpcrt4.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\nsi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\winmm.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\user32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\gdi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\ole32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\oleaut32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\oleacc.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada\msvcp90.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada\msvcr90.dll'
'bzfs.exe': Loaded 'C:\Users\anthony\Desktop\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\libcurl.dll', Binary was not built with debug information.
'bzfs.exe': Loaded 'C:\Users\anthony\Desktop\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\msvcr71.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\shell32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\shlwapi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\shimeng.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\apphelp.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\AppPatch\AcLayers.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\userenv.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\secur32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\winspool.drv'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\mpr.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\imm32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\msctf.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\lpk.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\usp10.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll'
Microsoft Visual Studio C Runtime Library has detected a fatal error in bzfs.exe.

Press Break to debug the program or Continue to terminate the program.
Built with debug

Code: Select all

'bzfs.exe': Loaded 'C:\Users\anthony\Desktop\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\debug\bzfs.exe', Symbols loaded.
'bzfs.exe': Loaded 'C:\WINDOWS\System32\ntdll.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\kernel32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\ws2_32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\msvcrt.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\advapi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\rpcrt4.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\nsi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\winmm.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\user32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\gdi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\ole32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\oleaut32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\oleacc.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcp90d.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.1_none_bb1f6aa1308c35eb\msvcr90d.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada\msvcr90.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\libcurl.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\Wldap32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\System32\psapi.dll'
'bzfs.exe': Loaded 'C:\GTK\bin\zlib1.dll', Binary was not built with debug information.
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3704] bzfs.exe: Native' has exited with code -1073741512 (0xc0000138).

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Re: Bzfs will not work.

Post by JeffM » Sat Apr 18, 2009 5:25 pm

you need to run it IN the debugger, and debug it. Not just provide logs. that just says what loaded. If you were looking to be "adding some cheat checks" then you should know basic programing and debugging.

There is no simple log file that you can get from just running the program on windows that will tell us why your system crashes. This is something you have to do on your development system.
ImageJeffM

Anthony
Private First Class
Private First Class
Posts: 222
Joined: Fri Jan 11, 2008 4:01 pm

Re: Bzfs will not work.

Post by Anthony » Sat Apr 18, 2009 6:37 pm

Is this what you where asking about?
Attachments
whenraninthebzflagfolder.jpg
(133.01 KiB) Downloaded 20 times
123.jpg
(136.67 KiB) Downloaded 19 times

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Re: Bzfs will not work.

Post by JeffM » Sat Apr 18, 2009 8:21 pm

the error message tells you exactly what is wrong. your zlib dll is wrong.

use the libcurl from one of our installed versions, or build your own.
ImageJeffM

Anthony
Private First Class
Private First Class
Posts: 222
Joined: Fri Jan 11, 2008 4:01 pm

Re: Bzfs will not work.

Post by Anthony » Sat Apr 18, 2009 9:29 pm

Haha woops >.< my bad...
Grabbed the dll from the wrong folder.

User avatar
FiringSquad
Sergeant
Sergeant
Posts: 847
Joined: Thu Jan 26, 2006 5:53 pm
Location: Ireland

Re: Bzfs will not work.

Post by FiringSquad » Wed Jun 17, 2009 12:31 am

Building 2.0.12
Using libcurl.dll & Glew32.dll from released 2.0.10 build

Everything works fine except bzfs.exe

Debug version runs without a hitch but release version crashes on launch.

I've tried launching it from within a folder containing only bzfs.exe and libcurl.dll, but it still crashes.

No errors on build but plenty of warnings about deprecated calls and conversion of 'time_t' to 'unsigned int'.

Error Signature:

Code: Select all

AppName: bzfs.exe	 AppVer: 0.0.0.0	 ModName: msvcr90.dll
ModVer: 9.0.30729.1	 Offset: 0006c955
Output when run from within VisC2008

Code: Select all

'bzfs.exe': Loaded 'C:\Documents and Settings\Developer\Desktop\BZF Dev\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\bzfs.exe', Binary was not built with debug information.
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcr90.dll'
'bzfs.exe': Loaded 'C:\Documents and Settings\Developer\Desktop\BZF Dev\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\libcurl.dll', Binary was not built with debug information.
'bzfs.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll', Symbols loaded.
'bzfs.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll'
Microsoft Visual Studio C Runtime Library has detected a fatal error in bzfs.exe.

Press Break to debug the program or Continue to terminate the program.
The program '[3164] bzfs.exe: Native' has exited with code 0 (0x0).
Successful Debug Launch produces this output:

Code: Select all

'bzfs.exe': Loaded 'C:\Documents and Settings\Developer\Desktop\BZF Dev\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\debug\bzfs.exe', Symbols loaded.
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcp90d.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcr90d.dll'
'bzfs.exe': Loaded 'C:\Documents and Settings\Developer\Desktop\BZF Dev\bzflag-2.0.12\bzflag-2.0.12\src\bzfs\debug\libcurl.dll', Binary was not built with debug information.
'bzfs.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll', Symbols loaded.
'bzfs.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\mswsock.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\dnsapi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\winrnr.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
'bzfs.exe': Loaded 'C:\Program Files\Bonjour\mdnsNSP.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\iphlpapi.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\rasadhlp.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\hnetcfg.dll'
'bzfs.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll'
Any ideas?

Post Reply