<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>
I have found out why I was getting this crash. &nbsp;I tried compiling Common/DB_CreateCloseOpen with <B>just</B> the V4RB 2.2b6 plugin (from the Macho package), and <B>no</B> other plugins, and the compiled application launched fine! &nbsp;But, when I add the MonkeyBread plugins to my REALbasic /Plugins/ folder, and compile, then I get the error message below.<BR>
<BR>
Just to be clear, I am compiling the built application, and then opening the package and copying the MachO VComponents folder to MyApp.app/Contents/Vcomponents. &nbsp;As I say, with <B>just </B>V4RB 2.2b6, the built application does launch, but with MonkeyBread as well, it does not.<BR>
<BR>
As a test, I tried adding some other plugins in to the /Plugins/ folder. &nbsp;Even with ElfData, Einhugur&#8217;s StyleGrid and DataGrid, and my own custom plugin, there were no problems. &nbsp;It was only when I added the MonkeyBread plugins that I had the crash problem. &nbsp;I am using MonkeyBread plugins version 5.4.<BR>
<BR>
So, it is not just V4RB&#8217;s fault! &nbsp;But I do need to be able to use the MBS plugins too :-)<BR>
<BR>
Interestingly, the Common/DB_CreateCloseOpen application doesn&#8217;t <B>use </B>the MBS plugins, so I don&#8217;t know why they cause a problem for the compiled application. &nbsp;But they do.<BR>
<BR>
Hope this helps! &nbsp;RB 2006r1, Mac OS X 10.4.4.<BR>
<BR>
Dave.<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Dave Addey &lt;listmail1@dsl.pipex.com&gt;<BR>
<B>Reply-To: </B>Valentina Beta &lt;valentina-beta@lists.macserve.net&gt;<BR>
<B>Date: </B>Thu, 02 Feb 2006 15:39:38 +0000<BR>
<B>To: </B>Valentina Beta &lt;valentina-beta@lists.macserve.net&gt;<BR>
<B>Conversation: </B>[ANN] V4RB MACHO uploaded 2.2 b6<BR>
<B>Subject: </B>Re: [ANN] V4RB MACHO uploaded 2.2 b6<BR>
<BR>
Hi Ruslan,<BR>
<BR>
I just tried Common/Database_CreateCloseOpen in Rb2006r1 with the latest beta for Macho. &nbsp;I changed the project's build settings to be &quot;Mac OS Only&quot;, built the application, and copied the VComponents into the MyApplication.app/Contents/ folder. &nbsp;I then launched the project. &nbsp;It crashes with the same error message:<BR>
<BR>
Exception: &nbsp;EXC_BAD_ACCESS (0x0001)<BR>
Codes: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KERN_PROTECTION_FAILURE (0x0002) at 0x00000000<BR>
<BR>
Thread 0 Crashed:<BR>
0 &nbsp;&nbsp;libSystem.B.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x90003008 strlen + 8<BR>
1 &nbsp;&nbsp;libSystem.B.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x9012bb8c _simple_vdprintf + 3544<BR>
2 &nbsp;&nbsp;libSystem.B.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x9012c404 _simple_dprintf + 52<BR>
3 &nbsp;&nbsp;libSystem.B.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x90126b50 malloc_printf + 180<BR>
4 &nbsp;&nbsp;libSystem.B.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x900076dc szone_free + 4060<BR>
5 &nbsp;&nbsp;vsdk_macho.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0221fa78 operator delete(void*) + 32<BR>
6 &nbsp;&nbsp;Kernel_Macho_BSD_Final.dylib &nbsp;&nbsp;&nbsp;&nbsp;0x058bfb68 fbl::String_ICU::~String_ICU [in-charge deleting]() + 76<BR>
7 &nbsp;&nbsp;Kernel_Macho_BSD_Final.dylib &nbsp;&nbsp;&nbsp;&nbsp;0x05a009f8 fbl::I_Unknown_Impl&lt;fbl::I_String&gt;::Release() const + 52<BR>
8 &nbsp;&nbsp;VShared_Macho_CW.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x01634780 fbl::String::~String [in-charge]() + 88<BR>
9 &nbsp;&nbsp;V4RB.rbx_0.129.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x00774010 V4RB_AddConstant(fbl::ErrorEntry*, unsigned long) + 200<BR>
10 &nbsp;V4RB.rbx_0.129.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0077408c V4RB_RegisterErrorCodes() + 92<BR>
11 &nbsp;V4RB.rbx_0.129.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x00761b9c PluginEntry + 28<BR>
12 &nbsp;V4RB.rbx_0.129.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0074f284 REALPluginMain + 112<BR>
13 &nbsp;rbframework.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0039e3b0 Z16LoadMachOPluginsv + 1292<BR>
14 &nbsp;rbframework.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0039e46c LoadPlugins + 52<BR>
15 &nbsp;rbframework.dylib &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x00407f70 RuntimeInitExternalClasses + 28<BR>
16 &nbsp;My Application &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x000090d4 _Main + 68<BR>
17 &nbsp;My Application &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x000014f8 % main + 56<BR>
18 &nbsp;My Application &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x000a43cc _start + 184<BR>
19 &nbsp;My Application &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x000a429c start + 48<BR>
<BR>
Dave.<BR>
<BR>
<FONT COLOR="#000098">&gt; From: Ruslan Zasukhin &lt;sunshine@public.kherson.ua&gt;<BR>
&gt; Reply-To: Valentina Beta &lt;valentina-beta@lists.macserve.net&gt;<BR>
&gt; Date: Thu, 02 Feb 2006 17:34:36 +0200<BR>
&gt; To: &quot;valentina-beta@lists.macserve.net&quot; &lt;valentina-beta@lists.macserve.net&gt;<BR>
&gt; Conversation: [ANN] V4RB MACHO uploaded 2.2 b6<BR>
&gt; Subject: Re: [ANN] V4RB MACHO uploaded 2.2 b6<BR>
&gt; <BR>
&gt; On 2/2/06 5:24 PM, &quot;Dave Addey&quot; &lt;listmail1@dsl.pipex.com&gt; wrote:<BR>
&gt; <BR>
&gt; Hi Dave,<BR>
&gt; <BR>
</FONT><FONT COLOR="#006600">&gt;&gt; I downloaded the new archive.<BR>
&gt;&gt; <BR>
&gt;&gt; Good news: no linker errors any more for the build application.<BR>
&gt;&gt; <BR>
&gt;&gt; Bad news: I just tried it, and I get this crash on application startup:<BR>
</FONT><FONT COLOR="#000098">&gt; <BR>
&gt; Please try V4RB examples.<BR>
&gt; <BR>
&gt; I have try e.g. Common/Database_CreateCloseOepn<BR>
&gt; <BR>
&gt; <BR>
&gt; -- <BR>
&gt; Best regards,<BR>
&gt; <BR>
&gt; Ruslan Zasukhin<BR>
&gt; VP Engineering and New Technology<BR>
&gt; Paradigma Software, Inc<BR>
&gt; <BR>
&gt; Valentina - Joining Worlds of Information<BR>
&gt; <a href="http://www.paradigmasoft.com">http://www.paradigmasoft.com</a><BR>
&gt; <BR>
&gt; [I feel the need: the need for speed]<BR>
&gt; <BR>
&gt; <BR>
&gt; _______________________________________________<BR>
&gt; Valentina-beta mailing list<BR>
&gt; Valentina-beta@lists.macserve.net<BR>
&gt; <a href="http://lists.macserve.net/mailman/listinfo/valentina-beta">http://lists.macserve.net/mailman/listinfo/valentina-beta</a><BR>
</FONT><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:9.0px'>_______________________________________________<BR>
Valentina-beta mailing list<BR>
Valentina-beta@lists.macserve.net<BR>
<a href="http://lists.macserve.net/mailman/listinfo/valentina-beta">http://lists.macserve.net/mailman/listinfo/valentina-beta</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>