Talk About Network

Google





Software > Biz Talk NonXML > Re: Flat file d...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 10 Topic 946 of 978
Post > Topic >>

Re: Flat file disassembler, crash event: memory is corrupt

by =?Utf-8?B?UTFhbmRRMg==?= <Q1andQ2@[EMAIL PROTECTED] > Jul 30, 2007 at 12:46 PM

A scary situation:
Scenario: Vs2005 .Net 2.0 ,  debuging Web Services without restart IIS,   
refreshed one dll into GAC, The web service failed on a simple function in
a 
singleton instance.   In this case it failed on 
        LocalNode.Instance.isLocalNode(host);  
???then started to debug by attaching to w3p.  oops, the instance was 
another class  which was a common class(  not singleton). press F11, it
still 
went inside a function like 
            f( string p1,string p2,string p3)
 the p1 was "127.0.0.1" which is the input parameter. it kept running to
the 
end and gave a false.

/// this class is in the dll in GAC
namespace ....
{  
    public class LocalNode:Template.Singleton<LocalNode>
    {
        private string hostname=null;
        public string HostName
        {
            get{
                if ( hostname==null) 
                        hostname=System.Net.Dns.GetHostName();
                return hostname;
            }
        }

        public bool isLocalhost(string host)
        {  // the program didn't come here
           return true;
         }
}


Re-compile everything, restart everthing, refresh the dll in GAC.  Works 
fine now.
:( ???!!!


"Neil" wrote:

> Sounds like you are running out of memory, have you got a new Host for
the 
> Send, Receive and Processing (Orchestration) for that Application ?. 
Monitor 
> the BTS using Perfmon (Processes, Working Set) to see if you are
bleeding 
> memory.
> 
> Remove all of the custom components and then add them back in one at a
time.
> 
> - Don’t try to tune the Host UNTIL After you have done this! 
> 
> When you tune it, drop the number of messages being processed by the
send 
> ****ts right down (1/2) then retry, if that fixes it then the messages
are to 
> big  (It loads based on Processor, Core etc). There is a good but
complex 
> article on the MSDN about this. 
> 
> Don’t try and change to much at once.
> 
> 
> 
> N
> 
> 
> "Q1andQ2" wrote:
> 
> > if '0x00' comes without cra****ng, it throws the event of " Attempted
to read 
> > or write 
> > protected memory. This is often an indication that other memory is
corrupt".
> > After a while, the machine crashed.
> > 
> > "Eric Stott" wrote:
> > 
> > > Lets leave the swearing to other forums.
> > > 
> > > Do you experience the same problem with the memory when you use the
pipeline 
> > > testing components in the SDK?
> > > 
> > > Eric
> > > http://blog.biztalk-info.com
> > > 
> > > "Q1andQ2" <Q1andQ2@[EMAIL PROTECTED]
> wrote in message 
> > > news:609E04F9-B901-4B71-988E-EA8BFB8885B3@[EMAIL PROTECTED]
> > > > There was a failure executing the receive pipeline: ....Source:
"Flat file
> > > > disassembler" Receive ****t:... URI: ....Reason: Attempted to read
or write
> > > > protected memory. This is often an indication that other memory is

> > > > corrupt.
> > > >
> > > > What the hell is going on?
> > > >
> > > > 
> > > 
> > > 
> > >
 




 10 Posts in Topic:
Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-18 12:28:00 
Re: Flat file disassembler, crash event: memory is corrupt
"Eric Stott" &l  2007-07-19 10:24:44 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-19 12:08:02 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-19 12:08:01 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-19 12:14:06 
Re: Flat file disassembler, crash event: memory is corrupt
"Eric Stott" &l  2007-07-19 14:26:34 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?TmVpbA==?= <  2007-07-25 07:20:04 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-30 07:00:02 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-30 07:08:01 
Re: Flat file disassembler, crash event: memory is corrupt
=?Utf-8?B?UTFhbmRRMg==?=   2007-07-30 12:46:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 2:03:54 PST 2009.