Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

hello 6.02 bad system call, core dumped

log in

Advanced search

Message boards : Pirate Applications : hello 6.02 bad system call, core dumped

Author Message
Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 7988 - Posted: 18 Oct 2008 | 10:58:11 UTC

Oct 18 10:43:15 bleu /bsd: invalid linux syscall 243 run by (hello_6.02_i686-:7420) UID(2300) EUID(2300), parent (mksh:30476) UID(2300) EUID(2300)
Oct 18 10:43:15 bleu /bsd: signal 12 received by (hello_6.02_i686-:7420) UID(2300) EUID(2300), parent (mksh:30476) UID(2300) EUID(2300)

Okay, I must admit I’m _not_ running GNU/Linux, but
the BSD kernel is perfectly able to run some of its
programmes, such as Opera, Openoffice 2.0, and Java™
1.3. (Older programmes of course have better chances.)

Now I see the hello application is statially linked,
which usually helps, but probably against “too new”
libraries. I don’t know what operating system you are
using for the apps, but if it’s Debian, try sarge for
compiling and linking the apps together.

Another possibility would be for me to compile them
myself, for my platform natively, instead of using
the Linux emulation of the kernel. Is this possible
for the Pirates apps?

I have run a few projects (WCG’s Rice, Spinhenge even
with graphics) successfully in the past on MirBSD, so
BOINC in general works.
____________
mkshjupp • u.v.m.

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 7989 - Posted: 18 Oct 2008 | 13:18:14 UTC - in response to Message 7988.

mirabilos wrote:

Oct 18 10:43:15 bleu /bsd: invalid linux syscall 243 run by (hello_6.02_i686-:7420) UID(2300) EUID(2300), parent (mksh:30476) UID(2300) EUID(2300)
Oct 18 10:43:15 bleu /bsd: signal 12 received by (hello_6.02_i686-:7420) UID(2300) EUID(2300), parent (mksh:30476) UID(2300) EUID(2300)

Now I see the hello application is statially linked,
which usually helps, but probably against “too new”
libraries. I don’t know what operating system you are
using for the apps, but if it’s Debian, try sarge for
compiling and linking the apps together.

Linux builds are on Fedora Core 4, which is pretty old too. I will eventually have a newer machine running Fedora 8, but there is a problem even on Linux of matching the library versions so that the app runs on a wide range of versions. I think building on Sarge, or some other old Linux, is a workaround at best. It would be better if one could build against a separate, specific (and old) version of glibc, but nobody's worked that method out yet.

Windows beats Linux in this regard, I'm afraid. I can build apps on W2K and they will run on Vista and Win95.


Another possibility would be for me to compile them
myself, for my platform natively, instead of using
the Linux emulation of the kernel. Is this possible
for the Pirates apps?

It's definitely possible, and the best way to do it, if you are up to it.

You would have to get the BOINC source out of SVN and build the libraries.
Then get the Pirates app code out of our CVS and build against those libraries. Then run the app using the "anonymous platform" mechanism. This is all pretty well documented, but your feedback as you do it would help improve the docs. Are you up for it?


Documentation for building BOINC apps and the Pirates apps can be found here. And of course there is also documentation at Berkeley on building the libraries.


I have run a few projects (WCG’s Rice, Spinhenge even
with graphics) successfully in the past on MirBSD, so
BOINC in general works.

Good. That means the client core and manager work. But you need to be able to build the libraries, which should be straightforward.

And maybe I'll have to find an old machine to test BSD on. Sometime...

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 7991 - Posted: 18 Oct 2008 | 14:20:43 UTC - in response to Message 7989.

Wormholio wrote:
Linux builds are on Fedora Core 4, which is pretty old too.


Interesting, as these „should“ work – I’m using glibc and friends from FC4 for Opera 9.2x and Acrobat Reader 5…

Maybe they have two versions (TLS and non-TLS), and the TLS one doesn’t work… I guess that is the cause of my problems with etch libraries too.

