Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-31 Thread Ondřej Hošek

Without a sarcasm detector, I can't tell if that was just sarcasm or not.

However, we should get back on topic and hope that Visual Studio is not
so sarcasmhelpful/sarcasm to not to allow dumping the callstack into
a plaintext file.

(@John: I hope your Bayesian filter caught that XML.)

~~ Ondra

[EMAIL PROTECTED] wrote:

Oh a sarcasm detector, that's a REAL useful invention.

(BOOM!)

At 2006/08/30 03:49 PM, Nick wrote:


Everyone knows the internet is the best place for sarcasm!

On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:


On Wednesday 30 August 2006 11:58 am, David Kiger wrote:


I believe he was being ironic.

On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:


On Tuesday 29 August 2006 10:53 pm, [EMAIL PROTECTED] wrote:


Please paste the callstack .png into a Word document, then gzip the
.doc, so it's smaller to download and easier to read.


Not to be a pain, but pasting into a Word document and gzipping is
probably the _furthest_ thing from making it easier to download and read
that you could do.


My Bayesian sarcasm filter isn't working out very well.

-John Sheu



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



Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-30 Thread Stephen Micheals

callstack.png is only 2kb, utlmemoryassert.png is only 5kb, and the
third image is 13kb, all are perfectly fine to read from.

anyways i managed to fix the problem with a bit of sleep and looking
at some of the bits of code i wrote, i forgot to reset the keyvalues
pointer at the end of a for loop so it would just endlessly add the
first keyvalue's item into the cutlvector in a inf loop until the
program explodes.

now the only problem i have is the awkward behaviour of some of the
drop down menus i have when thay are selected a few times in a row.


On 8/29/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

Please paste the callstack .png into a Word document, then gzip the .doc, so 
it's smaller to download and easier to read.


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



Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-30 Thread David Kiger

I believe he was being ironic.

On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:

On Tuesday 29 August 2006 10:53 pm, [EMAIL PROTECTED] wrote:
 Please paste the callstack .png into a Word document, then gzip the .doc,
 so it's smaller to download and easier to read.

Not to be a pain, but pasting into a Word document and gzipping is probably
the _furthest_ thing from making it easier to download and read that you
could do.

-John Sheu

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




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



Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-30 Thread John Sheu
On Wednesday 30 August 2006 11:58 am, David Kiger wrote:
 I believe he was being ironic.

 On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:
  On Tuesday 29 August 2006 10:53 pm, [EMAIL PROTECTED] wrote:
   Please paste the callstack .png into a Word document, then gzip the
   .doc, so it's smaller to download and easier to read.
 
  Not to be a pain, but pasting into a Word document and gzipping is
  probably the _furthest_ thing from making it easier to download and read
  that you could do.

My Bayesian sarcasm filter isn't working out very well.

-John Sheu

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



Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-30 Thread Nick

Everyone knows the internet is the best place for sarcasm!

On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:

On Wednesday 30 August 2006 11:58 am, David Kiger wrote:
 I believe he was being ironic.

 On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:
  On Tuesday 29 August 2006 10:53 pm, [EMAIL PROTECTED] wrote:
   Please paste the callstack .png into a Word document, then gzip the
   .doc, so it's smaller to download and easier to read.
 
  Not to be a pain, but pasting into a Word document and gzipping is
  probably the _furthest_ thing from making it easier to download and read
  that you could do.

My Bayesian sarcasm filter isn't working out very well.

-John Sheu

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




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



Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-30 Thread bloodykenny
Oh a sarcasm detector, that's a REAL useful invention.

(BOOM!)

At 2006/08/30 03:49 PM, Nick wrote:
Everyone knows the internet is the best place for sarcasm!

On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:
On Wednesday 30 August 2006 11:58 am, David Kiger wrote:
 I believe he was being ironic.

 On 8/30/06, John Sheu [EMAIL PROTECTED] wrote:
  On Tuesday 29 August 2006 10:53 pm, [EMAIL PROTECTED] wrote:
   Please paste the callstack .png into a Word document, then gzip the
   .doc, so it's smaller to download and easier to read.
 
  Not to be a pain, but pasting into a Word document and gzipping is
  probably the _furthest_ thing from making it easier to download and read
  that you could do.

My Bayesian sarcasm filter isn't working out very well.

-John Sheu

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


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

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



Re: [hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-29 Thread bloodykenny
Please paste the callstack .png into a Word document, then gzip the .doc, so 
it's smaller to download and easier to read.

At 2006/08/28 02:13 PM, Stephen Micheals wrote:
i have been having some problems with some of the custom code i have
written for a map config file system that sets what weapons a team can
select and use along with a few other items.

whenever the code gets to the point where in needs to add a item to
the CUtlVector that was created it throws out a Assert in Utlmemory.h
seen here:
http://damagedbrain.net/hlcoders/utlmemoryassert.png
http://damagedbrain.net/hlcoders/utlmemorycallstack.png

then crashes in another area of code:
http://damagedbrain.net/hlcoders/callstack.png

you can take a look at my code here:
http://damagedbrain.net/hlcoders/mapinfo.cpp
http://damagedbrain.net/hlcoders/mapinfo.h

i have attempted for a few hours to rewrite the code and debug it to no 
success.
any and all help would be greatly appreciated.

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

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



[hlcoders] Utlmemory.h Assert and crash with custom code that uses CUtlVector

2006-08-28 Thread Stephen Micheals

i have been having some problems with some of the custom code i have
written for a map config file system that sets what weapons a team can
select and use along with a few other items.

whenever the code gets to the point where in needs to add a item to
the CUtlVector that was created it throws out a Assert in Utlmemory.h
seen here:
http://damagedbrain.net/hlcoders/utlmemoryassert.png
http://damagedbrain.net/hlcoders/utlmemorycallstack.png

then crashes in another area of code:
http://damagedbrain.net/hlcoders/callstack.png

you can take a look at my code here:
http://damagedbrain.net/hlcoders/mapinfo.cpp
http://damagedbrain.net/hlcoders/mapinfo.h

i have attempted for a few hours to rewrite the code and debug it to no success.
any and all help would be greatly appreciated.

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