VR Juggler
Open Source
Virtual Reality


VRJ Wiki . Juggler . ImmediateSegFault VRJ Wiki webs:
Juggler | VRJPlanning | Main | TWiki | Test
Juggler . { Home | Changes | Index | Search | Go }

Wiki

· Home
· Frequently Asked Questions
· Development
· Team Guide
· Direction
· Status
· Task Tracking
· Compiling VR Juggler
· Building from SVN
· SVN Branches
· Compiler Status

edit menu


Main
· About
· Documentation
· Publications
· Download
· HOWTO
· FAQ
· Discussion Area (Wiki)
· Status
· Contact

Projects
· VR Juggler
· Gadgeteer
· VPR
· Sonix
· JCCL
· Tweek
· PyJuggler
· VRJ.NET

Events
· SIGGRAPH 2004 BoF?
· SIGGRAPH 2003 BoF?
· Virtual Reality Course
· IEEE VR 2003 Course
· SC 2002 Exhibit

Site Search

Google

Sponsors
· Infiscape
· VRAC
· Iowa State University
· SourceForge

Link To Us


Q: When I run one of the sample applications, it crashes immediately. What is wrong?

When I try to run one of the sample applications, I get an immediate crash similar to the following:

VPR_DEBUG_NFY_LEVEL: Not found.
VPR_DEBUG_NFY_LEVEL: Defaults to 1
VPR_DEBUG_ENABLE: Not found.
VPR_DEBUG_ENABLE: Defaults to 1
[ TID: N/A  ] DBG:=================================================================
[ TID: N/A  ] DBG:VR Juggler: v1.1.128-0 'Kenny' (POSIX) HEAD Sep 29, 2002 20:09:40
[ TID: N/A  ] DBG:VPR: v0.18.1-7 (POSIX) HEAD Sep 29, 2002 19:32:10
[ TID: N/A  ] DBG:Gadgeteer: v0.4.2-7 'Evil Cartman' (POSIX) HEAD Sep 29, 2002 19:49:24
[ TID: N/A  ] DBG:=================================================================
[ TID: N/A  ] ERR:ChunkDescDB: XMLError:/share/jccl/data/jccl-chunks.desc: line 1 at position 1: error: invalid file name
[ TID: N/A  ] JCCL-CFG:Loaded ChunkDesc file: '${VJ_BASE_DIR}/share/vrjuggler/data/vrj-chunks.desc'.
[ TID: N/A  ] vjKERN:Loading config file: sim.base.config
[ TID: N/A  ] vjKERN:Loading config file: sim.displays.config
[ TID: N/A  ] vjKERN:Loading config file: sim.wand.mixin.config
Segmentation fault

I have not modified the code at all. What is wrong?

A: You may need write access to the directory where the application is run.

Application crashes can be caused by any number of factors, but the sample applications should always work. If they crash with the error shown above, it is because you need write access to the directory where the application is run. For VR Juggler versions beyond 1.1 DR3, this has been fixed for some platforms (IRIX, Linux, and FreeBSD).

Write access is required because of the UUID/GUID implementation used internally by VPR (the class is vpr::GUID). We use these unique identifiers quite a bit. All VR Juggler 1.1 versions up to and including 1.1 DR3 used the Leach UUID implementation with a freely available MD5 library. The use of these causes two files to be created in the current working directory (the directory where you run the application). They are called nodeid and state. Being able to create (and later modify) these files is required for this UUID implementation to work.

Versions of VR Juggler after 1.1 DR3 can make use of external UUID implementations such as the DCE 1.1 UUID standard or the Linux-specific e2fsprogs libuuid library. (More specifically, VPR version 0.19.7 and beyond make use of these UUID implementations.) Neither of these implementations cause files to be written to the local directory. If neither of these implementations is available for the target operating system, then we fall back on the Leach UUID implementation. Thus, the solution is not perfect--yet.

Back to: LiveFaq

FaqForm
FaqTopic: Execution
ShortQuestion: Why does the sample application crash immediately after loading configuration files?


Topic ImmediateSegFault . { Edit | Attach | Ref-By | Printable | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback
Revision r1.3 - 20 May 2003 - 16:38 - PatrickHartling Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback




VR Juggler Logo
Site contents © Copyright 1998–2005 Iowa State University and released under the GPL.
Harvesting email addresses from this page for commercial activities is prohibited.
Contact: Webmaster | Write Us
SOURCE REPOSITORY,
BUGS, FORUMS
HOSTED BY:
SourceForge Home