Problem of building BOINC Application on linux

Message boards : Server programs : Problem of building BOINC Application on linux
Message board moderation

To post messages, you must log in.

AuthorMessage
William

Send message
Joined: 5 May 06
Posts: 1
China
Message 4199 - Posted: 5 May 2006, 4:08:59 UTC

I have finished building BOINC on linux(FC4), and I was trying to run the "hello", and always got:
[0x804c470]
[0x542420]
Hello, stderr!
Can't open init data file - running in standalone mode
SIGSEGV: segmentation violationStack trace (2 frames):

Exiting...

in the stderr.txt
As the "Hello, BOINC world!" said, the init_data.xml file should be created by the application. But the error told me it seem the file should build before the application running.
ID: 4199 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 4350 - Posted: 15 May 2006, 19:40:26 UTC - in response to Message 4199.  

I have finished building BOINC on linux(FC4), and I was trying to run the "hello", and always got:
[0x804c470]
[0x542420]
Hello, stderr!
Can't open init data file - running in standalone mode
SIGSEGV: segmentation violationStack trace (2 frames):

Exiting...

in the stderr.txt
As the "Hello, BOINC world!" said, the init_data.xml file should be created by the application. But the error told me it seem the file should build before the application running.


I'm seeing the same error and investigating it further. It only occurs on FC4 if I compile with -static.

There is a separate issue with xinit_data.xml - initializing the diagnostics now returns a non-zero value if the file had to be created. It's not an error, so it's not correct to exit if it happens, but that is what hello.C was doing.



-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 4350 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 4359 - Posted: 16 May 2006, 18:31:49 UTC - in response to Message 4350.  

I still don't know the answer, but I've been able to confirm using several different machines that the problem does not occur on Fedora Core 3 (with
libcurl and openssl installed from source).


-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 4359 · Report as offensive
Lillian

Send message
Joined: 8 May 06
Posts: 2
United States
Message 4433 - Posted: 22 May 2006, 21:25:12 UTC

I saw the same error when I used RedHat 8.0, gcc 4.0.2, and boinc 5.2.15. On another machine, I'm using Fedora 5, gcc 4.1.0, and boinc 5.2.15 -- when I run the latest Hello World application with boinc, it now works.
ID: 4433 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 4520 - Posted: 27 May 2006, 13:35:14 UTC
Last modified: 27 May 2006, 13:35:39 UTC

Without changing anything (that I know of) on FC4 (gcc 4.0.2) I found that if I built BOINC using the version extracted from CVS with the date 7 May 2006, and then built the hello program with that, the error does not occur, at least when I run it standalone. Strange.

-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 4520 · Report as offensive
Eric Myers
Avatar

Send message
Joined: 12 Feb 06
Posts: 232
United States
Message 4538 - Posted: 29 May 2006, 0:59:54 UTC - in response to Message 4520.  

Without changing anything (that I know of) on FC4 (gcc 4.0.2) I found that if I built BOINC using the version extracted from CVS with the date 7 May 2006, and then built the hello program with that, the error does not occur, at least when I run it standalone. Strange.


However, following up by releasing this version of the 'hello' app on Pirates@Home I found that it failed with a 'signal 11' error on 20% of the hosts. That's 80% better than before, but still not great. I don't know the cause yet.

-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
ID: 4538 · Report as offensive

Message boards : Server programs : Problem of building BOINC Application on linux

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.