schnorr / viva

Alternative visualization techniques for trace analysis
GNU General Public License v3.0
10 stars 1 forks source link

Segfault after install #1

Closed ldibanyez closed 9 years ago

ldibanyez commented 10 years ago

Hi,

I installed viva following the instructions in the wiki. PajeNG is well installed (I checked with the pj_dump and pajeng binaries), but when trying to run: $> ./opt/viva/bin/viva or $> ./opt/viva/bin/viva trc.trace or $> ./opt/viva/bin/viva --help There is a segmentation fault.

My box is an ubuntu 12.04, I have the latest versions for this of all the dependencies

schnorr commented 10 years ago

Hi,

Sorry for the delay.

The latest version of Viva expects two parameters: the first one is the trace filename, the second is the graph configuration that viva needs to map trace entities to the graph representation. I could give you a better answer if you are able to provide me the file trc.trace and explain me what kind of graph you need: if it is based on the network topology, or it is purely an application graph.

Best, Lucas

mickours commented 9 years ago

It is still a problem now on ubuntu or archlinux. I run the lastest git version with this command given by Arnaud but it segfault with this error. He said that you already have the trace and plist files.

./viva g5k_2ap_1Kt-2Kt_1E12_1E6-1E5.plist g5k_2ap_1Kt-2Kt_1E12_1E6-1E5_gray.trace
quality set to 0, viewZone calculated to 1,000000
[1]    25039 segmentation fault (core dumped)  ./viva g5k_2ap_1Kt-2Kt_1E12_1E6-1E5.plist

Thanks in advance,

Michael Mercier

EDIT: Ok it work when I reverse the arguments. maybe some arguments checks are needed

schnorr commented 9 years ago

Argument checking is now provided (456b94e), see man viva if you enable VIVA_DOC in cmake, or pass --help to the viva executable.