Re: [hlcoders] Access Violation in SDK 2013

2014-02-09 Thread Giancarlo Rivas
is most likely you screwed somewhere, since the last you see is that, start
with a breakpoint there and go from there

and/or remove code until it works, then add it back again

and/or try memory leak debug methods, I usually just read the whole thing
and fix all issues I see on the way


On Sun, Feb 9, 2014 at 2:45 PM, James J. Kelly Jr. wrote:

> I tediously merged the files manually, rather than using a tool to do it
> automatically, and was careful not to alter the SDK 2013 codebase except to
> add what was added in to the SDK 2007 version of the mod.
>
> I only used WinMerge as a guide to show me what had changed between
> vanilla SDK 2007 and the mod.
>
>
>
> *From:* hlcoders-boun...@list.valvesoftware.com [mailto:
> hlcoders-boun...@list.valvesoftware.com] *On Behalf Of *Jacob "J*Rod"
> Salas
> *Sent:* Sunday, February 09, 2014 2:37 PM
>
> *To:* Discussion of Half-Life Programming
> *Subject:* Re: [hlcoders] Access Violation in SDK 2013
>
>
>
> What's possible is that you when you merged the branches, there were some
> files improperly overwritten. Especially if vital public interfaces were
> left in a different branch.
>
> Do you see if some of them were left in 2007 when you followed the
> procedure you found?
>
> --
> Jacob "J*Rod" Salas
> jsmedia.tk | @czfjrod
> Sent from my Samsung Galaxy S4 on Verizon
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>
>
>
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



Re: [hlcoders] Access Violation in SDK 2013

2014-02-09 Thread James J. Kelly Jr.
I tediously merged the files manually, rather than using a tool to do it 
automatically, and was careful not to alter the SDK 2013 codebase except to add 
what was added in to the SDK 2007 version of the mod.

I only used WinMerge as a guide to show me what had changed between vanilla SDK 
2007 and the mod.

 

