Segmentation Violation

Questions and Answers : Unix/Linux : Segmentation Violation
Message board moderation

To post messages, you must log in.

AuthorMessage
Suvalis

Send message
Joined: 21 May 01
Posts: 1
Credit: 1,709
RAC: 0
United States
Message 914 - Posted: 24 Jun 2004, 1:08:02 UTC

I just downloaded the BOINC client. Got it running on my windows workstation, but when I ran it for the first time on my Fedora FC2 system, after the Benchmark I get this error...

2004-06-23 21:01:12 [---] Fewer active results than CPUs; requesting more work
2004-06-23 21:01:12 [http://setiathome.berkeley.edu/] Requesting 17280 seconds of work
SIGSEGV: segmentation violation
Exiting...
ID: 914 · Report as offensive
Darren
Volunteer tester
Avatar

Send message
Joined: 2 Jul 99
Posts: 259
Credit: 280,503
RAC: 0
United States
Message 931 - Posted: 24 Jun 2004, 1:36:56 UTC

I can't give you any clues as to what causes it, but I had it happen to me on 3 of my hosts in beta. The only way I found to get past it was to delete the client_state.xml file in your boinc folder as well as the seti executable in the /projects/setiathome.berkeley.edu/ folder. This will cause you to lose any work still on your computer if it has downloaded any wu's, but it cleared it up for me on all 3 hosts I got it on.


[url=http://www.boinc.dk/index.php?page=user_statistics&userid=24497]
ID: 931 · Report as offensive
Profile AthlonRob
Volunteer developer
Avatar

Send message
Joined: 18 May 99
Posts: 378
Credit: 7,041
RAC: 0
United States
Message 1036 - Posted: 24 Jun 2004, 7:28:17 UTC

Can you run this in gdb and post the results?

From your boinc directory, run 'gdb' and type 'file boinc" to load the boinc executable file. Then type 'run' ... it should run the program and seg fault. At that point, type 'bt' and paste the output from that command.

I received a seg fault in a similar place on one of my boxes and think I smell a bug somewhere... but it doesn't quite make sense, looking at the code...

Rob
ID: 1036 · Report as offensive
albertw

Send message
Joined: 13 Apr 99
Posts: 8
Credit: 3,155,815
RAC: 0
Ireland
Message 2766 - Posted: 30 Jun 2004, 12:31:32 UTC

I got this error on Solaris 5.8 also. Turned out that the client_state.xml file was not readble. chmod a+r and all was well.

Cheers,
~Al
ID: 2766 · Report as offensive
nick stephens

Send message
Joined: 3 Apr 99
Posts: 1
Credit: 0
RAC: 0
United States
Message 17518 - Posted: 25 Aug 2004, 20:32:02 UTC - in response to Message 1036.  

> Can you run this in gdb and post the results?
>
> From your boinc directory, run 'gdb' and type 'file boinc" to load the boinc
> executable file. Then type 'run' ... it should run the program and seg fault.
> At that point, type 'bt' and paste the output from that command.
>
> I received a seg fault in a similar place on one of my boxes and think I smell
> a bug somewhere... but it doesn't quite make sense, looking at the code...
>
> Rob
>
>

(gdb) run
Starting program: /home/nick/boinc_3.20_i686-pc-linux-gnu
2004-08-25 13:31:29 [---] Starting BOINC client version 3.20 for i686-pc-linux-gnu
2004-08-25 13:31:29 [http://setiathome.berkeley.edu/] Project prefs: using your defaults
2004-08-25 13:31:29 [http://setiathome.berkeley.edu/] Host ID not assigned yet
2004-08-25 13:31:29 [---] No general preferences found - using BOINC defaults
2004-08-25 13:31:29 [---] Fewer active results than CPUs; requesting more work
2004-08-25 13:31:29 [http://setiathome.berkeley.edu/] Requesting 17280 seconds of work

Program received signal SIGSEGV, Segmentation fault.
0x400ee1db in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x400ee1db in strlen () from /lib/libc.so.6
#1 0x400bdc7e in vfprintf () from /lib/libc.so.6
#2 0x400d8b2c in vsprintf () from /lib/libc.so.6
#3 0x400c602d in sprintf () from /lib/libc.so.6
#4 0x08076033 in dir_size(char const*, double&) (
dirpath=0x2f2f2f2f , size=@0x2f2f2f2f)
at ../lib/filesys.C:325

ID: 17518 · Report as offensive

Questions and Answers : Unix/Linux : 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.