Segmentation Fault - HELP!

Moderators: Site Moderators, PandeGroup

Segmentation Fault - HELP!

Postby MVC » Sat Jun 27, 2009 11:12 am

Hello,

I updated my installation of Ubuntu yesterday and did a required restart of the machine. After the upgrade the 6.24 client restarted fine and completed the unit it had been working on prior to the update. But, this morning the client, having finished the unit it was working on yesterday, refuses to start returning only the message "Segmentation fault" on the line after "Connecting to http://assign.stanford.edu:8080/". I reinstalled the client and it's still doing the same thing. Also, the client will not enter the config screen unless I delete the current config file....

Did I screw-up something in my installation, or is Stanford having problems with the assignment server, or is it something else?

Any help would be greatly appreciated.

Thanks,
Marco
MVC
 
Posts: 7
Joined: Thu Apr 09, 2009 9:21 pm

Re: Segmentation Fault - HELP!

Postby toTOW » Sat Jun 27, 2009 4:15 pm

The glibc has probably been updated, which might break the client ...

Try the alternate client : http://www.stanford.edu/~kasson/folding/linux/fah6_alt ... if it doesn't work, try the static one : http://www.stanford.edu/~kasson/folding ... ah6.static
Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.

FAH-Addict : latest news, tests and reviews about Folding@Home project.

Image
User avatar
toTOW
Site Moderator
 
Posts: 8794
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: Segmentation Fault - HELP!

Postby Anachron » Sat Jun 27, 2009 6:45 pm

If you are using the -verbosity flag, it might help if you remove it.
Time flies like an arrow; fruit flies like a banana
Anachron
 
Posts: 50
Joined: Fri Mar 14, 2008 12:10 pm

Re: Segmentation Fault - HELP!

Postby 314159 » Sun Jun 28, 2009 9:22 am

Anachron wrote:If you are using the -verbosity flag, it might help if you remove it.

I am almost certain that this is not the issue.
I would also not run the SMP client without -verbosity 9 for various reasons described elsewhere.

I have 20+ Linux SMP machines here in my home, am running all of the current clients, and each one has -verbosity 9 set. :ewink:

No problems have been experienced other than about a 1% failure rate on "known and acknowledged" defective WUs.

I have, however, run into the situation that toTow described (on quite a few occasions).
Moving to another of the clients fixed that quite readily. 8-)

Good luck!
John (from the central part of the Commonwealth of Virginia, U.S.A.)

A friendly visitor to what hopefully will remain a friendly Forum.
With thanks to all of the dedicated volunteers on the staff here!!
User avatar
314159
 
Posts: 316
Joined: Sun Dec 02, 2007 2:46 am
Location: http://www.teammacosx.org/

Re: Segmentation Fault - HELP!

Postby MVC » Mon Jun 29, 2009 11:42 pm

toTOW wrote:The glibc has probably been updated, which might break the client ...

Try the alternate client : http://www.stanford.edu/~kasson/folding/linux/fah6_alt ... if it doesn't work, try the static one : http://www.stanford.edu/~kasson/folding ... ah6.static

OK, I tried the first one, but when I execute it, it says permission denied. I changed the ownership chown, but that didnt fix it. What do I need to do to use use fah6_alt?

Thanks,
Marco
MVC
 
Posts: 7
Joined: Thu Apr 09, 2009 9:21 pm

Re: Segmentation Fault - HELP!

Postby toTOW » Tue Jun 30, 2009 10:29 am

It's not an ownership issue ... it's a permission one : try "chmod +x fah6_alt" (for instance) instead.
User avatar
toTOW
Site Moderator
 
Posts: 8794
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: Segmentation Fault - HELP!

Postby MVC » Tue Jun 30, 2009 9:24 pm

toTOW wrote:It's not an ownership issue ... it's a permission one : try "chmod +x fah6_alt" (for instance) instead.

Ahhhh, that works. Thank you!!

In case it wasn't obvious, I'm still learning Linux. I've been using it for a few years for FAH clients, but I only recently retired my last Windows machine and moved my primary desktop to Linux so I'm still on the steep end of the learning curve. One other question, if I may. I still have 3 more machines running Ubuntu that haven't been updated (I only had time to do one, and when it broke the client...). If I update them and need to replace the executable again, will they resume the previous work units, or should I have the current clients finish what they're working on and then do the update?

Thanks again,
Marco
MVC
 
Posts: 7
Joined: Thu Apr 09, 2009 9:21 pm

Re: Segmentation Fault - HELP!

Postby toTOW » Tue Jun 30, 2009 11:01 pm

They should resume from checkpoint, but if you're not comfortable with the update process, you can finish the WU and send the result with -oneunit flag before replacing the executable (and don't forget to check for permissions on the newly downloaded client ;)).
User avatar
toTOW
Site Moderator
 
Posts: 8794
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: Segmentation Fault - HELP!

Postby Kougar » Thu Oct 15, 2009 9:03 am

MVC wrote:Hello,

I updated my installation of Ubuntu yesterday and did a required restart of the machine. After the upgrade the 6.24 client restarted fine and completed the unit it had been working on prior to the update. But, this morning the client, having finished the unit it was working on yesterday, refuses to start returning only the message "Segmentation fault" on the line after "Connecting to http://assign.stanford.edu:8080/". I reinstalled the client and it's still doing the same thing. Also, the client will not enter the config screen unless I delete the current config file....

Did I screw-up something in my installation, or is Stanford having problems with the assignment server, or is it something else?

Any help would be greatly appreciated.

Thanks,
Marco


