segmentation violation?

Questions and Answers : Macintosh : segmentation violation?
Message board moderation

To post messages, you must log in.

AuthorMessage
ZooVision

Send message
Joined: 3 Sep 99
Posts: 2
Credit: 0
RAC: 0
United States
Message 1141 - Posted: 24 Jun 2004, 12:58:24 UTC

My Client quits(exits) due to a 'segmentation violation'. What does that mean? How do I fix it? Below are the final three lines before I'm left back at the command promt:

2004-06-24 08:50:27 [http://setiathome.berkeley.edu/] Requesting 34560 seconds of work
SIGSEGV: segmentation violation
Exiting...


Thanks for any help,
-Dave
ID: 1141 · Report as offensive
the JoshMeister

Send message
Joined: 3 Apr 99
Posts: 1
Credit: 0
RAC: 0
United States
Message 1233 - Posted: 24 Jun 2004, 15:54:52 UTC

I had this same problem, too. Make sure you cd to the directory where the app is located. Then type the app name or drag the app onto the Terminal window (the latter is what I did).

To be more specific, here's all of what happened to me. I made a directory named "boinc" in my home directory, then stuck the app inside. I hadn't cd'd to the directory, so the Terminal was still using the default prompt, which I believe is ~ (short for the home directory of the current user). I then had the problem you described. After trying several things without success, I noticed that boinc had created several files and a couple folders in my home directory. I suspected that it would work if I moved them to the boinc directory with the app, then cd'ed to the boinc directory and then tried to start the app, and sure enough it worked.

A side note: Afterward, in the Finder I got info on the boinc app and told it to open the app with Terminal. I made a shortcut to the app on my desktop. Interestingly enough, when I double-click the app it works -- it begins crunching without having to cd to the boinc directory. Maybe Terminal automatically defaults to the app's directory when a command-line app is double-clicked in the Finder. (Maybe not... I don't recall if I've tried running the app without switching to its directory *after* I got it working. I just set it up last night, after all. =)

Hopefully this will help you get yours working.

Now I just need to figure out how to get it to run only when idle. I changed the preferences to not run when the computer's in use and to wait for 3 minutes of idle time to begin, but it seems to ignore those preferences...
ID: 1233 · Report as offensive
ZooVision

Send message
Joined: 3 Sep 99
Posts: 2
Credit: 0
RAC: 0
United States
Message 1864 - Posted: 25 Jun 2004, 12:36:43 UTC - in response to Message 1233.  


> Hopefully this will help you get yours working.
>

Bugger! Still the same error happening. I'm running it on a dual CPU G5, if that makes any difference.

I read of this problem happening in the BOINC Linux/Unix forum and thay suggested removing all old seti@home'classic' files. I was running the command line version, so I followed their suggestion, but still nada.

-Dave
ID: 1864 · Report as offensive
Denis Hart

Send message
Joined: 8 Dec 00
Posts: 6
Credit: 12,983
RAC: 0
Canada
Message 9830 - Posted: 19 Jul 2004, 15:53:46 UTC

Thank you JoshMeister

I had the same problem, and this fixed it... Sort of... Now I'm just getting a "No work available" message. Though I suspect that means the server is down. Can't wait to get this thing to start doing some actual work, to see if it's actually any better than the old SETI@home. Not very Mac friendly anymore, that's for sure.
ID: 9830 · Report as offensive

Questions and Answers : Macintosh : segmentation violation?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.