1. Jonathan Ashwell
  2. Valentina Database ADK
  3. 火, 3月 14 2017, 05:14 PM
  4.  メールで購読
I just downloaded 7.0.3 (currently using 5.8.8, but I think my license is current). I'm running macOS 10.10.4 Yosemite. Creating a new VDatabase -> crash. Here's the code, then the crash log.

dim vdb as VDatabase
vdb = new VDatabase -> crash

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libvkernel_fat_release.dylib 0x0a9788ee fbl::vsql::SqlDatabase::SqlQueryEx(fbl::String const&, unsigned short, fbl::vsql::ECursorLocation, fbl::vsql::ELockType, fbl::vsql::ECursorDirection, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >;) + 58
1 libvkernel_fat_release.dylib 0x0a9789d1 non-virtual thunk to fbl::vsql::SqlDatabase::SqlQueryEx(fbl::String const&, unsigned short, fbl::vsql::ECursorLocation, fbl::vsql::ELockType, fbl::vsql::ECursorDirection, fbl::smart_ptr<fbl::ArrayOfSmartPtrs<fbl::smart_ptr<fbl::I_Value> > >;) + 75
2 v4rb_cocoa.dylib 0x0a183d3e Database_Ctor1(REALobjectStruct*, int) + 222
3 com.sonnysoftware.bookends 0x0028c3ca VDatabase.Constructor%%o<VDatabase>i4 + 58
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
Ah, that may be the problem. I installed on my Sierra system and I can create a new db with no problem. On the other Mac that I was initially using I have more than one copy of Xojo (I usually keep one version back in case I run into a regression). I may have installed the new plugin in the wrong version by mistake. I'll check tomorrow. So for now it looks like PEBKAC.

Thanks.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
And ValentinaPlugin.xojo_plugin has the same date in the Xojo / Plugins folder, right?
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
Yes, that's exactly what I get, but it's installed as 501 staff:

total 86040
-rwxr-xr-x 1 501 staff 16847180 Mar 5 02:37 libv8_32.dylib
-rwxr-xr-x 1 501 staff 2440488 Mar 5 02:37 libvclient_fat_release.dylib
-rwxr-xr-x 1 501 staff 12924072 Mar 5 02:37 libvkernel_fat_release.dylib
-rwxr-xr-x 1 501 staff 9291344 Mar 5 02:37 libvreport_fat_release.dylib
-rwxr-xr-x 1 501 staff 2535616 Mar 5 02:37 libvshared_fat_release.dylib
drwxr-xr-x 6 501 staff 204 Mar 14 16:31 vresources
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Also you can check that the vcomponents were updated:

$ ls -l /usr/local/lib/vcomponents
total 86040
-rwxr-xr-x 1 sergey staff 16847180 Mar 5 09:37 libv8_32.dylib
-rwxr-xr-x 1 sergey staff 2440488 Mar 5 09:37 libvclient_fat_release.dylib
-rwxr-xr-x 1 sergey staff 12924072 Mar 5 09:37 libvkernel_fat_release.dylib
-rwxr-xr-x 1 sergey staff 9291344 Mar 5 09:37 libvreport_fat_release.dylib
-rwxr-xr-x 1 sergey staff 2535616 Mar 5 09:37 libvshared_fat_release.dylib
drwxr-xr-x 6 sergey staff 204 Mar 14 20:08 vresources
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
From within Xojo. Note that the code is written above -- it's super simple and has worked with Valentina forever.

dim vdb as VDatabase
vdb = new VDatabase -> crash

It's working with 5.8.8. I'm reporting the crash with log that I see with 7.0.3. I'll try later today on a Mac running Sierra.
コメント
There are no comments made yet.
Scott 承諾済みの回答
Are you trying to create a new VDB by using code from within Xojo or through VStudio?
コメント
There are no comments made yet.
Jonathan Ashwell 承諾済みの回答
Yes, I installed V4RB 7.0.3, quit and relaunched Xojo, and ran my project in the debugger on the same system. It launched, and when I tried to create a new VDatabase I got that crash (it's reproducible).
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello Jonathan,

There is no such codepath as crashlog has.

You have installed V4RB 7.0.3 and recompiled the application, started it on the same system. Right?
コメント
There are no comments made yet.
  • ページ :
  • 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