Author Topic: Server crashing at startup, cant find log.  (Read 5075 times)

0 Members and 1 Guest are viewing this topic.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Server crashing at startup, cant find log.
« on: April 17, 2011, 07:18:53 PM »
Where exactly do I find the debug info when I fly the -debug or -allowdebug flags?

I have found crash related files in /srcds/orangebox/dumps but these are .dmp files and have strange characters in them, not very readable, although some of it is readable.

I can't seem to find the debug.log file that it's supposed to create anywhere.

Thankyuh!
My TTT server. Join the fun!

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server crashing at startup, cant find log.
« Reply #1 on: April 17, 2011, 08:58:53 PM »
Try uploading your dump to http://dumps.garrysmod.com/
Experiencing God's grace one day at a time.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: Server crashing at startup, cant find log.
« Reply #2 on: April 17, 2011, 09:32:29 PM »
I didn't know that existed, thanks so much Megiddo!
My TTT server. Join the fun!

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: Server crashing at startup, cant find log.
« Reply #3 on: April 22, 2011, 08:33:37 PM »
http://dumps.garrysmod.com/?view=2425372400&refresh=6
Don't know if that link will work for anyone, it says
Quote
You crashed in engine.dll with the failure INVALID_POINTER_READ_c0000005_engine.dll!Unknown

I have removed/re-downloaded engine.dll with no success.
I had it running somehow for a while after my first report, then I was forced to update the server again and not I'm back to this.
Does anyone have any idea why I might be getting this error?
My TTT server. Join the fun!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Server crashing at startup, cant find log.
« Reply #4 on: April 22, 2011, 09:00:50 PM »
From a forum link I found after searching engine.dll and comctl32.dll (last file loaded according to dump)
"Got it working. MS Visual C++ 2010 redist needed to run the server"
See http://forums.steamgames.com/forums/showthread.php?p=21498905

Just a guestimated stab in the dark.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server crashing at startup, cant find log.
« Reply #5 on: April 22, 2011, 09:35:11 PM »
Why is srcds loading the tightvnc dll? I doubt that's a problem, but it does seem odd.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Server crashing at startup, cant find log.
« Reply #6 on: April 22, 2011, 09:40:17 PM »
srcds isn't loading them (necessarily).
Those are what is in memory when the dump occurred.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: Server crashing at startup, cant find log.
« Reply #7 on: April 22, 2011, 11:37:08 PM »
Thanks Jammin R for the information/ stab in the dark lol, unfortunately it didn't work for me.
Also thanks to Megiddo for clearing up the tightvnc thing, that would have confused me too (obviously I didn't notice it before).

I did howerver find the issue. I noticed
Quote
42(2.083498):  Unknown command "sv_allow_wait_command"
and realized that was probably part of a work around that I use to get my loading screens to work. For some reason they only show after a map reload, but not on a complete server restart, so I run this:
Code: [Select]
hook.Add("InitPostEntity" , "CheckForStartup" , function()
if RealTime() < 10 then
game.ConsoleCommand("changelevel "..game.GetMap().."\n")
end
end )

The 10 wait time I was using became too quick after the update, changed it to 30 and now it works.
Thanks everyone for taking the time to help out
My TTT server. Join the fun!