I haven't run into this issue with my 2007 based mod yet. I'm wondering if it matters if you run it in 32bit vs 64bit.
I'm on 32bit at the moment and haven't had a closing issue once. On Tue, May 22, 2012 at 9:55 AM, Cale Dunlap <cale.dun...@gmail.com> wrote: > Update on this... > > Saul, I tried your suggestion but it didn't have any effect. It sounds > like that was sort of expected though since your stacktrace was different > than mine. Oh well, worth a shot at least and I appreciate the suggestion. > > Andrew, I had actually come across your hack by way of Google when I first > started looking into this problem. I didn't immediately jump on it > because--like your comments in the code--its a hack. I did however take > note that it was there, figuring it would be an option when needed. > > Well, it turns out it was needed... the hack worked and hl2.exe closes > now. Though I can't say for certain it is closing gracefully, most likely > not. But now at least I won't have a bunch of testers whining about not > being able to launch the mod a second time without encountering a nag about > a previous instance already running, lol. Until we find a more appropriate > fix, or Valve decides to patch the 2007 SDK again, this will have to work. > I highly dislike doing little duct-tape & toothpick hacks like this, but I > guess it is the only option at the present time. > > Thanks again everyone. > > -Cale > > On Monday, May 21, 2012, Cale Dunlap wrote: > >> Great feedback everyone, I appreciate it. It is good to know it isn't >> just 218-based mods that have this problem. That sort of reinforces my >> findings--being related to Steam, or something outside of the game/mod. >> I'll try out some of the suggestions and report back. >> >> Thanks again! >> >> -Cale >> >> On Sun, May 20, 2012 at 1:52 PM, Saul Rennison >> <saul.renni...@gmail.com>wrote: >> >> Let me know if this works for you guys. We had this problem in CSProMod >> and I fixed it a few months ago, but my stacktrace was different to yours >> Cale, so this might not be it. >> >> public/tier1/utllinkedlist.h, around line 654: >> while ( i != InvalidIndex() ) >> >> Replace with: >> while ( IsValidIndex(i) ) >> >> >> Kind regards, >> *Saul Rennison* >> >> >> >> On 20 May 2012 16:43, Ben Pye <bfh...@gmail.com> wrote: >> >> Happens to me on Alien Swarm sometimes too, odd issue. >> >> >> On Sun, May 20, 2012 at 3:42 PM, Jan Hartung <jan.hart...@gmx.de> wrote: >> >> We’re strictly 2007 based and it happens for our mod as well. Although it >> didn’t happen up to about 3 or 4 weeks ago and also doesn’t happen every >> time now. It’s a strange problem.**** >> >> ** ** >> >> Jan**** >> >> ** ** >> >> *Von:* hlcoders-boun...@list.valvesoftware.com [mailto: >> hlcoders-boun...@list.valvesoftware.com] *Im Auftrag von *Tobias >> Kammersgaard >> *Gesendet:* Sonntag, 20. Mai 2012 15:53 >> *An:* Discussion of Half-Life Programming >> *Betreff:* Re: [hlcoders] Hung hl2.exe process for 2007-based mods**** >> >> ** ** >> >> I believe this happens with mods based on Alien Swarm, if that's any >> consolation . We're currently bringing our mod over to that branch, and >> I've noticed Swarm.exe keeps running in the background after shutting the >> mod down.**** >> >> ** ** >> >> - ScarT**** >> >> ** ** >> >> ** ** >> >> On 20 May 2012 07:55, Andrew McWatters <mcwattersand...@gmail.com> wrote: >> **** >> >> You're not alone, Cale. This happens on all 2007-based mods, and it's >> been months without a fix. I can't remember when this first started, but I >> don't see it being fixed anytime soon. Considering that I can't remember >> when the issue started, it could even have been years since the issue first >> arose.**** >> >> ** ** >> >> To be frank, considering support for the Source SDK codebases is sparce >> in terms of frequency, you'll just have to deal with the problem. A >> terrible way that I resolved the issue with my mod was to simply terminate >> the process right at the end of the game code shutdown routine.**** >> >> ** ** >> >> >> <http://code.google.com/p/hl2sb-src/source/detail?r=50&path=/trunk/src/game/client/cdll_client_int.cpp> >> >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > -- *Michael Kramer, Software Engineer & SEO Expert* http://www.siosphere.com | kra...@siosphere.com *[c] 801-530-9454* * * * * -------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders