Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Segmentation fault while starting with sudo

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-01-2011
Member
 
Join Date: Dec 2010
Posts: 213
Segmentation fault while starting with sudo
  

I want to run mintinstall program on my Linux Mint 10 using sudo. I need to enter password for the same. Well Synaptic works properly on my system but it crashes the mintinstall. It shows the following error on the screen
Code:
$ sudo mintinstall 
/usr/lib/linuxmint/mintInstall/mintinstall.py:240: SyntaxWarning: import * only allowed at module level
  def get_status_description(self, transaction):
/usr/lib/linuxmint/mintInstall/mintinstall.py:248: SyntaxWarning: import * only allowed at module level
  def get_role_description(self, transaction):
add_categories took 1.675 ms
build_matched_packages took 0.230 ms
add_packages took 2123.184 ms
add_reviews took 0.047 ms
__init__ took 2264.985 ms
Segmentation fault.
Can anyone tell me why segmentation fault error is generated? Please let me know if you are having any solution with you

Reply With Quote
  #2  
Old 12-01-2011
Member
 
Join Date: Nov 2009
Posts: 1,416
Re: Segmentation fault while starting with sudo

Well I want to let you why have been this error is generated? As far as I know segmentation error is occurred when memory is being accessed by the application which does not have the correct permission. So I think due to this possible reason all the permission defined for the application might be mixed up. Technically segmentation fault is a bus error which is occurred which is when the memory access violation is occurred which is notified by the hard ware resources of the system. Kernel of the operating system sends a signal to the process that caused the exception. In generally the process which caused exception is terminated by the kernel of the operating system
Reply With Quote
  #3  
Old 12-01-2011
Member
 
Join Date: Nov 2009
Posts: 1,292
Re: Segmentation fault while starting with sudo

Well according to my knowledge it is not proper way to use Mintinstall. Basically Mintinstall is and GUI application. For your information GUI stands for the Graphical User Interface. You are supposed to use Mintinstall with gksu. It makes use of APT (Application Packaging Tool) of the system which is running in the background. Hence it needs authentication whenever you do install or uninstall the program as you do with sudo on the command line.
Reply With Quote
  #4  
Old 12-01-2011
Member
 
Join Date: Nov 2009
Posts: 1,269
Re: Segmentation fault while starting with sudo

Well looking at your situation I am suggesting you to check whether RAM is working properly or not. Segmentation fault error may occur due to bad memory (RAM). To figure out you have to do memory test of the system. Well you have to reboot your computer. Now you should select memtest from the Grub menu. Well memtest is a standalone software program that does not require any operating system. Using this program you can diagnose whether the RAM that you have installed on your computer has any fault or not.
Reply With Quote
  #5  
Old 13-01-2011
Member
 
Join Date: May 2008
Posts: 991
Re: Segmentation fault while starting with sudo

Well I donít know how to solve your problem in Linux Mint 10? But I have solution that you can use it if the segmentation error is occurred in Ubuntu. As per my knowledge you must not have done installation of the Ubuntu with proper root privileges. You have to login into system as Administrator of the system. Now look at the /etc/sudoers file. You should add following line of the code after the root ALL=(ALL) ALL Now copy paste the following line
Code:
wg ALL=(ALL) ALL
I thinks this will definitely help you out from the problem. If you are having any query about the solution kindly ask.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Segmentation fault while starting with sudo"
Thread Thread Starter Forum Replies Last Post
Getting segmentation fault while Achron game load Dwijen Video Games 4 29-08-2011 03:49 PM
Segmentation fault on MPI, runs properly on OpenMP Tamali Windows Software 6 28-09-2010 12:12 AM
Adobe AIR segmentation fault on Ubuntu 9.04 Siddhi_vidhi Windows Software 5 02-07-2010 05:34 PM
Segmentation fault while starting AIM Anathakrishnan Operating Systems 2 07-05-2009 09:13 AM


All times are GMT +5.5. The time now is 07:05 AM.