Find the answer to your Linux question:
Results 1 to 6 of 6
When I try to start DosBox in DSL 2.0 it doesn't run, and I get an error message saying "Segmentation fault". What does this mean, and how do I solve ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Location
    Roskilde, Denmark
    Posts
    93

    Segmentation fault


    When I try to start DosBox in DSL 2.0 it doesn't run, and I get an error message saying "Segmentation fault".
    What does this mean, and how do I solve the problem?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    A segmentation generally is caused by an illegal memory access of some sort. Try strace'ing the program when you run it. You might have to install strace first.

  3. #3
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Segmentation faults can mean any number of things. Most often it's a programming error that causes the program to try and access memory to which it doesn't have permission.

    http://en.wikipedia.org/wiki/Segmentation_fault
    Registered Linux user #270181
    TechieMoe's Tech Rants

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2005
    Location
    Roskilde, Denmark
    Posts
    93
    Try strace'ing the program
    Thanks, but how do I strace it?

  6. #5
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    I really can't do strace justice here in a short answer, so I will refer you to a better source of information: man strace.
    I'm not being lazy, but I really don't know all the ins and outs of it, I only use it occasionally.

  7. #6
    Just Joined!
    Join Date
    Mar 2005
    Location
    Roskilde, Denmark
    Posts
    93
    ok, thanks. Then I'll try the manual.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •