EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problems with edm-1.11.1 on Linux (and OS X)
From: Eric Norum <[email protected]>
To: epics tech-talk <[email protected]>
Date: Wed, 27 Feb 2008 12:50:31 -0600
I downloaded and built edm-1.11.1 on Linux (2.6.22.14-72.fc6). I had to make the following changes to the setup/setup.sh script, but otherwise everything seemed to work as it should:

213> diff -u setup.sh setupLinux.sh
--- setup.sh	2003-09-04 17:19:08.000000000 -0500
+++ setupLinux.sh	2008-02-26 14:56:09.181495000 -0600
@@ -50,7 +50,7 @@
export EDMOBJECTS=$EDMBASE/setup
export EDMPVOBJECTS=$EDMBASE/setup

-for libdir in baselib imagelib lib pvlib util choiceButton
+for libdir in baselib pnglib giflib lib pvlib util choiceButton
do
LD_LIBRARY_PATH=$EDMBASE/$libdir/O.$ODIR:$LD_LIBRARY_PATH
done
@@ -74,7 +74,8 @@
echo ""
else
$EDM -add $EDMBASE/baselib/O.$ODIR/libEdmBase.so
- $EDM -add $EDMBASE/imagelib/O.$ODIR/lib605432d2- f29d-11d2-973b-00104b8742df.so
+ $EDM -add $EDMBASE/pnglib/O.$ODIR/lib57d79238-2924-420b-ba67- dfbecdf03fcd.so
+ $EDM -add $EDMBASE/giflib/O.$ODIR/libcf322683-513e-4570- a44b-7cdd7cae0de5.so
$EDM -add $EDMBASE/choiceButton/O.$ODIR/lib7e1b4e6f-239d-4650-95e6- a040d41ba633.so
$EDM -add $EDMBASE/pvFactory/O.$ODIR/libPV.so
fi






When I run this on Linux I get nothing but white boxes for each widget associated with a PV. When I click to bring up a 'related display' I get a segmentation fault with the following stack trace:
Program terminated with signal 11, Segmentation fault.
#0 ProcessVariable::add_value_callback (this=0x91e6c70,
func=0x150ae0 <activeRectangleClass::visPvValueCallback(ProcessVariable*, void*)>, userarg=0x917e5a8) at ../dl_list.h:132
132 node->prev->next = node;
(gdb) where
#0 ProcessVariable::add_value_callback (this=0x91e6c70,
func=0x150ae0 <activeRectangleClass::visPvValueCallback(ProcessVariable*, void*)>, userarg=0x917e5a8) at ../dl_list.h:132
#1 0x0014db20 in activeRectangleClass::activate (this=0x917e5a8, pass=2,
ptr=0x917e588) at ../rectangle_obj.cc:1301
#2 0x002d3fc2 in activeGraphicClass::activate (this=0x917e5a8, pass=2,
ptr=0x917e588, numSubObjects=0xbfcf6718) at ../act_grf.cc:1841
#3 0x002bd7d4 in activeWindowClass::execute (this=0x914ffd8)
at ../act_win.cc:15837
#4 0x0029f0e5 in appContextClass::applicationLoop (this=0x9013d48)
at ../app_pkg.cc:5406
#5 0x0804c2a5 in main (argc=2, argv=0xbfcf7f64) at ../main.cc:2108






When I run this on OS X I get the same white boxes, but I can bring up a related display (on which I have nothing but white boxes where PV displays/controls should be) but when I click the 'dismiss' button on the related display I get a segmentation fault.


Here's what my Linux version of edmPvObjects file looks like:
1
epicsPv /home/phoebus/NORUME/src/EPICS/extensions/src/edm/pvlib/ O.linux-x86/libEpics.so epics



Suggestions? -- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793



References:
Problems with edm-1.11.1 on Linux (and OS X) Eric Norum

Navigate by Date:
Prev: Re: Minor VLinac compilation problem on OS X 10.5? Tom Pelaia
Next: Re: Building EPICS base 3.14.9 on Windows Evgeniy Tikhomolov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problems with edm-1.11.1 on Linux (and OS X) Eric Norum
Next: edm version 1-11-1 John Sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·