Problem 700

Summary: Running example 3 in interactive mode
Product: Examples/Basic and Novice Reporter: w.stiller
Component: N03Assignee: barrand
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.2   
Hardware: PC   
OS: Linux   

Description w.stiller 2004-12-03 02:11:11 CET
When executing novice example 3 (compiles/links ok, 1 linker warning (compare
bug report no. 699)) in interactive mode, the following output is produced:

...

 Material:     Beam     density:  0.010 mg/cm3  temperature: 273.15 K  pressure:
  0.02 atm  RadLength:  36.786 km
   --->  Element: Nitrogen  N   Z =  7.0   N =  14.0   A =  14.01 g/mole
fractionMass:  70.00 %  Abundance  72.71 %
   --->  Element:   Oxygen  O   Z =  8.0   N =  16.0   A =  16.00 g/mole
fractionMass:  30.00 %  Abundance  27.29 %


Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
...

The idle prompt is never reached and the program has to be terminated via
ctrl-c. What causes this error (all other examples using visualization work
fine)? I must admit that I haven't looked into the code yet, maybe there is a
simple fix. Is the problem related to bug report no. 699?

Thank you for your help.

Wolfram Stiller
Comment 1 w.stiller 2004-12-06 06:34:59 CET
The problem is due to linking two different versions of Motif libraries (in this
case LessTif and OpenMotif 2.2). Getting rid of one (in my case LessTif) Motif
installation and recompiling allows to run the example without warnings and
without having to focibly terminate it.

Thanks to Guy Barrand for all his help in locating the source of the problem!