1. Jonathan Ashwell
  2. Valentina Database ADK
  3. Mittwoch, März 16 2016, 02:54 PM
  4.  Abonnieren via E-Mail
I have Xojo Standard and use DisableRBDB to allow building a project using Valentina. However, if my app is in the same folder as DisableRBDB it crashes on launch. Is this the expected behavior? And if so, is there a workaround (other than moving my app or DisableRBDB to a different folder)?
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Why would your app be in the Xojo folder? This is where DisableRBDB belongs in.

946872
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
I run multiple versions of Xojo, so I keep my builds in the same folder to easily select between them. But it really doesn't matter why. I'd like to know if a crash is expected or not.
Kommentar
There are no comments made yet.
Beatrix Willius Akzeptierte Antwort
Scratching head: what are you doing? Using different version of Xojo doesn't have anything to do with the location of your app.

Can you post a crash log?
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
Sigh.
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Hi Jon,

I also have not very understand

* you have used always this DisableRBDB,
* what have changed?
* when it have start crash for you?
* exists configuration when it works for you?
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
I started noticing the crash about 6 months ago. I don't know what changed -- maybe moving to a newer version of Valentina (I'm on 5.8.8) or Xojo (2015r4.1)? If my app and DisableRBDB are in different folders there is no problem. But if they're in the same folder I get first a runtime error (see attachment) and then this crash:


Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (pluginEntryTable.GetEntry( entrypointName, out ), "can't find plugin method VRBDataBase.__exit";), function RuntimeLookupPluginEntrypoint, file Common/plugin.cpp, line 957.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x92f5169a __pthread_kill + 10
1 libsystem_pthread.dylib 0x9c41af19 pthread_kill + 101
2 libsystem_c.dylib 0x9b632eee abort + 156
3 libsystem_c.dylib 0x9b5fb8c5 __assert_rtn + 399
4 com.xojo.XojoFramework 0x02495b2c 0x248c000 + 39724
5 com.xojo.XojoFramework 0x02624eab 0x248c000 + 1674923
6 com.xojo.XojoFramework 0x0251e0a4 0x248c000 + 598180
7 com.xojo.XojoFramework 0x025b6280 RuntimeLookupPluginEntrypoint + 300
8 com.sonnysoftware.bookends 0x02072d2e InitPluginEntrypoints + 47387
9 com.sonnysoftware.bookends 0x0203efb9 _EarlyStartup + 36
10 com.sonnysoftware.bookends 0x0203f11c _Main + 153
11 com.sonnysoftware.bookends 0x0202966b main + 36
12 com.sonnysoftware.bookends 0x02074a78 start + 53
Anhänge
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
But if they are in different folders, this feature works for you?

From crashlog I see that its Xojo itself crashes.
And it try find method VRBDataBase

May be new methods related to SQLite cause trouble.
We will check this with latest builds.

Actually yes, if somebody disable RBDB then he disable SQLite features of V4RB plugin,
only Valentina DB/Reports API will work.

Please make Mantis bug report from your name.
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
Yes, if they're in different folders (DisableRBDB and my app) then my app launches. Thanks, I'll file a report in Mantis.
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
Hi Jon,

I have learn this crash. Yes really if put DisableRBDB into compileAppFolder, then crash happens.

* Crash happens in Xojo itself
* Our function which work with DisableRBDB is not called yet!!
* It has prints and file logs, none is printed
* Not clear why and how CompiledAdd feels DisableRBDB file ?!?!!

But Jon,

There is no any reason put this file into folder of CompiledApp!!

This file must be only in Xojo App.

If you have different versions of Xojo, put it into each Xojo folder.

Nothing more is required.
Kommentar
There are no comments made yet.
Jonathan Ashwell Akzeptierte Antwort
I prefer to keep my various builds in the same folder as Xojo. It's a pain, but I move DisableRBDB into that folder only when I Build, otherwise it's on the desktop. If this issue can't be solved I can live with that. Thanks for looking into it.
Kommentar
There are no comments made yet.
Ruslan Zasukhin Akzeptierte Antwort
In folder of /Applications/Xojo/ ?

Jon, I think this is not very good idea.
Folder '/Applications' should not be touched by builds and other documents.

Xojo by default creates build folder near to project location.
IMO this is the natural place.
When I am working with some Xojo project I keep that folder open,
so I can easy see build folder and, for example trash it.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories