|Re: Error loading control flow pane [message #655886 is a reply to message #655882]
||Wed, 23 February 2011 01:52
| Francois Chouinard
Registered: July 2009
I presume you no longer get an NPE but that now nothing shows up when you load an experiment.
It would help if you started your Eclipse from a shell and checked if you have libraries report any error when you try to load a trace. If you get an error, please post it so I can give it a look.
Also, try an experiment with a single trace or, even better, just double-click on a trace (i.e. no experiment).
Off the top of my head, here are a few things that can go wrong if you are not extra careful (this whole library thing is quite brittle and has to be revisited - once you get it working you never have to worry about it again but it can be painful to get there).
 Library build order
This could be caused by the order in which you compiled the libraries (BTW, we are fully aware that this procedure is quite error prone...)
After the compilation, your lib directory should look like this:
-rwxr-xr-x 1 francois francois 204813 2010-07-27 20:01 liblttvtraceread-2.3.so
-rwxr-xr-x 1 francois francois 206955 2010-07-27 20:01 liblttvtraceread-2.5.so
-rwxr-xr-x 1 francois francois 207115 2010-07-27 20:02 liblttvtraceread-2.6.so
-rw-r--r-- 1 francois francois 310864 2010-07-27 20:02 liblttvtraceread.a
-rwxr-xr-x 1 francois francois 1147 2010-07-27 20:02 liblttvtraceread.la
-rwxr-xr-x 1 francois francois 106425 2010-07-27 20:01 liblttvtraceread_loader-2.3.so
-rwxr-xr-x 1 francois francois 106425 2010-07-27 20:01 liblttvtraceread_loader-2.5.so
-rwxr-xr-x 1 francois francois 106425 2010-07-27 20:02 liblttvtraceread_loader-2.6.so
-rw-r--r-- 1 francois francois 141922 2010-07-27 20:02 liblttvtraceread_loader.a
-rwxr-xr-x 1 francois francois 1196 2010-07-27 20:02 liblttvtraceread_loader.la
lrwxrwxrwx 1 francois francois 30 2010-07-27 20:02 liblttvtraceread_loader.so -> liblttvtraceread_loader-2.6.so
lrwxrwxrwx 1 francois francois 23 2010-07-27 20:02 liblttvtraceread.so -> liblttvtraceread-2.6.so
Notice that the loader (liblttvtraceread_loader.so) and the default lib (liblttvtraceread.so) are soft links to the latest lib version.
The way the loaders are coded, they check if the trace can be parsed with the "current" version and *downgrade* if the check failed. The checking order (for now) is v2.6 -> v2.5 -> v2.3. If the soft link doesn't point to v2.6, the trace format might not be recognized... (BTW, if you are using the sample traces, they are at v2.5)
 Your LD_LIBRARY_PATH is not set correctly
The other possibility is that the libs might not be on your lib path (I understand that this is quite unlikely since the libs with the bad symbol were found previously but just in case...)
Try starting your Eclipse the following way:
LD_LIBRARY_PATH=<full path to your liblttvtraceread libs>:$LD_LIBRARY_PATH eclipse
You probably already tried these but I mention them just in case.
Anyway, I will try to get hold of RH 5.4 and "exercise" it
Powered by FUDForum
. Page generated in 0.02500 seconds