<HTML>
<HEAD>
<TITLE>Re: [ANN] V4RB MACHO uploaded 2.2 b6</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi Ruslan.<BR>
<BR>
<FONT COLOR="#006600">>> OSX - crashes!<BR>
>> <BR>
>> So the crash only occurs when the OSX plugin is used. All other plugin<BR>
>> parts are fine.<BR>
<BR>
</FONT><FONT COLOR="#000098">> Can you give me URL to this OSX plugin ?<BR>
</FONT><BR>
Go to <a href="http://www.monkeybreadsoftware.info/realbasic/plugins.shtml">http://www.monkeybreadsoftware.info/realbasic/plugins.shtml</a> and download the file MBS-RB-Plugins60Mac.dmg .<BR>
<BR>
>From the disk image, copy “MBS REALbasic OSX Plugin” into your REALbasic /Plugins/ folder.<BR>
<BR>
Then, launch RB2006r1, and build the Database_CreateCloseOpen test application as MachO.<BR>
<BR>
<FONT COLOR="#000098">> What is it doing? <BR>
</FONT><BR>
I think that this particular plugin contains all of the Mac OS X specific parts of the MBS plugins. Christian has split the MBS plugin into several parts, to enable users to only work with the parts they need.<BR>
<BR>
To see exactly what is contained within the OSX plugin, look at this page:<BR>
<BR>
<a href="http://www.monkeybreadsoftware.info/pluginhelp/plugins-mbsrealbasicosxplugin.shtml">http://www.monkeybreadsoftware.info/pluginhelp/plugins-mbsrealbasicosxplugin.shtml</a><BR>
<BR>
<FONT COLOR="#000098">> So to start crash enough only have it in plugins folder?<BR>
</FONT><BR>
Yes. To get the crash, all you have to do is to have the “MBS REALbasic OSX Plugin” in your Plugins folder when you compile the application. This is true even though the built application does <B>not </B>use the MBS plugin at all. If you remove the plugin and build the application, then it works fine. (In both cases you need to copy VComponents into the built application’s MachO bundle, obviously.)<BR>
<FONT COLOR="#000098"><BR>
> Does this plugin have Carbon/Macho/Windows parts<BR>
<BR>
</FONT>I’m not entirely sure. This part of the MBS plugin contains all of the code which works on OSX <B>only</B>, I think. But it may still contain “wrapper” code for Carbon and Windows, to make RB think that it has all three, even though the plugin only does anything on OSX. Christian is the right person to ask :-)<BR>
<BR>
Once you have the MBS plugin in your /Plugins/ folder, hopefully you will be able to replicate the problem on your computer. Christian’s comment to the betas list sounds like a possible cause of the crash:<BR>
<BR>
<FONT COLOR="#008000">>> From: Christian Schmitz <support@monkeybreadsoftware.info><BR>
>> <BR>
>> szone_free is calling printf, so I expect it wants to print this warning<BR>
>> about double free on the console.<BR>
>> <BR>
>> Check your code. Looks like you free something one time too often or you<BR>
>> free a constant string.<BR>
>> <BR>
>> Mfg<BR>
>> Christian<BR>
</FONT><BR>
I hope this helps, and good luck tracking down the problem!<BR>
<BR>
Dave.</SPAN></FONT>
</BODY>
</HTML>