Data Exchange demo -- crash!

I have been trying to run the Data Exchange Draw demo on my Linux machine, but I can't get it to run. It keeps crashing in XCAFApp_Application::GetApplication() I have my enviornment set correctly, and I'm running from the demo script in src/DEResource/. I also have no problems with either AISViewer or TTOPOLOGY, they run just fine. Here is a stack trace from gdb:

(xxgdb) run

Program received signal SIGABRT, Aborted. 0x308acd41 in __kill () from /lib/ Current language: auto; currently c (xxgdb) where #0 0x308acd41 in __kill () from /lib/ #1 0x308ac9b6 in raise (sig=6) at ../sysdeps/posix/raise.c:27 #2 0x308ae0d8 in abort () at ../sysdeps/generic/abort.c:88 #3 0x3062fe55 in __default_terminate () from /usr/lib/ #4 0x3062fe72 in __terminate () from /usr/lib/ #5 0x3063075b in __throw () from /usr/lib/ #6 0x2abd9cd5 in XCAFApp_Application::GetApplication () at /icarus/OCC/OCC/src/XCAFApp/XCAFApp_Application.cxx:26 #7 0x2aaf8d61 in SWDRAWStd_XCAF::InitCommands (theCommands=@0x2b02a1d8) at /icarus/OCC/OCC/src/SWDRAWStd/SWDRAWStd_XCAF.cxx:982 #8 0x2aae2ab0 in SWDRAWStd::Init (theCommands=@0x2b02a1d8) at /icarus/OCC/OCC/src/SWDRAWStd/SWDRAWStd.cxx:145 #9 0x2aaf9a25 in XSDRAW::LoadDraw (theCommands=@0x2b02a1d8) at /icarus/OCC/OCC/src/XSDRAW/XSDRAW.cxx:86 #10 0x2ab03c1c in XSDRAWSTEPStd::InitCommands (theCommands=@0x2b02a1d8) at /icarus/OCC/OCC/src/XSDRAWSTEPStd/XSDRAWSTEPStd.cxx:322 #11 0x8048b19 in Draw_InitAppli (theCommands=@0x2b02a1d8) at /icarus/OCC/OCC/src/XSDRAWEXEStd/XSDRAWEXEStd.cxx:17 #12 0x2ae9b4bd in Draw_Appli (argc=1, argv=0x7ffff494, Draw_InitAppli=0x8048af0 ) at /icarus/OCC/OCC/src/Draw/Draw.cxx:182 #13 0x2ab03fbd in _main_ (argc=1, argv=0x7ffff494, fDraw_InitAppli=0x8048af0 ) at /icarus/OCC/OCC/src/XSEXEMain/XSEXEMain.cxx:280 #14 0x8048b4d in main (argc=1, argv=0x7ffff494) at /icarus/OCC/OCC/src/XSDRAWEXEStd/XSDRAWEXEStd.cxx:24 #15 0x308a69cb in __libc_start_main (main=0x8048b38

, argc=1, argv=0x7ffff494, init=0x8048938 <_init>, fini=0x8048b9c <_fini>, rtld_fini=0x2aab5e60 <_dl_fini>, stack_end=0x7ffff48c) at ../sysdeps/generic/libc-start.c:92 (xxgdb)

Christian CAILLET's picture

Hello Robert,

We've seen the problem, and fixed it. Sorry for inconvenience.

The integration takes place now, it should be visible on the reference this evening or tomorrow. So, XSDRAWEXEStd will not longer depend on OCAF/XCAF. XCAF expresses the extended data structure for data exchange, based on OCAF, developped in the ongoing project DECAF.