petsc mpi crashes from inside eclipse if using sudo eclipse but does not chrash if uses sudo su and then launch eclipse

Bug #1182139 reported by Luiz M. Carvalho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
New
Undecided
Unassigned

Bug Description

When calling a Petsc routine PetscInitialize(&argc,&args,(char *)0,help) the program gives a segmentation fault if I launch eclipse using the command sudo eclipse and compile the code using a makefile that I provide. If I launch eclipse using sudo su, then launch eclipse and after if I compile using the same makefile, the program runs. If I try to run the executable code compiled with the option sudo eclipse in the sudo su eclipse, it also crashes. If I execute the program made with the option sudo su eclipse in the environment sudo eclipse it runs.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: eclipse (not installed)
ProcVersionSignature: Ubuntu 3.8.0-21.32-generic 3.8.8
Uname: Linux 3.8.0-21-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Mon May 20 10:48:03 2013
InstallationDate: Installed on 2013-04-10 (39 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: eclipse
UpgradeStatus: Upgraded to raring on 2013-05-17 (2 days ago)

Revision history for this message
Luiz M. Carvalho (luizmc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.