Amazing how many things can go wrong or no longer valid documentation is out there! I had this exact problem, I installed the new VMware Workstation 7 build to see if its "16 core support" would let me maximize the use of my Core i7 920 with eight threads, so I built a new Ubuntu VM to go with it.

The Linux SMP documentation says to use this command: "./fah6 -smp -verbosity 9" but doing so gives me this exact "Segmentation Fault" error. Changing the command to "./fah6 -smp 4 -verbosity 9" fixes the problem and the client now works fine.. the Linux SMP install documentation might need updating?
Kougar
 
Posts: 172
Joined: Fri Apr 11, 2008 2:39 am
Location: Texas

Re: Segmentation Fault - HELP!

Postby 7im » Thu Oct 15, 2009 6:37 pm

SMP defaults to 4 cores, shouldn't make a difference in the public client. -bigadv client may be a different issue.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
User avatar
7im
 
Posts: 14648
Joined: Thu Nov 29, 2007 4:30 pm
Location: Arizona

Re: Segmentation Fault - HELP!

Postby Kougar » Fri Oct 16, 2009 7:32 am

Thanks for the reply 7im. I copy 'n pasted the exact command ./fah6 -smp -verbosity 9 out of the Linux SMP install documentation, and did not add any other commands to it. I could test it again if requested, but I'm not sure what would happen with the WU in progress.

So far Workstation 7 supports up to 4 physical sockets with 4 cores each... but not a single socket with 8 "cores", which I find to be perplexing. In any event because of this I'm not running bigadv units or other commands beyond the "./fah6 -smp 4 -verbosity 9" I listed above, from the same copy 'n paste buffer.
Kougar
 
Posts: 172
Joined: Fri Apr 11, 2008 2:39 am
Location: Texas

Re: Segmentation Fault - HELP!

Postby Ant P » Fri Oct 16, 2009 10:42 pm

Just rebooted and fah6 won't run so I'm posting it in here. I waited for it to shut down properly (SIGTERM) before doing the reboot, but now I get this if I try to run it:
Code: Select all
--- Opening Log file [October 16 22:40:11 UTC]


# Linux SMP Console Edition ###################################################
###############################################################################

                       Folding@Home Client Version 6.24beta

                          http://folding.stanford.edu

###############################################################################
###############################################################################

Launch directory: /opt/foldingathome
Executable: ./fah6
Arguments: -smp 3 -verbosity 9 -pause

[22:40:11] - Ask before connecting: No
[22:40:11] - User name: Ant_ (Team 39299)
[22:40:11] - User ID: 20A860DD1346A395
[22:40:11] - Machine ID: 1
[22:40:11]
[22:40:11] Loaded queue successfully.
[22:40:11]
[22:40:11] + Processing work unit
[22:40:11] - Autosending finished units... [22:40:11]
[22:40:11] At least 4 processors must be requested.[22:40:11] Trying to send all finished work units
Core required: FahCore_a2.exe
[22:40:11] + No unsent completed units remaining.
*** glibc detected *** ./fah6: double free or corruption (out): 0x0000000040c97e10 ***
======= Backtrace: =========
[0x45c191]
[0x45d6ea]
[0x408a21]
[0x401ed4]
[0x436e63]
[0x46a999]
======= Memory map: ========
00400000-004d8000 r-xp 00000000 08:03 6334                               /opt/foldingathome/fah6
005d7000-005db000 rw-p 000d7000 08:03 6334                               /opt/foldingathome/fah6
005db000-005e3000 rw-p 00000000 00:00 0
01522000-01544000 rw-p 00000000 00:00 0                                  [heap]
40499000-4049a000 ---p 00000000 00:00 0
4049a000-40c9a000 rw-p 00000000 00:00 0
40c9a000-40c9b000 ---p 00000000 00:00 0
40c9b000-4149b000 rw-p 00000000 00:00 0
7f74ae500000-7f74ae524000 rw-p 00000000 00:00 0
7f74ae524000-7f74ae600000 ---p 00000000 00:00 0
7f74ae6ef000-7f74ae6f1000 rw-p 00000000 00:00 0
7fff54046000-7fff5405b000 rw-p 00000000 00:00 0                          [stack]
7fff541ff000-7fff54200000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted
Ant P
 
Posts: 24
Joined: Sat Aug 29, 2009 1:04 pm

Re: Segmentation Fault - HELP!

Postby toTOW » Fri Oct 16, 2009 10:47 pm

Try to start the client again. It should start after a few attempts.
User avatar
toTOW
Site Moderator
 
Posts: 8794
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France

Re: Segmentation Fault - HELP!

Postby Ant P » Fri Oct 16, 2009 10:52 pm

Never mind... the suggestion to remove the "-verbosity" flag worked for me...
Ant P
 
Posts: 24
Joined: Sat Aug 29, 2009 1:04 pm

Re: Segmentation Fault - HELP!

Postby bruce » Fri Oct 16, 2009 10:57 pm

Kougar wrote:Thanks for the reply 7im. I copy 'n pasted the exact command ./fah6 -smp -verbosity 9 out of the Linux SMP install documentation, and did not add any other commands to it. I could test it again if requested, but I'm not sure what would happen with the WU in progress.


Ant P wrote:Never mind... the suggestion to remove the "-verbosity" flag worked for me...


Aha. I'll bet the problem is that the parameter parsing routine is expecting a number after -smp and objecting when it finds -verbosity instead. (This will probably be treated as a low priority bug.)
What happens if you try:
./fah6 -verbosity 9 -smp
bruce
 
Posts: 22859
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Next

Return to Linux CPU V6 Client

Who is online

Users browsing this forum: No registered users and 2 guests

cron