Wormholio wrote:
Windows beats Linux in this regard, I'm afraid. I can build apps on W2K and they will run on Vista and Win95.


Yeah. I’m not anti-MS, I just happen to not really use Windows® any more,
except for a selected few things.

Wormholio wrote:
mirabilos wrote:
Another possibility would be for me to compile them
myself, for my platform natively, instead of using
the Linux emulation of the kernel. Is this possible
for the Pirates apps?

It's definitely possible, and the best way to do it, if you are up to it.

You would have to get the BOINC source out of SVN and build the libraries.
Then get the Pirates app code out of our CVS and build against those libraries. Then run the app using the "anonymous platform" mechanism. This is all pretty well documented, but your feedback as you do it would help improve the docs. Are you up for it?


I’m definitively up to it. Where’s the CVS? ☺

Wormholio wrote:
Good. That means the client core and manager work. But you need to be able to build the libraries, which should be straightforward.


-rw-r--r-- 1 root bin - 339234 Oct 18 09:54 /usr/mpkg/lib/libboinc.a
-rw-r--r-- 1 root bin - 26124 Oct 18 09:54 /usr/mpkg/lib/libboinc_api.a
-rw-r--r-- 1 root bin - 240650 Oct 18 09:54 /usr/mpkg/lib/libboinc_zip.a


Should be about what I need, right?

Wormholio wrote:
And maybe I'll have to find an old machine to test BSD on. Sometime...


Just remember there are a couple of BSDs:
• DragonFly
• FreeBSD, DesktopBSD, PC-BSD (distributions)
• MidnightBSD
• MirBSD
• NetBSD
• OpenBSD

MidnightBSD and DragonFly might be able to run code compiled for FreeBSD 4
(DF) or FreeBSD 6.1 (MNBSD), but even that is unsure. Other than that, each
of them needs their own binaries, as the OSes quite differ. I’d suggest a
number of VMs (VMware Server 2.0 is pretty good in that regard, VirtualBox
is unusable due to bugs, qemu slow but works good too) on a “server” someone
would make available for this purpose, instead of an old PC, because you’d
either need several old PCs or a few hard discs…

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 7992 - Posted: 18 Oct 2008 | 15:10:05 UTC - in response to Message 7991.

Oh, and:
• which BOINC version should I use, ATM it’s 5.10.45 by request
of the WCG people, but I could upgrade to svn HEAD as well
• which of the apps should be built?

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 7995 - Posted: 18 Oct 2008 | 20:31:24 UTC

/usr/bin/ld: cannot find -lboinc_graphics_api


Other than that… “hello” app is up and running, waiting for WUs.
Standalone mode did succeed.
____________
mkshjupp • u.v.m.

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 7996 - Posted: 18 Oct 2008 | 20:38:10 UTC

http://pirates.spy-hill.net/result.php?resultid=1870611

It waited well ☺

Now I’m going to have to change the port of BOINC to build
the graphics support libraries, but I’ll only do that if
you tell me if 5.x stable series is ok or 6.x is desired.
Plus I can’t do that if it requires wxwidgets, but ISTR it
is only used for the GUI, so it should™ work.
____________
mkshjupp • u.v.m.

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 7997 - Posted: 18 Oct 2008 | 22:29:10 UTC

Both i386-ecce-mirbsd and i386-unknown-midnightbsd platforms work, FWIW.
More details see the mail.

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 7999 - Posted: 19 Oct 2008 | 0:59:12 UTC - in response to Message 7996.

mirabilos wrote:
http://pirates.spy-hill.net/result.php?resultid=1870611

Congratulations, and welcome aboard.


Now I’m going to have to change the port of BOINC to build
the graphics support libraries, but I’ll only do that if
you tell me if 5.x stable series is ok or 6.x is desired.

5.x is fine, but what I was going to do (and will, when time allows) is modify the apps to run with 6.x. It was supposed to be straightforward, but as yello 6.2 showed, not as simple as I'd hoped. So the idea is that I go through the apps and make modifications to run under 6.x, and then you could build and test them with BSD. What I'd like to do it get an SVN rev which I can show works with all the apps, just as a cross-check. And then keep doing that from time to time.

