Public bug reported:

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)

** Affects: eclipse (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1182139

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1182139/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to