VServer/VStudio/V4RB frustrations

Erik Mueller-Harder erikmh at gmail.com
Tue Nov 14 15:30:58 CST 2006


Hi, Ruslan & others --

I don't have much hair left, because I've pulled most of it out. I'll
try to be brief but complete. At this stage, all I'm trying to do is
to connect to VServer with a client; if I make a successful connection
without crashing, I'm calling that a "success."

In short, the following combination of tools works for me:

  - VStudio 2.4.3 & VServer/Office 2.4.3

and the following combinations of tools do NOT work for me:

  - Rb 2006r4/Ub & V4RB 2.4.3/Ub & VServer/Office 2.4.3
  - Rb 2006r4/Ub & V4RB 2.5b15/Ub & Vserver/Office 2.5b11
  - VStudio 2.5b16 & VServer/Office 2.5b11

[b11, b15, and b16 are the current betas of VServer, V4RB, and
VStudio, respectively]

I have repeatedly thrown out all VComponents folders, plug-ins, etc.,
and re-installed the VServer, VStudio, and V4RB software, with no
resulting changes in functionality or error messages.

In Rb, I have attempted to use the supplied V4RB Example project
"Valentina Server Utility," which will not compile with either the
V4RB 2.4.3 or the 2.5b15 plug-in:

  WindowServer.Close, line 17
    This method or property does not exist.
    ValentinaServer.CloseSession

  WindowServer.connectToServer, line 6
    This method requires fewer parameters than were passed.
    ValentinaServer = new VServer(myHost, myUserName, myPassword, myPort)

etc. Six errors in all. I modified the project (in place, not
remembering that it gets replaced when I re-install V4RB, so it's gone
now) in ways which allowed it to compile and run -- and crash when I
clicked on the "Connect" button; VServer wrote to its log words to the
effect "unknown error," but again, the log file was overwritten by
VServer later.

I also created my own V4RB project, which also crashes when I attempt
to connect to VServer -- both with 2.4.3 and with 2.5b15/11. In this
case, VServer creates no log entry (even when set to "Debug"
verbosity); I do get this in Rb, though:


Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x0000000c

Thread 0 Crashed:
0   libvclient_fat_release.dylib 	0x06666b1c
fbl::VC_Connection::Close(bool) + 40 (icplusplus.c:27)
1   libvclient_fat_release.dylib 	0x06666114
fbl::VC_Connection::~VC_Connection [unified]() + 92 (icplusplus.c:27)
2   libvclient_fat_release.dylib 	0x066ef9d8
fbl::VC_Connection::Release() const + 64 (icplusplus.c:27)
3   V4RB.rbx_0.129.dylib         	0x0107aa74
Connection_Destructor(REALobjectStruct*, void*) + 132
(icplusplus.c:27)
4                                	0x00135704
VConnection.__exit%%o<VConnection> + 76

those are the only lines that look like they have anything to do with Valentina.


So, when I abandon Rb and try to use VStudio, everything is fine if
VStudio and VServer are at version 2.4.3.

With VStudio 2.5b16 and VServer 2.5b11, I can technically connect, but
the instant I click on the connected server in the browser window,
VStudio crashes. VServer then writes "Client has been suddenly
disconnected (17)" -- or "(18)". There are many more relevant-looking
lines of the dump, so I'll refrain from posting them here unless
someone is interested.

FYI, I'm running VServer on my local machine on port #15432. I'm
connecting alternately to "127.0.0.1" and to "LOCALHOST" with the
default username and password of "sa".

This is all running Mac OS X 10.4.8 on a 1.67GHz PowerBook G4 with 2GB memory.

Though I've had a license for VServer for a while now, this is the
first I've really tried to get it up and running. I'd been under the
impression that it was pretty simple, and that most of my existing
code would work fine....  But I'm a long way yet from even attempting
to use my existing code.

- Is the Example project working for others?

- Is there documentation more recent than the July V4RB PDF file on
that's on the web site?

- Am I missing something obvious?

Help!

-- Erik, rapidly balding in Vermont


More information about the Valentina mailing list