Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

runtime failure (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: mach-o
Next thread: using timer as event filter


macosx and unix paths   -   GOLD
  runtime failure   -   Alexander Cohen
   Re: runtime failure   -   Alexander Cohen
   Re: runtime failure   -   Aaron Ballman
   Re: runtime failure   -   Alexander Cohen
   Re: runtime failure   -   Aaron Ballman
   Re: runtime failure   -   Alexander Cohen
   Re: runtime failure   -   Aaron Ballman
   Re: runtime failure   -   Will Leshner
   Re: runtime failure   -   Alexander Cohen

runtime failure
Date: 26.06.04 16:14 (Sat, 26 Jun 2004 11:14:57 -0400)
From: Alexander Cohen
Im getting a runtime failure when quitting an app that uses a custom
plugin of mine. Here's the failure:

Re: runtime failure
Date: 26.06.04 16:22 (Sat, 26 Jun 2004 11:22:06 -0400)
From: Alexander Cohen
Just specifiy more clearly where this is happening, its happening after
the destructor of plugin class is being called. After all the code in
the destructor has run though. I even commented out all the code in the
destructor and im still getting the error.

On Jun 26, 2004, at 11:14 AM, Alexander Cohen wrote:

> Im getting a runtime failure when quitting an app that uses a custom
> plugin of mine. Here's the failure:
>
> --
> Runtime Failure: Failed Assertion. Please
> report what caused this error, along with
> the information below.
>
> dump.cpp 0 overwrote end of block.
> --
>
> what could be causing this? Any ideas?
>
> thanks!
>
> Alex
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 17:18 (Sat, 26 Jun 2004 11:18:09 -0500)
From: Aaron Ballman
> dump.cpp 0 overwrote end of block.
> --
>
> what could be causing this? Any ideas?

You have some memory corruption somewhere in your plugin. Something is
writing over its bounds.

HTH!

~Aaron

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 17:27 (Sat, 26 Jun 2004 12:27:22 -0400)
From: Alexander Cohen
And how can i find out what? Ive got my problem class down to no code
at all except the ClassData, a constructor with no code and a
destructor with no code and i get the same error.

Alex

On Jun 26, 2004, at 12:18 PM, Aaron Ballman wrote:

>> dump.cpp 0 overwrote end of block.
>> --
>>
>> what could be causing this? Any ideas?
>
> You have some memory corruption somewhere in your plugin. Something is
> writing over its bounds.
>
> HTH!
>
> ~Aaron
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 17:30 (Sat, 26 Jun 2004 11:30:52 -0500)
From: Aaron Ballman
> And how can i find out what? Ive got my problem class down to no code
> at all except the ClassData, a constructor with no code and a
> destructor with no code and i get the same error.

Well, it still could be just about anything that uses new to allocate the
memory for it. Basically, how this happens is like this:

you allocate some data for something. Then you start storing data into it,
except you store more data than expected. For example, you allocate 10
bytes and write 11 bytes of data. Then, when you go to delete the allocated
memory, you find out that you overwrote the end of the data block with this
assertion.

So I would check anywhere that new would get called, and anywhere you're
filling memory out.

~Aaron

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 17:46 (Sat, 26 Jun 2004 12:46:11 -0400)
From: Alexander Cohen
Ok, this is really weird. Im not doing any new or deletes. But i tried
changing the name of my classData, and now all works perfectly. Whats
the deal with that? im confused.

Alex

On Jun 26, 2004, at 12:30 PM, Aaron Ballman wrote:

>> And how can i find out what? Ive got my problem class down to no code
>> at all except the ClassData, a constructor with no code and a
>> destructor with no code and i get the same error.
>
> Well, it still could be just about anything that uses new to allocate
> the
> memory for it. Basically, how this happens is like this:
>
> you allocate some data for something. Then you start storing data
> into it,
> except you store more data than expected. For example, you allocate 10
> bytes and write 11 bytes of data. Then, when you go to delete the
> allocated
> memory, you find out that you overwrote the end of the data block with
> this
> assertion.
>
> So I would check anywhere that new would get called, and anywhere
> you're
> filling memory out.
>
> ~Aaron
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 18:21 (Sat, 26 Jun 2004 12:21:09 -0500)
From: Aaron Ballman
> Ok, this is really weird. Im not doing any new or deletes. But i tried
> changing the name of my classData, and now all works perfectly. Whats
> the deal with that? im confused.

Sounds like a bug with the plugin SDK perhaps. I'm really not certain....

~Aaron
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 18:42 (Sat, 26 Jun 2004 10:42:52 -0700)
From: Will Leshner
On Sat, 26 Jun 2004 12:21:09 -0500, Aaron Ballman
<<email address removed>> wrote:
>
> > Ok, this is really weird. Im not doing any new or deletes. But i tried
> > changing the name of my classData, and now all works perfectly. Whats
> > the deal with that? im confused.
>
> Sounds like a bug with the plugin SDK perhaps. I'm really not certain....

I'm kind of doubting it. Maybe if we saw some code something might
jump out at us?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: runtime failure
Date: 26.06.04 19:37 (Sat, 26 Jun 2004 14:37:55 -0400)
From: Alexander Cohen
On Jun 26, 2004, at 1:42 PM, Will Leshner wrote:

> On Sat, 26 Jun 2004 12:21:09 -0500, Aaron Ballman
> <<email address removed>> wrote:
>>
>>> Ok, this is really weird. Im not doing any new or deletes. But i
>>> tried
>>> changing the name of my classData, and now all works perfectly. Whats
>>> the deal with that? im confused.
>>
>> Sounds like a bug with the plugin SDK perhaps. I'm really not
>> certain....
>
> I'm kind of doubting it. Maybe if we saw some code something might
> jump out at us?

I doubt it too. Ill see if i can send in some code.

Alex

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>