If you want to try building 5.x apps go ahead, but right now there's no work to test them. Still, it could be good practice.


Plus I can’t do that if it requires wxwidgets, but ISTR it
is only used for the GUI, so it should™ work.

Yes, you only need wxWidgets to build the Manager, so don't worry about that
for apps. But if you want to see the some graphics you'll need to build or get the
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 8001 - Posted: 19 Oct 2008 | 11:47:03 UTC

Okay, thanks for the information. I have been aboard for a while…
although most of the results were on GNU/Linux until now.

If you’re interested, I can provide MirBSD and MidnightBSD binaries
for the apps once I succeeded testing it. (Writing the app_info.xml
is annoying, btw.) I might also know people using OpenBSD, NetBSD,
Solaris, DragonFly BSD, and possibly, FreeBSD. We can pioneer ☺

When I’m done, I’ll do a cvs diff on the tree and send that to you,
as things did not compile 100% cleanly, initially, even with that
rather old g++ 3.4.6 of mine.

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 8002 - Posted: 19 Oct 2008 | 14:13:04 UTC - in response to Message 8001.

mirabilos wrote:
When I’m done, I’ll do a cvs diff on the tree and send that to you, as things did not compile 100% cleanly, initially, even with that
rather old g++ 3.4.6 of mine.

Yes, this is very useful. I'm guessing the main diffs are in the Makefile,
and I'll see if I can make some adjustments so that it will work on all platforms. Or we will make a separate BSD version. I've done that for the Mac platform.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 8003 - Posted: 19 Oct 2008 | 17:11:11 UTC

Actually, while I did change the Makefiles to use “B)”,
there are no other diffs there.

You use $+ which is a GNUism in some, but I just called
it using gmake then.

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 8004 - Posted: 19 Oct 2008 | 18:31:51 UTC

Oh, btw, say hello to my SPARCstation 20:

http://pirates.spy-hill.net/result.php?resultid=1878544

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 9220 - Posted: 27 Sep 2013 | 19:41:08 UTC

The page moved to:

http://web.archive.org/web/20120607084811/http://pirates.spy-hill.net/help/#build
____________
mkshjupp • u.v.m.

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 9221 - Posted: 27 Sep 2013 | 19:47:29 UTC - in response to Message 9220.
Last modified: 27 Sep 2013 | 19:51:05 UTC

And http://web.archive.org/web/20120616083858/http://www.spy-hill.net/pub/myers/src/boinc/ has got the sources… but only up to yello 6.05 :(

Where are all those link targets gone…?

Update: Aaaah! CVS still works, yay!

cvs -d :pserver:anonymous@spy-hill.net/usr/local/cvsroot/boinc checkout src/apps/yello.d
____________
mkshjupp • u.v.m.

Profile mirabilos
Volunteer tester
Avatar
Send message
Joined: 8 Apr 08
Germany
Pirates@Home
Credit: 1,097.7
RAC: 0.00
Joined: Apr 8, 2008
Verified: Apr 8, 2008
Dubloons: 3
Pieces of Eight: 3
Punishment: Aztec curse
Message 9222 - Posted: 28 Sep 2013 | 0:22:28 UTC - in response to Message 9221.

Arrrrrreporting success, Capt’n!

http://pirates.spy-hill.net/result.php?resultid=4864005 finished, once again, using yello-current from CVS on MirBSD-current, still with the old BOINC 5 but with graphics this time (I quickly ported freeglut to make it build, although I have no idea how to actually display those graphics…).

Great ride. I could now put this on some FreeWRT embedded MIPS router boxen or something. And another classic 32-bit Sun SPARCstation…
____________
mkshjupp • u.v.m.

Post to thread

Message boards : Pirate Applications : hello 6.02 bad system call, core dumped

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2017 Capt. Jack Sparrow