Results 1 to 5 of 5

Thread: Segmentation fault while starting with sudo

  1. #1
    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

  2. #2
    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

  3. #3
    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.

  4. #4
    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.

  5. #5
    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.

Similar Threads

  1. Getting segmentation fault while Achron game load
    By Dwijen in forum Video Games
    Replies: 4
    Last Post: 29-08-2011, 03:49 PM
  2. Segmentation fault on MPI, runs properly on OpenMP
    By Tamali in forum Windows Software
    Replies: 6
    Last Post: 28-09-2010, 12:12 AM
  3. Adobe AIR segmentation fault on Ubuntu 9.04
    By Siddhi_vidhi in forum Windows Software
    Replies: 5
    Last Post: 02-07-2010, 05:34 PM
  4. Segmentation fault while starting AIM
    By Anathakrishnan in forum Operating Systems
    Replies: 2
    Last Post: 07-05-2009, 09:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,667,723.13236 seconds with 16 queries