Crash on kernel->loadConfigFile

6 views
Skip to first unread message

Ebonair

unread,
May 15, 2012, 6:39:19 PM5/15/12
to vrjuggler-questions
I'm trying to create my first VRJuggler project, but I'm having
problems getting started. I copied and pasted the code from SimpleApp
into my program, and set the linker and include directories under
Project->Properties appropriately. I can compile it, but I get a crash
on the following command:

kernel->loadConfigFile(argv[i]);

From the console:

Assertion failed: (len <= msg.size() && "Length is bigger than data
given"), file ..\..\..\modules\vapor\vpr/IO/Socket/SocketDatagram_t.h,
line 199

From Visual Studio's output window:

First-chance exception at 0x7750b9bc in HoloVenture.exe: Microsoft C++
exception: cppdom::Error at memory location 0x0018f2cc..

It looks like a problem with cppdom. However, I get no such crash with
the original SimpleApp, even though the source code in mine is
identical. It must be something in my project properties? I'm using
Visual Studio 2005 with the pre-built binaries for VRJuggler 2.2.1, 32-
bit.

Any help is welcome!

Patrick Hartling

unread,
May 18, 2012, 12:46:25 PM5/18/12
to vrjuggler...@googlegroups.com
You will need to supply quite a bit more context. The crash is happening in code related to UDP sockets. Without seeing your main() function and some debug output when the crash occurs, it is impossible to know if this is happening as a result of runtime reconfiguration, some custom static configuration (UDP usage in VR Juggler 2.2 is pretty uncommon as I recall), or something else entirely. Given that that is an assertion error in the sendto() function, it appears that some sort of network communication is occurring that is invalid. Have you looked at a stack trace to see what leads up to the crash?

-Patrick


--
Patrick L. Hartling
iOS Library Developer, T8 Webware
http://www.t8webware.com/

Reply all
Reply to author
Forward
0 new messages