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