From: hlcoders-boun...@list.valvesoftware.com 
[mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Jacob "J*Rod" 
Salas
Sent: Sunday, February 09, 2014 2:37 PM
To: Discussion of Half-Life Programming
Subject: Re: [hlcoders] Access Violation in SDK 2013

 

What's possible is that you when you merged the branches, there were some files 
improperly overwritten. Especially if vital public interfaces were left in a 
different branch.

Do you see if some of them were left in 2007 when you followed the procedure 
you found?

--
Jacob "J*Rod" Salas
jsmedia.tk | @czfjrod
Sent from my Samsung Galaxy S4 on Verizon

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



Re: [hlcoders] Access Violation in SDK 2013

2014-02-09 Thread Jacob "J*Rod" Salas
What's possible is that you when you merged the branches, there were some
files improperly overwritten. Especially if vital public interfaces were
left in a different branch.

Do you see if some of them were left in 2007 when you followed the
procedure you found?

--
Jacob "J*Rod" Salas
jsmedia.tk | @czfjrod
Sent from my Samsung Galaxy S4 on Verizon
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders



Re: [hlcoders] Access Violation in SDK 2013

2014-02-09 Thread James J. Kelly Jr.
Right after I connect, here are the particular lines I see just before the 
crash:

gamerules.h (185) : Assertion Failed: !IsMultiplayer()

James connected

 

From: hlcoders-boun...@list.valvesoftware.com 
[mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of 
tobias.kammersga...@gmail.com
Sent: Sunday, February 09, 2014 2:26 PM
To: Discussion of Half-Life Programming
Subject: Re: [hlcoders] Access Violation in SDK 2013

 

When does the crash happen? When you connect or can you even get that far?

 

 - ScarT

 

From: James J. Kelly Jr. <mailto:james...@gmail.com> 
Sent: ‎Sunday‎, ‎February‎ ‎9‎, ‎2014 ‎8‎:‎19‎ ‎PM
To: hlcoders@list.valvesoftware.com

 

Hey guys,

 

I’m experimenting with porting a Source SDK 2007 mod to Source SDK 2013; I 
found several other mod authors who said they were able to create a diff from 
the vanilla SDK 2007 and merge their changes into Source SDK 2013 without much 
problem.

 

I tried this myself and so far the server build seems to work (or at least it 
loads in SRCDS and starts the game without crashing) but I can’t get the client 
to work because I keep getting an unhandled access violation exception at 
AssertValidWritePtr and unfortunately the call stack is filled with code from 
mostly engine.dll which I obviously don’t have any symbols for so it really 
doesn’t tell me much about what might causing it.

 

As a diagnostic measure I tried running a dedicated server and connecting to it 
from the client and found the crash happened in the client but not the server 
which helps narrow it down to just the client.

 

Have you guys encountered this type of problem before and how did you solve it 
or do you at least have any ideas?

 

The particular error I’m getting is this:

 

First-chance exception at 0x10EEC050 (engine.dll) in hl2.exe: 0xC005: 
Access violation reading location 0xFFEEFFF6.

Unhandled exception at 0x10EEC050 (engine.dll) in hl2.exe: 0xC005: Access 
violation reading location 0xFFEEFFF6.

 

Call stack copied from Visual Studio is below if you want to see it:

 

engine.dll!10eec050()Unknown

   [Frames below may be incorrect and/or missing, no symbols loaded 
for engine.dll]  

   engine.dll!10e10d38()Unknown

   vstdlib.dll!0fbd3a47() Unknown

   vstdlib.dll!0fbd3a47() Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   engine.dll!10ff5c62()  Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   ntdll.dll!776615de() Unknown

   ntdll.dll!7769b83d() Unknown

   KernelBase.dll!771fc41f() Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   vstdlib.dll!0fbe0e56() Unknown

   vstdlib.dll!0fbe0fe0() Unknown

   vstdlib.dll!0fbe0e56() Unknown

   vstdlib.dll!0fbe0ce3() Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()U

Re: [hlcoders] Access Violation in SDK 2013

2014-02-09 Thread tobias.kammersgaard
When does the crash happen? When you connect or can you even get that far?


 - ScarT






From: James J. Kelly Jr.
Sent: ‎Sunday‎, ‎February‎ ‎9‎, ‎2014 ‎8‎:‎19‎ ‎PM
To: hlcoders@list.valvesoftware.com






Hey guys,

 

I’m experimenting with porting a Source SDK 2007 mod to Source SDK 2013; I 
found several other mod authors who said they were able to create a diff from 
the vanilla SDK 2007 and merge their changes into Source SDK 2013 without much 
problem.

 

I tried this myself and so far the server build seems to work (or at least it 
loads in SRCDS and starts the game without crashing) but I can’t get the client 
to work because I keep getting an unhandled access violation exception at 
AssertValidWritePtr and unfortunately the call stack is filled with code from 
mostly engine.dll which I obviously don’t have any symbols for so it really 
doesn’t tell me much about what might causing it.

 

As a diagnostic measure I tried running a dedicated server and connecting to it 
from the client and found the crash happened in the client but not the server 
which helps narrow it down to just the client.

 

Have you guys encountered this type of problem before and how did you solve it 
or do you at least have any ideas?

 

The particular error I’m getting is this:

 

First-chance exception at 0x10EEC050 (engine.dll) in hl2.exe: 0xC005: 
Access violation reading location 0xFFEEFFF6.

Unhandled exception at 0x10EEC050 (engine.dll) in hl2.exe: 0xC005: Access 
violation reading location 0xFFEEFFF6.

 

Call stack copied from Visual Studio is below if you want to see it:

 

engine.dll!10eec050()Unknown

   [Frames below may be incorrect and/or missing, no symbols loaded 
for engine.dll]  

   engine.dll!10e10d38()Unknown

   vstdlib.dll!0fbd3a47() Unknown

   vstdlib.dll!0fbd3a47() Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   engine.dll!10ff5c62()  Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   ntdll.dll!776615de() Unknown

   ntdll.dll!7769b83d() Unknown

   KernelBase.dll!771fc41f() Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   vstdlib.dll!0fbe0e56() Unknown

   vstdlib.dll!0fbe0fe0() Unknown

   vstdlib.dll!0fbe0e56() Unknown

   vstdlib.dll!0fbe0ce3() Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2a

[hlcoders] Access Violation in SDK 2013

2014-02-09 Thread James J. Kelly Jr.
Hey guys,

 

I'm experimenting with porting a Source SDK 2007 mod to Source SDK 2013; I
found several other mod authors who said they were able to create a diff
from the vanilla SDK 2007 and merge their changes into Source SDK 2013
without much problem.

 

I tried this myself and so far the server build seems to work (or at least
it loads in SRCDS and starts the game without crashing) but I can't get the
client to work because I keep getting an unhandled access violation
exception at AssertValidWritePtr and unfortunately the call stack is filled
with code from mostly engine.dll which I obviously don't have any symbols
for so it really doesn't tell me much about what might causing it.

 

As a diagnostic measure I tried running a dedicated server and connecting to
it from the client and found the crash happened in the client but not the
server which helps narrow it down to just the client.

 

Have you guys encountered this type of problem before and how did you solve
it or do you at least have any ideas?

 

The particular error I'm getting is this:

 

First-chance exception at 0x10EEC050 (engine.dll) in hl2.exe: 0xC005:
Access violation reading location 0xFFEEFFF6.

Unhandled exception at 0x10EEC050 (engine.dll) in hl2.exe: 0xC005:
Access violation reading location 0xFFEEFFF6.

 

Call stack copied from Visual Studio is below if you want to see it:

 

engine.dll!10eec050()Unknown

   [Frames below may be incorrect and/or missing, no symbols
loaded for engine.dll]  

   engine.dll!10e10d38()Unknown

   vstdlib.dll!0fbd3a47() Unknown

   vstdlib.dll!0fbd3a47() Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   engine.dll!10ff5c62()  Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   ntdll.dll!776615de() Unknown

   ntdll.dll!7769b83d() Unknown

   KernelBase.dll!771fc41f() Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   vstdlib.dll!0fbe0e56() Unknown

   vstdlib.dll!0fbe0fe0() Unknown

   vstdlib.dll!0fbe0e56() Unknown

   vstdlib.dll!0fbe0ce3() Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!7722582f()Unknown

   KernelBase.dll!772259c7()Unknown

   KernelBase.dll!77220457()   Unknown

   KernelBase.dll!77220b0a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown

   GameUI.dll!2af31c36()  Unknown

   GameUI.dll!2af3d674()  Unknown

   GameUI.dll!2af8f12f()   Unknown

   GameUI.dll!2af8f57a()   Unknown